claude-code-headless

Warn

Audited by Snyk on Jul 28, 2026

Risk Level: MEDIUM
Full Analysis

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

  • Third-party content exposure detected (medium risk: 0.30). In references/integration-patterns.md, the Express and FastAPI web endpoints accept caller-controlled prompt/tools from req.body and pass request.prompt directly as the claude -p argument, so outsider-authored free text can be ingested at runtime into the agent.

MEDIUM W013: Attempt to modify system services in skill instructions.

  • Attempt to modify system services in skill instructions detected (high risk: 0.70). The skill exposes a --permission-mode bypassPermissions option and an acceptEdits mode (auto-accept file changes), which enable skipping permission prompts and could allow an agent to modify files on the host without interactive approval.

Issues (2)

W011
MEDIUM

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

W013
MEDIUM

Attempt to modify system services in skill instructions.

Audit Metadata
Risk Level
MEDIUM
Analyzed
Jul 28, 2026, 04:34 PM
Issues
2
Security Audit — snyk — claude-code-headless