nsauditor-ai-agent-skill
AI Agent Skill for NSAuditor AI — gives any AI coding agent built-in knowledge of NSAuditor's MCP tools, schemas, plugins, and security audit workflows.
An installable knowledge package that teaches AI coding agents how to use NSAuditor AI's MCP tools, understand its data schemas, and orchestrate multi-step security audit workflows — without requiring manual context every conversation. Works with Claude Code, Claude Desktop, Cursor, Windsurf, VS Code Copilot, and any MCP-aware agent. ⚠️ Correcting this section's own prior text.
Summary extracted from the README.
NSAuditor AI Agent Skill
Give any AI coding agent instant fluency with NSAuditor AI.
An installable knowledge package that teaches AI coding agents how to use NSAuditor AI's MCP tools, understand its data schemas, and orchestrate multi-step security audit workflows — without requiring manual context every conversation.
Works with Claude Code, Claude Desktop, Cursor, Windsurf, VS Code Copilot, and any MCP-aware agent.
About the
<!-- nsa:derived id="…" -->…<!-- /nsa:derived -->markers inSKILL.md: the text between them is a fact rendered by the Enterprise build from the trio'spackage.jsonfiles and shipped framework data (versions, the Community floor, plugin counts, matrix movement). Quote the text; the markers are only how it stays current.
Current release
1.1.2 (2026-11-01) — paired with Enterprise 2.1.1 / Community 1.1.1; Community 1.1.1 is recommended beside Enterprise 2.1.1, and the floor is unchanged. ⚠️ NOT a Community floor bump: requires Community >= 1.0.0, as 1.0.0 did (Enterprise 2.1.1, like 2.1.0 and 2.0.0, imports a name that first ships in Community 1.0.0; below it Enterprise's core does not load while its plugins still do — on Community 0.2.57 as on 0.2.56 — so the scan skips its intelligence, analysis-agent and compliance stages: Community 0.2.56 and later name that on stderr when Enterprise was installed on its own or after Community, and 0.2.55 or older says nothing, the shape measured for Enterprise 2.0.0 and 2.1.0; naming an older Community (below 1.0.0) and Enterprise in ONE npm install -g command is different: npm nests a second Community, the newest that satisfies the peer floor, under Enterprise; Enterprise's stages then run against that copy's unverified licence and are skipped with no message and no compliance pack (measured for Enterprise 2.1.0 with Community 0.2.55–0.2.57, npm 11.19). Install the paired versions, or Community first). ⚠️ Install Node.js 24.22.1 or newer before upgrading (engines.node >=24.22.1 since Enterprise 2.1.0 and Community 1.1.0; 2.0.0 and 1.0.0 declared >=24.0.0): on an older runtime npm prints an EBADENGINE warning and installs anyway, while the air-gap install.sh refuses. The GCP Cloud Storage (1024) and IAM (1025) auditors report themselves down, with the cause, when no GCP project is set or no usable credential loads, as the GCP security audit (1021) does. Community 1.1.1 moves its OpenAI client to openai 7, so a project that depends on it holds one zod at 4.6.6 or later, with no overrides; its AI stage says at the head of the assessment when the provider reports reading less than half of the input, by the stage's own estimate; a tier denial names the tools the caller can use now; and nsauditor-ai license with an unknown subcommand, or none, exits 2. New in this release's teaching, in SKILL.md's header: (j) rewritten, since Enterprise 2.1.1's GCP Cloud Storage and IAM auditors report themselves down with the cause, as the security audit does; (m) an AI assessment whose files open with the partial-input line covers part of the scan; (n) a tier denial names the tools the caller can use now; (o) license with an unknown subcommand, or none, exits 2. compliance_matrix is taught as open at every tier but needing the Enterprise package installed.
Prior: 1.1.1 (2026-10-26) — docs only, correcting what 1.1.0 taught about a GCP scan with no project or no credentials: the GCP security audit (1021) reads down, but the Cloud Storage auditor (1024) still reads up, so scan_cloud can still count GCP audited; read the 1021 row and the gaps, never the provider line alone. Otherwise as 1.1.0, paired with Enterprise 2.1.0 / Community 1.1.0. ⚠️ NOT a Community floor bump: requires Community >= 1.0.0, as 1.0.0 did (Enterprise 2.1.0, like 2.0.0, imports a name that first ships in Community 1.0.0; below it Enterprise's core does not load while its plugins still do — on Community 0.2.57 as on 0.2.56 — so the scan skips its intelligence, analysis-agent and compliance stages: Community 0.2.56 and later name that on stderr when Enterprise was installed on its own or after Community, and 0.2.55 or older says nothing, the shape measured for Enterprise 2.0.0 and 2.1.0; naming an older Community (below 1.0.0) and Enterprise in ONE npm install -g command is different: npm nests a second Community, the newest that satisfies the peer floor, under Enterprise; Enterprise's stages then run against that copy's unverified licence and are skipped with no message and no compliance pack (measured for Enterprise 2.1.0 with Community 0.2.55–0.2.57, npm 11.19). Install the paired versions, or Community first). ⚠️ Install Node.js 24.22.1 or newer before upgrading (engines.node >=24.22.1 in Enterprise 2.1.0 and Community 1.1.0; 2.0.0 and 1.0.0 declared >=24.0.0): on an older runtime npm prints an EBADENGINE warning and installs anyway, while the air-gap install.sh refuses. Node.js 24.22.1 or newer is the supported runtime — the October 2026 Node.js security release for the 24 line. The cloud inventories the scan could not read in full — GCP instances, Azure virtual machines, the AWS EC2 feed of the CIS hardened-image census — are evidence gaps, not empty projects or subscriptions, and a listed AWS region the account has not enabled is skipped and recorded as not enabled, not reported as missing trails or as a permission to grant, wherever the account's enabled regions can be read. Through the MCP server (Community 1.1.0), a host scan stops at a total time limit by default and names the plugins it did not run, a response saved with NSA_MCP_RESPONSE_DIR keeps its request beside it for verify-call, and a CRITICAL, HIGH or evidence-gap title in scan_cloud says when its finding holds more than it shows. New in this release's teaching, in SKILL.md's header items (h)–(l): an unread census inventory is an evidence gap with its cause as a class, never an empty project or subscription; a listed region the account has not enabled is reported as not enabled, never as a permission to grant, wherever the account's enabled regions can be read; an Azure scan with no subscription id reads down, not audited, and a GCP scan with no project or no loadable credentials reports the GCP security audit (1021) down; a control loses measurement per scanner, with its sources. Plugin count unchanged at 29 Enterprise plugins; all eight coverage matrices unchanged. See CHANGELOG.md.
Prior: 1.1.0 (2026-10-26) — the same pairing and teaching, except that its (j) said a GCP scan with no project or no loadable credentials does not read audited, which 1.1.1 corrects.
Prior: 1.0.0 (2026-10-15) — paired with Enterprise 2.0.0 / Community 1.0.0. ⚠️ A floor bump: requires Community >= 1.0.0 (it was >= 0.2.57 — Enterprise 2.0.0 imports a name that first ships in Community 1.0.0; below it Enterprise's core does not load while its plugins still do — on Community 0.2.57 as on 0.2.56 — so the scan skips its intelligence, analysis-agent and compliance stages: Community 0.2.56 and later name that on stderr, and 0.2.55 or older says nothing, the shape measured for Enterprise 2.0.0), and the supported runtime is Node.js 24. Node.js 24 is the supported runtime. Every one-shot compliance scan writes what changed since the previous scan beside its pack — controls to fail or to pass, controls that lost measurement, violations new or cleared, and what could not be measured, never read as cleared — and can notify a webhook, Slack or Teams when a control goes to fail or loses measurement, when a new violation reaches a severity you set, or when the drift could not be compared. A scan connects only to the addresses its host check resolved (Community 1.0.0), the AI payload carries no AWS account ID, and plugin 040's weak-key and weak-signature findings fail the certificate control in six of the eight frameworks.
Prior: 0.2.55 (2026-10-07) — paired with Enterprise 1.3.0 / Community 0.2.57. ⚠️ A floor bump: requires Community >= 0.2.57 (it was >= 0.2.56 — Enterprise 1.3.0 imports names that first ship in Community 0.2.57; below it Enterprise's core does not load while its plugins still do — on Community 0.2.56 as on 0.2.55 — so the scan skips its intelligence, analysis-agent and compliance stages: Community 0.2.56 names that on stderr, and 0.2.55 or older says nothing, the shape measured for Enterprise 1.2.0 and 1.3.0). New in this release's teaching: the not-comparable bucket also catches a CVE-mapper or service-agent row on a TCP port whose service the other run could not identify, and an analysis agent's or the CVE mapper's row when a plugin it reads was left out of a scan; after a CVE lookup that failed, the controls the prior CVE rows failed are now held failed; the exposure and service agents' titles moved, so their rows read identity-basis-changed across the upgrade; the DNS-posture audit (060) declines an IP-address target; the TLS certificate audit (040) grades an IP target's DNS-only name mismatch LOW and reads IP SANs; and two measured limits — a scan made before Enterprise 1.3.0 could not record a plugin left out of it, so in a comparison with one an agent's row that scan lacks is not refused; and a scan that discovered ports with the Nmap plugin (024) alone records no port oracle, so an analysis agent's or the CVE mapper's row on a port it did not measure can read RESOLVED and count as closed in MTTR, and the control it failed can read PASS — include the port scanner (003). See CHANGELOG.md.
Prior: 0.2.54 (2026-10-04) — paired with Enterprise 1.2.0 / Community 0.2.56. ⚠️ A floor bump: requires Community >= 0.2.56 (Enterprise 1.2.0 imports names that first ship in Community 0.2.56). Its teaching — the not-comparable cases, the compliance hold on a prior finding, how a failed Enterprise load surfaces — is carried forward above; of its two measured limits, 0.2.55 teaches the first closed and the second narrowed.
Prior: 0.2.53 — paired with Enterprise 1.1.0 / Community 0.2.55. ⚠️ A floor bump: requires Community >= 0.2.55 (it was >= 0.2.49 — Enterprise 1.1.0 calls code that first ships in Community 0.2.55). The skill now INSTALLS itself: npx nsauditor-ai-agent-skill install copies it into ~/.claude/skills/ for Claude Code, and npx nsauditor-ai-agent-skill build-zip --out ~/Desktop builds the Claude Desktop upload zip. Claude Code users can instead add it as a plugin marketplace — /plugin marketplace add nsasoft/nsauditor-ai-agent-skill. ⚠️ A marketplace reaches Claude Code only; Claude Desktop accepts skills only as an uploaded zip, and skills do not sync between surfaces. Knowledge updated for the Pro cross-run delta (report --since) that ships in Community 0.2.55.
Prior: 0.2.52 — paired with Enterprise 1.0.0 / Community 0.2.54 (Community is a README-only release). ⚠️ NOT a floor bump: Community stays >= 0.2.49. Plugin enumeration unchanged at 29 Enterprise plugins; all eight coverage matrices unchanged. New in this release's teaching: Findings analyzed counts findings rather than issues, so a 1.0.0 pack reads a SMALLER number than a 0.46.0 pack over the same estate and that is the correction — the new report.summary.findingsReceived / findingsRouted fields let an agent check findingsRouted ≤ findingCount ≤ findingsReceived from the pack alone; an Azure RBAC assignment at the root scope (/) is named as such; PCI DSS 11.5.2 is critical-file change detection (the payment-page controls are 11.6.1 and 6.4.3). No tool surface changed. The evidence contract in Enterprise's docs/contract-v1.md is binding from EE 1.0.0. See CHANGELOG.md.
Prior: 0.2.51 — paired with Enterprise 0.46.0 / Community 0.2.53. ⚠️ NOT a floor bump: Community stays >= 0.2.49. references/plugins.md carried the retired MVP-67 PCI density label; the enumeration is 72 — 19 covered, 9 partial, 44 out of scope with a stated reason, derived from the shipped framework file. The line already told a reader to call compliance_matrix for the current triple and that did not save it: a pointer beside a hard-coded number does not stop the number rotting; only removing the number does.
Prior: 0.2.50 — paired with Enterprise 0.45.0 / Community 0.2.52. ⚠️ NOT a floor bump: Community stays >= 0.2.49. New in this release's teaching, and it is a REFUSAL rule before it is a feature note: the NTP clock attestation is WITHDRAWN — the probe is deleted, the three complianceNtp* options are gone, there is no NSAUDITOR_NTP_* environment variable and there never was one, and it is NOT on a roadmap, so a hedge like "planned" is now a promise rather than a disclosure. The probe validated any reply of at least 48 bytes with a non-null transmit timestamp and nothing else — no mode byte, no stratum, no originate echo — and it measured the SCANNER's clock while every framework control about time synchronisation asks about the customer's estate. Point users at opt-in RFC 3161 timestamping instead (NSAUDITOR_TSA_URL; an outbound call to a third party, off by default), whose .tsr time comes from the authority rather than from the host. ⚠️ The attestation's shape did NOT change — all six ntp keys remain, now constants, because the envelope is a frozen schema id; a null probedAt is not a failed probe.
Prior: 0.2.49 — paired with Enterprise 0.44.0 / Community 0.2.51. ⚠️ NOT a floor bump: Community stays >= 0.2.49. New in this release's teaching: there is a Pro report subcommand (nsauditor-ai report --from <dir> --format executive|jira) that turns a completed run into a client-facing HTML report or a Jira-importer CSV — with two limits an agent should state rather than let a user discover: the Jira import mapping has not been verified against a live Jira instance, and a value-less flag is a fatal error rather than a silent default; and an S3 audit-trail gap now means BOTH streams are missing (plugin 1020 cross-checks CloudTrail data-event coverage before reporting a missing server access log, so a gap disappearing after upgrade on a covered bucket is the fix working, while every uncertain answer — denied read, absent optional SDK, stopped trail, delivery error, prefix-scoped or one-sided selector — keeps the finding unchanged).
Prior: 0.2.48 — paired with Enterprise 0.43.0 / Community 0.2.50. ⚠️ NOT a floor bump: Community stays >= 0.2.49, derived rather than reflexive — the one Community behaviour the Enterprise fix depends on already shipped there. New in this release's teaching: a provider badge no longer reads audited when that cloud's SDK failed to load (an Enterprise scan whose cloud SDK failed to load used to report that provider as audited, because a plugin result carrying neither an error nor a skip flag falls through to ran and auditedProviders derives from ran; eighteen refusals across seventeen AWS and GCP plugins now carry their cause, so such a provider reads errored and drops out — a provider disappearing after upgrade is the fix, not a regression), and an evidence gap states a cause, never an instruction (the engine quoted whole thrown messages, so the loaders' Install: npm install <pkg>@latest reached the gap text of 7 SOC 2 / 2 GDPR / 12 NIST SP 800-171 controls — never quote a gap line to a user as remediation, and note that under air-gapped operation it cannot be followed at all). The two causes are now distinct — plugin skipped: vs scanner error: — because the remedies differ; and a GDPR Art. 32 report now fails closed on an Azure refusal where it previously failed nothing.
Prior: 0.2.47 — paired with Enterprise 0.42.0 / Community 0.2.49. ⚠️ A real floor bump: Community >= 0.2.49.
New in this release's teaching: non-commercial AWS partitions (GovCloud, China, the ISO partitions and
the European Sovereign Cloud) and Azure sovereign clouds are first-class, and both refuse rather than
silently reporting on the wrong estate. An agent driving a sovereign scan should expect findings that
previously read clean — a public S3 access point riding a bucket delegation, IAM privesc at CRITICAL
instead of HIGH, shadow-admin graph edges that were missing, the full effective-decrypt severity ladder.
For Azure, AZURE_ENVIRONMENT / ARM_ENVIRONMENT / AZURE_ARM_ENDPOINT / AZURE_AUTHORITY_HOST select
the cloud, an unrecognised or self-contradicting selection refuses and emits an evidence gap, and
every Azure scan states which estate it addressed — an agent summarising a clean Azure result should
name the estate, because a clean report about the wrong estate looks exactly like a clean one. Also
taught: the FIPS boundary (approved algorithms, explicitly not a validated module) and the SBOM gate.
Plugin count unchanged at 29; all eight coverage matrices unchanged.
Prior: 0.2.46 — paired with Enterprise 0.41.0 / Community 0.2.48. New in this release's teaching: the 29th Enterprise plugin, 1230 AWS DocumentDB Auditor (docdb-engine ownership on the shared RDS control plane — encryption + custody, tls, audit logging + export, retention, deletion protection, replica/AZ topology, snapshot sharing), the RDS auditor's engine filter with its standing disclosure (a Neptune estate is explicitly unaudited), and the deferred status of DocumentDB Elastic clusters. Prior: 0.2.45 — paired with Enterprise 0.40.3 / Community 0.2.47. New in this release's teaching: on
the opt-in RFC 3161 path (NSAUDITOR_TSA_URL; no default authority), a granted token that attests
a DIFFERENT digest than the request carried is now refused (tsa_imprint_mismatch); the auditor
instruction printed on every timestamped report is corrected to one that actually runs; and a
BER-encoded token is no longer refused when openssl can read it.
0.2.44 — paired with Enterprise 0.40.2 / Community 0.2.46. New in this release's teaching: a TSA
rejection is refused instead of being written as a signed sidecar (five named refusal codes; a missing
.tsr beside a .sha256 means refused, not failed), the TSA policy-OID option works on OpenSSL ≥ 3.0
hosts, and parenthesised (Dim N) internal codes are out of GCP finding prose. Carried forward, the
eighth compliance framework:
NIST SP 800-171 Rev 2, taught as evidence substrate for CMMC Level 2 preparation. ⚠️ Requires
Community >= 0.2.45 — a real floor bump: the framework stem is registered in CE, and an older CE
rejects the name outright. What the agent must refuse to say is part of the skill, not a footnote:
never a CMMC certification, never a FedRAMP authorization, never a MET / NOT MET determination, and
never an SPRS score — each is a C3PAO's determination. Rev 2 is pinned because CMMC assesses Rev 2 by
rule; Rev 3 is a different 97-requirement universe, and answering a Rev 3 question with Rev 2 output is
drift. CUI scope stays the operator's assertion — the scanner cannot see CUI, cannot tell FCI from CUI,
and cannot see an enclave boundary.
Prior: 0.2.42 — paired with Enterprise 0.39.0 / Community 0.2.44. Coverage honesty: every GCP and Azure
plugin now declares what it does NOT evaluate, so deferredScope must be taught as a per-plugin static
capability boundary — not an evidence gap, not a finding, routing to zero compliance controls — and an
empty or short list is never a claim of full coverage.
⚠️ Correcting this section's own prior text. It called the sign-pack and verify-pack commands "reachable, not yet proven", which was true when written and became false on 2026-08-17, when the published-bytes gate ran against the EE 0.38.0 registry bytes and passed. So the capability is now PROVEN for an operator-held key over one framework's envelope and the artifacts it enumerates, never a vendor attestation. That scope bound is permanent and did not move.
⚠️ What the skill must teach accurately about THIS release, because it is the claim most easily
overstated: a verified signature proves the holder of a key asserted authorship of one
framework's chain-of-custody envelope at a stated time, relative to operator key custody. It
is never a vendor attestation, never proof the scan ran, and never proof the findings are true. It
covers that envelope plus the four artifacts it enumerates — not the directory and not the pack;
a multi-framework pack holds ten files per framework plus the scan-level output, and no object in
it enumerates the set. verify-pack also
recomputes every enumerated artifact hash against disk, so an edited report fails while the
signature itself still reads VERIFIED. And exit 2 means the run could not measure — an unsigned
pack, an unsupplied key or a registry member with no key material — which an agent must never
report as a verification failure.
(The suppression-approval material below is retained; it remains accurate.)
⚠️ What the skill must teach accurately about this release, because it is easy to overstate:
NSAUDITOR_SIGNING_KEY is not a new variable — it existed and was inert. As of Enterprise 0.35.0
it is CONSUMED: compliance suppress signs the approval it writes when the variable names a
local Ed25519 key — reachable, and PROVEN as of EE 0.36.0 per approver holding key material.
Its verification
gate ran against the published bytes and passed, with a length-preserving tamper rendering
signature FAILED verification as the negative control. An agent may describe a produced signature
as verified evidence for approvers whose registry entry carries key material — for a
fingerprint-only entry a report reads not checked by this report, which records that no check ran
and never that one failed, and must not be reported as tampering. The commands are
CLI-only; no MCP tool reaches them, so an agent asked to record an approval must shell out
rather than look for a tool.
See CHANGELOG.md for the full history.
What's Inside
nsauditor-ai-agent-skill/
├── SKILL.md # Main entrypoint — triggers, tools, schemas, constraints
├── references/
│ ├── workflows.md # Multi-step workflow recipes (full audit, CI/CD, CTEM)
│ ├── schemas.md # Complete data structures (scan results, CVEs, findings)
│ └── plugins.md # Full plugin catalog (56 scanners with ports & protocols — 27 Community + 29 Enterprise)
├── examples/
│ └── agent-interactions.md # Example agent reasoning chains (9 scenarios)
├── bin/
│ └── nsauditor-ai-agent-skill.mjs # `install` (Claude Code) and `build-zip` (Claude Desktop)
├── scripts/ # the Desktop zip builder and its frontmatter check
├── .claude-plugin/ # plugin-marketplace manifests (Claude Code only)
├── package.json
├── README.md
└── LICENSE
Quick Start
Claude Code
# Into ~/.claude/skills/nsauditor-ai — creates the folder, or overwrites SKILL.md and references/ in an older copy
npx nsauditor-ai-agent-skill@latest install
# Or into one project: .claude/skills/nsauditor-ai
npx nsauditor-ai-agent-skill@latest install --dest .claude/skills
Keep @latest (or name a version): a bare npx nsauditor-ai-agent-skill runs a copy already installed in the project or globally whenever one exists, whatever its version. install overwrites only the files this version ships; it deletes nothing. Copying the package by hand with cp -r fails when ~/.claude/skills does not exist yet, and over an existing nsauditor-ai folder it nests the new copy inside it and leaves the old SKILL.md in place — delete the old folder first. Claude Code auto-discovers skills in .claude/skills/.
Claude Desktop
Build the upload zip with npx nsauditor-ai-agent-skill@latest build-zip --out ~/Desktop, then upload that nsauditor-ai-skill-<version>.zip in Claude Desktop's Settings (skills). Upload the zip, never SKILL.md alone: SKILL.md is under half of the skill, and its links to the reference files would point at nothing. Fully quit and relaunch Desktop after replacing a skill.
Cursor
Copy the skill directory into .cursor/skills/ or add SKILL.md content to your project rules.
Windsurf
Copy to your project's context directory, or paste SKILL.md into project rules.
VS Code Copilot
Add SKILL.md to .github/copilot-instructions.md or your workspace's Copilot context.
Generic / Custom Agents
# Copies SKILL.md and references/ into /path/to/agent/skills/nsauditor-ai
npx nsauditor-ai-agent-skill@latest install --dest /path/to/agent/skills
What the Agent Learns
When an AI agent loads this skill, it gains:
| Capability | Description |
|---|---|
| Tool signatures | Exact MCP tool names, parameters, return types, and usage guidance |
| Workflow patterns | Multi-step chains: scan → CVE lookup → remediation report |
| Schema knowledge | Complete data structures for parsing and presenting results |
| CPE construction | How to map detected services to NVD vulnerability lookups |
| Plugin awareness | 56 scanner plugins (27 Community + 29 Enterprise) with protocols, ports, capabilities, and multi-framework (SOC 2 · HIPAA §164.312 · NIST CSF 2.0 · PCI DSS v4.0.1 · ISO/IEC 27001:2022 · CIS Controls v8 · GDPR Art. 32 · NIST SP 800-171 Rev 2) substrate-evidence dimensions |
| Compliance frameworks | Eight frameworks, one scan — SOC 2 (AICPA TSC 2017) · HIPAA Security Rule §164.312 Technical Safeguards (HHS Required/Addressable discipline per control) · NIST CSF 2.0 (Subcategory-level) · PCI DSS v4.0.1 (QSA RoC sub-requirement-level) · ISO/IEC 27001:2022 (per-Annex-A-code, SoA discipline) · CIS Controls v8 (per-Safeguard; Implementation Group IG1/IG2/IG3 cumulative discipline) · GDPR Article 32 (sub-measure-level; Art. 32 infrastructure substrate only, NOT GDPR compliance) · NIST SP 800-171 Rev 2 (requirement-level for the matrix, SP 800-171A determination-statement level for evidence; examine-method evidence substrate for CMMC Level 2 preparation — never a CMMC certification and never a MET/NOT MET verdict). All via --compliance all, or any CSV subset via --compliance soc2,hipaa,nist-csf,pci-dss,iso-27001,cis-v8,gdpr,nist-800-171. No BAA with Nsasoft required for HIPAA — no scan data is ever sent to Nsasoft. |
| Security rules | ZDE, SSRF protection, redaction, scan authorization requirements |
| Error handling | License gates, SSRF blocks, timeout resolution, CPE format errors |
| Decision routing | When to use scan_host vs probe_service vs CLI vs get_vulnerabilities |
| Cloud-region scoping | The MCP scan_cloud regions argument — pass ["all"] (or a region-code list like ["us-east-1","eu-west-1"]) to audit every / specific AWS regions; omit it and the auditors that take their region from the client scan the server-configured AWS_REGION only, while the ones that enumerate their own region list (CloudTrail trail discovery, GuardDuty/Inspector, EC2 instances) still attempt every enabled region — pass ["all"] explicitly to extend every region-scoped check, mindful of the Desktop tool-call timeout. Mirrors the CE CLI --aws-region <one|csv|all> flag. |
Prerequisites
This package provides knowledge about NSAuditor AI. To actually run scans:
- Install NSAuditor AI:
npm install -g nsauditor-ai - Start MCP server: your agent starts
nsauditor-ai-mcp(a stdio server) itself, from the settings in step 3; run it by hand only withNSA_MCP_AUTH_KEYset (see the warning below) - Add MCP to your agent:
# Claude Code nsauditor-ai mcp install-key claude mcp add nsauditor-ai --env NSA_MCP_AUTH_KEY=<from: nsauditor-ai mcp install-key> -- nsauditor-ai-mcp # Claude Desktop (claude_desktop_config.json): paste the block `install-key` prints, which names # node and the server script by absolute path, and add NSA_ALLOW_ALL_HOSTS to its env { "mcpServers": { "nsauditor-ai": { "command": "<from: nsauditor-ai mcp install-key — the absolute path to node>", "args": ["<from: nsauditor-ai mcp install-key — the absolute path to bin/nsauditor-ai-mcp.mjs>"], "env": { "NSA_ALLOW_ALL_HOSTS": "1", "NSA_MCP_AUTH_KEY": "<from: nsauditor-ai mcp install-key>" } } } }NSA_ALLOW_ALL_HOSTS: "1"lets Claude scan your own network — private addresses such as192.168.x.xor10.x.x.x. It admits private ranges only (RFC 1918, CGNAT100.64/10,fc00::/7): the server still refuses loopback, link-local and cloud-metadata addresses in any spelling, whether written as the host or returned for a host name — every answer is checked. Only1,true,yesoronturn it on. From Community Edition 1.0.0 the scan connects to the answers the check resolved, so a name whose answer changes between the check and the scan (DNS rebinding) is not followed — except through an HTTP proxy set withNODE_USE_ENV_PROXY, which resolves the name itself, or over an idle connection opened earlier to the same name, for as long as it stays idle in the pool (a few seconds by default; a server's Keep-Alive hint holds it longer); an older Community Edition does not pin the answer. One exception, off by default: withDNS_AUDIT_AXFR_CHECKset, the DNS-security audit (060) opens TCP/53 to each of the scanned domain's nameservers, at addresses no host check resolved.install-keydoes not print it, so add it yourself, and remove it if you only scan public hosts.
⚠️
NSA_MCP_AUTH_KEYis REQUIRED — the server refuses to start without it. Generate one withnsauditor-ai mcp install-key, then put the SAME value in theenvblock above. Without it the MCP server exits at startup and the client shows the tools as unavailable. (NSA_MCP_AUTH_DISABLE=1exists as an escape hatch and warns on stderr; it is not the recommended path.)
Editions
| Edition | Price | Highlights |
|---|---|---|
| Community | Free / MIT | 27 plugins (service probes + host/network discovery + intelligence/meta), basic AI, SARIF, CTEM, scan history |
| Pro | $470/yr | + CVE matching, risk scoring, and intelligence-enriched AI prompts (CVE + MITRE ATT&CK context injected) |
| Enterprise | $2k+/yr | + 29 enterprise plugins (1020-1230 range) — 28 cloud-substrate auditors across AWS / Azure / GCP plus 1023 Zero Trust Assessment, which scores zero-trust posture from a NETWORK-host scan and does not run on a cloud pass, multi-framework evidence-pack (SOC 2 / HIPAA / NIST CSF 2.0 / PCI DSS v4.0.1 / ISO 27001:2022 / CIS Controls v8 / GDPR Art. 32 / NIST SP 800-171 Rev 2), SHA-256 chain-of-custody attestations, the suppression-approval CLI with opt-in Ed25519 signing (reachable from EE 0.35.0, proven 0.36.0, verified per approver holding key material), air-gapped operation (offline licensing + offline CVE matching) |
→ Pricing
Related
- nsauditor-ai — The scanner (Community Edition, MIT)
- @nsasoft/nsauditor-ai-ee — Pro/Enterprise features
- NSAuditor AI Docs — Full documentation
License
MIT — © 2024-present Nsasoft US LLC