@decocms/blocks-cli@7.62.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 package has no install lifecycle hook, and the flagged network, process, and audit behaviors are tied to explicit CLI use or tests. However, the migration’s persistent Cursor rule advises broad deletion after failure, creating a concrete residual risk of destructive agent behavior.
Decision evidence
public snapshot- package.json exposes command-line tools and has no install lifecycle hook; the migration command is user-invoked.
- The migration scaffold writes a Cursor rule file into the migrated site.
- The generated rule is always applied and advises deleting the working tree after a failed migration.
- The migration CLI’s bootstrap runs dependency installation and generators as part of an explicit migration action.
- The KV sync command defaults to dry-run and requires --write before sending data to Cloudflare KV.
- The flagged child-process test runs the observability auditor against a temporary test directory; the auditor describes itself as read-only.
- The flagged generate-invoke test creates fixtures in temporary directories and runs the generator against them.
- The new secret-audit script is a read-only scanner for hardcoded credentials and client-side crypto imports.
- No install hook invokes the migration or changes agent settings during package installation.
- The Cursor rule is created by the explicit migration command, but its always-applied deletion advice can influence later agent behavior.
Source & flagged code
5 flagged · loading sourcePackage source references child process execution.
scripts/audit-observability-config.test.tsView on unpkg · L309A single source file combines environment access, network access, and code or shell execution; review context before blocking.
scripts/sync-blocks-to-kv.tsView on unpkg · L77Findings
Affected versions and remediation
This report applies to @decocms/blocks-cli@7.62.1.
See all versions of @decocms/blocks-cli for other recorded verdicts.
- Review the evidence and your use of @decocms/blocks-cli@7.62.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.