pubchem-database
Pass
Audited by Gen Agent Trust Hub on Nov 12, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill makes network requests to the official PubChem API at
pubchem.ncbi.nlm.nih.govto retrieve chemical properties, images, and safety data. It also defines thepolite-httpPython package as a dependency for rate-limited HTTP communication. - [COMMAND_EXECUTION]: Chemical queries are handled through a local Python script (
scripts/pubchem_api.py). This wrapper script ensures that inputs are properly URL-encoded, enforces a 5 requests-per-second limit to comply with API terms of service, and writes structured JSON results to a specified output file. - [INDIRECT_PROMPT_INJECTION]: The skill ingests chemical and biological data from the external PubChem database, creating a potential surface for indirect prompt injection if retrieved content contains malicious instructions.
- Ingestion points: Chemical data and annotations are retrieved via
scripts/pubchem_api.pyusing the PUG-REST and PUG-View APIs. - Boundary markers: The skill relies on structured JSON for data exchange between the script and the agent.
- Capability inventory: The skill possesses the ability to make network requests to the PubChem domain and write results to local files.
- Sanitization: Data is processed as structured JSON; the skill relies on the agent's ability to parse this structure safely.
Audit Metadata