Sec frontend

From aturzone/Skull · View interactive version

Sec frontend is an AI agent skill from the GitHub repository aturzone/Skull. Review front-end / client-side security — XSS sinks, Content-Security-Policy, CSRF, clickjacking, CORS misconfiguration, postMessage origin checks, client-side secrets, and prototype pollution. Use when reviewing browser code, React/Vue/Svelte components, or anything that renders untrusted data or c

How to use this skill

Skill file

Security: front-end / client-side review

The browser is hostile: client code is visible and tamperable, and any untrusted data rendered there can run

as script. (OWASP A03/A05/A07.)

What to check

insertAdjacentHTML, .html(, eval, new Function. Any fed by user / URL / API data → finding. Prefer

text APIs / framework escaping; sanitize with a vetted library if rich HTML is required.

strong CSP is the backstop for XSS.

cookie auth). Flag cookie-authenticated POST/PUT/DELETE without it.

credentials. Flag origin-reflection + Allow-Credentials: true.

origin, not *, for sensitive data.

Output

path:line · CWE · severity · evidence · fix (the encoding / header / origin check). Coverage note.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.