React security

From HoangNguyen0403/agent-skills-standard · View interactive version

React security is an AI agent skill from the GitHub repository HoangNguyen0403/agent-skills-standard. Prevent XSS, secure auth flows, and harden React client-side applications. Use when preventing XSS, securing auth flows, or auditing third-party dependencies in React.

How to use this skill

Skill file

React Security

**Priority: P0 (CRITICAL)**

Prevent XSS Attacks

See implementation examples for DOMPurify sanitization and secure cookie configuration.

Secure Authentication

Harden Application Boundaries

Anti-Patterns

References

See references/REFERENCE.md for DOMPurify usage, CSP headers, OAuth2/JWT auth patterns, and CSRF protection.

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.