Skip to content
Security
Skill

/injection-test

Test a web app for injection flaws — SQL/NoSQL, OS command, LDAP, template injection, and cross-site scripting (XSS). Use to validate OWASP A03 on an authorized target by probing where untrusted input reaches an interpreter or sink.

From plugin
awesome-claude-security
11111 skills17 agents13 commands1 MCP

Claude Code

$ npx -y skills add jassics/awesome-claude-security --skill injection-test --agent claude-code

SKILL.md

injection-test.SKILL.md
name: injection-test
description: >-
  Test a web app for injection flaws — SQL/NoSQL, OS command, LDAP, template
  injection, and cross-site scripting (XSS). Use to validate OWASP A03 on an
  authorized target by probing where untrusted input reaches an interpreter or sink.

Goal

Evidence on whether untrusted input can break out of data context into an interpreter (DB, shell, template, browser DOM) — with reproducible, non-destructive proof.

Prerequisites

  • Authorization to test. Keep payloads non-destructive (prove the flaw; don't drop

tables or run harmful commands).

Classes to test

1. **SQL / NoSQL injection** — error-based, boolean/time-based blind; check ORDER BY, auth bypass, JSON/operator injection for NoSQL. 2. **Cross-site scripting (XSS)** — reflected, stored, DOM-based; test HTML, attr, JS, and URL contexts; check the CSP. 3. **OS command injection** — input reaching shell calls; blind via timing/OOB. 4. **Template injection (SSTI)** — input rendered by a server-side template engine. 5. **LDAP / header / other interpreter injection** as applicable.

Steps

1. Enumerate input → sink paths (params, headers, JSON, file names, stored fields). 2. Probe each with safe marker payloads; confirm the interpreter is reached (reflection, error, timing, OOB callback). Use non-destructive proofs. 3. Determine context to craft a minimal working PoC (e.g. the encoding XSS needs). 4. Record: class · location · context · PoC · evidence · impact.

Output

A results table: class · parameter/sink · context · PoC · evidence · remediation (parameterized queries, context-aware output encoding, allow-list validation, safe templating/sandboxing, CSP). Confirmed issues → `security-reporting:finding`.

Notes

Fixes are sink-specific: parameterize for SQL, encode-per-context for XSS, avoid shell for commands, sandbox templates. Input validation alone is not a reliable fix — pair it with safe output/interpreter handling. Keep all payloads benign.

Read more
@jassics
Ships withawesome-claude-security

A Claude Code plugin marketplace for the full cybersecurity & GenAI-security lifecycle — from recon and threat modeling to detection engineering, GRC, and CISO-level strategy. A pentester knows which OWASP test bends a broken-access-control endpoint.

11111 skills17 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
11
Star history of jassics/awesome-claude-security on GitHub, a chart by star-history.com

Other skills on awesome-claude-security.

More skills from other plugins.

api-security

api-security

Use for authorized security assessment of REST, GraphQL, WebSocket, or SOAP APIs, including discovery, authentication,…

@zhaoxuya520@zhaoxuya520Install Skill
nemoclaw-user-guide

nemoclaw-user-guide

Find official NemoClaw documentation for installation, configuration, operation, or troubleshooting. Also handles requested docs…

nemoclaw12d23k
@nvidia@nvidiaInstall Skill

Questions about injection-test.

Which coding agents can use injection-test?
injection-test installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.