role-x

Warn

Audited by Snyk on Jul 22, 2026

Risk Level: MEDIUM
Full Analysis

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

  • Third-party content exposure detected (high risk: 0.70). Yes: the required scripts/role-x-intake-hook.sh runs role-x.py intake, which reads the current user prompt (stdin/JSON hook payload) and also loads Markdown from the workspace roles/*.md (including YAML frontmatter and prose) into the printed intake context; while those roles/ files are in the operator’s workspace (not an explicit “outsider”), the hook’s runtime prompt string is an unchosen external party’s contribution (the user/operator’s end-user prompt) and becomes LLM-readable context.

Issues (1)

W011
MEDIUM

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

Audit Metadata
Risk Level
MEDIUM
Analyzed
Jul 22, 2026, 06:30 PM
Issues
1
Security Audit — snyk — role-x