Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计提醒

apishieldapishield 搜索

Agent Skill

apishield 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,796

周安装

112

GitHub Stars

公开资料未说明

下载量

905
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:apishield(apishield 搜索)
来源仓库:https://github.com/suhteevah/apishield
安装命令:
openclaw skills install apishield
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install apishield

简介

API 端点安全审核员 — 扫描路由定义以查找缺失的身份验证、速率限制、CORS 问题和输入验证漏洞

SKILL.md

name
apishield
description
API endpoint security auditor — scans route definitions for missing auth, rate limiting, CORS issues, and input validation holes
homepage
https://apishield.pages.dev
metadata
user-invocable
true
disable-model-invocation
false

APIShield -- API Endpoint Security Auditor

APIShield scans your API route definitions for security vulnerabilities including missing authentication middleware, rate limiting gaps, input validation holes, CORS misconfigurations, and exposed debug endpoints. It supports Express, FastAPI, Flask, Django, Rails, and Next.js. All scanning happens locally using regex-based pattern matching -- no code is sent to external servers.

Commands

Free Tier (No license required)

apishield scan [file|directory]

One-shot security audit of API route files.

How to execute:

bash "<SKILL_DIR>/scripts/apishield.sh" scan [target]

What it does:

  1. Accepts a file path or directory (defaults to current directory)
  2. Auto-detects the framework (Express, FastAPI, Flask, Django, Rails, Next.js)
  3. Finds all route definition files (excluding .git/, node_modules/, dist/, build/, vendor/, __pycache__)
  4. Runs 20+ security checks against each route file
  5. Outputs findings with: file, line number, check name, severity, description
  6. Calculates a security score (0-100)
  7. Free tier: limited to scanning up to 5 route files
  8. Exit code 0 if score >= 70, exit code 1 if score < 70 or critical issues found

Example usage scenarios:

  • "Scan my API routes for security issues" -> runs apishield scan .
  • "Check this Express app for missing auth" -> runs apishield scan src/routes/
  • "Audit my FastAPI endpoints" -> runs apishield scan app/
  • "Are my API endpoints secure?" -> runs apishield scan .

Pro Tier ($19/user/month -- requires APISHIELD_LICENSE_KEY)

apishield scan [file|directory] (unlimited)

Full security audit with no file limit and all 20+ checks enabled.

How to execute:

bash "<SKILL_DIR>/scripts/apishield.sh" scan [target]

What it does (beyond free):

  1. Unlimited route file scanning
  2. Full 20+ security checks including rate limit analysis, CORS validation, input validation, CSRF, SQL injection risk
  3. Detailed remediation advice per finding

apishield hooks install

Install git pre-commit hooks that scan staged route files for security issues before every commit.

How to execute:

bash "<SKILL_DIR>/scripts/apishield.sh" hooks install

What it does:

  1. Validates Pro+ license
  2. Copies lefthook config to project root
  3. Installs lefthook pre-commit hook
  4. On every commit: scans staged route files (.js, .ts, .py, .rb) for security issues, blocks commit if critical issues found

apishield hooks uninstall

Remove APIShield git hooks.

bash "<SKILL_DIR>/scripts/apishield.sh" hooks uninstall

apishield report [directory]

Generate a markdown security audit report.

bash "<SKILL_DIR>/scripts/apishield.sh" report [directory]

What it does:

  1. Validates Pro+ license
  2. Runs full scan of the directory
  3. Generates a formatted markdown report with severity breakdown
  4. Includes per-endpoint findings, security score, and remediation steps
  5. Output written to APISHIELD-REPORT.md

Team Tier ($39/user/month -- requires APISHIELD_LICENSE_KEY with team tier)

apishield inventory [directory]

Generate a complete API endpoint inventory/catalog.

bash "<SKILL_DIR>/scripts/apishield.sh" inventory [directory]

What it does:

  1. Validates Team+ license
  2. Discovers all API endpoints across the codebase
  3. Catalogs: HTTP method, path, framework, auth status, rate limiting, validation
  4. Outputs a markdown table of all endpoints
  5. Useful for API documentation and security reviews

apishield compliance [directory]

Map findings to OWASP Top 10 API Security Risks.

bash "<SKILL_DIR>/scripts/apishield.sh" compliance [directory]

What it does:

  1. Validates Team+ license
  2. Runs full security scan
  3. Maps each finding to relevant OWASP API Security Top 10 categories
  4. Produces a compliance report showing coverage and gaps
  5. Categories: Broken Object-Level Auth, Broken Authentication, Excessive Data Exposure, Lack of Resources & Rate Limiting, Broken Function-Level Auth, Mass Assignment, Security Misconfiguration, Injection, Improper Asset Management, Insufficient Logging

Detected Security Issues

APIShield checks for 20+ security issues across 6 frameworks:

CheckDescriptionSeverity
Missing Auth MiddlewareRoutes without authentication middlewareCritical
Debug Endpoints Exposed/debug, /test, /admin without authCritical
SQL Injection RiskString interpolation in SQL queriesCritical
Sensitive Data ExposureRoutes returning passwords/tokens/secretsHigh
Missing Rate LimitingPublic endpoints without rate limit middlewareHigh
CORS MisconfigurationAccess-Control-Allow-Origin: * or overly permissive CORSHigh
Missing Input ValidationRoutes accepting req.body/params without validationHigh
Missing CSRF ProtectionState-changing endpoints without CSRF tokensHigh
Overly Permissive Methodsapp.all() or wildcard method handlersMedium
Error Handling LeaksRoutes that might expose stack tracesMedium
Missing HTTP Security HeadersNo helmet/security headers middlewareMedium
Insecure Direct Object RefsRoute params used directly in DB queriesMedium

Configuration

Users can configure APIShield in ~/.openclaw/openclaw.json:

{
  "skills": {
    "entries": {
      "apishield": {
        "enabled": true,
        "apiKey": "YOUR_LICENSE_KEY_HERE",
        "config": {
          "severityThreshold": "high",
          "excludePatterns": ["**/node_modules/**", "**/dist/**", "**/.git/**"],
          "reportFormat": "markdown"
        }
      }
    }
  }
}

Important Notes

  • Free tier works immediately with no configuration (limited to 5 route files)
  • All scanning happens locally -- no code is sent to external servers
  • License validation is offline -- no phone-home or network calls
  • Supports Express, FastAPI, Flask, Django, Rails, and Next.js
  • Git hooks use lefthook which must be installed (see install metadata above)
  • Exit codes: 0 = secure (score >= 70), 1 = issues found (for CI/CD integration)

Error Handling

  • If lefthook is not installed and user tries hooks install, prompt to install it
  • If license key is invalid or expired, show clear message with link to https://apishield.pages.dev/renew
  • If a file is binary, skip it automatically with no warning
  • If no route files found in target, report clean scan with info message
  • If framework cannot be auto-detected, try all framework patterns

When to Use APIShield

The user might say things like:

  • "Scan my API routes for security issues"
  • "Check if my endpoints have authentication"
  • "Are my Express routes secure?"
  • "Audit my FastAPI endpoints for vulnerabilities"
  • "Generate an API security report"
  • "Check for CORS misconfigurations"
  • "Find endpoints missing rate limiting"
  • "Map my API security to OWASP Top 10"
  • "Generate an API inventory"
  • "Set up security checks on my commits"
  • "Check for SQL injection risks in my routes"
  • "Find debug endpoints that are exposed"

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

76.18%
按下载量换算689

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills