@decocms/blocks-cli@7.80.0
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 establishes an explicit-command agent configuration risk because the generated always-loaded Cursor rule recommends deleting the working tree after migration failure. This warrants a warning, but does not establish an automatic install-time attack.
Decision evidence
public snapshot- The manifest exposes migration as a CLI and defines no install lifecycle hook.
- Running the migration invokes scaffolding and cleanup; generated files are written only outside dry-run mode.
- Scaffolding creates a Cursor rule that applies to every Cursor session in the migrated site.
- That rule advises agents to delete the working tree after a failed migration, creating a risk if an agent follows it.
- Cleanup targets `AGENTS.md` only under the site's `src` directory.
- The agent configuration changes are part of an explicitly invoked migration command, not an automatic package install action.
- The cleanup's `AGENTS.md` target is scoped to `src`; the broader risk comes from the generated Cursor rule's guidance.
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.0.
See all versions of @decocms/blocks-cli for other recorded verdicts.
- Review the evidence and your use of @decocms/blocks-cli@7.80.0 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.