Skip to content

Add CORS null-origin and PNA evidence gates#1203

Open
z707693052 wants to merge 1 commit into
UnitOneAI:mainfrom
z707693052:improve/api-cors-pna-evidence
Open

Add CORS null-origin and PNA evidence gates#1203
z707693052 wants to merge 1 commit into
UnitOneAI:mainfrom
z707693052:improve/api-cors-pna-evidence

Conversation

@z707693052
Copy link
Copy Markdown

Closes #1202

Summary

  • Add API8 CORS misconfiguration examples for arbitrary origin reflection and Private Network Access preflight exposure.
  • Require evidence for exact-origin matching, null/opaque origin rejection, Vary: Origin, PNA allow decisions, and per-endpoint preflight method/header restrictions.
  • Keep the guidance focused on API review false positives: exact dynamic allowlists are acceptable when properly scoped and cache-safe.

Validation

  • git diff --check
  • Markdown fence balance check for skills/appsec/api-security/api-top10-checklist.md
  • Marker checks for PNA, Origin: null, and Vary: Origin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[REVIEW] api-security: add CORS null-origin and PNA evidence gates

1 participant