@decocms/blocks-cli@7.16.1
Deco codegen (generate-blocks, generate-schema, generate-invoke) and Fresh-to-TanStack migration tooling
AI Security Review
scanned 3mo ago · by lpm-firewall-aiNo concrete malicious chain, hidden payload, credential exfiltration, or install-time foreign control-surface mutation was found. The explicit always-applied Cursor configuration is a real agent-control-surface mutation and merits a warning under the stated policy.
Decision evidence
public snapshot- `scripts/migrate/phase-scaffold.ts` writes `.cursor/rules/migration-tooling-policy.mdc` during `deco-migrate`.
- `scripts/migrate/templates/cursor-rules.ts` marks the generated Cursor rule `alwaysApply: true` and directs agents to upstream policy.
- `scripts/lib/cf-kv-rest.ts` uses CF API credentials to PUT/DELETE/list the configured KV namespace when invoked with write flags.
- `package.json` contains no preinstall, install, postinstall, or prepare lifecycle hook.
- The Cursor rule is created only by the explicit `deco-migrate` command, not at install or import time.
- KV writes require explicit `--write`/`--set-live` and Cloudflare environment configuration.
- `scripts/sync-blocks-to-kv.ts` defaults to dry-run and only optionally purges a user-supplied origin.
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.16.1.
See all versions of @decocms/blocks-cli for other recorded verdicts.
- Review the evidence and your use of @decocms/blocks-cli@7.16.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.