René's URL Explorer Experiment


Title: GitHub - berstend/node-safe: 🤠 Make using Node.js safe again with Deno-like permissions

Open Graph Title: GitHub - berstend/node-safe: 🤠 Make using Node.js safe again with Deno-like permissions

X Title: GitHub - berstend/node-safe: 🤠 Make using Node.js safe again with Deno-like permissions

Description: 🤠 Make using Node.js safe again with Deno-like permissions - berstend/node-safe

Open Graph Description: 🤠 Make using Node.js safe again with Deno-like permissions - berstend/node-safe

X Description: 🤠 Make using Node.js safe again with Deno-like permissions - berstend/node-safe

Opengraph URL: https://github.com/berstend/node-safe

X: @github

direct link

Domain: node-safe.com

route-pattern/:user_id/:repository
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:4b99579c-e2f8-ce19-f458-cf0bed3a2554
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-id8724:B6D87:8474F4:AD8C6D:698E9506
html-safe-noncea79e472d644fa8359a3d1d1bc03febd2daeb4dccf94553cdba2a36d2d98e1d51
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzI0OkI2RDg3Ojg0NzRGNDpBRDhDNkQ6Njk4RTk1MDYiLCJ2aXNpdG9yX2lkIjoiNDA0MzE3MzEzOTIzNTkwMjcyNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac8b85d02048cbcb6aa264a73b556375f8a6ed83e63ea1f342fda982d8dbb3f5ff
hovercard-subject-tagrepository:430829616
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location//
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/berstend/node-safe
twitter:imagehttps://opengraph.githubassets.com/e280b105337672e900c5f62ca76385d31f5bd8b2b5f13f85289c3ae5e4d2906e/berstend/node-safe
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e280b105337672e900c5f62ca76385d31f5bd8b2b5f13f85289c3ae5e4d2906e/berstend/node-safe
og:image:alt🤠 Make using Node.js safe again with Deno-like permissions - berstend/node-safe
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecb2828a801ee6b7be618f3ac76fbf55def35bbc30f053a9c41bf90210b8b72ba
turbo-cache-controlno-preview
go-importgithub.com/berstend/node-safe git https://github.com/berstend/node-safe.git
octolytics-dimension-user_id1368633
octolytics-dimension-user_loginberstend
octolytics-dimension-repository_id430829616
octolytics-dimension-repository_nwoberstend/node-safe
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id430829616
octolytics-dimension-repository_network_root_nwoberstend/node-safe
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasee6b91a7e6e46287d26887e3fb7a4161657bab8f7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://node-safe.com#start-of-content
https://node-safe.com/
Sign in https://node-safe.com/login?return_to=https%3A%2F%2Fgithub.com%2Fberstend%2Fnode-safe
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://node-safe.com/login?return_to=https%3A%2F%2Fgithub.com%2Fberstend%2Fnode-safe
Sign up https://node-safe.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=berstend%2Fnode-safe
Reloadhttps://node-safe.com
Reloadhttps://node-safe.com
Reloadhttps://node-safe.com
berstend https://node-safe.com/berstend
node-safehttps://node-safe.com/berstend/node-safe
Notifications https://node-safe.com/login?return_to=%2Fberstend%2Fnode-safe
Fork 8 https://node-safe.com/login?return_to=%2Fberstend%2Fnode-safe
Star 214 https://node-safe.com/login?return_to=%2Fberstend%2Fnode-safe
node-safe.comhttps://node-safe.com
214 stars https://node-safe.com/berstend/node-safe/stargazers
8 forks https://node-safe.com/berstend/node-safe/forks
Branches https://node-safe.com/berstend/node-safe/branches
Tags https://node-safe.com/berstend/node-safe/tags
Activity https://node-safe.com/berstend/node-safe/activity
Star https://node-safe.com/login?return_to=%2Fberstend%2Fnode-safe
Notifications https://node-safe.com/login?return_to=%2Fberstend%2Fnode-safe
Code https://node-safe.com/berstend/node-safe
Issues 9 https://node-safe.com/berstend/node-safe/issues
Pull requests 2 https://node-safe.com/berstend/node-safe/pulls
Actions https://node-safe.com/berstend/node-safe/actions
Security 0 https://node-safe.com/berstend/node-safe/security
Insights https://node-safe.com/berstend/node-safe/pulse
Code https://node-safe.com/berstend/node-safe
Issues https://node-safe.com/berstend/node-safe/issues
Pull requests https://node-safe.com/berstend/node-safe/pulls
Actions https://node-safe.com/berstend/node-safe/actions
Security https://node-safe.com/berstend/node-safe/security
Insights https://node-safe.com/berstend/node-safe/pulse
Brancheshttps://node-safe.com/berstend/node-safe/branches
Tagshttps://node-safe.com/berstend/node-safe/tags
https://node-safe.com/berstend/node-safe/branches
https://node-safe.com/berstend/node-safe/tags
5 Commitshttps://node-safe.com/berstend/node-safe/commits/master/
https://node-safe.com/berstend/node-safe/commits/master/
binhttps://node-safe.com/berstend/node-safe/tree/master/bin
binhttps://node-safe.com/berstend/node-safe/tree/master/bin
schemahttps://node-safe.com/berstend/node-safe/tree/master/schema
schemahttps://node-safe.com/berstend/node-safe/tree/master/schema
shellhttps://node-safe.com/berstend/node-safe/tree/master/shell
shellhttps://node-safe.com/berstend/node-safe/tree/master/shell
srchttps://node-safe.com/berstend/node-safe/tree/master/src
srchttps://node-safe.com/berstend/node-safe/tree/master/src
.editorconfighttps://node-safe.com/berstend/node-safe/blob/master/.editorconfig
.editorconfighttps://node-safe.com/berstend/node-safe/blob/master/.editorconfig
.gitignorehttps://node-safe.com/berstend/node-safe/blob/master/.gitignore
.gitignorehttps://node-safe.com/berstend/node-safe/blob/master/.gitignore
.prettierrchttps://node-safe.com/berstend/node-safe/blob/master/.prettierrc
.prettierrchttps://node-safe.com/berstend/node-safe/blob/master/.prettierrc
package.jsonhttps://node-safe.com/berstend/node-safe/blob/master/package.json
package.jsonhttps://node-safe.com/berstend/node-safe/blob/master/package.json
readme.mdhttps://node-safe.com/berstend/node-safe/blob/master/readme.md
readme.mdhttps://node-safe.com/berstend/node-safe/blob/master/readme.md
READMEhttps://node-safe.com
https://node-safe.com#node-safe-
https://github.com/berstend/node-safe#readme
https://github.com/berstend/node-safe
https://www.npmjs.com/package/@berstend/node-safe
https://camo.githubusercontent.com/613dfb0a900cb05fe7ec91049f2c462296fc1a95e46917ff73e48541f3bfca2b/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f6c2f406265727374656e642f6e6f64652d73616665
Permissionshttps://node-safe.com#permissions
Usagehttps://node-safe.com#usage
Shell integrationhttps://node-safe.com#implicit-usage
Configurationhttps://node-safe.com#configuration
Project statushttps://node-safe.com#project-status
Package managershttps://node-safe.com#package-managers-npm-safe-yarn-safe
Troubleshootinghttps://node-safe.com#troubleshooting
Contributinghttps://node-safe.com#contributing
https://node-safe.com#motivation
Popular 'coa' NPM library hijacked to steal user passwordshttps://www.bleepingcomputer.com/news/security/popular-coa-npm-library-hijacked-to-steal-user-passwords/
NPM package ‘ua-parser-js’ with more than 7M weekly downloads is compromisedhttps://news.ycombinator.com/item?id=28962168
Hacking 20 high-profile dev accounts could compromise half of the NPM ecosystemhttps://www.zdnet.com/article/hacking-20-high-profile-dev-accounts-could-compromise-half-of-the-npm-ecosystem/
Embedded malware in RC (NPM package)https://news.ycombinator.com/item?id=29122098
Popular npm Project Used by Millions Hijacked in Supply-Chain Attackhttps://blog.sonatype.com/npm-project-used-by-millions-hijacked-in-supply-chain-attack
Compromised eslint JavaScript Package Caught Stealing NPM Credentialshttps://news.ycombinator.com/item?id=17517338
Malicious NPM libraries install ransomware, password stealerhttps://www.bleepingcomputer.com/news/security/malicious-npm-libraries-install-ransomware-password-stealer/
Compromised npm Package: event-streamhttps://medium.com/intrinsic-blog/compromised-npm-package-event-stream-d47d08605502
NPM package "pac-resolver" with 3 million weekly downloads had a severe vulnerabilityhttps://arstechnica.com/information-technology/2021/09/npm-package-with-3-million-weekly-downloads-had-a-severe-vulnerability/
Google News: "npm package compromised"https://www.google.com/search?q=npm+package+compromised&source=lnms&tbm=nws
Research paper (PDF): Small World with High Risks: A Study of Security Threats in the npm Ecosystemhttps://software-lab.org/publications/usenixSec2019-npm.pdf
Security issue related to the NPM registry (Nov 2021)https://news.ycombinator.com/item?id=29245080
permission systemhttps://node-safe.com#how-does-this-compare-to-denos-permissions
slow VM or Docker containerhttps://node-safe.com#alternatives
https://node-safe.com#quickstart
Usagehttps://node-safe.com#usage
https://node-safe.com#example
https://node-safe.com#more-examples
permissionshttps://node-safe.com#permissions
https://node-safe.com#how-it-works
https://node-safe.com#sandboxing-to-the-rescue
sandboxhttps://en.wikipedia.org/wiki/Sandbox_(computer_security)
https://node-safe.com#usage
Explicithttps://node-safe.com#explicit-usage
Implicithttps://node-safe.com#implicit-usage
Typical usagehttps://node-safe.com#typical-usage
https://node-safe.com#explicit-usage
nvmhttps://github.com/nvm-sh/nvm/blob/master/README.md#installing-and-updating
https://node-safe.com#global-installation
https://node-safe.com#temporary-usage-with-npx
https://node-safe.com#project-specific-installation
https://node-safe.com#package-manager-scripts
https://node-safe.com#package-manager-commands
allow certain permissions by defaulthttps://node-safe.com#default-sandbox-permissions
configuration filehttps://node-safe.com#config-file
https://node-safe.com#implicit-usage
nvmhttps://github.com/nvm-sh/nvm/blob/master/README.md#installing-and-updating
https://node-safe.com#using-regular-node-npm-yarn-commands-with-sandboxing
https://node-safe.com#shell-integration
this filehttps://node-safe.com/berstend/node-safe/blob/master/shell/env.sh
https://node-safe.com#typical-usage
https://node-safe.com#use-a-config-file
config filehttps://node-safe.com#config-file
https://node-safe.com#use-the-implicit-mode
implicit usagehttps://node-safe.com#implicit-usage
https://node-safe.com#sandbox-new-projects-from-the-start
https://node-safe.com#permissions
most permissions are restrictedhttps://node-safe.com#default-sandbox-permissions
https://node-safe.com#other-options
implicithttps://node-safe.com#implicit-usage
Files & Foldershttps://node-safe.com#files--folders
Troubleshootinghttps://node-safe.com#troubleshooting
https://node-safe.com#configuration
Command line switcheshttps://node-safe.com#command-line-options
Environment variableshttps://node-safe.com#environment-variables
A .node-safe.json config filehttps://node-safe.com#config-file
https://node-safe.com#merging
https://node-safe.com#command-line-options
https://node-safe.com#environment-variables
https://node-safe.com#config-file
implicithttps://node-safe.com#usage
https://camo.githubusercontent.com/fe137cbe0cb676dc794592826202074386989b0ab4e94edc78186d3abe54983a/68747470733a2f2f692e696d6775722e636f6d2f6b42476f4959682e706e67
https://node-safe.com#node
https://node-safe.com#scripts
https://node-safe.com#commands
https://node-safe.com#files--folders
https://node-safe.com#relative-paths
https://node-safe.com#globbing
https://node-safe.com#shorthands
https://node-safe.com#lists
https://node-safe.com#default-sandbox-permissions
https://node-safe.com#node-safe
https://node-safe.com#package-managers-npm-safe-yarn-safe
NPM_TOKENhttps://stackoverflow.com/questions/53099434/using-auth-tokens-in-npmrc/61666885#61666885
https://node-safe.com#qa
https://node-safe.com#how-does-this-compare-to-denos-permissions
permission systemhttps://deno.land/manual/getting_started/permissions
https://node-safe.com#project-status
https://node-safe.com#limitations
https://node-safe.com#other-platforms
Sandboxiehttps://github.com/sandboxie-plus/Sandboxie
documentation on their supported restrictionshttps://sandboxie-plus.com/sandboxie/restrictionssettings/
file accesshttps://sandboxie-plus.com/sandboxie/resourceaccesssettings/
App Armorhttps://wiki.ubuntu.com/AppArmor
Firejailhttps://firejail.wordpress.com/
globbinghttps://github.com/netblue30/firejail/blob/e2299b2a41fea9cc76b9bd79dd80d9133470579c/src/firejail/fs_whitelist.c#L249
rudimentaryhttps://github.com/netblue30/firejail/issues/216
bubblewraphttps://wiki.archlinux.org/title/Bubblewrap
sydboxhttps://sr.ht/~alip/sydbox/
SELinuxhttps://man7.org/linux/man-pages/man8/sandbox.8.html
gVisorhttps://gvisor.dev/docs/user_guide/quick_start/oci/
runsc dohttps://github.com/google/gvisor/issues/311
withouthttps://github.com/google/gvisor/commit/356d1be140bb51f2a50d2c7fe24242cbfeedc9d6
https://node-safe.com#troubleshooting
https://node-safe.com#escape-hatch
https://node-safe.com#common-errors
https://node-safe.com#error-eperm-operation-not-permitted-scandir-usersfoobarfolder
Debugginghttps://node-safe.com#debugging
https://node-safe.com#recipes
https://node-safe.com#allowing-binaries-in-node_modulesbin-to-be-executed
https://node-safe.com#allowing-typescript
https://node-safe.com#allowing-postinstall-hooks-when-installing-packages
https://node-safe.com#sandboxed-google-chrome-with-puppeteer-or-playwright
https://node-safe.com#debugging
https://node-safe.com#macos-sandbox
https://node-safe.com#alternatives
Containers are not a sandboxhttps://security.stackexchange.com/questions/107850/docker-as-a-sandbox-for-untrusted-code
https://node-safe.com#contributing
https://node-safe.com#references
https://node-safe.com#macos-sandbox-reference
https://reverse.put.as/wp-content/uploads/2011/09/Apple-Sandbox-Guide-v1.0.pdfhttps://reverse.put.as/wp-content/uploads/2011/09/Apple-Sandbox-Guide-v1.0.pdf
https://github.com/0xbf00/simbplehttps://github.com/0xbf00/simbple
https://jmmv.dev/2019/11/macos-sandbox-exec.htmlhttps://jmmv.dev/2019/11/macos-sandbox-exec.html
https://wiki.mozilla.org/Sandbox/Mac/Debugginghttps://wiki.mozilla.org/Sandbox/Mac/Debugging
https://www.karltarvas.com/2020/10/25/macos-app-sandboxing-via-sandbox-exec.htmlhttps://www.karltarvas.com/2020/10/25/macos-app-sandboxing-via-sandbox-exec.html
https://chromium.googlesource.com/chromium/src/+/refs/heads/main/sandbox/mac/seatbelt_sandbox_design.mdhttps://chromium.googlesource.com/chromium/src/+/refs/heads/main/sandbox/mac/seatbelt_sandbox_design.md
https://github.com/WebKit/WebKit/blob/main/Source/WebKit/WebProcess/com.apple.WebProcess.sb.inhttps://github.com/WebKit/WebKit/blob/main/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in
https://codechina.csdn.net/mirrors/chromium/chromium/-/blob/1419caba51dcb65d5f2bf9be15719f3f0414d601/sandbox/policy/mac/network.sbhttps://codechina.csdn.net/mirrors/chromium/chromium/-/blob/1419caba51dcb65d5f2bf9be15719f3f0414d601/sandbox/policy/mac/network.sb
https://node-safe.com#license
berstend̡̲̫̹̠̖͚͓̔̄̓̐̄͛̀͘https://github.com/berstend
node-safe.comhttps://node-safe.com
nodejs https://node-safe.com/topics/nodejs
macos https://node-safe.com/topics/macos
npm https://node-safe.com/topics/npm
security https://node-safe.com/topics/security
yarn https://node-safe.com/topics/yarn
sandbox https://node-safe.com/topics/sandbox
developer-tools https://node-safe.com/topics/developer-tools
Readme https://node-safe.com#readme-ov-file
Please reload this pagehttps://node-safe.com
Activityhttps://node-safe.com/berstend/node-safe/activity
214 starshttps://node-safe.com/berstend/node-safe/stargazers
6 watchinghttps://node-safe.com/berstend/node-safe/watchers
8 forkshttps://node-safe.com/berstend/node-safe/forks
Report repository https://node-safe.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fberstend%2Fnode-safe&report=berstend+%28user%29
Releaseshttps://node-safe.com/berstend/node-safe/releases
Please reload this pagehttps://node-safe.com
JavaScript 65.0% https://node-safe.com/berstend/node-safe/search?l=javascript
Shell 35.0% https://node-safe.com/berstend/node-safe/search?l=shell
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.