i18n-translate
Pass
Audited by Gen Agent Trust Hub on Oct 18, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The workflow requires creating local JavaScript scripts (
find-missing-keys.mjs,find-untranslated.mjs, andadd-missing-keys.mjs) and executing them with Node.js to perform file system operations such as reading source code and writing locale JSON files. - [COMMAND_EXECUTION]: The skill instructs the agent to execute shell commands including
bun run i18n:syncandnode scripts/xxx.mjsto manage the project's translation lifecycle. - [INDIRECT_PROMPT_INJECTION]: The skill defines an ingestion surface by scanning local source files (
.tsx,.jsx, etc.) for translation keys. However, the logic uses static regex patterns to extract keys and does not execute or evaluate the content of the files, limiting the risk of malicious instruction obedience. - [DATA_EXPOSURE]: The provided scripts include proactive security filtering in
find-untranslated.mjs. It uses regex patterns to identify and skip sensitive strings like API keys (AccessKey,whsec_), URLs, and technical identifiers to ensure they are not accidentally processed or sent for translation.
Audit Metadata