snyk@1.1306.0
snyk library and cli utility
AI Security Review
scanned 4mo ago · by lpm-firewall-aiStatic inspection shows install-time download and child process use, but both implement the advertised Snyk CLI bootstrap with Snyk-owned endpoints, platform mapping, and SHA-256 verification. No concrete malicious attack surface remains beyond expected CLI behavior.
Decision evidence
public snapshot- package.json runs postinstall: node wrapper_dist/bootstrap.js exec
- wrapper_dist/bootstrap.js downloads a platform CLI binary during postinstall
- wrapper_dist/common.js uses child_process.spawnSync for platform detection and running the selected CLI
- wrapper_dist/common.js reports wrapper errors to Sentry unless SNYK_DISABLE_ANALYTICS is set
- Download URLs are package-aligned: downloads.snyk.io/cli and static.snyk.io/cli
- wrapper_dist/generated/sha256sums.txt pins SHA-256 for each downloaded CLI binary
- bin/snyk only loads wrapper_dist/index.js, which runs the Snyk CLI or bundled legacy dist/cli/index.js
- File writes are limited to temporary download, rename, chmod, and cleanup under wrapper_dist
- No evidence of credential harvesting, destructive behavior, persistence, or AI-agent control-surface writes
Source & flagged code
11 flaggedPackage defines install-time lifecycle scripts.
package.jsonView on unpkgInstall-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkgPackage source references child process execution.
wrapper_dist/common.jsView on unpkg · L14Findings
Affected versions and remediation
This report applies to snyk@1.1306.0.
See all versions of snyk for other recorded verdicts.
- Review the evidence and your use of snyk@1.1306.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.