Summary
Togoder Security scanned the npm package ofetch@1.5.1 on Oct 4, 2026. An AI review of 6 source files produced no findings. No malicious behavior, install-time payloads, credential theft or exfiltration were identified.
Findings
No findings. The reviewer saw nothing malicious or risky in this version.
Files reviewed
| File | Verdict | What the reviewer saw |
|---|---|---|
| dist/index.cjs | safe | No malicious patterns detected |
| dist/index.mjs | safe | No malicious patterns detected; the code is a standard ofetch fetch wrapper that safely accesses globalThis for fetch, Headers, and AbortController. |
| dist/node.cjs | safe | No malicious patterns detected; the file is a standard ofetch/node-fetch compatibility shim with no data exfiltration, credential harvesting, obfuscation, process spawning, or installation-time behavior beyond reading the FETCH_KEEP_ALIVE env var. |
| dist/node.mjs | safe | No malicious patterns detected; the code is a standard fetch wrapper with optional keep-alive agent configuration. |
| dist/shared/ofetch.BBShr9Pz.cjs | safe | This is a legitimate HTTP fetch utility library (ofetch) with no malicious patterns detected; all network operations are part of its documented fetch functionality and no data exfiltration, credential harvesting, obfuscation, or shell execution is present. |
| dist/shared/ofetch.CWycOUEr.mjs | safe | No malicious patterns detected; this is a legitimate HTTP fetch utility library with no data exfiltration, credential harvesting, code execution, or other suspicious behavior. |
Scanned versions of ofetch
| Version | Verdict | Files | Scanned |
|---|---|---|---|
| 1.5.1 | No issues | 6 | Oct 4, 2026 |
Frequently asked questions
Is ofetch safe to use?
Our AI source review of ofetch@1.5.1 found no malicious code: no install-time payloads, credential theft, exfiltration, obfuscated loaders or backdoors.
Does ofetch contain malware?
No malware was identified in ofetch@1.5.1 when Togoder Security scanned it on Oct 4, 2026. A new version can still introduce malicious code, so scan the exact versions in your lockfile.
How was ofetch checked?
Togoder Security downloaded the published npm package and had an AI model read its 6 source files, looking for install scripts, credential access, network exfiltration, obfuscation, backdoors and crypto-wallet theft. The results are cached by file hash and shown here.
How do I scan ofetch together with the rest of my dependencies?
Upload your lockfile at https://security.togoder.click/scan or call the API documented at https://security.togoder.click/api-docs. Files that have already been scanned, like the ones in ofetch@1.5.1, cost nothing.