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@69fb71f

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
@@ -15,6 +15,15 @@ be accessed by other modules.
1515
The resource can be entirely allowed or denied, or actions related to it can
1616
be controlled. For example, file system reads can be allowed while denying
1717
writes.
18+
This feature does not protect against malicious code. According to the Node.js
19+
[Security Policy][], Node.js trusts any code it is asked to run.
20+
21+
The permission model implements a "seat belt" approach, which prevents trusted
22+
code from unintentionally changing files or using resources that access has
23+
not explicitly been granted to. It does not provide security guarantees in the
24+
presence of malicious code. Malicious code can bypass the permission model and
25+
execute arbitrary code without the restrictions imposed by the permission
26+
model.
1827

1928
If you find a potential security vulnerability, please refer to our
2029
[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.