code-i18n-agent@0.1.2
智能体:自动将代码项目国际化的扫描-分类-提取-翻译-替换-验证管线(不限于 ERP,适配 Vue/React/TS/JS/HTML)
AI Security Review
scanned 2d ago · by lpm-firewall-aiThe package’s CLI is also its main module and runs a default internationalization workflow when imported. Because it can write state, locale resources, and a report before prompting before source replacement, this is a real import-time side-effect risk, though the behavior otherwise fits the package’s stated purpose.
Decision evidence
public snapshot- The package declares dist/cli.js as its main entrypoint.
- The CLI invokes main() without an import guard, and main defaults to the run command when no command is supplied.
- A default pipeline run includes scan, classify, extract, translate, replace, validate, and report steps.
- Before source-replacement confirmation, the pipeline can save state, update locale resources, and write a report in the project.
- The confirmation callback guards the replacement stage; it does not guard those earlier writes.
- The package is described as an internationalization tool and exposes a CLI for that purpose.
- Source replacement is normally followed by a confirmation prompt unless --yes or dry-run is supplied.
Source & flagged code
4 flaggedPackage source references child process execution.
dist/mcp-server.jsView on unpkg · L54Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
dist/mcp-server.jsView on unpkg · L54Findings
Affected versions and remediation
This report applies to code-i18n-agent@0.1.2.
See all versions of code-i18n-agent for other recorded verdicts.
- Review the evidence and your use of code-i18n-agent@0.1.2 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.