form-data 4.0.6
- Source
- https://github.com/form-data/form-data
- Tag scanned
v4.0.6- Compared with
v4.0.5(1 signals introduced since)- Files
- 41 scanned, 5 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 0 warn · 30 info
- Scan time
- 17.2 s
- LLM review
- Reviewed by claude-haiku-5-5 (Anthropic): 29 of 29 warn and critical signals; 29 demoted to info.
- Disclude version
- 4.1.0
- Scanned (UTC)
- 2026-10-22 18:00
Signals
Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.
-
info
warn→ info by reviewdynamic-importtest/integration/test-header-injection.js:6:16new in this releasevar FormData = ;dismissed Header-injection test that loads the local form_data module via a computed path.Reasoning
Computed require of the local library. The CRLF injection test checks that headers are sanitized, so the content is a defensive test.
-
var assert = common.; var FormData = ; var satisfies = .; var jsrp = && ; // eslint-disable-line global-requiredismissed Test file that requires the local form_data library through a computed path and conditionally loads a randomness-predictor test helper.Reasoning
The non-literal require resolves a path under common.dir.lib to the library's own form_data module, a standard pattern in a test harness. The same file loads js-randomness-predictor only when semver reports a Node version of 17 or later, with an eslint-disable comment, which fits a security regression test for boundary predictability.
-
var FormData = ; /*dismissed Test that loads the local form_data module via a computed path.Reasoning
The require of common.dir.lib + '/form_data' loads the project's own library in a test file. The flag is a generic dynamic-require heuristic with no obfuscation or execution of untrusted data.
-
var FormData = ; var IncomingForm = .;dismissed Test that loads the local form_data module via a computed path.Reasoning
Computed require of the project's own form_data library in a test, alongside an ordinary formidable import. Nothing suspicious.
-
var FormData = ; var testHeader = ;dismissed Header-object test that loads the local form_data module via a computed path.Reasoning
Same standard test harness pattern loading the local library. The header object is plain test data.
-
var FormData = ; var CRLF = '\r\n';dismissed Header-string test that loads the local form_data module via a computed path.Reasoning
Same standard test harness pattern. The CRLF constant is ordinary HTTP multipart formatting used in tests.
-
var assert = common.; var FormData = ; var fake = .; var path = ;dismissed Error-handling test that loads the local form_data module via a computed path.Reasoning
Computed require of the local library in a test file. The fake module is a test stub, not a payload.
-
var assert = common.; var FormData = ; var fs = ; var Readable = .;dismissed Synchronous form-length test that loads the local library via a computed path.Reasoning
Computed require of the local form_data library in a test, with standard fs and stream imports.
-
var assert = common.; var FormData = ; var fake = .; var fs = ;dismissed Form-length test that loads the local library via a computed path.Reasoning
Computed require of the local form_data library in a test file, with standard test imports.
-
var FormData = ;dismissed Boundary test that loads the local form_data module via a computed path.Reasoning
Computed require of the local library in a boundary test. The IIFE is a plain test wrapper.
-
var FormData = ;dismissed Buffer-type test that loads the local form_data module via a computed path.Reasoning
Computed require of the local library in a buffer-type test. Nothing executes untrusted data.
-
Buffer. -
var parseUrl = .; var FormData = ; // static server prepared for all testsdismissed HTTP response test that loads the local form_data module via a computed path.Reasoning
Computed require of the local library in an HTTP integration test with a static test server.
-
var assert = common.; var FormData = ; var server;dismissed Boundary line-break test that loads the local form_data module via a computed path.Reasoning
Computed require of the local library in a boundary-format test.
-
var assert = common.; var FormData = ; var form = ;dismissed Options-override test that loads the local form_data module via a computed path.Reasoning
Computed require of the local library. The options object is ordinary test configuration.
-
var fs = ; var FormData = ; var IncomingForm = .; var hasOwn = ;dismissed Piping test that loads the local form_data module via a computed path.Reasoning
Computed require of the local library alongside ordinary dependency imports such as fs and hasown. Standard test code.
-
var FormData = ; var IncomingForm = .;dismissed Ranged file-stream test that loads the local form_data module via a computed path.Reasoning
Computed require of the local library in a ranged file-stream test. Standard test harness code.
-
var request = ; var FormData = ; var fs = ; var IncomingForm = .;likely benign Test file requiring the library's own form_data module via a harness path.Reasoning
The require uses a path built from a test-harness object (common.dir.lib) pointing at the library's own form_data module. The surrounding code is ordinary test setup with standard requires, and there is no sign of obfuscation or dynamic payload loading.
-
var FormData = ; var expectedLength;likely benign Test requiring the local form_data module through a harness-provided directory path.Reasoning
The non-literal require resolves common.dir.lib + '/form_data', a local library module in a test directory. This is a common test-harness pattern with no external or encoded input.
-
var FormData = ;likely benign Boundary test loading the local form_data module via harness path.Reasoning
The require loads the local form_data module through common.dir.lib in a boundary-setting unit test. Nothing in the snippet suggests attacker-controlled input or hidden execution.
-
var FormData = ;likely benign Non-string setter test loading local form_data module via harness path.Reasoning
Same harness-relative require of the local form_data module in a non-string setter test. It is a legitimate test pattern.
-
var fs = ; var FormData = ; var IncomingForm = .;likely benign Custom-header submit test requiring local form_data module.Reasoning
The dynamic require points at the library's own form_data module through the test harness. The surrounding requires (fs, formidable) are typical for a submit test.
-
var fs = ; var FormData = ; var remoteFile = 'http://localhost:' + common. + '/unicycle.jpg';likely benign Custom submit test loading local form_data module via harness path.Reasoning
The require resolves a local library path via common.dir.lib, which is standard for this test suite. No obfuscation or remote code loading is present.
-
var assert = common.; var FormData = ; var server;likely benign HTTPS submit test loading local form_data module.Reasoning
The harness-relative require of form_data in an HTTPS submit test is a benign test-setup pattern.
-
var http = ; var FormData = ; var IncomingForm = .;likely benign Multi-submit test requiring local form_data module via harness path.Reasoning
The non-literal require loads the local form_data module through the test harness. The file otherwise contains plain http and formidable test setup.
-
var http = ; var FormData = ; var IncomingForm = .; var times = 10;likely benign Multi-submit test loading local form_data module.Reasoning
The require uses common.dir.lib to load the library's own form_data module. This is an ordinary test-suite pattern.
-
var http = ; var FormData = ; var Readable = .; var util = ;likely benign Readable-stream submit test loading local form_data module.Reasoning
The dynamic require targets the local form_data module via the test harness. Stream and util requires are standard test imports.
-
var assert = common.; var FormData = ; /**likely benign URL-parsing submit test loading local form_data module.Reasoning
The require of form_data via common.dir.lib is a harness-relative path to the library under test, which is normal for URL parsing tests.
-
var fs = ; var FormData = ; var remoteFile = 'http://localhost:' + common. + '/unicycle.jpg';likely benign Submit test loading local form_data module via harness path.Reasoning
The non-literal require resolves the local form_data module through the test harness. The snippet shows an ordinary submit test setup with no hidden behavior.
-
var assert = common.; var FormData = ; ;likely benign toString test loading local form_data module.Reasoning
Harness-relative require of form_data followed by a simple String() assertion. This is a benign unit test.
Reproduce This Scan
Run disclude locally to verify. Add --format sarif for SARIF output. Add --llm (with an API key in the environment) to include the LLM review.
&&