node-security icon indicating copy to clipboard operation
node-security copied to clipboard

:key: The easiest way to control what npm modules can access

Results 7 node-security issues
Sort by recently updated
recently updated
newest added

First off, I started looking at this repository because it's gaining traction. I'm also posting this _here_ since there are no listed dependents on npm (yet). I want to put...

Getting following error when importing package: `const nodesecurity = require('@matthaywardwebdesign/node-security');` ``` [0] ERROR in ./node_modules/@matthaywardwebdesign/node-security/dist/ModuleLoader.js [0] Module not found: Error: Can't resolve 'module' in 'C:\Users\Dev\Source\Repos\TTM\app\node_modules\@matthaywardwebdesign\node-security\dist' [0] @ ./node_modules/@matthaywardwebdesign/node-security/dist/ModuleLoader.js 9:14-31 [0]...

I would like to second the concern of Qix in regards to the approach of sandboxing without creating a new JavaScript context. One of the issue that arises when sharing...

I'm not sure of the lowest version of node this project supports May be able to tweak this in the babelrc too

Is there any way to block this since `esm` itself will be loading the files which means `esm` needs access to `fs`. `index.js` ```js /* Import and create a new...

Looking through the code it does look like permissions given to a module roll-down to it's child dependencies. This is a terrible idea, as it will fail your security test...