@speranto/speranto@0.4.2
A quick and simple machine translation tool for i18n in webapps. Translate JSON, JS/TS, Markdown files and database content using OpenAI, Mistral, or Ollama.
AI Security Review
scanned 11d ago · by lpm-firewall-aiThe package automatically modifies consumer agent instruction files during postinstall, but the source shows bounded, managed installation of its own translation guide with skip conditions. This fits guarded first-party agent setup and warrants a warning, not a confirmed attack or publish block.
Decision evidence
public snapshot- The manifest runs an automatic postinstall script that invokes agent-documentation setup.
- Postinstall resolves the consumer project and proceeds only when the package is a direct dependency; setup also has explicit skip conditions.
- Setup writes a package-managed guide and adds or updates managed instructions in AGENTS.md or CLAUDE.md files.
- The installed instruction block directs agents to read the package guide for Speranto-related work.
- The guide contains project-specific translation and configuration guidance; the inspected excerpts show no remote instruction channel.
- The source confines writes to the project root, checks for symlinks, and manages a marked block while preserving surrounding instruction content.
- The installer skips the package's own project and supports environment-variable opt-outs.
Source & flagged code
5 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgThe manifest runs an automatic postinstall script that invokes agent-documentation setup.
package.jsonView on unpkg · L37Package source references dynamic require/import behavior.
dist/index.mjsView on unpkg · L20Findings
Affected versions and remediation
This report applies to @speranto/speranto@0.4.2.
See all versions of @speranto/speranto for other recorded verdicts.
- Review the evidence and your use of @speranto/speranto@0.4.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.