Api Security Scanner

👤 caingao 📦 v1.0.0 ⭐ 4.3 ⬇️ 585 下載
🔒 IT運維與安全 免費

📖 技能介紹

API Security Scanner 🔒

Description

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,檢測認證/授權問題、資料洩露、注入風險等常見隱患。

When to Use This Skill

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 抵禦常見攻擊向量)

Usage Modes

Mode 1: Full Scan — 完整掃描

請掃描以下 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}

Mode 2: Quick Check — 快速檢查

快速檢查這個 API 端點的安全問題:POST /api/v1/payments/charge

Mode 3: Config Audit — 配置審計

審查以下 API 閘道器/中介軟體配置的安全性:

(貼上 nginx.conf / express middleware / Spring Security config 等)

Mode 4: Report Generation — 報告生成

根據以下安全掃描結果,生成一份結構化的安全報告:

(貼上掃描結果或漏洞列表)

Scanning Dimensions

This skill scans across 6 security dimensions:

  1. Authentication & Session — 認證與會話管理
  2. Authorization & Access Control — 授權與訪問控制
  3. Input Validation & Injection — 輸入驗證與注入防護
  4. Data Protection & Privacy — 資料保護與隱私
  5. Rate Limiting & DoS Protection — 速率限制與防 DoS
  6. Configuration & Infrastructure — 配置與基礎設施

Output Format

Each scan produces a structured report with:

  • 🔴 Critical — 必須立即修復
  • 🟠 High — 高風險,儘快修復
  • 🟡 Medium — 中等風險,計劃修復
  • 🔵 Low — 低風險,建議修復
  • ✅ Passed — 通過檢查

    小蔥技能站7w4.net發現了升級外掛。


Knowledge Files

  • scan-rules.md — 完整掃描規則庫(6大維度,100+ 檢查項)

🤖 AI 評測

這個 Skill 質量中等偏上。文件結構清晰、內容專業、覆蓋全面是最大優點,中英文說明對國內開發者很友好。但存在明顯不足:規則庫檔案不完整(少了幾個檢查項),說明文件有重複內容,且缺少使用示例。作為使用者,你可能發現它更像一份安全檢查清單而非可直接使用的工具,實際效果取決於使用者的安全知識儲備。

📊 多維度評分

適應性4.3
規範性4.2
有效性4.5
可靠性3.9
可信度4.8

📁 包含檔案 (4 個)

📄 README.md 1.9 KB
📄 SKILL.md 2.9 KB
📄 _meta.json 139 B
📄 scan-rules.md 9 KB