baoyu-translate
Pass
Audited by Gen Agent Trust Hub on Aug 19, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes its own TypeScript scripts, such as
scripts/main.tsandscripts/chunk.ts, to process markdown content. It uses thebunruntime, resolving it dynamically vianpx -y bunif not already installed, which involves downloading and executing the runtime environment. - [EXTERNAL_DOWNLOADS]: As part of its primary translation workflow, the skill fetches content from user-provided URLs and saves them locally to the
translate/directory for processing. - [PROMPT_INJECTION]: The skill is vulnerable to indirect prompt injection because it ingests untrusted content from various sources (files, URLs, text) to perform translations. The instructions lack clear boundary markers or sanitization logic to prevent the AI from executing instructions embedded in the source material.
- Ingestion points: Reads content from external URLs, local files, and direct user input as specified in
references/workflow-mechanics.md. - Boundary markers: The subagent prompt templates in
references/subagent-prompt-template.mddo not employ delimiters or explicit instructions to treat source content as data rather than instructions. - Capability inventory: The skill performs file system writes (outputs and chunks), network fetches (source material), and subprocess execution (via
bunfor chunking). - Sanitization: No filtering or escaping is applied to the retrieved source content before it is processed by the agent or subagents.
Audit Metadata