nsauditor-ai 0.1.0 → 0.1.1

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/README.md +29 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -4,6 +4,7 @@
4
4
 
5
5
  A modular, AI-assisted network security audit platform that scans, understands, prioritizes, and tracks vulnerabilities — without ever requiring your data to leave your infrastructure.
6
6
 
7
+ [![npm](https://img.shields.io/npm/v/nsauditor-ai.svg)](https://www.npmjs.com/package/nsauditor-ai)
7
8
  [![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
8
9
  [![Node.js 20+](https://img.shields.io/badge/node-20%2B-green.svg)](https://nodejs.org)
9
10
  [![Tests](https://img.shields.io/badge/tests-487%20passing-brightgreen.svg)](#tests)
@@ -261,6 +262,34 @@ npx nsauditor-ai-mcp
261
262
 
262
263
  Security: SSRF protection on all host inputs (blocks RFC 1918, loopback, fc00::/7, cloud metadata), port validation (1–65535), CPE format enforcement, dependency injection for test isolation.
263
264
 
265
+ ### Claude Desktop Setup
266
+
267
+ Add this to your `claude_desktop_config.json` (Settings → Developer → Edit Config):
268
+
269
+ ```json
270
+ {
271
+ "mcpServers": {
272
+ "nsauditor-ai": {
273
+ "command": "npx",
274
+ "args": ["nsauditor-ai-mcp"],
275
+ "env": {
276
+ "AI_PROVIDER": "claude",
277
+ "ANTHROPIC_API_KEY": "your-key-here",
278
+ "NSA_ALLOW_ALL_HOSTS": "1"
279
+ }
280
+ }
281
+ }
282
+ }
283
+ ```
284
+
285
+ Set `NSA_ALLOW_ALL_HOSTS=1` if you need to scan private/RFC 1918 addresses (e.g., `192.168.x.x`). The `AI_PROVIDER` and key variables are optional — they enable AI-powered analysis of scan results.
286
+
287
+ ### Claude Code Setup
288
+
289
+ ```bash
290
+ claude mcp add nsauditor-ai -- npx nsauditor-ai-mcp
291
+ ```
292
+
264
293
  ---
265
294
 
266
295
  ## CLI Reference
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nsauditor-ai",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Modular AI-assisted network security audit platform — Community Edition",
5
5
  "type": "module",
6
6
  "private": false,