| name | app-security |
| description | Application and infrastructure security review skill. Use this skill whenever reviewing, auditing, designing, or hardening any application — whether it's a new project, a PR review, an architecture decision, or a "is this secure?" question. Covers OWASP Top 10, cloud infrastructure (AWS, Azure, GCP), serverless security, API security, authentication/authorization, secrets management, dependency supply chain, CI/CD pipeline hardening, and observability. Trigger this skill for any mention of security audit, threat model, hardening, vulnerability, pen-test prep, compliance checklist, or secure-by-default architecture. Also trigger when the user asks to review Terraform/IaC, Lambda functions, API Gateway configs, IAM policies, or Cognito setups — even if they don't explicitly say "security." |
| license | CC-BY-4.0 |
| metadata | {"author":"kayaman","version":"1.0.0","model":"claude-opus-4-6","generated":"2026-04-06","repository":"https://github.com/kayaman/skills","category":"security","tags":"security, owasp, aws, cloud, iac, appsec, devsecops"} |
Application & Infrastructure Security
A comprehensive security review framework for modern web applications.
Structured as actionable checklists organized by domain, suitable for both
quick audits and thorough threat modeling sessions.
How to Use This Skill
When reviewing an application:
- Identify the stack — read the project's README, IaC files, and deployment config
- Select relevant domains from the checklist below
- Walk through each item, flagging findings as PASS / FAIL / N/A / NEEDS-REVIEW
- For each FAIL, provide a concrete remediation with code or config example
- Summarize with a severity-ranked findings table
For deeper guidance on any domain, read the corresponding file in references/.
Security Domains & Checklists
1. Authentication & Authorization
Reference: references/authn-authz.md
2. API Security
Reference: references/api-security.md
3. Cloud Infrastructure (AWS Focus)
Reference: references/cloud-aws.md (also references/cloud-azure.md, references/cloud-gcp.md)
4. Infrastructure as Code (Terraform/CDK/CloudFormation)
Reference: references/iac-security.md
5. Secrets Management
Reference: references/secrets.md
6. Dependency & Supply Chain Security
Reference: references/supply-chain.md
7. CI/CD Pipeline Security
Reference: references/cicd-security.md
8. Frontend & PWA Security
Reference: references/frontend-security.md
9. Data Protection & Privacy
Reference: references/data-protection.md
10. Observability & Incident Response
Reference: references/observability-ir.md
OWASP Top 10 (2021) Quick Cross-Reference
| # | Risk | Primary Checklist Domains |
|---|
| A01 | Broken Access Control | 1, 2 |
| A02 | Cryptographic Failures | 1, 5, 9 |
| A03 | Injection | 2, 8 |
| A04 | Insecure Design | All (threat modeling) |
| A05 | Security Misconfiguration | 3, 4, 7 |
| A06 | Vulnerable Components | 6 |
| A07 | Auth Failures | 1 |
| A08 | Software/Data Integrity | 6, 7 |
| A09 | Logging/Monitoring Failures | 10 |
| A10 | SSRF | 2, 3 |
Threat Modeling (Lightweight)
When performing a threat model for any application:
- Draw the architecture — identify trust boundaries, data flows, entry points
- STRIDE per element — for each component, ask:
- Spoofing: Can an attacker impersonate a user or service?
- Tampering: Can data be modified in transit or at rest?
- Repudiation: Can actions be denied without evidence?
- Information Disclosure: Can sensitive data leak?
- Denial of Service: Can the service be overwhelmed?
- Elevation of Privilege: Can a low-privilege user gain higher access?
- Rank risks — likelihood × impact → priority
- Define mitigations — map each risk to a checklist item above
Findings Report Template
When presenting results, use this structure:
## Security Review — [Application Name]
### Date: YYYY-MM-DD
### Scope: [what was reviewed]
### Critical Findings
| # | Domain | Finding | Severity | Remediation |
|---|--------|---------|----------|-------------|
### Summary
- Total items reviewed: N
- PASS: N | FAIL: N | N/A: N | NEEDS-REVIEW: N
- Critical: N | High: N | Medium: N | Low: N
### Recommendations (prioritized)
1. ...