@decocms/blocks-cli@7.49.0
Deco codegen (generate-blocks, generate-schema, generate-invoke) and Fresh-to-TanStack migration tooling
AI Security Review
scanned 5d ago · by lpm-firewall-aiThe migration transfers a potentially privileged environment token to a package-selected project without a recipient-specific consent check. This is concrete credential disclosure and warrants blocking.
Decision evidence
public snapshot- During a non-dry-run migration, scripts/migrate.ts calls analytics provisioning after bootstrap.
- Analytics provisioning reads SUPABASE_ACCESS_TOKEN from the environment and skips the request only when the variable is absent.
- The request sends that token as a bearer credential to the hard-coded central Deco Supabase project and submits a database update.
- The package manifest has no install lifecycle hook; the credential transfer is activated by the migration command.
- The transfer is conditional on SUPABASE_ACCESS_TOKEN being present and the migration running outside dry-run mode.
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.49.0.
See all versions of @decocms/blocks-cli for other recorded verdicts.
- Avoid installing @decocms/blocks-cli@7.49.0. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.