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.shrunsrole-x.py intake, which reads the current user prompt (stdin/JSON hook payload) and also loads Markdown from the workspaceroles/*.md(including YAML frontmatter and prose) into the printed intake context; while thoseroles/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
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
Audit Metadata