Skip to content

Security audit workflow for frontend codebases covering XSS, CSRF, CSP, input handling, uploads, and dependencies.

CCM score
48 of 100
skills.sh installs
473
GitHub stars
7
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the full audit flow: pattern scanning, framework-specific review, defense checks, dependency review, and severity-ranked reporting
  • Includes grep sweeps for dangerouslySetInnerHTML, innerHTML, eval, Twig |raw, and hardcoded secrets across JS, TS, and template files
  • Classifies findings as CRITICAL, HIGH, MEDIUM, or LOW, with a fixed markdown report format including remediation and OWASP references
  • Designed for security reviews of vanilla JS, React, Astro, Twig, Node.js, and Bun projects, grounded in OWASP cheatsheets

Install

$ npx -y skills add schalkneethling/webdev-agent-skills --skill frontend-security -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Frontend Security Audit Skill

Perform comprehensive security audits of frontend codebases to identify vulnerabilities, bad practices, and missing protections.

Audit Process

  1. Scan for dangerous patterns - Search codebase for known vulnerability indicators
  2. Review framework-specific risks - Check for framework security bypass patterns
  3. Validate defensive measures - Verify CSP, CSRF tokens, input validation
  4. Check dependencies - Review npm/node dependencies for vulnerabilities
  5. Report findings - Categorize by severity with remediation guidance

Critical Vulnerability Patterns to Search

XSS Indicators (Search Priority: HIGH)

# React dangerous patterns
grep -rn "dangerouslySetInnerHTML" --include="*.jsx" --include="*.tsx" --include="*.js"

# Direct DOM manipulation
grep -rn "\.innerHTML\s*=" --include="*.js" --include="*.ts" --include="*.jsx" --include="*.tsx"
grep -rn "\.outerHTML\s*=" --include="*.js" --include="*.ts"
grep -rn "document\.write" --include="*.js" --include="*.ts"

Details

Repository
github.com/schalkneethling/webdev-agent-skills
Categories
Security, Frontend & UI Code
First seen
Jun 3, 2026

Questions

What does the frontend-security skill do?

The frontend-security skill performs a security audit of frontend codebases to find XSS, CSRF, DOM vulnerabilities, Content Security Policy problems, weak input handling and dependency issues. It works through grep-based pattern searches and reports findings by severity with remediation guidance. The guidance is based on OWASP security guidelines.

Which frameworks and languages does frontend-security support?

It targets vanilla HTML, CSS and JavaScript, React, Astro, Twig templates, Node.js and Bun. The audit covers Node.js and npm dependencies as well as browser-side code. It also includes reference documents for file upload security and JWT implementation.

How do I install the frontend-security skill?

Run npx -y skills add schalkneethling/webdev-agent-skills --skill frontend-security -y in your project. The skill then gives your agent the audit process and vulnerability search patterns for reviewing your frontend code.

Where does frontend-security stand in the Security category?

frontend-security is listed in the Security category on Claude Marketplaces, alongside azure-compliance, entra-agent-id, firebase-security-rules-auditor, security-audit and cloudflare-one. Its focus is narrower than those, centered on auditing frontend code for browser-side vulnerabilities.

More from schalkneethling/webdev-agent-skills

All 2

Similar to Frontend Security

More Security