← Home

@nextrush/multipart

Streaming multipart/form-data parser and file upload middleware for NextRush

4
Versions
MIT
License
No
Install Scripts
Missing
Provenance

Supply chain provenance

Status for the latest visible version.

No SLSA provenance npm registry signatures No source commit

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

0xtanzim

Keywords

nextrushmultipartfile-uploadform-datamiddlewarestreaming

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
semgrep semgrep:etc-passwd-access AI (semgrep): Fires only in test code validating that path traversal via /etc/passwd is stripped — correct security behavior, not credential harvesting. ai

Versions (showing 4 of 4)

Version Deps Published
3.0.5 1 / 3
3.0.3 1 / 3
3.0.1 1 / 3
3.0.0 1 / 3

v3.0.5

4 findings
HIGH etc-passwd-access: src/__tests__/multipart.test.ts:143 semgrep

Accessing /etc/passwd or /etc/shadow — credential harvesting on Linux 141 | 142 | it('strips path components (unix)', () => { > 143 | expect(sanitizeFilename('/etc/passwd')).toBe('passwd'); 144 | }); 145 |

HIGH etc-passwd-access: src/__tests__/multipart.test.ts:423 semgrep

Accessing /etc/passwd or /etc/shadow — credential harvesting on Linux 421 | const storage = new DiskStorage({ 422 | dest: tmpDir, > 423 | filename: () => '../../../etc/passwd', 424 | }); 425 | const stream = uint8ArrayToReadableStream(encoder.encode('traversal'));

HIGH etc-passwd-access: src/__tests__/multipart.test.ts:531 semgrep

Accessing /etc/passwd or /etc/shadow — credential harvesting on Linux 529 | it('sanitizes filenames', async () => { 530 | const body = createMultipartBody([ > 531 | { name: 'file', filename: '../../../etc/passwd', type: 'text/plain', content: 'evil' }, 532 | ]); 533 |

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.

v3.0.3

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.

v3.0.1

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.

v3.0.0

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.