Skip to content
Back to skills

Common Owasp

ASecurity

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` cla...

  • 584 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 5, 2026
developmentapisecurity

Works with

  • api

Security analysis

A100/100

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

Scanned September 5, 2026

npx -y skills add HoangNguyen0403/agent-skills-standard --skill common-owasp --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Common Owasp?

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

Security grade badge for Common Owasp
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hoangnguyen0403-common-owasp-b6fcfbaf/badge)](https://www.skillsdirectory.com/skills/hoangnguyen0403-common-owasp-b6fcfbaf)

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
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.md810 B
  • eval-1.with-skill.md638 B
  • eval-2.baseline.md798 B
  • eval-2.with-skill.md810 B
  • eval-3.baseline.md741 B
  • eval-3.with-skill.md2 KB
  • trigger-1.md108 B
  • trigger-2.md144 B
  • trigger-3.md149 B
  • trigger-4.md138 B

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.

View all in development →

Comments

Loading comments…

Newsletter

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