Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

sovereign-api-hardener

bởi ryudi84

DevOps & Cloud
259Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Hardens API endpoints against common attacks.

Mô tả

Kỹ năng này làm gì

Audits API code against a 10-point security checklist covering rate limiting, input validation, authentication, CORS, security headers, injection prevention, error handling, request size limits, versioning, and logging. Produces a structured report with before/after code examples for each issue found, scored by priority. Works with Express.js, Flask, Gin, and Fastify.

It pairs each finding with concrete before/after code so fixes can be applied immediately without additional research.

Khi nào nên dùng

  • Auditing an Express.js API before production launch
  • Identifying rate limiting gaps on login and password reset endpoints
  • Reviewing CORS configuration for a multi-tenant SaaS API
  • Checking JWT validation logic in existing auth middleware
  • Generating a scored security report before a client or compliance review

Quy trình ví dụ

ĐẦU VÀO

User asks: 'Review this Express.js API for security vulnerabilities'

AGENT
  1. 1

    Identify the framework and parse the provided API code

  2. 2

    Run each of the 10 hardening checks against the code

  3. 3

    Score each category as PASS, WARN, or FAIL

  4. 4

    Generate before/after code examples for each WARN or FAIL finding

  5. 5

    Output a structured hardening report with an overall score and prioritized quick wins

ĐẦU RA

Hardening report with a score out of 10, a per-check status table, and code-level fixes for each identified issue

Cài đặt

clawhub install ryudi84/sovereign-api-hardener

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết