agentaudit 3.12.8 → 3.12.9

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 (3) hide show
  1. package/README.md +9 -9
  2. package/cli.mjs +7 -2
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -11,7 +11,7 @@
11
11
  Scan MCP servers, AI skills, and packages for vulnerabilities, prompt injection,
12
12
  and supply chain attacks. Powered by regex static analysis and deep LLM audits.
13
13
 
14
- [![AgentAudit](https://www.agentaudit.dev/api/badge/agentaudit-mcp)](https://www.agentaudit.dev/skills/agentaudit-mcp)
14
+ [![AgentAudit](https://www.agentaudit.dev/api/badge/agentaudit-mcp)](https://www.agentaudit.dev/packages/agentaudit-mcp)
15
15
  [![npm version](https://img.shields.io/npm/v/agentaudit?style=for-the-badge&color=CB3837&logo=npm)](https://www.npmjs.com/package/agentaudit)
16
16
  [![Trust Registry](https://img.shields.io/badge/Trust_Registry-Live-00C853?style=for-the-badge)](https://agentaudit.dev)
17
17
  [![License](https://img.shields.io/badge/License-AGPL_3.0-F9A825?style=for-the-badge)](LICENSE)
@@ -77,7 +77,7 @@ agentaudit lookup fastmcp
77
77
 
78
78
  **Example output:**
79
79
  ```
80
- ⛨ AgentAudit v3.10.4 │ my-scanner #3 · 280pts · 19 audits
80
+ ⛨ AgentAudit v3.12.9 │ my-scanner #3 · 280pts · 19 audits
81
81
 
82
82
  Discovering MCP servers in your AI editors...
83
83
 
@@ -227,7 +227,7 @@ Then ask your agent: *"Check which MCP servers I have installed and audit any un
227
227
  | Command | Alias | Description |
228
228
  |---------|-------|-------------|
229
229
  | `agentaudit model` | — | Interactive LLM provider + model configuration |
230
- | `agentaudit setup` | | Register agent + configure API key for registry uploads |
230
+ | `agentaudit setup` | `login` | Sign in with GitHub OAuth or paste API key manually |
231
231
  | `agentaudit status` | `whoami` | Show current config, API keys, and personal stats |
232
232
 
233
233
  ### Global Flags
@@ -481,7 +481,7 @@ agentaudit search fastmcp --json # Machine-readable search results
481
481
 
482
482
  AgentAudit stores credentials in `~/.config/agentaudit/credentials.json` (or `$XDG_CONFIG_HOME/agentaudit/credentials.json`).
483
483
 
484
- Run `agentaudit setup` to configure interactively, or set via environment:
484
+ Run `agentaudit setup` to sign in with GitHub or paste an API key, or set via environment:
485
485
 
486
486
  ```bash
487
487
  export AGENTAUDIT_API_KEY=asf_your_key_here
@@ -595,10 +595,10 @@ It checks standard config file locations for Claude Desktop, Cursor, VS Code, an
595
595
  | | Project | Description |
596
596
  |---|---------|-------------|
597
597
  | 🌐 | [agentaudit.dev](https://agentaudit.dev) | Trust Registry -- browse packages, findings, leaderboard |
598
- | 🛡️ | [agentaudit-skill](https://github.com/starbuck100/agentaudit-skill) | Agent Skill -- pre-install security gate for Claude Code, Cursor, Windsurf |
599
- | ⚡ | [agentaudit-github-action](https://github.com/ecap0-ai/agentaudit-github-action) | GitHub Action -- CI/CD security scanning |
600
- | 📚 | [agentaudit-mcp](https://github.com/ecap0-ai/agentaudit-mcp) | This repo -- CLI + MCP server source |
601
- | 🐛 | [Report Issues](https://github.com/ecap0-ai/agentaudit-mcp/issues) | Bug reports and feature requests |
598
+ | 🛡️ | [agentaudit-skill](https://github.com/agentaudit-dev/agentaudit-skill) | Agent Skill -- pre-install security gate for Claude Code, Cursor, Windsurf |
599
+ | ⚡ | [agentaudit-github-action](https://github.com/agentaudit-dev/agentaudit-github-action) | GitHub Action -- CI/CD security scanning |
600
+ | 📚 | [agentaudit-cli](https://github.com/agentaudit-dev/agentaudit-cli) | This repo -- CLI + MCP server source |
601
+ | 🐛 | [Report Issues](https://github.com/agentaudit-dev/agentaudit-cli/issues) | Bug reports and feature requests |
602
602
 
603
603
  ---
604
604
 
@@ -612,6 +612,6 @@ It checks standard config file locations for Claude Desktop, Cursor, VS Code, an
612
612
 
613
613
  **Protect your AI stack. Scan before you trust.**
614
614
 
615
- [Trust Registry](https://agentaudit.dev) · [Leaderboard](https://agentaudit.dev/leaderboard) · [Report Issues](https://github.com/ecap0-ai/agentaudit-mcp/issues)
615
+ [Trust Registry](https://agentaudit.dev) · [Leaderboard](https://agentaudit.dev/leaderboard) · [Report Issues](https://github.com/agentaudit-dev/agentaudit-cli/issues)
616
616
 
617
617
  </div>
package/cli.mjs CHANGED
@@ -656,9 +656,14 @@ async function loginCommand() {
656
656
 
657
657
  // Try to auto-open browser
658
658
  try {
659
- const openCmd = process.platform === 'darwin' ? 'open' : process.platform === 'win32' ? 'start' : 'xdg-open';
660
659
  const { exec } = await import('child_process');
661
- exec(`${openCmd} "${verifyUrl}"`);
660
+ if (process.platform === 'darwin') {
661
+ exec(`open "${verifyUrl}"`);
662
+ } else if (process.platform === 'win32') {
663
+ exec(`start "" "${verifyUrl}"`);
664
+ } else {
665
+ exec(`xdg-open "${verifyUrl}"`);
666
+ }
662
667
  console.log(` ${c.dim}(Browser should open automatically)${c.reset}`);
663
668
  } catch {}
664
669
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentaudit",
3
- "version": "3.12.8",
3
+ "version": "3.12.9",
4
4
  "description": "Security scanner for AI packages — MCP server + CLI",
5
5
  "type": "module",
6
6
  "bin": {
@@ -39,7 +39,7 @@
39
39
  "license": "AGPL-3.0",
40
40
  "repository": {
41
41
  "type": "git",
42
- "url": "git+https://github.com/agentaudit-dev/agentaudit-mcp.git"
42
+ "url": "git+https://github.com/agentaudit-dev/agentaudit-cli.git"
43
43
  },
44
44
  "homepage": "https://agentaudit.dev",
45
45
  "engines": {