Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add x-glacier/kali-pentest --skill kali-pentest-zhgit clone --depth 1 https://github.com/x-glacier/kali-pentestWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/x-glacier/kali-pentest/kali-pentest-zh)<a href="https://agentmods.dev/skills/x-glacier/kali-pentest/kali-pentest-zh"><img src="https://agentmods.dev/badge/skills/x-glacier/kali-pentest/kali-pentest-zh/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/x-glacier/kali-pentest/kali-pentest-zh"><img src="https://agentmods.dev/badge/skills/x-glacier/kali-pentest/kali-pentest-zh.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 3 findings, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high YARA Match · line 49 YARA rule matched a hack tool or exploit indicator (offensive tools, reconnaissance, privilege escalation, or exploit frameworks).Fix: Remove offensive tool references and exploit code. Legitimate agent skills should not contain penetration testing tools, exploit frameworks, or reconnaissance utilities.
- medium Rogue Agent · line 65 Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
- medium Rogue Agent · line 151 Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00087 | $0.04321 |
| Opus 5 | $0.00044 | $0.02160 |
| Sonnet 5 | $0.00017 | $0.00864 |
| Haiku 4.5 | $0.00009 | $0.00432 |
Grade A, and why
kali-pentest-zh scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- **输出为空**:验证可达性(`ping`、`curl`、`nc` 或协议专项检查),确认工具支持目标类型。 How it starts
The opening of the file, as written. The whole thing — 236 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Kali Pentest Skill
安全约束(首先阅读)
- 授权是强制性前提:未经用户确认的书面授权,不得扫描或探测任何目标。
- 范围具有约束力:仅测试用户已授权的主机、域名、端口、账号和技术手段。
- 风险确认:High/Critical 级别操作需用户明确批准后方可执行。
- 禁止操作:攻击未授权目标、对生产系统执行破坏性操作、未经明确要求修改/删除/加密目标文件、攻击关键基础设施。
高风险操作包括漏洞利用、凭据喷洒、暴力破解、NTLM 中继、钓鱼、无线攻击、持久化、数据外传、近似 DoS 的扫描和侵入式漏洞检查。
第一步:确定执行环境
检查用户消息中的连接信息。若未提供,向用户询问。
| 可用信息 | 模式 | 命令模式 |
|---|---|---|
| 当前系统为 Kali | 本地(直接执行) | {command}(无需包装) |
| SSH 凭据 | SSH(远程首选) | ssh {CONNECT_CMD} "{command}" |
| 已运行的容器 | Docker exec | docker exec {CONTAINER} {command} |
| 仅有 Docker | Docker 持久化容器 | 创建或启动 kali-pentest,再运行 docker exec kali-pentest {command} |
环境初始化:
- 全新任务:在 Agent 本地主机上执行
mkdir -p /tmp/kali-pentest-state/<target>/。命名规则和文件格式见references/environment/state-files.md。 - 继续任务:重新读取已有状态文件以恢复进度。
- 开始测试前,更新 Kali 工具:
apt-get update && apt-get upgrade -y。
能力检查
根据任务选择匹配的环境:
| 需求 | 首选环境 | 规则 |
|---|---|---|
| 完整评估、内网 LAN、原始套接字、服务守护进程、数据库支撑工具 | 通过 SSH 连接完整 Kali VM/server | 有 SSH 时优先使用 |
| CLI 侦察、Web 测试、基础扫描、报告生成 | 持久化 Docker 容器 | 工具和网络连通性验证后可用 |
| 无线监听模式、USB 适配器、硬件相关测试 | 通过 SSH 连接物理机/虚拟机 Kali | 不使用 Docker |
| GPU 密码破解 | 具备 GPU 访问能力的完整 Kali | 规划 GPU 任务前验证 hashcat -I |
| GVM/OpenVAS、Neo4j/BloodHound、ZAP daemon、Metasploit 数据库 | 首选完整 Kali | Docker 仅在服务栈已配置时可用 |
如果选定任务需要当前环境不支持的能力,停止并说明限制,不要强行运行工具。
执行重型任务前,按所选环境运行就绪检查:
- 本地模式:
references/environment/local-mode.md - 完整 Kali/服务器模式:
references/environment/server-mode.md - Docker 模式:
references/environment/docker-mode.md
缺少可选工具不代表环境失败。选择 playbook 后安装所需软件包,或从分类 README 中选择替代工具。
SSH 模式
ssh {CONNECT_CMD} "whoami && uname -a" # 验证连接
ssh {CONNECT_CMD} "nohup {cmd} </dev/null > /tmp/{task}.log 2>&1 & echo \$!" # 后台任务
scp {USER}@{HOST}:/tmp/{output_file} /tmp/ # 取回结果
Docker 模式
仅将 Docker 作为持久化 Kali 执行环境使用。不要用一次性临时容器执行评估。
先读取 references/environment/docker-mode.md。仅在创建、启动容器或向容器安装工具时读取 references/environment/docker-mode-persistent-container.md;仅在处理原始套接字行为、Docker Desktop 限制或可达性/路由问题时读取 references/environment/docker-mode-networking.md。
What ships with it
60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/cloud-native/README.md 4.2 KB
- references/cloud-native/tools/azurehound.md 4.0 KB
- references/cloud-native/tools/docker-bench-security.md 1.9 KB
- references/cloud-native/tools/kube-bench.md 1.7 KB
- references/cloud-native/tools/kubescape.md 1.7 KB
- references/cloud-native/tools/pacu.md 3.0 KB
- references/cloud-native/tools/peirates.md 6.4 KB
- references/cloud-native/tools/prowler.md 1.5 KB
- references/cloud-native/tools/scoutsuite.md 1.2 KB
- references/environment/docker-mode-networking.md 2.2 KB
- references/environment/docker-mode-persistent-container.md 3.8 KB
- references/environment/docker-mode.md 2.0 KB
- references/environment/local-mode.md 946 B
- references/environment/README.md 1.4 KB
- references/environment/server-mode.md 4.1 KB
- references/environment/state-files.md 2.3 KB
- references/exploitation/README.md 9.6 KB
- references/exploitation/tools/chisel.md 3.2 KB
- references/exploitation/tools/coercer.md 2.5 KB
- references/exploitation/tools/dns2tcp.md 3.8 KB
- references/exploitation/tools/evil-winrm.md 2.9 KB
- references/exploitation/tools/evilginx2.md 2.2 KB
- references/exploitation/tools/getsploit.md 2.0 KB
- references/exploitation/tools/gophish.md 6.1 KB
- references/exploitation/tools/impacket.md 11 KB
- references/exploitation/tools/iodine.md 3.5 KB
- references/exploitation/tools/ligolo-ng.md 3.3 KB
- references/exploitation/tools/metasploit.md 11 KB
- references/exploitation/tools/mitm6.md 2.6 KB
- references/exploitation/tools/msfconsole.md 3.9 KB
- references/exploitation/tools/msfvenom.md 8.5 KB
- references/exploitation/tools/mssqlpwner.md 2.5 KB
- references/exploitation/tools/netcat.md 4.4 KB
- references/exploitation/tools/odat.md 3.0 KB
- references/exploitation/tools/proxytunnel.md 2.2 KB
- references/exploitation/tools/routersploit.md 2.9 KB
- references/exploitation/tools/searchsploit.md 4.7 KB
- references/exploitation/tools/setoolkit.md 1015 B
- references/exploitation/tools/smbclient.md 2.8 KB
- references/exploitation/tools/socat.md 2.8 KB
- references/exploitation/tools/veil.md 2.9 KB
- references/forensics/README.md 8.8 KB
- references/forensics/tools/bulk-extractor.md 4.5 KB
- references/forensics/tools/chainsaw.md 2.6 KB
- references/forensics/tools/chkrootkit.md 2.6 KB
- references/forensics/tools/dc3dd.md 2.9 KB
- references/forensics/tools/dcfldd.md 3.2 KB
- references/forensics/tools/ddrescue.md 3.6 KB
- references/forensics/tools/exiftool.md 2.5 KB
- references/forensics/tools/foremost.md 2.4 KB
- references/forensics/tools/hashdeep.md 3.5 KB
- references/forensics/tools/plaso.md 3.7 KB
- references/forensics/tools/regripper.md 3.4 KB
- references/forensics/tools/rkhunter.md 3.4 KB
- references/forensics/tools/scalpel.md 2.6 KB
- references/forensics/tools/sleuthkit.md 4.0 KB
- references/forensics/tools/ssdeep.md 3.1 KB
- references/forensics/tools/steghide.md 2.8 KB
- references/forensics/tools/stegseek.md 2.5 KB
- references/forensics/tools/tcpdump.md 2.8 KB
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 12d ago First seen · 236 lines · 87 tokens per session scan A 15183ad8a09e
kali-pentest-zh is a skill published in the GitHub repository x-glacier/kali-pentest (116 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 87 tokens to every session and 4,321 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
bypassing-authentication-with-forced-browsing
Discovering and accessing unprotected pages, APIs, and administrative interfaces by enumerating URLs and bypassing authentication controls during authorized security assessments.
pentest
Supervised authorized pentest: scope, route, validate, report.
api-testing
Test REST, GraphQL, SOAP, and WebSocket API surfaces.
identity-auth
Test identity, authentication, authorization, and sessions.
llm-security
Test LLM prompt injection and MCP tool/agent surfaces.
misconfig
Test deployment, configuration, and observability weaknesses.