huytran1120/vietnam-agentic-skills/api-security
Claude Code and agent skill by huytran1120/vietnam-agentic-skills
- community
Checking that the SKILL.md file is still in the repository.
Authorized security assessment of REST, GraphQL, WebSocket, and SOAP APIs: discovery, authentication and authorization flaws (BOLA/IDOR, JWT/OAuth), rate-limit testing, and a structured multi-phase methodology.
Install
npx vskill@latest install huytran1120/vietnam-agentic-skills/api-securitySKILL.md
The same SKILL.md was published earlier as sickn33/agentic-awesome-skills/api-security.
⚠️ AUTHORIZED USE ONLYThis skill is for educational purposes or authorized security assessments only.You must have explicit, written permission from the system owner before using this tool.Misuse of this tool is illegal and strictly prohibited.
Mandatory confirmation gateBefore running any command that probes, exploits, changes, persists on, extracts data from, or attempts credential access against a target:1. Ask the user to state the exact target URL, IP, account, or resource.2. Ask the user to confirm written authorization and the permitted scope.3. Show the exact command(s) and explain their expected effect.4. Wait for explicit confirmation in the current conversation.Without that confirmation, remain read-only and provide defensive guidance only. Prefer a sandbox, disposable VM, or controlled lab.
API 安全测试
When to Use
- An authorized assessment covers API endpoints and you need a structured discovery-to-report workflow.
- Testing API authentication, authorization, or rate-limiting behavior within an approved scope.
适用场景
- REST API 安全测试(OpenAPI/Swagger 驱动或盲测)
- GraphQL 安全审计(内省、批查询、别名过载)
- WebSocket 安全测试
- JWT / OAuth 2.0 认证测试
- BOLA/IDOR/BFLA 授权漏洞检测
- API 限速绕过与 DoS 测试
10 阶段测试流程
Phase 1: API 发现与侦察
Phase 2: 认证测试
Phase 3: 授权测试(BOLA/IDOR/BFLA)
Phase 4: GraphQL 专项
Phase 5: REST 输入验证
Phase 6: 业务逻辑与差分测试
Phase 7: WebSocket 测试
Phase 8: 限速与 DoS
Phase 9: 数据暴露
Phase 10: CI/CD 集成
工具链
| 工具 | 用途 | 获取 | |
|---|---|---|---|
| Vespasian | 流量 → OpenAPI/GraphQL 规范 | GitHub: praetorian-inc/vespasian | |
| Entropy | LLM 生成攻击场景,5 personas | GitHub: arjinexe/entropy-chaos | |
| Escape DAST | 业务逻辑安全测试 | escape.tech | |
| api.sh | 8 阶段全协议攻击管道 | GitHub: Sharon-Needles/api | |
| FireTail | GraphQL 12 专项测试 | firetail.ai | |
| jwt_tool | JWT 全面测试 | GitHub: ticarpi/jwt_tool | |
| Burp Autorize | 双会话授权对比 | Burp BApp Store |
参考
references/rest-graphql-testing.md— REST + GraphQL 深度测试references/jwt-oauth-testing.md— JWT + OAuth 安全测试
任务完成自检(声称完成前 MUST 通过)
- [ ] 我是否只执行了获准且相关的测试,并明确标记未执行项?
- [ ] 我是否基于
tool-index使用了真实工具路径? - [ ] 我是否产出了可复现证据(命令/脚本/截图/报告)?
- [ ] 我是否完成并回写了 RULES 要求的 Checklist 项?
Limitations
- Only run against APIs you are explicitly authorized to test.
- Some checks are intrusive; prefer non-production mirrors when available.
Adapted from zhaoxuya520/reverse-skill (MIT).
Do not expand this checklist into every attack automatically. Agree request-rate/concurrency budgets and stop conditions; load/DoS, metadata access, credential cracking and persistent CI scanning require specific scope. Use controlled canary objects rather than deleting real users. Introspection or an exposed IDE alone is not proof of a vulnerability. Named tool capabilities and command flags are historical references, not verified installations; tool-index and RULES are not bundled. UUIDs are not feasibly brute-force enumerable; use known authorized object IDs.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/api-security/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/huytran1120/vietnam-agentic-skills/api-security)