matchms
Warn
Audited by Gen Agent Trust Hub on Sep 5, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The documentation and code examples promote the use of
load_from_pickle, which utilizes Python'spicklemodule for data deserialization. This is a significant security risk becausepickleis not secure against erroneous or maliciously constructed data, and loading an untrusted file can result in the execution of arbitrary code.- [INDIRECT_PROMPT_INJECTION]: The skill is designed to process external scientific data files (MGF, mzML, JSON), which serves as a potential vector for indirect prompt injection. A malicious file could be crafted to include instructions that manipulate the agent's behavior during the analysis process. - Ingestion points: The skill uses
load_from_mgf,load_from_mzml, andload_from_jsonto import data from external files (seen in SKILL.md and references/importing_exporting.md). - Boundary markers: No explicit boundary markers or instructions to ignore embedded commands are specified for the processed file content.
- Capability inventory: The skill provides tools for metadata standardisation, peak filtering, and similarity scoring, all of which operate on the untrusted data.
- Sanitization: The documented workflow does not include specific sanitization steps to neutralize potential command or prompt injections within the metadata of scientific files.
Audit Metadata