name: api-security-scanner description: | API 安全掃描工具。對 REST API 端點進行自動化安全審計,檢測 OWASP Top 10 漏洞、 認證/授權問題、敏感資料洩露、速率限制缺失等常見安全隱患。輸出結構化安全報告。 適合開發者在部署前快速自檢,也適合安全團隊做輕量級審計。
7w4.net提供免費和付費技能下載。
Automated security scanner for REST API endpoints. Performs security audit against OWASP API Security Top 10, detecting authentication issues, authorization flaws, data exposure, injection risks, and more.
對 REST API 端點進行自動化安全審計,覆蓋 OWASP API 安全 Top 10,檢測認證/授權問題、資料洩露、注入風險等常見隱患。
Use this skill when: - You need to audit API endpoints for security vulnerabilities(審計 API 端點的安全漏洞) - You want to review API design/config for security best practices(審查 API 設計/配置的安全最佳實踐) - You need to generate a security report before deployment(部署前生成安全報告) - You're reviewing API documentation for security issues(審查 API 文件中的安全問題) - You want to harden your API against common attack vectors(加固 API 抵禦常見攻擊向量)
請掃描以下 API 端點的安全問題:
POST /api/v1/users/register
GET /api/v1/users/{id}
PUT /api/v1/users/{id}
DELETE /api/v1/users/{id}
POST /api/v1/auth/login
GET /api/v1/admin/users
Headers: Authorization: Bearer {token}
快速檢查這個 API 端點的安全問題:POST /api/v1/payments/charge
審查以下 API 閘道器/中介軟體配置的安全性:
(貼上 nginx.conf / express middleware / Spring Security config 等)
根據以下安全掃描結果,生成一份結構化的安全報告:
(貼上掃描結果或漏洞列表)
This skill scans across 6 security dimensions:
Each scan produces a structured report with: - 🔴 Critical — 必須立即修復 - 🟠 High — 高風險,儘快修復 - 🟡 Medium — 中等風險,計劃修復 - 🔵 Low — 低風險,建議修復 - ✅ Passed — 通過檢查
scan-rules.md — 完整掃描規則庫(6大維度,100+ 檢查項)這個 Skill 質量中等偏上。文件結構清晰、內容專業、覆蓋全面是最大優點,中英文說明對國內開發者很友好。但存在明顯不足:規則庫檔案不完整(少了幾個檢查項),說明文件有重複內容,且缺少使用示例。作為使用者,你可能發現它更像一份安全檢查清單而非可直接使用的工具,實際效果取決於使用者的安全知識儲備。