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_json parse text-based MGF/MSP/GNPS JSON into Spectrum metadata/peaks), which can include arbitrary free-form fields like Name/Comment/compound_name that become LLM-readable strings in the agent context.

Issues (2)

E004
CRITICAL

Prompt injection detected in skill instructions.

W011
MEDIUM

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

Audit Metadata
Risk Level
CRITICAL
Analyzed
Jun 14, 2026, 08:10 AM
Issues
2