matchms

Warn

Audited by Gen Agent Trust Hub on Jul 10, 2026

Risk Level: MEDIUMREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
  • [REMOTE_CODE_EXECUTION]: The skill implements and documents the use of load_from_pickle and save_as_pickle functions within the matchms.importing and matchms.exporting modules. Python's pickle module is inherently unsafe as it can execute arbitrary code during the deserialization process. The documentation specifically suggests using this format for data sharing and intermediate processing, which increases the likelihood of an agent loading a malicious pickle file from an untrusted source.
  • [EXTERNAL_DOWNLOADS]: The skill requires the installation of several external Python packages, including matchms, rdkit, numpy, and pandas. While these are established libraries in the scientific community, the skill's instructions involve runtime installation of these dependencies from public registries.
  • [PROMPT_INJECTION]: The skill processes untrusted external mass spectrometry data (MGF, mzML, MSP, JSON) and extracts metadata such as compound names and structural annotations. This represents an indirect prompt injection surface where malicious data could influence the agent's behavior or be used in downstream operations. The analysis of this surface includes:
  • Ingestion points: load_from_mgf, load_from_mzml, load_from_msp, and load_from_json functions in SKILL.md and references/importing_exporting.md.
  • Boundary markers: No explicit boundary markers or instructions to ignore embedded instructions in the processed data are present.
  • Capability inventory: The skill possesses file writing capabilities (save_as_mgf, save_as_json, save_as_pickle) and can execute arbitrary code via pickle deserialization.
  • Sanitization: No metadata sanitization or validation logic is described before the data is used for filtering or reporting.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Jul 10, 2026, 04:32 PM