dart-type-bridger
Fail
Audited by Gen Agent Trust Hub on Sep 11, 2026
Risk Level: HIGHEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The documentation and examples (SKILL.md, EXAMPLES.md) instruct the agent or user to download an OpenAPI specification using
curl -fsS http://127.0.0.1:8090/openapi.json -o openapi.json. While this targets the local loopback address, which is common in development environments for fetching metadata from a running service, it represents an external download operation. - [INDIRECT_PROMPT_INJECTION]: The skill processes external data (OpenAPI JSON files and Firestore rules) which could potentially contain malicious instructions or confusing data if the source is compromised.
- Ingestion points: The scripts
scripts/sync_openapi.pyandscripts/fetch_firestore_schema.pyreadopenapi.json,firestore.rules, andfirestore.schema.jsonfrom the local file system. - Boundary markers: The instructions do not define explicit boundary markers to prevent the agent from following instructions potentially embedded within these JSON/rules files.
- Capability inventory: The skill has the capability to write files (
lib/models/api_models.dart) based on the content of the ingested files. - Sanitization: The skill performs basic sanitization by using regex to clean class names (
re.sub(r"[^a-zA-Z0-9_]", "", name)) and standard JSON parsing, which mitigates simple code injection but does not prevent logic-based indirect injection. - [COMMAND_EXECUTION]: The skill relies on the agent executing shell commands (
python scripts/sync_openapi.py) and provides example commands involvingcurl. The Python implementation correctly implements path validation using.resolve()andrelative_to()to ensure the scripts only access files within the intended project root, preventing path traversal.
Recommendations
- HIGH: Downloads and executes remote code from: http://127.0.0.1:8090/openapi.json - DO NOT USE without thorough review
Audit Metadata