is-inside-container
Check if the process is running inside a container (Docker/Podman)
1
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
detectinsidecontainerdockerdockerizedpodmanisenvenvironmentprocess
Accepted risks
Findings the reviewer chose to accept rather than block on.
| Source | Rule | Reason | Accepted by | When |
|---|---|---|---|---|
| dependencies | unvetted-dep:is-docker | AI (dependencies): is-docker is a well-known sindresorhus package and a natural, expected dependency for this container-detection utility. No security concern. | ai | |
| provenance | no-provenance | AI (provenance): Lack of Sigstore provenance is common (~88% of packages) and not a security risk for this well-established publisher. | ai |
Versions (showing 1 of 1)
| Version | Deps | Published |
|---|---|---|
| 1.0.0 | 1 / 4 |