@pinpt/cli
Advanced tools
+7
-4
@@ -84,6 +84,9 @@ import prompts from 'prompts'; | ||
| const ok = await confirmPrompt(); | ||
| if (!ok.value) { | ||
| console.log(c.red('x') + c.bold(' Cancelled')); | ||
| process.exit(0); | ||
| // if we're using an api key or in CI skip the deployment | ||
| if (!process.env.PINPOINT_API_KEY && !process.env.CI) { | ||
| const ok = await confirmPrompt(); | ||
| if (!ok.value) { | ||
| console.log(c.red('x') + c.bold(' Cancelled')); | ||
| process.exit(0); | ||
| } | ||
| } | ||
@@ -90,0 +93,0 @@ |
+3
-0
@@ -133,2 +133,5 @@ import CFonts from 'cfonts'; | ||
| export const getAPIKey = () => { | ||
| if (process.env.PINPOINT_API_KEY) { | ||
| return process.env.PINPOINT_API_KEY; | ||
| } | ||
| const config = getConfig(); | ||
@@ -135,0 +138,0 @@ if (config && config.apikey) { |
+1
-1
| { | ||
| "name": "@pinpt/cli", | ||
| "version": "0.0.7", | ||
| "version": "0.0.8", | ||
| "description": "Pinpoint CLI", | ||
@@ -5,0 +5,0 @@ "bin": { |
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
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 4 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
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 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
27715
0.74%969
0.62%14
27.27%