agentaudit 3.9.11 → 3.9.12

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.
Files changed (2) hide show
  1. package/cli.mjs +2 -1
  2. package/package.json +1 -1
package/cli.mjs CHANGED
@@ -1309,6 +1309,7 @@ async function auditRepo(url) {
1309
1309
  // Check for API keys to determine which LLM to use
1310
1310
  const anthropicKey = process.env.ANTHROPIC_API_KEY;
1311
1311
  const openaiKey = process.env.OPENAI_API_KEY;
1312
+ const activeProvider = anthropicKey ? 'Anthropic (Claude)' : openaiKey ? 'OpenAI (GPT-4o)' : null;
1312
1313
 
1313
1314
  if (!anthropicKey && !openaiKey) {
1314
1315
  // No LLM API key — clear explanation
@@ -1373,7 +1374,7 @@ async function auditRepo(url) {
1373
1374
  }
1374
1375
 
1375
1376
  // We have an API key — run LLM audit
1376
- process.stdout.write(` ${c.dim}[4/4]${c.reset} Running LLM analysis...`);
1377
+ process.stdout.write(` ${c.dim}[4/4]${c.reset} Running LLM analysis ${c.dim}(${activeProvider})${c.reset}...`);
1377
1378
 
1378
1379
  const systemPrompt = auditPrompt || 'You are a security auditor. Analyze the code and report findings as JSON.';
1379
1380
  const userMessage = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentaudit",
3
- "version": "3.9.11",
3
+ "version": "3.9.12",
4
4
  "description": "Security scanner for AI packages — MCP server + CLI",
5
5
  "type": "module",
6
6
  "bin": {