GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: clarify build environment is trusted in threat model · nodejs/node@0b44baf

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • SECURITY.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎SECURITY.md‎

Copy file name to clipboardExpand all lines: SECURITY.md
+15Lines changed: 15 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,21 @@ the community they pose.
335335
proper security boundaries between trusted application logic and untrusted
336336
user input.
337337

338+
#### Build System Attacks Requiring Control of the Build Environment (CWE-78, CWE-114, CWE-276)
339+
340+
* The Node.js build system (e.g., `configure`, `configure.py`, `Makefile`,
341+
`vcbuild.bat`) is designed to run in a trusted build environment.
342+
The build environment, including environment variables, the file system,
343+
and locally installed tools, is a trusted element in the Node.js threat model.
344+
* Reports about command injection via environment variables in build scripts
345+
(e.g., `CC`, `CXX`, `PKG_CONFIG`, `RUSTC`), path hijacking in build output
346+
directories, or file permissions of build artifacts are **not** considered
347+
vulnerabilities. These scenarios require the attacker to already have control
348+
over the build environment, which means the system is already compromised.
349+
* Build scripts are not a security boundary. They are expected to execute
350+
tools and scripts specified by the environment, and to trust the
351+
file system they operate on.
352+
338353
#### Unhandled 'error' Events on EventEmitters (CWE-248)
339354

340355
* EventEmitters that can emit `'error'` events require the application to

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.