@icp-sdk/icp-cli
npm wrapper for icp-cli - Internet Computer Protocol command-line interface
Supply chain provenance
Status for the latest visible version.
Maintainers
Keywords
Accepted risks
Findings the reviewer chose to accept rather than block on.
| Source | Rule | Reason | Accepted by | When |
|---|---|---|---|---|
| install-scripts | install-script:postinstall | AI (install-scripts): Standard platform-binary resolver postinstall for a CLI wrapper; matches dfinity/icp-cli documented install flow. | ai | |
| semgrep | semgrep:env-spread | AI (semgrep): Spreads process.env to pass environment to the spawned CLI binary — standard wrapper pattern, not exfiltration. | ai | |
| semgrep | semgrep:child-process-import | AI (semgrep): child_process used solely to spawn the platform-specific CLI binary; expected for a CLI wrapper package. | ai | |
| semgrep | semgrep:dynamic-require | AI (semgrep): Dynamic require loads the platform-specific optional dependency by computed name — standard cross-platform binary wrapper pattern. | ai |
Versions (showing 5 of 5)
| Version | Deps | Published |
|---|---|---|
| 0.2.7 | 0 / 0 | |
| 0.2.6 | 0 / 0 | |
| 0.2.4 | 0 / 0 | |
| 0.2.3 | 0 / 0 | |
| 0.1.0 | 0 / 0 |
v0.2.7
1 findingPublished via CI/CD with Sigstore attestation (predicate: https://slsa.dev/provenance/v1). This is the strongest supply chain integrity signal.
v0.2.6
3 findingsScript: node postinstall.js
Spreading entire process.env into an object — may capture all secrets Source: https://github.com/dfinity/icp-cli/blob/17b458fb6ce79a5374b19bdeabb85beb4cb616b3/bin/icp.js#L64 62 | const child = spawn(binaryPath, args, { 63 | stdio: 'inherit', > 64 | env: { ...process.env, ICP_CLI_DIST: 'npm' }, 65 | }); 66 |
Published via CI/CD with Sigstore attestation (predicate: https://slsa.dev/provenance/v1). This is the strongest supply chain integrity signal.
v0.2.4
3 findingsScript: node postinstall.js
Spreading entire process.env into an object — may capture all secrets Source: https://github.com/dfinity/icp-cli/blob/a4dc4250d8d9833a262b8f0155a30960add8d3be/bin/icp.js#L64 62 | const child = spawn(binaryPath, args, { 63 | stdio: 'inherit', > 64 | env: { ...process.env, ICP_CLI_DIST: 'npm' }, 65 | }); 66 |
Published via CI/CD with Sigstore attestation (predicate: https://slsa.dev/provenance/v1). This is the strongest supply chain integrity signal.
v0.2.3
3 findingsScript: node postinstall.js
Spreading entire process.env into an object — may capture all secrets Source: https://github.com/dfinity/icp-cli/blob/caeac373c450c865c2af97d4f5f68892c613f595/bin/icp.js#L64 62 | const child = spawn(binaryPath, args, { 63 | stdio: 'inherit', > 64 | env: { ...process.env, ICP_CLI_DIST: 'npm' }, 65 | }); 66 |
Published via CI/CD with Sigstore attestation (predicate: https://slsa.dev/provenance/v1). This is the strongest supply chain integrity signal.
v0.1.0
1 findingPublished via CI/CD with Sigstore attestation (predicate: https://slsa.dev/provenance/v1). This is the strongest supply chain integrity signal.