Index of every page on this site: llms.txt
All skills
jeremylongshore avatar

/detecting-sql-injection-vulnerabilities

@0d57af8
Run it yourself

Detect and analyze SQL injection vulnerabilities in application code and database queries. Use when you need to scan code for SQL injection risks, review query construction, validate input sanitization, or implement secure query patterns. Trigger with phrases like "detect SQL injection", "scan for SQLi vulnerabilities", "review database queries", or "check SQL security".

Use this Skill: https://skilld.dev/gh/jeremylongshore/tons-of-skills-marketplace/detecting-sql-injection-vulnerabilities

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesimplementation.md

≈260 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Implementation Guide

  1. Identify input surfaces and data flows into database queries.
  2. Review query construction and parameterization patterns.
  3. Flag injection vectors and document impact.
  4. Recommend fixes (parameterized queries, ORM patterns, validation) and tests.

1. Code Discovery Phase

Locate database interaction code:

  • SQL query construction
  • ORM usage (ActiveRecord, Hibernate, SQLAlchemy, etc.)
  • Stored procedure calls
  • Dynamic query builders
  • User input handling for database operations

Common patterns to search:

  • Direct SQL: SELECT, INSERT, UPDATE, DELETE statements
  • String concatenation with user input
  • ORM raw query methods
  • Template-based query construction

2. Vulnerability Pattern Detection

Critical SQL Injection Patterns:

String Concatenation (Highly Vulnerable):

# INSECURE: Direct concatenation

---
*[Tons of Skills](https://tonsofskills.com) by [Intent Solutions](https://intentsolutions.io) | [jeremylongshore.com](https://jeremylongshore.com)*

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    This skill provides tools and instructions for identifying SQL injection vulnerabilities by analyzing source code and database interactions. It includes payloads and scripts for scanning and exploitation verification. The primary security consideration is the potential for indirect prompt injection when the agent processes untrusted code files.

  • Socket2mo

    1 alert: gptSecurity

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at 0d57af8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated last month
What it can do
Reads files Edits files Runs commands
version
1.32.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
[
  "security",
  "database",
  "detecting-sql"
]
All 7 allowed tools
ReadWriteEditGrepGlobBash(code-scan:*)Bash(security-test:*)
Other metadata
compatibility
Designed for Claude Code

README badge

README badge for jeremylongshore/tons-of-skills-marketplace/detecting-sql-injection-vulnerabilities