@decocms/blocks-cli@7.80.2
Deco codegen (generate-blocks, generate-schema, generate-invoke) and Fresh-to-TanStack migration tooling
AI Security Review
scanned 5d ago · by lpm-firewall-aiThe source supports a warning for risky agent guidance embedded by the explicit migration command, but does not establish an active attack. Lifecycle and test findings do not show package install-time execution.
Decision evidence
public snapshot- The explicitly invoked migration writes an always-loaded Cursor rule into the migrated site.
- That rule advises agents to remove the working tree and rerun after a failed migration, creating a risk of broad project data loss.
- The package has no install lifecycle hooks; installation and provisioning run only during a non-dry-run migration.
- The cleanup code removes a fixed list of files under src/, while the workspace and invoke subprocess calls are test code; the observability auditor is described as read-only.
- The generated rule is a pointer to first-party migration policy, and its setup requires running the migration CLI.
- The audit command only reads wrangler.jsonc; no credential theft or other confirmed attack was identified.
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.80.2.
See all versions of @decocms/blocks-cli for other recorded verdicts.
- Review the evidence and your use of @decocms/blocks-cli@7.80.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.