Common Owasp
ASecurityThis is a **P0 security misconfiguration** under OWASP **A05/API8**. `Access-Control-Allow-Origin: *` must not be used on authenticated routes. Remediate by: - Replacing `*` with an explicit origin allowlist, e.g. `https://app.example.com`. - Enabling `Access-Control-Allow-Credentials: true` only when required, never alongside `*`. - Keeping authentication and authorization enforced server-side; CORS is not an authorization control. - Using an opaque session securely or JWTs with an `exp` cla...
- 584 stars
- 0 votes
- 0 copies
- 4 views
- Added September 5, 2026
Works with
Security analysis
100/100Pro scans all 11 files and shows the line behind each finding
npx -y skills add HoangNguyen0403/agent-skills-standard --skill common-owasp --agent claude-codeAre you the author of Common Owasp?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/hoangnguyen0403-common-owasp-b6fcfbaf)This is a **P0 security misconfiguration** under OWASP **A05/API8**. `Access-Control-Allow-Origin: *` must not be used on authenticated routes.
Remediate by:
- Replacing `*` with an explicit origin allowlist, e.g. `https://app.example.com`.
- Enabling `Access-Control-Allow-Credentials: true` only when required, never alongside `*`.
- Keeping authentication and authorization enforced server-side; CORS is not an authorization control.
- Using an opaque session securely or JWTs with an `exp` claim.
- Applying rate limiting to authenticated and sensitive endpoints.
- Checking every resource query for IDOR/BOLA protection with `owner_id`/`tenantId`.
- Returning DTO projections rather than full ORM entities.
Assumption: these routes are browser-accessible APIs and may process cookies or bearer tokens.
Files in this skill
- eval-1.baseline.md
- eval-1.with-skill.md
- eval-2.baseline.md
- eval-2.with-skill.md
- eval-3.baseline.md
- eval-3.with-skill.md
- trigger-1.md
- trigger-2.md
- trigger-3.md
- trigger-4.md
Attribution
Related skills
View all in development →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.