Automic VaultAutomic Vault

brew

使用 Homebrew 安装 htmlcleaner

查看 htmlcleaner 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install htmlcleaner

local Homebrew formula metadata

概览

软件包摘要

HTML parser written in Java

命令和别名

  • htmlcleaner

历史

项目历史与用法

HtmlCleaner is a Java HTML parser and cleanup library that turns imperfect web HTML into well-formed XML-like output using browser-like repair rules. It has a command-line interface, Java API, Ant integration, and published Maven artifacts.

项目历史

The project site says HtmlCleaner has been fixing shoddy HTML since 2006, and its release notes list an initial 0.8 release on November 27, 2006. The release stream moved quickly through 1.x in 2006 and 2007, reached 2.0 in 2008, and continued with 2.x maintenance for many years.

Later releases show the project adapting to web and Java ecosystem changes: the 2015 line included HTML5 support work, 2022 updated JDOM to mitigate CVE-2021-33813, 2023 targeted JDK 1.8, and 2.29 added a maximum nested-tag depth after CVE-2023-34624.

采用历史

HtmlCleaner's Maven coordinates and SourceForge downloads made it easy to embed in Java applications and build tools. Maven Central metadata describes the library as a Java parser that transforms dirty HTML to well-formed XML following browser rules, and the Homebrew formula exposes its command-line runner for shell users.

使用方式

The project documents command-line use for cleaning files and Java use for embedding the cleaner in applications. Its niche is older but durable: converting real-world HTML into a structure that XML tooling, Java code, or test fixtures can consume.

为什么软件包爱好者会关心

HtmlCleaner matters to package nerds because it represents the pre-HTML5-parser era of pragmatic cleanup libraries: SourceForge hosting, Ant-era Java integration, Maven artifacts, and a CLI wrapper all in one long-lived parser package.

时间线

  • 2006: HtmlCleaner 0.8 was released as the initial public release.
  • 2008: Version 2.0 was released.
  • 2013: Version 2.4 marked a point where a maintained fork was merged back into the official project.
  • 2015: Version 2.11 added stronger HTML5 support and stdin/stdout pipeline improvements.
  • 2022: Version 2.26 updated JDOM to mitigate CVE-2021-33813.
  • 2023: Version 2.29 fixed CVE-2023-34624 with nested-tag depth handling.

Related projects

  • Related Java and markup-cleanup projects include JTidy, jsoup, TagSoup, NekoHTML, and browser-grade HTML5 parsers. HtmlCleaner is distinct for combining cleanup output, Java embedding, and a command-line interface.

来源

  • Maven Central metadata documents Java artifact identity, description, developers, and SCM tags.
  • The SourceForge project site and release notes document origin, release dates, and later security-related changes.
  • The download page documents the Subversion source repository and packaged source downloads.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 8 个平台目标。
  • 安装时包含 1 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
htmlcleanercli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本2.29
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://htmlcleaner.sourceforge.net/

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息Release/tag comparison is only available for GitHub repositories.https://htmlcleaner.sourceforge.net/none 置信度

安装元数据

软件包元数据

软件包键brew:htmlcleaner
版本2.29
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/htmlcleaner
主页https://htmlcleaner.sourceforge.net/
仓库https://svn.code.sf.net/p/htmlcleaner/code/trunk
上游文档https://htmlcleaner.sourceforge.net/
许可证BSD-3-Clause
源码归档https://downloads.sourceforge.net/project/htmlcleaner/htmlcleaner/htmlcleaner%20v2.29/htmlcleaner-src-2.29.zip
依赖openjdk
构建依赖maven
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namehtmlcleaner
Version Scheme0
Revision1
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment