@decocms/blocks-cli@7.77.1
Deco codegen (generate-blocks, generate-schema, generate-invoke) and Fresh-to-TanStack migration tooling
AI Security Review
scanned 5d ago · by lpm-firewall-aiThe scanner's cleanup hint is ordinary fixed-name cleanup, but source confirms the migration also installs a persistent Cursor instruction that recommends deleting the working tree after failures. This supports a warning for agent capability risk; the package does not directly run the destructive command.
Decision evidence
public snapshot- The manifest exposes `deco-migrate` as a CLI, and its entrypoint parses user-supplied arguments before running migration phases.
- The migration runs scaffolding and cleanup as phases of that CLI invocation; scaffolding writes a Cursor rule into the selected site.
- The generated Cursor rule is marked to apply in every Cursor session and advises removing the working tree with `rm -rf` if migration fails.
- The cleanup target list includes `AGENTS.md`; the cleanup code deletes only named files under the selected source directory when not in dry-run mode.
- The package code does not itself execute the `rm -rf` advice; the concern is the persistent instruction it places in the site's agent configuration.
- The flagged cleanup location removes a fixed list of old source files and does not itself add agent instructions.
Source & flagged code
5 flagged · loading sourcePackage source references child process execution.
scripts/generate-workspaces.test.tsView on unpkg · L1A single source file combines environment access, network access, and code or shell execution; review context before blocking.
scripts/migrate.ts#virtual:normalized:round1View on unpkg · L94Findings
Affected versions and remediation
This report applies to @decocms/blocks-cli@7.77.1.
See all versions of @decocms/blocks-cli for other recorded verdicts.
- Review the evidence and your use of @decocms/blocks-cli@7.77.1 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.