sql-injection
Detect SQL injection: untrusted input reaching a database query without parameterization or safe escaping.
Skill by jaiswalakshansh
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/jaiswalakshansh-sql-injection
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/sql-injection
What's inside
- Skill name
sql-injection- Description
- Detect SQL injection: untrusted input reaching a database query without parameterization or safe escaping. Language-agnostic — reasons over a code slice and its taint path, not over syntax of a specific framework.
- License
- MIT
- Instructions
- 38 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# SQL Injection ## Recon phase Given a code slice plus the Opengrep taint candidate (source → sink path), identify every point where external input could reach a query-execution sink: - **Sources**: request params/body/headers, CLI args, file/env contents, message-queue payloads, values read back from storage that were originally attacker-controlled. - **Sinks**: raw query execution (`execute`, `query`, `raw`, string-built SQL, ORM `.raw()`/`.extra()` escape hatches). - **Sanitizers**: parameterized/prepared statements, allow-list validation, integer coercion, trusted ORM query builders. Return candidate (source, sink) pairs with the intervening data flow. ## Verification phase (false-positive reduction) For each candidate, decide *exploitability*, not mere pattern presence: 1. Is the source genuinely attacker-controlled at runtime, or a constant/internal value? 2. Does a sanitizer neutralize the taint anywhere on the path? Parameterization ⇒ not exploitable — mark refuted. 3. Can the tainted value alter query *structure* (not just a bound value)? Only forward findings where an attacker can influence query structure with no neutralizing sanitizer on the path. ## Evidence to emit - The concrete source→sink taint path (file:line at each hop). - The exact sink expression and why it is unsafe. - A minimal exploitation sketch for the PoC gate (input value + expected effect), e.g. `id=1 OR 1=1 --`. This feeds the sandbox PoC stage; do not claim confirmation here — that status is assigned only when the PoC actually fires. ## Output Emit a `Finding` (rule_id `crucible.sql-injection`, cwe `CWE-89`, severity `high`) per verified candidate, with `confirmation: suspected` until the ladder proves it.
From jaiswalakshansh/crucible, MIT.
More from jaiswalakshansh/crucible
- 0.469score
ssrf
jaiswalakshansh
Untrusted input controlling the destination of a server-side HTTP request.
SkillCFreshness: CClaude Code +9 - 0.469score
broken-access-control
jaiswalakshansh
A resource or action reachable without an ownership/authorization check (IDOR, missing authz).
SkillCFreshness: CClaude Code +9 - 0.469score
business-logic
jaiswalakshansh
A flaw in application logic (not a generic injection) that lets an attacker abuse intended functionality.
SkillCFreshness: CClaude Code +9 - 0.469score
command-injection
jaiswalakshansh
Untrusted input reaching an OS command execution sink without safe argument handling.
SkillCFreshness: CClaude Code +9 - 0.469score
insecure-deserialization
jaiswalakshansh
Untrusted data deserialized by an unsafe deserializer, enabling object injection / RCE.
SkillCFreshness: CClaude Code +9 - 0.469score
insecure-llm-output
jaiswalakshansh
LLM/model output flowing into a dangerous sink (code/command/SQL/HTML) without validation.
SkillCFreshness: CClaude Code +9 - 0.469score
auth-bypass
jaiswalakshansh
Authentication that can be skipped, forged, or is missing on a protected action.
SkillCFreshness: CClaude Code +9 - 0.466score
csrf
jaiswalakshansh
A state-changing endpoint that lacks anti-CSRF protection.
SkillCFreshness: CClaude Code +9 - 0.464score
xxe
jaiswalakshansh
Untrusted XML parsed with external entities enabled, allowing file read / SSRF.
SkillCFreshness: CClaude Code +9 - 0.464score
path-traversal
jaiswalakshansh
Untrusted input used to build a filesystem path, allowing access outside the intended directory.
SkillCFreshness: CClaude Code +9 - 0.464score
dom-xss
jaiswalakshansh
Untrusted browser input reaching a DOM HTML sink without escaping.
SkillCFreshness: CClaude Code +9 - 0.464score
code-injection
jaiswalakshansh
Untrusted input reaching a dynamic code-evaluation sink (eval/exec).
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jul 23, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/jaiswalakshansh/crucible
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from jaiswalakshansh
- 0.469score
insecure-deserialization
jaiswalakshansh
Untrusted data deserialized by an unsafe deserializer, enabling object injection / RCE.
SkillCFreshness: CClaude Code +9 - 0.469score
broken-access-control
jaiswalakshansh
A resource or action reachable without an ownership/authorization check (IDOR, missing authz).
SkillCFreshness: CClaude Code +9 - 0.469score
business-logic
jaiswalakshansh
A flaw in application logic (not a generic injection) that lets an attacker abuse intended functionality.
SkillCFreshness: CClaude Code +9 - 0.469score
ssrf
jaiswalakshansh
Untrusted input controlling the destination of a server-side HTTP request.
SkillCFreshness: CClaude Code +9 - 0.469score
command-injection
jaiswalakshansh
Untrusted input reaching an OS command execution sink without safe argument handling.
SkillCFreshness: CClaude Code +9 - 0.469score
insecure-llm-output
jaiswalakshansh
LLM/model output flowing into a dangerous sink (code/command/SQL/HTML) without validation.
SkillCFreshness: CClaude Code +9
Cite this page
sql-injection skill. Agent Mart. https://agentmart.dev/skills/jaiswalakshansh-sql-injection (last updated 2026-10-24)