Skip to content
Back to skills

Secure Api Review

ASecurity

Apply the API security standard. Use whenever you create or change an HTTP/gRPC endpoint, route, controller or handler, review API code, or write or modify an OpenAPI/proto contract.

  • 4 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 16, 2026
ai-agentsbashapisecurity

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 16, 2026

npx -y skills add OBaruch/ai-native-sdlc-template --skill secure-api-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Secure Api Review?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Secure Api Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/obaruch-secure-api-review/badge)](https://www.skillsdirectory.com/skills/obaruch-secure-api-review)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: secure-api-review
description: Apply the API security standard. Use whenever you create or change an HTTP/gRPC endpoint, route, controller or handler, review API code, or write or modify an OpenAPI/proto contract.
---

# Secure API standard

Owner: `<security architect>` · Source of truth: `<link to the API security policy>` · Policy version: `<x.y>`

Apply every rule below to each endpoint you add or change.

1. **Authentication**: every route requires `<the gateway token / session mechanism>`.
   The only anonymous routes are `<e.g. /health, /ready>`.
2. **Authorization**: check the caller's permission for the specific resource, not only
   that they are logged in. Deny by default.
3. **Input validation**: validate path, query and body against the contract
   (`<OpenAPI/proto location>`); reject unknown fields; bound sizes and lengths.
4. **Output**: return only fields the contract declares. Errors never echo input, stack
   traces or internal identifiers.
5. **Audit**: every state-changing call emits an audit event with actor, action, target and
   time via `<audit library/function>`.
6. **Sensitive data**: fields classified as `<pii / confidential>` never appear in logs,
   metrics labels or error messages.
7. **Rate limiting**: public endpoints declare a limit in `<where limits are configured>`.

## Check
Run `bash .agents/skills/secure-api-review/scripts/check-endpoints.sh` and include its
output in your summary. If it reports a finding you believe is wrong, say so explicitly
instead of silencing it.

## If a rule cannot be met
Stop and flag it as an area of concern for the policy owner. Do not invent an exception.

Files in this skill

  • SKILL.md1.6 KB
  • scripts/check-endpoints.sh1.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.