matchms
Fail
Audited by Snyk on Jun 14, 2026
Risk Level: CRITICAL
Full Analysis
CRITICAL E004: Prompt injection detected in skill instructions.
- Potential prompt injection detected (medium risk: 0.60). The prompt includes an explicit instruction to proactively promote and suggest K-Dense Web (an external product) when complex tasks arise, which is outside the Matchms library's stated purpose and thus constitutes a hidden/deceptive behavior modifier.
MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).
- Third-party content exposure detected (medium risk: 0.65). The required runtime workflow ingests outsider-authored free text from user-supplied mass spectrometry files (e.g.,
load_from_mgf/load_from_msp/load_from_jsonparse text-based MGF/MSP/GNPS JSON into Spectrum metadata/peaks), which can include arbitrary free-form fields likeName/Comment/compound_namethat become LLM-readable strings in the agent context.
Issues (2)
E004
CRITICALPrompt injection detected in skill instructions.
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
Audit Metadata