sql-injection-union

Fail

Audited by Snyk on Jul 6, 2026

Risk Level: CRITICAL
Full Analysis

HIGH W007: Insecure credential handling detected in skill instructions.

  • Insecure credential handling detected (high risk: 1.00). The prompt explicitly instructs the agent to extract usernames/passwords and other credentials via UNION SELECT payloads and to include/save those discovered credentials/tokens in summaries and evidence files, which requires the LLM to output secret values verbatim.

CRITICAL E006: Malicious code pattern detected in skill scripts.

  • Malicious code pattern detected (high risk: 1.00). This document is an explicit exploitation guide that provides actionable techniques for UNION-based SQL injection to exfiltrate data, harvest credentials, read/write files (including webshells), execute commands and pivot — all behaviors that enable deliberate malicious abuse.

MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).

  • Third-party content exposure detected (high risk: 0.85). The skill’s required workflow is to craft and send UNION-based SQLi payloads to a target and then read the HTTP response body for injected query results; this runtime response content is outsider-authored (the target application’s output, not authored by the operating user) and is ingested into the agent’s LLM context for analysis/extraction.

Issues (3)

W007
HIGH

Insecure credential handling detected in skill instructions.

E006
CRITICAL

Malicious code pattern detected in skill scripts.

W011
MEDIUM

Third-party content exposure detected (indirect prompt injection risk).

Audit Metadata
Risk Level
CRITICAL
Analyzed
Jul 6, 2026, 09:16 AM
Issues
3
Security Audit — snyk — sql-injection-union