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: add note on weakness of permission model · nodejs/node@8883c01

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • permissions.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/permissions.md‎

Copy file name to clipboardExpand all lines: doc/api/permissions.md
+9Lines changed: 9 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@ with those resources.
99
The resource can be entirely allowed or denied, or actions related to it can
1010
be controlled. For example, file system reads can be allowed while denying
1111
writes.
12+
This feature does not protect against malicious code. According to the Node.js
13+
[Security Policy][], Node.js trusts any code it is asked to run.
14+
15+
The permission model implements a "seat belt" approach, which prevents trusted
16+
code from unintentionally changing files or using resources that access has
17+
not explicitly been granted to. It does not provide security guarantees in the
18+
presence of malicious code. Malicious code can bypass the permission model and
19+
execute arbitrary code without the restrictions imposed by the permission
20+
model.
1221

1322
If you find a potential security vulnerability, please refer to our
1423
[Security Policy][].

0 commit comments

Comments
0 (0)
You are visitor 01402503 — 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.