@decocms/blocks-cli@7.77.3
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 install and process signals do not establish an install-time attack: the manifest has no lifecycle hook, and the process calls are in tests or generator orchestration. The always-applied Cursor rule's destructive recovery advice leaves a concrete, user-mediated risk, so downgrade to a warning.
Decision evidence
public snapshot- package.json exposes CLI entrypoints and declares only build, test, typecheck, and lint scripts; no install lifecycle hook is declared.
- The migration runs as a CLI command; dry-run defaults off, and its normal phases include scaffolding.
- Scaffolding writes a project-local Cursor rule that is marked to apply in every Cursor session.
- That generated rule tells an agent to remove the working tree with rm -rf if migration fails, creating a residual destructive-action risk if an agent follows it.
- The process-spawn findings are consistent with test fixtures and the generator spawning its selected TypeScript generator scripts.
- The agent-rule write occurs during the explicit migration command, not an npm install hook, and is confined to the migrated project's .cursor/rules directory.
- Migration provisioning uses tokens supplied through named environment variables; the inspected code does not show credential harvesting.
- No confirmed credential theft, hidden persistence, or remote code execution 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.77.3.
See all versions of @decocms/blocks-cli for other recorded verdicts.
- Review the evidence and your use of @decocms/blocks-cli@7.77.3 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.