mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #5058] [MERGED] Node.js stack refactoring #5349
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#5349
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/netblue30/firejail/pull/5058
Author: @ghost
Created: 3/20/2022
Status: ✅ Merged
Merged: 3/24/2022
Merged by: @netblue30
Base:
master← Head:nodejs-nvm📝 Commits (10+)
b1c2d2aallow-nodejs.inc: add nvm support76c9668curl: add nvm support comment8012fefnvm: remove profile713249csha256sum: add nvm support commentd96cf4ctar: add nvm support commentd09d1dcwebstorm: fix ordering114e4ebwebui-aria2: add nvm support538050bwget: add nvm support commentbc185a9nodejs-common: add comment & minor hardeningee8c57eCreate node-gyp.profile📊 Changes
11 files changed (+53 additions, -8 deletions)
View changed files
📝
etc/inc/allow-nodejs.inc(+2 -0)📝
etc/profile-a-l/curl.profile(+4 -0)📝
etc/profile-m-z/node-gyp.profile(+3 -5)📝
etc/profile-m-z/nodejs-common.profile(+10 -2)➕
etc/profile-m-z/npx.profile(+11 -0)➕
etc/profile-m-z/semver.profile(+11 -0)📝
etc/profile-m-z/sha256sum.profile(+3 -0)📝
etc/profile-m-z/tar.profile(+3 -0)📝
etc/profile-m-z/webstorm.profile(+1 -1)📝
etc/profile-m-z/webui-aria2.profile(+1 -0)📝
etc/profile-m-z/wget.profile(+4 -0)📄 Description
My n-th attempt at implementing a fully sandboxed Node.js stack. I tried to accomodate earlier review comments/suggestions and only dropped nvm.profile as that cannot work as expected anyway (see specific commit comment for context). Although this could be regarded as a breaking change IMO it's better to remove it and motivate users to reflect on its peculiarity instead of suggesting a sense of security simply by having a profile.
Relates to:
Actionables:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.