@decocms/blocks-cli@7.48.4
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 hook establishing automatic behavior, but its user-invoked migration installs a project-local agent rule with destructive guidance. That leaves a concrete conditional risk, so a warning is appropriate.
Decision evidence
public snapshot- The manifest exposes migration and generator commands but declares no install lifecycle hooks.
- An explicitly run migration scaffolds a project-local Cursor rule; that rule tells an agent to remove the working tree if migration goes sideways.
- The cleanup target is a project file list, while the KV sync tool requires an explicit write flag; the audit reads configuration and the generator has a dry-run path.
- The child-process match is in an integration test that runs the generator against a fixture.
- The flagged observability audit reads the site's configuration; its tests exercise audit findings. No confirmed automatic attack behavior was identified.
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.48.4.
See all versions of @decocms/blocks-cli for other recorded verdicts.
- Review the evidence and your use of @decocms/blocks-cli@7.48.4 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.