← Home

resolve-file

1
Versions
License
No
Install Scripts
Missing
Provenance

Supply chain provenance

Status for the latest visible version.

No SLSA provenance npm registry signatures gitHead linked

Without SLSA provenance there is no cryptographic link between this tarball and the public source — the axios compromise (March 2026) relied on exactly this gap.

Maintainers

doowbjonschlinkert

Keywords

fileresolve

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
semgrep semgrep:npmrc-access AI (semgrep): Fires on a JSDoc comment example path, not actual .npmrc access code; stable false positive for this package. ai

Versions (showing 1 of 1)

Version Deps Published
0.3.0 7 / 9

v0.3.0

3 findings
HIGH npmrc-access: index.js:20 semgrep

Accessing .npmrc can expose npm auth tokens Source: https://github.com/doowb/resolve-file/blob/0c041012ad034812194e01929c3c93c3e2f822dc/index.js#L20 18 | * - node module "main" file (`'cwd'`) 19 | * - specific file inside a node module (`'cwd/LICENSE'`) > 20 | * - file located in user's home directory (`'~/.npmrc'`) 21 | * 22 | * ```js

HIGH npmrc-access: index.js:45 semgrep

Accessing .npmrc can expose npm auth tokens Source: https://github.com/doowb/resolve-file/blob/0c041012ad034812194e01929c3c93c3e2f822dc/index.js#L45 43 | * - node module "main" file (`'cwd'`) 44 | * - specific file inside a node module (`'cwd/LICENSE'`) > 45 | * - file located in user's home directory (`'~/.npmrc'`) 46 | * 47 | * ```js

LOW No provenance attestation provenance

Package was published without Sigstore provenance. Only ~12% of npm packages have provenance, so this is common but not ideal.