← Home

uid-number

Convert a username/group name to a uid/gid number

6
Versions
ISC
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

isaacs

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
semgrep semgrep:child-process-exec AI (semgrep): Package's core purpose is uid/gid lookup via a helper script; child_process.exec() spawning the local Node.js executable is the expected, legitimate mechanism for this utility. ai
semgrep semgrep:child-process-import AI (semgrep): uid-number inherently uses child_process to spawn system commands (e.g., `id`) to resolve uid/gid — this is the package's core documented mechanism, not a security risk. ai
bogus-package bogus-package AI (bogus-package): Package is a small, focused Unix utility by isaacs; tiny payload and no deps are expected characteristics, not spam indicators. ai

Versions (showing 6 of 6)

Version Deps Published
0.0.6 0 / 0
0.0.5 0 / 0
0.0.4 0 / 0
0.0.3 0 / 0
0.0.2 0 / 0
0.0.1 0 / 0