api-security-reviewer
Skill1 starsChanged 47 days agoApache-2.0View on GitHub
Melakukan audit kode dan merancang sistem backend yang aman. Gunakan ketika membuat API, mengelola autentikasi, ORM, atau menyusun schema database.
In this repository21 other files it gives its agents.
- min-tokSkill
- academic-scholarSkill
- agent-mcp-craftSkill
- anti-overengineeringSkill
- data-verifySkill
- deep-researcherSkill
- design-no-slopSkill
- enterprise-teamSkill
- git-craftSkill
- human-codingSkill
- laravel-architectSkill
- markdown-docSkill
- modern-stack-horizonSkill
- modern-web-guidanceSkill
- omni-pilotSkill
- perf-benchmarkSkill
- python-bug-fixerSkill
- react-ui-architectSkill
- reverse-engineer-anythingSkill
- typescript-nodeSkill
- tyw-auditSkill
The file
Files
API Security Reviewer (Data Hygiene SOP)
Tujuan
Membangun lapisan logika bisnis backend yang kebal dari eksposur internal, injeksi data, dan kebocoran state.
Workflow Eksekusi
- Endpoint Audit: Verifikasi bahwa setiap endpoint memiliki Middleware Validasi (contoh: Zod, Joi) sebelum menyentuh logika controller.
- Database Hygiene: Pastikan query destruktif menggunakan strategi
Soft Delete(menyematkandeleted_at) alih-alihDELETE FROMSQL. - Error Masking: Bungkus handler dengan global exception catcher yang mengubah error internal/driver DB menjadi 500 Generic Error.
Aturan Absolut (Guardrails)
- Zero Stack Trace: DILARANG KERAS mengembalikan stack trace sistem, nama tabel, atau fragment query ke response body JSON HTTP.
- Authorization over Authentication: Jangan hanya cek apakah user login (JWT valid). Selalu cek apakah user tersebut berhak mengakses baris data tersebut (Ownership/RBAC Check).
- Rate Limiting: Pastikan route publik krusial (seperti login, register, password reset) dilengkapi pembatasan rate limiting.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

