html-injection-testing — Claude Code skill: testing and setup
This skill guides checks for HTML injection in web apps and helps assess how injected markup affects rendered pages. Use it when reviewing user-input handling.
npx claude-code-templates@latest --skill security/html-injection-testingWhat html-injection-testing does
The skill outlines checks for places where an app displays user-provided values, including form fields, URL parameters, comments, and error messages. It covers reflected and stored injection, along with input sent through POST requests. The material distinguishes HTML injection from XSS, where JavaScript execution is involved.
The workflow uses curl and an intercepting proxy such as Burp Suite or OWASP ZAP. You’ll need basic HTML knowledge, familiarity with HTTP requests and responses, and an understanding of how web apps handle input. Only test applications with permission: these checks can alter page content.
What it helps with
- locate inputs and parameters reflected in a page
- check how an app renders submitted markup
- tell HTML injection apart from JavaScript execution
- document the effect of injected content on a page
- draft input-handling recommendations
Example prompts for the agent
- Review my app for fields and parameters that may reflect HTML, then list suitable test points.
- Explain how to distinguish HTML injection from XSS while assessing my application.
- Prepare a report on HTML injection findings and ways to review user-input handling.
How to install html-injection-testing
1claude-code-templates
npx claude-code-templates@latest --skill security/html-injection-testing2Skills CLI (Vercel)
npx skills add davila7/claude-code-templates --skill html-injection-testing -a claude-code3Manually: put the files in place
~/.claude/skills/html-injection-testing/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/html-injection-testing/
Manually: put the files in place
.agents/skills/html-injection-testing/SKILL.mdFor all projects use ~/.agents/skills/
Manually: put the files in place
.cursor/skills/html-injection-testing/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install davila7/claude-code-templates html-injection-testing2Manually: put the files in place
.github/skills/html-injection-testing/SKILL.mdPlatform CLI
gemini skills install https://github.com/davila7/claude-code-templates --path cli-tool/components/skills/security/html-injection-testingManually: put the files in place
.devin/skills/html-injection-testing/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about html-injection-testing
How do I install html-injection-testing in Claude Code?
Run npx claude-code-templates@latest --skill security/html-injection-testing.
What does html-injection-testing do?
It guides checks for user input rendered as HTML and helps assess how that input can change a page. The workflow covers both stored and reflected cases.
What do I need to test with this skill?
You’ll need basic HTML knowledge, familiarity with HTTP requests and responses, plus curl and an intercepting proxy such as Burp Suite or OWASP ZAP.