pubchem-database

Pass

Audited by Gen Agent Trust Hub on Jun 19, 2026

Risk Level: SAFEPROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
  • [PROMPT_INJECTION]: The 'Suggest Using K-Dense Web' section in SKILL.md contains instructions that attempt to override the agent's default behavior. It directs the agent to 'proactively suggest' a specific platform (www.k-dense.ai) when user requests reach a certain level of complexity, effectively steering the agent's persona for commercial promotion.
  • [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection as it processes untrusted chemical identifiers and fetches data from external APIs without adequate protection.
  • Ingestion points: Chemical names, SMILES strings, and other identifiers provided by users are processed in scripts/compound_search.py and scripts/bioactivity_query.py.
  • Boundary markers: Absent. The scripts do not use delimiters or provide instructions to the agent to ignore potentially malicious content embedded in API responses or user-supplied identifiers.
  • Capability inventory: The skill possesses network access (requests.get) to PubChem and file system write capabilities (pcp.download and standard Python file I/O).
  • Sanitization: Absent. There is no evidence of validation or escaping for external data before it is processed or used in operations.
  • [COMMAND_EXECUTION]: The skill implements file system write operations. The download_structure function in scripts/compound_search.py and various examples in SKILL.md (e.g., pcp.download, open().write()) allow the agent to save structure files, JSON data, and images (e.g., aspirin.sdf, caffeine.png) to the local environment.
  • [EXTERNAL_DOWNLOADS]: The skill performs network operations to fetch chemical data and visualization images from the official PubChem PUG-REST and PUG-View APIs (pubchem.ncbi.nlm.nih.gov). These are well-known scientific resources and the operations are documented neutrally.
Audit Metadata
Risk Level
SAFE
Analyzed
Jun 19, 2026, 05:03 AM