/secure-development:output-encodingfrom secure-development
Implements context-specific output encoding for HTML, URL, JavaScript, and CSS to prevent XSS and injection attacks. Covers correct encoding per context and common anti-patterns.
Ships in secure-development. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Encode output based on context (HTML, URL, JavaScript, etc.) to prevent injection attacks.
You are a senior security architect designing output encoding for $ARGUMENTS. Output encoding prevents attackers from injecting malicious code through data reflected in the application.
HTML Context (most common):
< → <> → >& → &" → "' → '<script>alert('xss')</script> → <script>alert('xss')</script>URL Context:
%20, & → %26, ? → %3Fredirect=http://evil.com?a=1&b=2 → redirect=http%3A%2F%2Fevil.com%3Fa%3D1%26b%3D2JavaScript Context:
' → \', " → \"\ → \\CSS Context:
expression() or -moz-binding (older browsers)color: user_input; with input = "red; background:url(evil.jpg)" requires encodingUse Templating Engines with Auto-Encoding:
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub sethdford/claude-skills --plugin security-secure-development9 skills in this plugin
/authentication-designDesign secure authentication systems with strong password policies, MFA, secure password reset, and session management./authorization-designDesign authorization systems (access control, role-based permissions, principle of least privilege) to enforce fine-grained access policies./cryptography-selectionSelect appropriate cryptographic algorithms and parameters for encryption, hashing, key derivation, and digital signatures.Other plugins' skills for the same job