arch
Better `os.arch()` for node and the browser -- detect OS architecture
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
ferossraynos
Keywords
browserbrowserifyarchcpu infocpusarchitecturenavigator.platformx64x8664 bit32 bit
Accepted risks
Findings the reviewer chose to accept rather than block on.
| Source | Rule | Reason | Accepted by | When |
|---|---|---|---|---|
| semgrep | semgrep:child-process-import | AI (semgrep): arch uses child_process to run system commands (e.g., uname -m) to detect CPU architecture — this is the core documented functionality of the package, not a security risk. | ai | |
| provenance | no-provenance | AI (provenance): Feross is a well-established publisher; lack of Sigstore provenance is common and not a risk signal for this package. | ai |
Versions (showing 1 of 1)
| Version | Deps | Published |
|---|---|---|
| 3.0.0 | 0 / 3 |