Summary
Togoder Security scanned the npm package mime@4.1.0 on Oct 6, 2026. An AI review of 13 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 |
|---|---|---|
| bin/cli.js | safe | The CLI wrapper simply imports and executes the package's own local mime_cli module with no suspicious behavior. |
| dist/src/Mime.js | safe | No malicious patterns detected; the code is a standard MIME type mapping utility with no network, filesystem, or process manipulation. |
| dist/src/index.js | safe | No malicious patterns detected |
| dist/src/index_lite.js | safe | No malicious patterns detected |
| dist/src/mime_cli.js | safe | Cleared by Jev triage; no further analysis needed |
| dist/types/other.js | safe | No malicious patterns detected |
| dist/types/standard.js | safe | Cleared by Jev triage; no further analysis needed |
| src/Mime.ts | safe | Cleared by Jev triage; no further analysis needed |
| src/index.ts | safe | No malicious patterns detected; the file is a simple module export that initializes a Mime type database. |
| src/index_lite.ts | safe | No malicious patterns detected; the file only imports standard types, creates and freezes a Mime instance, and exports it without any suspicious behavior. |
| src/mime_cli.ts | safe | No malicious patterns detected: the CLI only performs local argument parsing, reads its own package.json, and uses the mime library for MIME type lookup. |
| types/other.ts | safe | Cleared by Jev triage; no further analysis needed |
| types/standard.ts | safe | Cleared by Jev triage; no further analysis needed |
Affected version ranges
None of the 2 scanned versions of mime are flagged high or critical. The latest scanned version, 4.1.0, is clean. Only versions we have scanned are listed; unscanned versions between them are not covered.
| Versions | Verdict | Count | Range | Top findings |
|---|---|---|---|---|
| 4.1.0 | No issues | 1 | 4.1.0 | |
| 3.0.0 | Not scanned | 1 | 3.0.0 | |
| 1.6.0 | No issues | 1 | 1.6.0 |
Full list, including published versions not scanned yet: version ranges API.
Scanned versions of mime
Frequently asked questions
Is mime safe to use?
Our AI source review of mime@4.1.0 found no malicious code: no install-time payloads, credential theft, exfiltration, obfuscated loaders or backdoors.
Does mime contain malware?
No malware was identified in mime@4.1.0 when Togoder Security scanned it on Oct 6, 2026. A new version can still introduce malicious code, so scan the exact versions in your lockfile.
How was mime checked?
Togoder Security downloaded the published npm package and had an AI model read its 13 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 mime 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 mime@4.1.0, cost nothing.