ワンクリックで
api-contract-testing
Validates API specifications against actual endpoint behavior. Tests any HTTP API regardless of backend technology.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Validates API specifications against actual endpoint behavior. Tests any HTTP API regardless of backend technology.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Maps security findings to compliance frameworks (OWASP Top 10, CWE, NIST SP 800-53, PCI DSS, SANS/CWE Top 25, ISO 27001) and generates audit-ready compliance reports
Dynamic Application Security Testing - sends crafted HTTP requests to running web server endpoints to detect vulnerabilities
Scan dependency manifests for known CVEs across multiple programming ecosystems
General-purpose Static Application Security Testing (SAST) skill for code vulnerability analysis. Trigger when the user asks to: "analyze code for vulnerabilities", "review code security", "find security bugs", "do a SAST scan", "check for [vulnerability type] in code", "audit source code", or requests a security code review of any language or framework. Covers 34 vulnerability classes across web, API, auth, mobile, and logic layers.
Remediation validation skill that re-runs targeted scans after fixes to confirm vulnerabilities are resolved and detect regressions. Trigger when the user asks to: "verify a fix", "validate remediation", "confirm a vulnerability is resolved", "re-scan after fixing", "check if a patch works", "did my fix work", "validate the security fix", "re-test after remediation", or "check for regressions after the fix".
Master orchestrator skill for comprehensive security auditing. Auto-detects the project's technology stack and selectively invokes applicable security scanning skills. Produces a unified report with context-aware remediation. Trigger when the user asks for: "security audit", "full security scan", "comprehensive vulnerability assessment", "scan this project for security issues", "run all security checks", "full pentest", or any request for a broad, multi-dimensional security review.
| name | API Contract Testing |
| description | Validates API specifications against actual endpoint behavior. Tests any HTTP API regardless of backend technology. |
| triggers | ["test API contracts","validate API spec","check API specification","verify API behavior matches documentation","find undocumented endpoints","API contract validation","check for undocumented API endpoints","verify API responses match spec","API schema validation"] |
Validate that API implementations conform to their documented specifications. This skill is language-agnostic and tests any HTTP API regardless of backend technology.
Locate API specification files in the project:
openapi.yaml, openapi.json, swagger.yaml, swagger.jsonschema.graphql, *.graphql*.raml*.apib, api-blueprintIf no specification file is found, auto-discover endpoints by reading framework-specific route definitions:
router.get(), router.post(), router.put(), router.delete(), app.use(), app.get(), app.post()@app.route(), @blueprint.route(), Blueprint registrationsurls.py for path(), re_path(), url() patterns@GetMapping, @PostMapping, @PutMapping, @DeleteMapping, @RequestMapping annotationsroutes/api.php and routes/web.php for Route::get(), Route::post() patternsconfig/routes.rb for resources, get, post definitionsr.GET(), r.POST(), r.PUT(), r.DELETE() patterns[HttpGet], [HttpPost] attributes, MapGet(), MapPost() calls@app.get(), @app.post(), @router.get() decoratorsIf the server is running, use the Bash tool to probe common API base paths via curl (/api, /api/v1, /v1, /graphql, /rest).
Build a complete list of all documented (or discovered) endpoints. For each endpoint, record:
Present the inventory as a structured table or list before proceeding to validation.
For each documented endpoint, use the Bash tool to send HTTP requests via curl and verify:
Content-Type header matches the spec (e.g., application/json).{"error": "message"} or RFC 7807 Problem Details).Flag any deviations as contract violations.
Probe for endpoints that are NOT in the specification:
Common paths to test:
/admin, /dashboard, /manage, /internal, /debug, /status, /health, /metrics/actuator, /actuator/health, /actuator/env, /actuator/beans/_debug, /__debug__//api-docs, /swagger, /swagger-ui, /docs, /redoc, /openapi.json, /swagger.json/login, /logout, /register, /forgot-password, /reset-password, /oauth, /token/.env, /.git, /server-status, /phpinfo, /elmah, /trace, /console/graphql, /graphiqlHTTP method fuzzing:
X-HTTP-Method-Override, X-Method-Override, X-HTTP-Method.Parameter discovery:
id, user_id, page, limit, debug, verbose, format, admin, role.Report any endpoint that responds with a non-404 status as potentially undocumented.
For each endpoint marked as requiring authentication:
Authorization header. Expect 401 Unauthorized.Authorization: Bearer (empty value). Expect 401 Unauthorized.exp claim. Expect 401 Unauthorized.For each endpoint marked as public:
Test authorization boundaries:
Test common auth bypass patterns:
/admin vs /admin/)/Admin vs /admin)Produce a structured findings report with these categories:
For each finding, include:
Severity guidelines: