← Home

is-wsl

Check if the process is running inside Windows Subsystem for Linux (Bash on Windows)

3
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

sindresorhus

Keywords

checkwslwindowssubsystemlinuxdetectbashprocessconsoleterminalis

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
provenance no-provenance AI (provenance): sindresorhus packages consistently lack Sigstore provenance; author's long track record and clean publishing history make this a stable false positive for this package. ai

Versions (showing 3 of 3)

Version Deps Published
3.1.1 1 / 4
2.2.0 1 / 5
1.1.0 0 / 4

v2.2.0

1 finding
INFO No provenance attestation provenance

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

v1.1.0

1 finding
INFO No provenance attestation provenance

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