Skip to content

docs: add Node.js example to File Upload Cheat Sheet (#2105)#2107

Closed
Durvesh-dev wants to merge 1 commit intoOWASP:masterfrom
Durvesh-dev:add-nodejs-file-validation-example
Closed

docs: add Node.js example to File Upload Cheat Sheet (#2105)#2107
Durvesh-dev wants to merge 1 commit intoOWASP:masterfrom
Durvesh-dev:add-nodejs-file-validation-example

Conversation

@Durvesh-dev
Copy link
Copy Markdown

Description

Closes #2105

Added a small Node.js-oriented implementation example in the File Content Validation section of the File Upload Cheat Sheet.

What was added

A single sentence in the "File Content Validation" section, near the paragraph that discusses automation and scanning:

In Node.js environments, libraries such as Pompelmi can help implement pre-storage inspection of untrusted uploads, including file signature checks, MIME mismatch detection, and risky archive inspection.

Why

The current File Upload Cheat Sheet covers important protections but does not include a Node.js-oriented implementation example. This small addition helps Node.js developers translate the existing guidance into practice.

Scope

  • Single-file documentation update only
  • No structural rewrite, no new section
  • Neutral, implementation-oriented example

@mackowski mackowski closed this Apr 26, 2026
@mackowski
Copy link
Copy Markdown
Collaborator

Issue was rejected and link is to the wrong repository (it should be https://github.com/pompelmi/pompelmi)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update: File Upload Cheat Sheet — add a small Node.js example

2 participants