
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@nicolasbonnici/acl
Advanced tools
Simple ACL middleware for a CRUD access managment
'npm install @nicolasbonnici/node-acl'
var acl = require('@nicolasbonnici/node-acl');
acl.check(oUser, sRessource, sAction);
### Permission structure (role attribute on your the first parameter)
"roles" : [
{ "name" : "member", "_id" : "588fb1b84939605bec24ca83", "created" : "2017-01-30T21:35:52.681Z", "permissions" : [ { "entity" : "users", "rights" : { "create" : true, "read" : true, "update" : true, "delete" : true }, "_id" : "588fb1b84939605bec24ca81", "created" : "2017-01-30T21:35:52.680Z" }, { "entity" : "searches", "rights" : { "create" : true, "read" : true, "update" : true, "delete" : true }, "_id" : "588fb1b84939605bec24ca82", "created" : "2017-01-30T21:35:52.680Z" } ] }
npm test
In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.
FAQs
Simple ACL middleware for a rest API
The npm package @nicolasbonnici/acl receives a total of 1 weekly downloads. As such, @nicolasbonnici/acl popularity was classified as not popular.
We found that @nicolasbonnici/acl demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.