← Home

require-at

Call require pretending your are at another directory

6
Versions
Apache-2.0
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

jchip

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
semgrep semgrep:dynamic-require AI (semgrep): Dynamic require() is the core purpose of require-at — it resolves modules relative to a caller-supplied directory. This is intentional design, not a vulnerability. ai
provenance no-provenance AI (provenance): Package is 9+ years old and predates Sigstore provenance on npm; absence is expected for packages of this vintage. ai
source-diff net-exec-file:create-require.js AI (source-diff): False positive: create-require.js is a Module.createRequire polyfill with no network calls. eval('require') avoids bundler interference. ai
semgrep semgrep:eval-usage AI (semgrep): eval('require') is a standard pattern to avoid bundler resolution of dynamic requires; only receives literal string 'require'. ai

Versions (showing 6 of 6)

Version Deps Published
1.0.6 0 / 3
1.0.5 0 / 3
1.0.4 0 / 3
1.0.2 0 / 3
1.0.1 0 / 3
1.0.0 0 / 3

v1.0.6

2 findings
HIGH New file with network + code execution: create-require.js source-diff

Newly added file contains both network calls and dynamic code execution. This is a hallmark of dropper/loader malware.

LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.

v1.0.5

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.

v1.0.4

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.

v1.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.

v1.0.1

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.

v1.0.0

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.