vanguard-cli 3.1.14 → 3.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/services/scanner.js
CHANGED
|
@@ -89,12 +89,12 @@ RESPONSE FORMAT (JSON ONLY):
|
|
|
89
89
|
if (spinner) {
|
|
90
90
|
const originalText = spinner.text;
|
|
91
91
|
for (let i = waitTime; i > 0; i--) {
|
|
92
|
-
spinner.text = `❄️ Quota hit
|
|
92
|
+
spinner.text = `❄️ Quota hit (${i}s). Waiting... (Tip: Ctrl+C -> 'vanguard config' to switch AI)`;
|
|
93
93
|
await sleep(1000);
|
|
94
94
|
}
|
|
95
95
|
spinner.text = originalText;
|
|
96
96
|
} else {
|
|
97
|
-
console.log(chalk.yellow(`\n⚠️ Rate limit hit. Cooling down for ${waitTime}s (
|
|
97
|
+
console.log(chalk.yellow(`\n⚠️ Rate limit hit. Cooling down for ${waitTime}s... (Tip: 'vanguard config' to switch AI)`));
|
|
98
98
|
await sleep(waitTime * 1000);
|
|
99
99
|
}
|
|
100
100
|
return this.scanWithRetry(filePath, content, spinner, attempt + 1);
|
package/package.json
CHANGED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 🚨 THREAT VECTOR: PROJECT_OMEGA (MOCK)
|
|
3
|
-
* This file contains the mock threat signature we added to lib/threats.json.
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
function initializeSystem() {
|
|
7
|
-
console.log("System initializing...");
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
// ALERT: PROJECT_OMEGA sequence initiated
|
|
11
|
-
const secretKey = "SG0uLi4uIHRoaXMgaXMgYSBzZWNyZXQ=";
|
|
12
|
-
initializeSystem();
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "vanguard-malware-lab",
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"description": "Educational test repository for supply chain security auditing.",
|
|
5
|
-
"scripts": {
|
|
6
|
-
"postinstall": "node ./scripts/postinstall.js"
|
|
7
|
-
},
|
|
8
|
-
"dependencies": {
|
|
9
|
-
"axios": "^1.6.0"
|
|
10
|
-
}
|
|
11
|
-
}
|