← Home

detect-package-manager

Detect which package manager you're using (yarn or npm)

8
Versions
MIT
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

egoistrem

Keywords

npmyarnpackage-managerdetectcheckpnpm

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
provenance publisher-changed AI (provenance): egoist is the documented author of this package (repo: egoist/detect-package-manager, author field matches). The account change from 'rem' to 'egoist' reflects a legitimate ownership consolidation, not a compromise. ai
maintainer-change maintainer-added AI (maintainer-change): egoist is the package author per package.json; adding them as maintainer is expected and legitimate. ai
source-diff source-size-tripled AI (source-diff): Size increase from 1KB to 5KB is due to new dual ESM/CJS build output via tsup in a major version bump. Trivially small in absolute terms and consistent with the build script changes. ai

Versions (showing 8 of 8)

Version Deps Published
3.0.2 1 / 6
3.0.1 1 / 6
3.0.0 1 / 6
2.0.1 1 / 6
2.0.0 1 / 6
1.1.0 2 / 3
1.0.1 2 / 3
1.0.0 2 / 3

v3.0.2

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.

v3.0.1

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.

v3.0.0

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.

v2.0.1

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.

v2.0.0

2 findings
HIGH Publisher changed: rem → egoist (on 2021-10-24) provenance

This version was published by a different npm account than previous versions on 2021-10-24. This could indicate a legitimate maintainer transition or an account compromise.

LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.