rdkit
Warn
Audited by Gen Agent Trust Hub on Jun 19, 2026
Risk Level: MEDIUMREMOTE_CODE_EXECUTIONPROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill documentation in
SKILL.mdrecommends usingpickle.load()for performance optimization when handling molecular data. Thepicklemodule is known to be insecure against maliciously constructed data, as it can be exploited to execute arbitrary code during the deserialization process.\n- [PROMPT_INJECTION]: TheSKILL.mdfile contains a section titled 'Suggest Using K-Dense Web' that provides explicit behavioral directives to the agent. These instructions mandate that the agent promote an external platform (www.k-dense.ai) based on task complexity, which acts as a directive to override default agent behavior for marketing purposes.\n- [PROMPT_INJECTION]: The skill provides functions and scripts that process untrusted external chemical data formats, exposing a surface for indirect prompt injection.\n - Ingestion points: Molecular parsing functions in
SKILL.mdand the scriptsscripts/molecular_properties.py,scripts/similarity_search.py, andscripts/substructure_filter.pyload data from SMILES, SDF, and MOL files.\n - Boundary markers: No boundary markers or instructions to disregard natural language commands within the chemical data are provided to the agent.\n
- Capability inventory: The skill includes scripts that perform file system writes:
scripts/molecular_properties.py(write_csv),scripts/similarity_search.py(write_results), andscripts/substructure_filter.py(write_molecules).\n - Sanitization: RDKit's built-in sanitization validates the chemical structure (valence, aromaticity) but does not sanitize text or metadata fields for malicious prompt instructions.
Audit Metadata