@armurai/pentestswarm

中文文档
0.3.7发布于 2026/10/30AGPL-3.0-only零依赖近 30 天下载 2462

Autonomous AI-powered penetration-testing swarm — one command, real vulns.

原始使用文档

@armurai/pentestswarm

One-command install of Pentest Swarm AI:

npm install -g @armurai/pentestswarm
pentestswarm run

The package is scoped to the @armurai org, but the installed command is just pentestswarm.

This package is a thin delivery wrapper: on install it downloads the prebuilt Go binary for your platform from the matching GitHub release (vX.Y.Z), and the pentestswarm command execs it directly. The real program is the Go binary — see the main repo for docs.

Publishing (maintainers)

The package version MUST match a published GitHub release tag (the postinstall downloads pentestswarm-<os>-<arch> from releases/download/v<version>/). To cut a release:

  1. Tag + push (git tag vX.Y.Z && git push origin vX.Y.Z) → GoReleaser builds the per-platform binaries and publishes the GitHub release.
  2. Bump npm/package.json version to X.Y.Z.
  3. cd npm && npm publish — publishConfig.access is already public, so the scoped package publishes publicly without the --access public flag. Needs npm login to the @armurai org (member with publish rights).

To let the @armurai:<team> team manage the package after the first publish:

npm access grant read-write armurai:<team> @armurai/pentestswarm

A CI step can automate 2–3 on release via an npm automation token stored as the NPM_TOKEN GitHub Actions secret. Consider migrating to per-platform optionalDependencies packages (esbuild-style) later to avoid a postinstall network fetch.

版本与发布记录

@armurai/pentestswarm 共发布 40 个版本,首次发布于 2026/09/13;过去 12 个月发布了 40 个版本。

版本发布日期距今
0.3.7latest2026/10/308 天前
0.3.62026/10/299 天前
0.3.52026/10/2810 天前
0.3.42026/10/2810 天前
0.3.32026/10/2711 天前
0.3.22026/10/2513 天前

关于 @armurai/pentestswarm 的常见问题

@armurai/pentestswarm 是什么?

Autonomous AI-powered penetration-testing swarm — one command, real vulns.

如何安装 @armurai/pentestswarm?

在项目目录运行 npm install @armurai/pentestswarm,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 pentestswarm,可以用 npx pentestswarm 直接运行。

@armurai/pentestswarm 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/armurai__pentestswarm 是否存在。

@armurai/pentestswarm 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=16。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@armurai/pentestswarm 可以商用吗?

@armurai/pentestswarm 使用 AGPL-3.0-only 许可。最严格的 Copyleft:除分发外,通过网络向用户提供基于它的服务也需要开源对应源码。闭源 SaaS 使用前务必评估。以上为概括,不构成法律意见,请以许可原文为准。

@armurai/pentestswarm 的下载量有多少?

根据 npm 官方下载统计,@armurai/pentestswarm 在 2026/10/07 – 2026/11/05 这 30 天内被下载 2,462 次,日均约 82 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@armurai/pentestswarm 还在维护吗?

最新版本 0.3.7 发布于 2026/10/30(8 天前);至今共发布 40 个版本,其中过去 12 个月发布了 40 个;首次发布于 2026/09/13。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。