← Home

@yarnpkg/plugin-patch

2
Versions
License
No
Install Scripts
Verified
Provenance

Supply chain provenance

Status for the latest visible version.

SLSA provenance attestation npm registry signatures gitHead linked

Maintainers

arcanisyarnbot

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
semgrep semgrep:env-spread AI (semgrep): Spreading process.env into execvp options is the normal way to forward env to a git subprocess; not a security issue for this package. ai

Versions (showing 2 of 2)

Version Deps Published
4.0.4 4 / 2
4.0.3 4 / 2

v4.0.4

1 finding
INFO Has SLSA provenance attestation provenance

Published via CI/CD with Sigstore attestation (predicate: https://slsa.dev/provenance/v1). This is the strongest supply chain integrity signal.

v4.0.3

2 findings
HIGH env-spread: lib/patchUtils.js:241 semgrep

Spreading entire process.env into an object — may capture all secrets Source: https://github.com/yarnpkg/berry/blob/a9edb7777f04ba16f51503ef6775325b353b67cc/lib/patchUtils.js#L241 239 | const { stdout, stderr } = await core_1.execUtils.execvp(`git`, [`-c`, `core.safecrlf=false`, `diff`, `--src-prefix= 240 | cwd: fslib_1.npath.toPortablePath(process.cwd()), > 241 | env: { 242 | ...process.env, 243 | //#region Predictable output

INFO Has SLSA provenance attestation provenance

Published via CI/CD with Sigstore attestation (predicate: https://slsa.dev/provenance/v1). This is the strongest supply chain integrity signal.