cargo-generate
Warn
Audited by Snyk on Jul 31, 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). The skill’s runtime workflow ingests outsider-authored free text via Git template repository file contents/path names (used for Liquid rendering and Rhai hooks) when the user supplies a remote
--git <url>or local--path <dir>template tocargo generate.
MEDIUM W012: Unverifiable external dependency detected (runtime URL that controls agent).
- Potentially malicious external URL detected (high risk: 0.90). The skill shows a runtime command that fetches a remote git template (which can contain cargo-generate.toml hooks that may run Rhai scripts and even system commands), e.g. https://github.com/TheBevyFlock/bevy_new_2d is fetched at runtime via --git and can therefore control prompts or execute code.
Issues (2)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
W012
MEDIUMUnverifiable external dependency detected (runtime URL that controls agent).
Audit Metadata