@risingstack/trace-cli
Advanced tools
@@ -6,3 +6,3 @@ 'use strict' | ||
| const path = require('path') | ||
| const cli = path.join(__dirname, 'cli-deployhook') | ||
| const cli = path.join(__dirname, 'trace-cli-deployhook') | ||
@@ -9,0 +9,0 @@ describe('deployhook', function () { |
| 'use strict' | ||
| const url = require('url') | ||
| const https = require('https') | ||
| const traceAPI = process.env.TRACE_COLLECTOR_API_URL || 'api.trace.risingstack.com' | ||
| const traceAPI = process.env.TRACE_COLLECTOR_API_URL || 'https://api.trace.risingstack.com' | ||
| const URI = url.parse(traceAPI) | ||
@@ -11,3 +13,3 @@ function send (apiKey, serviceName, revision, callback) { | ||
| const options = { | ||
| hostname: traceAPI, | ||
| hostname: URI.hostname, | ||
| port: 443, | ||
@@ -14,0 +16,0 @@ path: encodeURI(path), |
+1
-1
| { | ||
| "name": "@risingstack/trace-cli", | ||
| "version": "1.0.2", | ||
| "version": "1.0.3", | ||
| "description": "CLI for Trace by RisingStack", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
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 3 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
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 3 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
10403
0.75%212
0.95%