@rss/common-nodejs
Advanced tools
+1
-1
| { | ||
| "name": "@rss/common-nodejs", | ||
| "version": "0.0.1", | ||
| "version": "0.0.2", | ||
| "description": "common nodejs library", | ||
@@ -5,0 +5,0 @@ "author": "Risk & Safety Solution", |
@@ -13,3 +13,2 @@ const bunyan = require('bunyan'); | ||
| const { authorization, ...headers } = req.headers; | ||
| let user = null; | ||
@@ -29,5 +28,8 @@ if (req.user) { | ||
| url: req.url, | ||
| headers, | ||
| headers: { | ||
| referer: req.headers.referer, | ||
| 'user-agent': req.headers['user-agent'], | ||
| 'x-request-id': req.headers['x-request-id'], | ||
| }, | ||
| remoteAddress: req.connection.remoteAddress, | ||
| remotePort: req.connection.remotePort, | ||
| user, | ||
@@ -34,0 +36,0 @@ body: req.body, |
Explicitly Unlicensed Item
LicenseSomething was found which is explicitly marked as unlicensed.
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
Explicitly Unlicensed Item
LicenseSomething was found which is explicitly marked as unlicensed.
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
3158
1.9%89
2.3%