@decocms/blocks-cli@7.8.0
Deco codegen (generate-blocks, generate-schema, generate-invoke) and Fresh-to-TanStack migration tooling
AI Security Review
scanned 4mo ago · by lpm-firewall-aiSource inspection shows no malicious lifecycle hook or hidden payload; risky primitives are explicit CLI migration/KV operations aligned with the package purpose. Because deco-migrate writes an always-applied Cursor rule, treat as a warning-level agent configuration mutation rather than publish-block malware.
Decision evidence
public snapshot- scripts/migrate/phase-scaffold.ts writes .cursor/rules/migration-tooling-policy.mdc during user-run deco-migrate.
- scripts/migrate/templates/cursor-rules.ts marks the generated Cursor rule alwaysApply: true and includes process instructions.
- scripts/migrate.ts bootstrap runs bun install and generators after explicit deco-migrate, not install lifecycle.
- package.json has no preinstall/install/postinstall lifecycle scripts.
- scripts/sync-blocks-to-kv.ts and scripts/migrate-blocks-to-kv.ts are explicit CLIs; KV writes require --write and Cloudflare env config.
- scripts/lib/cf-kv-rest.ts network is package-aligned Cloudflare KV API, using caller-provided credentials.
- scripts/generate-blocks.ts only reads .deco/blocks JSON and writes generated .deco/blocks.gen.{json,ts}.
- No credential harvesting, hidden exfiltration, obfuscated payload, or import-time execution found.
Source & flagged code
5 flagged · loading sourcePackage source references child process execution.
scripts/audit-observability-config.test.tsView on unpkg · L309Package source references dynamic require/import behavior.
scripts/audit-observability-config.test.tsView on unpkg · L309Findings
Affected versions and remediation
This report applies to @decocms/blocks-cli@7.8.0.
See all versions of @decocms/blocks-cli for other recorded verdicts.
- Review the evidence and your use of @decocms/blocks-cli@7.8.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.