@decocms/blocks-cli@7.56.0
Deco codegen (generate-blocks, generate-schema, generate-invoke) and Fresh-to-TanStack migration tooling
AI Security Review
scanned 1mo ago · by lpm-firewall-aiThe package does not show malicious install-time behavior, but its shell interpolation creates a concrete user-invoked command-execution vulnerability. It should be warned and remediated by using argument arrays or strict validation.
Decision evidence
public snapshot- The sync CLI interpolates caller-controlled --since directly into an execSync shell command.
- The migration CLI constructs shell commands from caller-controlled repository, branch, source, and destination values.
- A migration run automatically invokes bun install in the target project.
- package.json has no preinstall, install, postinstall, or other lifecycle hook.
- The observed network and file-mutating features are exposed as named user-invoked CLI tools, not import-time behavior.
- The observability command reads a local wrangler configuration and emits findings rather than sending its contents.
Source & flagged code
6 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.56.0.
See all versions of @decocms/blocks-cli for other recorded verdicts.
- Review the evidence and your use of @decocms/blocks-cli@7.56.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.