← Home

http-request-mock

1
Versions
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

huturen

Keywords

xhr mockXMLHttpRequest mockxhr-mockfetch mockfetch-mockwx.request mockresponse mockajax mockAJAX mockajax-mockinterceptinterceptorhttp mockhttps mockrequest mockmocknetwork mocknetwork-mockmockingmocksmockerinterceptorhttp interceptorhttp mockhttp-interceptorhttp-mockhttp requesthttps requestfetch interceptorfetch-interceptorxhr interceptorxhr-interceptorlow level interceptornode-http-mocknode-http-request-mockrequest mockrequest mocksrequest-mockrequest-mocksaxios mockfetch mockjquery mockgot mocksuperagent mockky mock

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
semgrep semgrep:api-obfuscation-reflect AI (semgrep): Reflect.get used in a Proxy handler for wrapping intercepted requests — standard pattern for this mocking library. ai
semgrep semgrep:new-function-constructor AI (semgrep): new Function('return this') is a standard webpack globalThis polyfill, not dynamic code execution of user input. ai
semgrep semgrep:dynamic-require AI (semgrep): Dynamic require loads user-specified mock definition files — core feature of this mock library. ai
semgrep semgrep:child-process-import AI (semgrep): child_process used in CLI tool (tool/bin/cli.js) for spawning processes — expected for a CLI utility. ai
phantom-deps phantom-dep:@types/follow-redirects AI (phantom-deps): @types/follow-redirects is a TypeScript type declaration; not directly imported at runtime by convention. ai

Versions (showing 1 of 1)

Version Deps Published
2.0.2 6 / 41

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.