performing-container-image-hardening

Warn

Audited by Snyk on Mar 15, 2026

Risk Level: MEDIUM
Full Analysis

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

  • Third-party content exposure detected (high risk: 1.00). The scripts/agent.py clearly fetches arbitrary user-specified targets (requests.get(f"{target}") and requests.get(f"{target}/api/v1/results")) and parses untrusted JSON into findings that directly influence the reported findings and computed risk_level, so third‑party content can materially change agent behavior.

MEDIUM W012: Unverifiable external dependency detected (runtime URL that controls agent).

  • Potentially malicious external URL detected (high risk: 1.00). The audit agent (scripts/agent.py) issues runtime GET requests to the user-supplied target (requests.get(f"{target}") and requests.get(f"{target}/api/v1/results")) and directly parses and injects the returned JSON into its findings/report, so external content at those URLs can control the agent's output.

Issues (2)

W011
MEDIUM

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

W012
MEDIUM

Unverifiable external dependency detected (runtime URL that controls agent).

Audit Metadata
Risk Level
MEDIUM
Analyzed
Mar 15, 2026, 09:39 PM
Issues
2