congiuluc/my-awesome-copilot/security-frontend

Claude Code and agent skill by congiuluc/my-awesome-copilot

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Apply frontend security best practices for React apps. Use when: preventing XSS, validating file uploads, encoding URLs, configuring Content Security Policy, sanitizing HTML, or reviewing frontend code for security vulnerabilities.

Install

npx vskill@latest install congiuluc/my-awesome-copilot/security-frontend

SKILL.md

The same SKILL.md was published earlier as congiuluc/my-awesome-copilot/security-frontend.

Frontend Security (React)

When to Use

  • Preventing XSS in user-generated content
  • Validating and restricting file uploads
  • Building safe URL construction
  • Understanding Content Security Policy impact
  • Sanitizing HTML when dangerouslySetInnerHTML is unavoidable
  • Reviewing frontend code for security vulnerabilities

Official Documentation

Procedure

  1. Rely on React's auto-escaping — see frontend security reference
  2. Review security frontend sample
  3. Never use dangerouslySetInnerHTML without DOMPurify
  4. Use encodeURIComponent() or URL API for all user-provided URL segments
  5. Validate file uploads on the client (type, size) and server
  6. Understand CSP headers (set by backend) and their impact on inline styles/scripts
  7. Run npm audit --audit-level=high in CI
  8. Review for XSS and open redirect vulnerabilities

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/congiuluc/my-awesome-copilot/security-frontend/badge)](https://verified-skill.com/skills/congiuluc/my-awesome-copilot/security-frontend)

Something wrong with this skill or its page? Tell us.