by chu0119
AI 自主渗透测试 · 红队作战平台 | 多 Agent 自主推进 · 漏洞情报运营 · 后渗透与 C2 | LLM 三通道轮询 | 全程证据留痕 | 原百度攻防赛冠军项目独立演进版
Available after the catalog security scan passes.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
# Add to your Claude Code skills
git clone https://github.com/chu0119/PojunGuides for using ai agents skills like Pojun.
See how Pojun compares with popular alternatives.
AI 自主渗透测试 · 红队作战平台
破军,北斗第七星,主杀伐、主变局。 名字取自它,因为这套系统做的事正是「找到防线的破口,并把破口证明给你看」。
Go 单体后端(内嵌 Next.js 前端)· PostgreSQL · 多 Agent 自主推进 · 全程证据留痕
📦 Docker:ghcr.io/chu0119/pojun · xingchuan1314/pojun
🧠 单技能版:pojun-skill——Pojun 方法论的单 skill 版,任意 AI Agent 即装即用
本项目最初是 ARTEX:fork 自已删除的原作者项目 Autumn-27/ARTEX(基于其最终
定版 v0.3.15)。接手的第一个版本是 v0.3.15 的修复与加固;此后 v0.3.16 以来
160+ 提交、约 4 万行新增全部由本仓库维护者完成,覆盖了原作者版本没有的
整条能力线(漏洞情报运营、红队作战、证据附件、公文级报告、模型路由……)。
2026-11-02 起项目正式改名 破军 / Pojun(pojun):代码标识、二进制
(pojun / pojun-hostd / pojun-maint)、安装目录(/opt/pojun)、环境变量
(POJUN_*)、镜像(ghcr.io/chu0119/pojun)全部切换。旧名 ARTEX 与旧路径
仅作为来源说明与登录用户名兼容保留;原作者代码保留在 git 历史里作为起点。
Pojun 是一套 LLM 多 Agent 自主渗透测试平台:你给一句话目标,它自动完成 「目标拆解 → 侦察 → 漏洞挖掘 → 利用 → 后渗透 → 报告」全流程,人随时可以插手纠偏。
与本仓库前一版本(接手自已删除的原作者项目 Autumn-27/ARTEX,基于其最终定版
v0.3.15)相比,现在的 Pojun 已经是完全独立演进的新项目——原作者的代码留在
git 历史里作为起点,v0.3.16 以来的 160+ 提交、约 4 万行新增全部由本仓库的
维护者完成,覆盖了原作者版本没有的整条能力线:
| 能力线 | 本版本做了什么 |
|---|---|
| 漏洞情报运营 | NVD / CISA KEV / GitHub Advisory / PoC 聚合 / nuclei 模板联动 / 资产指纹→CVE 反向匹配 / 近期高危快通道(30 分钟一轮)——原作者版本完全没有情报层 |
| 红队作战 | TCP 回连接收器(接住反弹 shell 并留证)/ C2 出口三形态(direct / SSH 中继托管 / manual,UI 管理页:监听器启停/会话捕获可视化)/ redteam-ops 后渗透方法论 skill / 9 件后渗透工具(socat/proxychains/ligolo/linpeas/pspy/evil-winrm…) |
| 安全与合规 | 登录防爆破(IP 锁定+全局限流)/ 探活端点去指纹 / 改密码即吊销全部会话 / 安全响应头 / 认证面无产品名——公网部署基线 |
| 工程可靠性 | LLM 三通道轮询(熔断+故障转移+用量归因)/ 拆解墙钟 / planner 双保险 / 任务收官 / 自动收尾判据(目标闭环、连续 N 轮无新增、覆盖率阈值、最大规划轮数,可在设置页调)/ 一键更新(校验+回滚) |
| 工具与交付 | 宿主工具 63 件一键装齐 / 漏洞 19 类标准枚举 / 专业级 Word 报告(封面·目录·页眉页脚·严重度着色·复测记录·流量证据·修复路线图)/ 证据附件(截图 + Word/Excel/PPT/PDF 取样转图片,任务内隔离、可归属漏洞)/ 证据版本化+sha256 校验 / 手机端适配 |
| Agent 推理 | 意图假设与成功判据(hypothesis/success_criteria)/ worker 五步作业框架+绕过清单 / stop_reason 进态势(接续归因不再靠猜)/ 意图墙钟遥测 / Guard 归因回流 planner / 续跑摘要与零写回复盘 / 按角色配模型(模型路由策略文档化) |
| 成本与覆盖 | http_probe 批量探活(一次往返替代逐条 curl,响应压成一行摘要)/ 覆盖归账(record_fact 从文本自动锚定资产)/ 未测资产按簇排序(静态沉底、同前缀相邻)/ worker 态势瘦身(规划专用字段不进 worker 对话)/ LLM 用量按角色聚合 / 瞬时取消自动重试 |
原作者版本有的核心(双图架构、planner/worker 编排、MITM 流量代理、审批门)全部 保留并在其上加固;下文详述。
以下截图来自真实运行实例,目标域名、主机地址、人员与凭据等敏感信息均已脱敏。
入口与全局态势
| 控制台登录(首次启动初始化管理员) | 总览:任务 / 漏洞 / 资产 / Token 消耗 |
|---|---|
![]() |
![]() |
任务与资产
| 任务列表:目标进度、漏洞分布一屏可见 | 资产覆盖图:力导向布局,已测节点高亮 |
|---|---|
![]() |
![]() |
证据与报告(SRC 交付的关键)
| 证据附件:截图 / 数据样本自动归档、缩略图预览 | 漏洞详情:摘要 + 现场截图 + PoC + 复测入口 |
|---|---|
![]() |
![]() |
| 现场截图:按漏洞归档,Word 报告自动嵌图 |
|---|
![]() |
平台配置
| Agent 清单:8 个内置角色 + 自定义 | 宿主环境:63 件工具体检 + 一键装齐 |
|---|---|
![]() |
![]() |
| LLM 配置:多通道轮询 / 熔断 / 按角色路由 |
|---|
![]() |
渗透测试的全部状态拆成两张独立、由锚点缝合的图:
root_domain / subdomain / ip / service / app / endpoint
六类节点的真值库,跨任务复用;公司归属 + 授权边界(task_scope)挂在这里。goal → intent → fact / finding 的推进链,五种边
(spawns / derived_from / yields / proves / covers)构成血缘——「这个发现
是从哪条线索推出来的」全程可回溯,这是报告可信度的根基。flowchart LR
subgraph EG["探索图(每任务 · 推进链)"]
direction TB
G["goal"] -->|spawns| I1["intent A"]
I1 -->|yields| F["fact"]
F -->|derived_from| I2["intent B"]
I2 -->|yields| FD["finding 漏洞"]
end
subgraph AG["资产图(全局 · 真值库)"]
direction TB
RD["root_domain"] --> SD["subdomain"] --> SV["service"] --> EP["endpoint"]
end
I1 -.->|anchor| SD
FD -.->|anchor| EP
sequenceDiagram
autonumber
participant EV as 图变更(800ms 防抖)
participant P as planner(每轮新会话)
participant FR as frontier 意图队列
participant W as worker ×N
EV-->>P: 唤醒(边沿/心跳)
P->>FR: add_intent 派 0..4 个意图(带锚定资产)
W->>FR: CAS 领取意图
W->>W: 真实工具执行(Bash/HTTP 全程过 MITM 留痕)
W->>EV: 写回 fact/asset/finding + 每步 activity
EV-->>P: 图变更 → 下一轮(闭环)
steer_work 实时纠偏,
每步 activity 在 UI 内联可见。多数同类产品的情报是「按组件查」;Pojun 做的是「按时间流」—— 最近 7 天爆了什么 → 匹配我的资产 → 排进任务:
search_vulns 返回 version_in_range 三态;
NVD 不填区间时 GHSA 补(保守判定:解析不出→「可能受影响」)flowchart LR
subgraph L["回连接收器 listener"]
L1["listener_start<br/>接住反弹 shell/OOB"]
L2["逐会话捕获<br/>来源/时间/内容 64KB"]
L3["listener_sessions<br/>会话留证"]
end
subgraph E["C2 出口三形态(可选)"]
E1["direct<br/>本机可达"]
E2["ssh 中继<br/>无公网+公网中转机<br/>SSH -R 自动托管"]
E3["manual<br/>已有手工转发"]
end
E --> L1
listener_start 返回解析后的回连地址,
agent 直接填 payload,无需自行判断网络形态。| 层 | 语义 | 内置规则 |
|---|---|---|
明令禁止 deny |
任何语境都不可逆且无合法渗透用途——不调模型直接拒 | 10 条 |
交 Agent 研判 judge |
作用对象取决于上下文(删测试表 vs 删生产表)——命中后走模型裁决 | 12 条 |
人工确认 ask |
平台能力边界变更(如开监听端口)——转人工审批 | 1 条 |
依赖 PostgreSQL;探索需配置 LLM(UI 里配,支持 Anthropic / OpenAI / 任意 OpenAI 兼容网关,三通道轮询 + 故障转移)。
在全新 Linux 服务器(Debian/Ubuntu/CentOS/RHEL/Kali 等)上以 root 执行:
curl -fsSL https://github.com/chu0119/Pojun/releases/latest/download/install.sh | sudo bash
脚本会交互式问你(直接回车用默认值):
http://host:port;常用非交互姿势:
# 全默认(二进制、直连)
curl -fsSL https://github.com/chu0119/Pojun/releases/latest/download/install.sh | sudo bash -s -- -y
# 带代理 + 顺装常用渗透工具
curl -fsSL .../install.sh | sudo bash -s -- --install-proxy=http://10.0.0.14:7897 --with-tools
# Docker 形态
curl -fsSL .../install.sh | sudo bash -s -- --mode=docker
幂等:重复执行 = 原地升级;config.json / jwt.key / 数据 / 数据库不动。
卸载:systemctl disable --now pojun pojun-hostd && rm -rf /opt/pojun。
到 Releases 下载
pojun-<版本>-linux-<架构>.zip(附 SHA256SUMS),解压后:
cp config.example.json config.json # 填好 database 连接
./start.sh # → http://localhost:8787
用
start.sh启动而非直接跑二进制——它是守护脚本,「一键更新」靠它完成换装。 目前只适配 Linux;Windows/macOS 暂不支持。
cd web && npm ci && npm run build:static && cd ..
cp -r web/out server/webui/dist
CGO_ENABLED=0 go build -tags embedui -o pojun ./cmd/pojun
CGO_ENABLED=0 go build -o pojun-hostd ./cmd/pojun-hostd # 可选:特权安装助手
./start.sh
http://<host>:8787 → 初始化管理员密码(≥8 位)install.sh --with-tools)v0.3.85 起内置公网部署安全基线(登录防爆破、探活去指纹、改密吊销会话、
认证面无产品名)。必须:HTTPS 反代 + 覆写 X-Forwarded-For。
完整基线见 docs/公网部署安全加固-2026-10-29.md。
页面一键更新(系统配置 → 版本与更新):下载 → SHA256 校验 → 冒烟测试 → 原子换装 → 失败自动回滚到上一版。升级只换程序不动数据,schema 幂等迁移。
数据库(config.json 或 POJUN_PG_DSN):
{ "database": { "host": "127.0.0.1", "port": 5432, "user": "pojun",
"password": "…", "dbname": "pojun", "sslmode": "disable" } }
LLM:环境变量 ANTHROPIC_API_KEY / OPENAI_API_KEY 可兜底,UI「LLM 配置」页
配多通道 + 开启「LLM 轮询」。常用参数:./start.sh -addr :8787 -proxy :8788。
C2 出口(可选):PUT /api/c2/config 配 mode=direct|ssh|manual +
中转机地址/SSH 凭据——listener_start 自动返回解析后的回连地址。
前端和 API/SSE 同源,反代必须关缓冲。Nginx 示例:
server {
listen 443 ssl;
server_name your.domain.com;
location / {
proxy_pass http://127.0.0.1:8787;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; # 限流依赖
proxy_buffering off; proxy_read_timeout 3600s; # SSE 必需
proxy_http_version 1.1; proxy_set_header Connection "";
}
}
./dev.sh # 后端(:8787) + 流量代理(:8788) + 前端 next dev(:5173)
go test ./... # 连 PG 跑全量(C
Pojun is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by chu0119. AI 自主渗透测试 · 红队作战平台 | 多 Agent 自主推进 · 漏洞情报运营 · 后渗透与 C2 | LLM 三通道轮询 | 全程证据留痕 | 原百度攻防赛冠军项目独立演进版. It has 50 GitHub stars.
Pojun's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/chu0119/Pojun" and add it to your Claude Code skills directory (see the Installation section above).
Pojun is primarily written in Go. It is open-source under chu0119 on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh Pojun against similar tools.
No comments yet. Be the first to share your thoughts!