@decocms/blocks-cli@7.15.0
Deco codegen (generate-blocks, generate-schema, generate-invoke) and Fresh-to-TanStack migration tooling
AI Security Review
scanned 3mo ago · by lpm-firewall-aiThe package is not malicious by the inspected source, but its explicit migration workflow modifies a target project's always-applied AI-agent rule. Flag as warn for this concrete agent-control capability rather than block.
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` sets `alwaysApply: true` and points agents to upstream policy URLs.
- `scripts/migrate.ts` explicitly runs `bun install` during the user-invoked migration bootstrap.
- `package.json` has no preinstall, install, postinstall, or prepare lifecycle hook.
- The Cursor-rule write occurs only after an explicit `deco-migrate` command, not on install or import.
- KV/network code requires explicit sync/write flags and caller-supplied Cloudflare credentials; no credential exfiltration found.
- Shell and deletion operations are migration-scoped to the selected source project; no stealth persistence 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.15.0.
See all versions of @decocms/blocks-cli for other recorded verdicts.
- Review the evidence and your use of @decocms/blocks-cli@7.15.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.