security-review
Threat model with STRIDE and audit code against the OWASP Top 10 before it ships. Use when reviewing application code and endpoints for vulnerabilities.
- License 许可
- MIT
- 最近更新
- 2026-10-02
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- security-review
- group
- Security
- description
- Threat model with STRIDE and audit code against the OWASP Top 10 before it ships. Use when reviewing application code and endpoints for vulnerabilities.
- last_reviewed
- 1788652800000
02 资源文件 4
- 参考文档evals/routing.yaml905 B
- 参考文档references/owasp-top-10.md1.0 KB
- 参考文档references/stride-model.md689 B
- 其他security-review.skill3.3 KB
03 SKILL.md 正文
Security Review
Conducts comprehensive application security reviews, threat modeling, vulnerability auditing (OWASP Top 10, CWE/SANS), and secure architecture design.
Phased Workflow
Phase 1: Threat Modeling & Architecture Review
- Map trust boundaries, data flows, and external integration surfaces using STRIDE (Spoofing, Tampering, Repudiation, Information Disclosure, Denial of Service, Elevation of Privilege).
- Audit authentication (OAuth 2.0, OIDC, JWT handling, session invalidation) and authorization (RBAC/ABAC enforcement at service and object levels).
Phase 2: Vulnerability Analysis & Code Audit
- Audit injection risks: SQLi, NoSQLi, Command Injection, SSRF, XSS, Template Injection.
- Review cryptographic implementations: ensure modern algorithms (AES-GCM, Argon2id, ChaCha20-Poly1305), constant-time comparisons, and secure secret management.
- Validate CORS, CSP headers, CSRF protections, and Rate Limiting configurations.
Phase 3: Remediation & Hardening Guidance
- Provide parameterized query examples, strict schema validators, and output encoders.
- Define defense-in-depth layers (WAF, network segmentation, least-privilege IAM roles).
Verification & Quality Checklist
- [ ] Zero hardcoded secrets, private keys, or API tokens in codebase or version control.
- [ ] All inputs validated via strict allowlists / schemas (e.g. Zod, Pydantic).
- [ ] Authentication tokens have appropriate expiration, revocation mechanisms, and
Secure; HttpOnly; SameSite=Strictflags. - [ ] Audit logs exist for all security-sensitive events without logging PII or credentials.
Anti-Patterns & Constraints
- NEVER roll custom cryptographic primitives or hashing algorithms.
- NEVER rely solely on client-side validation for access control or input hygiene.
- NEVER expose detailed stack traces or database schema errors to end users.
References
Load these only when the task needs them:
04 同仓库更多 Skills
workflow-optimizer
Moved to workflow-mapping in skills-agents. Removed in v4.1.
webhooks
Build webhook receivers with signature verification, idempotency, retries and dead letter queues. Use when implementing, verifying, or signing incoming/outgoing webhooks.
webhook-handler-builder
Moved to webhooks in skills-developer. Removed in v4.1.
voice-ai-integration-engineer
Moved to speech-pipelines in skills-developer. Removed in v4.1.
typescript-migrator
Moved to port-code in skills-developer. Removed in v4.1.
trigger-dev
Moved to trigger-dev in skills-agents. Removed in v4.1.