Togoder security

npm package security report

form-data@4.0.6 security report

No malicious code found.

No issues Version 4.0.6 Files reviewed 3 Size 15.1 KB Scanned

Summary

Togoder Security scanned the npm package form-data@4.0.6 on Oct 4, 2026. An AI review of 3 source files produced 2 low severity findings. No malicious behavior, install-time payloads, credential theft or exfiltration were identified.

0
critical
0
high
0
medium
2
low

Findings 2

low

Dynamic Header Injection Protected

NPS-913EAB86A820

The code includes escapeHeaderParam() to sanitize CR/LF/quote characters in field names and filenames, mitigating header injection / multipart part smuggling. Custom options.header values are used as-is, which is expected library behavior and caller-controlled.

lib/form_data.js:22
low

HTTP Request Capability

NPS-8EA44EF661AA

The module includes a submit() method that can send the form data to an HTTP/HTTPS endpoint via http.request/https.request. However, this is a documented, intentional feature for submitting forms and not hidden exfiltration; it is invoked only by the caller.

lib/form_data.js:327

Files reviewed

FileVerdictWhat the reviewer saw
lib/browser.js safe Cleared by Jev triage; no further analysis needed
lib/form_data.js safe This is the legitimate form-data library; no malicious patterns such as exfiltration, credential harvesting, obfuscation, backdoors, child_process execution, or install-time hooks were detected.
lib/populate.js safe Cleared by Jev triage; no further analysis needed

Affected version ranges

None of the 3 scanned versions of form-data are flagged high or critical. The latest scanned version, 4.0.6, is clean. Only versions we have scanned are listed; unscanned versions between them are not covered.

4.0.44.0.6
VersionsVerdictCountRangeTop findings
4.0.4 โ€“ 4.0.6 No issues 3 >=4.0.4 <=4.0.6

Full list, including published versions not scanned yet: version ranges API.

Scanned versions of form-data

VersionVerdictFilesScanned
4.0.6 No issues 3 Oct 4, 2026
4.0.5 No issues 3 Oct 4, 2026
4.0.4 No issues 3 May 15, 2026

Frequently asked questions

Is form-data safe to use?

Our AI source review of form-data@4.0.6 found no malicious code: no install-time payloads, credential theft, exfiltration, obfuscated loaders or backdoors.

Does form-data contain malware?

No malware was identified in form-data@4.0.6 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 form-data checked?

Togoder Security downloaded the published npm package and had an AI model read its 3 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 form-data 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 form-data@4.0.6, cost nothing.

Related security reports