← Home

detect-libc

Node.js module to detect the C standard library (libc) implementation family and version

4
Versions
Apache-2.0
License
No
Install Scripts
Verified
Provenance

Supply chain provenance

Status for the latest visible version.

SLSA provenance attestation npm registry signatures gitHead linked

Maintainers

lovell

Keywords

libcglibcmusl

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
semgrep semgrep:child-process-import AI (semgrep): detect-libc's core purpose is to detect the system libc by running shell commands; child_process import is intentional and documented functionality, not a risk. ai
semgrep semgrep:child-process-exec AI (semgrep): exec() is used to run ldd and similar system commands to detect libc — this is the package's primary function, not malicious behavior. ai

Versions (showing 4 of 4)

Version Deps Published
2.1.2 0 / 7
2.1.1 0 / 6
2.1.0 0 / 6
2.0.2 0 / 5

v2.1.1

2 findings
HIGH Publisher changed: lovell → GitHub Actions (on 2025-09-24) provenance

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

INFO Has SLSA provenance attestation provenance

Published via CI/CD with Sigstore attestation (predicate: https://slsa.dev/provenance/v1). This is the strongest supply chain integrity signal.

v2.1.0

2 findings
HIGH Publisher changed: lovell → GitHub Actions (on 2025-09-14) provenance

This version was published by a different npm account than previous versions on 2025-09-14. This could indicate a legitimate maintainer transition or an account compromise.

INFO Has SLSA provenance attestation provenance

Published via CI/CD with Sigstore attestation (predicate: https://slsa.dev/provenance/v1). This is the strongest supply chain integrity signal.

v2.0.2

1 finding
LOW No provenance attestation provenance

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