@trigo/atrix-acl
Advanced tools
@@ -18,3 +18,3 @@ 'use strict'; | ||
| if (atrix.allowInject && Shot.isInjection(req.raw.res)) { | ||
| return next(); | ||
| return next.continue(); | ||
| } | ||
@@ -36,3 +36,3 @@ | ||
| if (atrix.ACL.access({ userId, role, method, route, path })) { | ||
| return next(); | ||
| return next.continue(); | ||
| } | ||
@@ -39,0 +39,0 @@ |
+1
-1
| { | ||
| "name": "@trigo/atrix-acl", | ||
| "version": "0.0.4", | ||
| "version": "0.0.5", | ||
| "engines": { | ||
@@ -5,0 +5,0 @@ "node": ">=7.6.0" |
@@ -48,2 +48,3 @@ 'use strict'; | ||
| expect(res.statusCode).to.equal(200); | ||
| }); | ||
@@ -64,2 +65,3 @@ | ||
| expect(res.statusCode).to.equal(200); | ||
| expect(res.body.id).to.equal('242'); | ||
| }); | ||
@@ -66,0 +68,0 @@ |
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
117057
0.05%495
0.2%