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_pickleandsave_as_picklefunctions within thematchms.importingandmatchms.exportingmodules. Python'spicklemodule 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, andpandas. 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, andload_from_jsonfunctions inSKILL.mdandreferences/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