matchms
Warn
Audited by Gen Agent Trust Hub on Jul 12, 2026
Risk Level: MEDIUMREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill documentation and example code (in SKILL.md and references/importing_exporting.md) explicitly support the use of
load_from_pickle. Python'spicklemodule is insecure because it can execute arbitrary code during the deserialization process. An attacker providing a malicious .pkl file could achieve full code execution on the system running the agent. - [EXTERNAL_DOWNLOADS]: The skill includes functionality to retrieve data from external web services. Specifically,
derive_annotation_from_compound_name(found in references/filtering.md) retrieves chemical information from PubChem, andload_from_usi(found in references/importing_exporting.md) downloads spectra from online metabolomics repositories. While these are reputable scientific services, they constitute external data ingress points. - [PROMPT_INJECTION]: The skill exhibits a surface for indirect prompt injection. It processes highly flexible metadata fields from external spectral files and web APIs. If an agent uses this metadata to influence its logic or generate subsequent commands, an attacker could poison a data source (like a public spectral library or PubChem entry) with malicious instructions disguised as scientific metadata.
- Ingestion points: Spectral data files in MGF, MSP, mzML, and JSON formats, as well as API responses from PubChem.
- Boundary markers: No explicit instructions are provided to the agent to treat metadata as untrusted or to ignore embedded instructions.
- Capability inventory: The skill allows for file system writes (
save_as_mgf,save_as_json,save_as_pickle) and data processing which could be manipulated. - Sanitization: The skill applies scientific filters (m/z validation, peak intensity normalization), but these do not protect against natural language instruction injection.
Audit Metadata