d1-cli
Fail
Audited by Gen Agent Trust Hub on Nov 24, 2026
Risk Level: HIGHCREDENTIALS_UNSAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTIONREMOTE_CODE_EXECUTION
Full Analysis
- [CREDENTIALS_UNSAFE]: The skill manages a storefront session token stored locally in
~/.config/d1-cli/session.json. It correctly enforces0600(owner-only) file permissions to protect the session data. - [COMMAND_EXECUTION]: Spawns the CLI process for integration testing and generates suggested shell commands for the user. It uses strict validation and shell-style quoting to prevent command injection from external product data.
- [EXTERNAL_DOWNLOADS]: Fetches product information and cart updates from the official Tiendas D1 storefront API at
www.d1.com.co. - [INDIRECT_PROMPT_INJECTION]: Ingests product names and properties from external sources. It mitigates injection risks by sanitizing terminal control characters and bidi reordering overrides.
- Ingestion points:
src/catalog.tsandsrc/substitute.tsfetch product data. - Boundary markers: Explicit sanitization via
sanitizeandshellQuotefunctions insrc/present.ts. - Capability inventory: Uses
fetchfor network requests andBun.spawnin integration tests. - Sanitization: Robust removal of terminal control characters (C0, C1, bidi reordering, and zero-width characters).
- [REMOTE_CODE_EXECUTION]: Automated scans identified shell-piping patterns in test files. These are verified as non-functional fixtures used to test the security of the skill's quoting mechanism against potential command injection payloads.
Recommendations
- HIGH: Downloads and executes remote code from: http://evil/x - DO NOT USE without thorough review
Audit Metadata