openfda-database
Pass
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: SAFEDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [DATA_EXPOSURE]: The utility script
scripts/openfda_query.pyloads environment variables from the user's~/.envfile to retrieve theFDA_API_KEY. This is a standard and recommended practice for managing API credentials and is performed here to authenticate with the official FDA service. - [INDIRECT_PROMPT_INJECTION]: The skill processes data from the external openFDA API, which represents a potential attack surface for indirect prompt injection if the data source were compromised.
- Ingestion points: Data is fetched from
https://api.fda.govusing thepolite-httplibrary. - Boundary markers: Output is written to JSON files as specified by the
--outputflag, providing structure but without explicit instructions to the agent to disregard embedded text as potential commands. - Capability inventory: The skill performs network GET requests to the openFDA API and writes results to the local filesystem.
- Sanitization: The script performs standard JSON serialization but does not specifically sanitize the internal text content of FDA reports for adversarial patterns.
- [EXTERNAL_DOWNLOADS]: The skill's Python script relies on
polite-http(a rate-limiting HTTP client) andpython-dotenv(for environment variable management). These are standard libraries appropriate for the skill's functionality. - [COMMAND_EXECUTION]: The skill requires execution of a local Python script (
scripts/openfda_query.py) usinguvto perform its primary functions.
Audit Metadata