nsauditor-ai 0.2.31 → 0.2.32
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/README.md +6 -6
- package/package.json +1 -1
- package/utils/capabilities.mjs +4 -6
package/README.md
CHANGED
|
@@ -17,6 +17,8 @@ NSAuditor AI is the open-source core of a privacy-first security intelligence pl
|
|
|
17
17
|
|
|
18
18
|
## What's New
|
|
19
19
|
|
|
20
|
+
**Cross-framework routing + capability-claim honesty pass (CE 0.2.32 / Enterprise 0.32.7).** Paired with Enterprise 0.32.7, a **matrix-neutral** release. The network-scan analysis agents' findings now route in **all seven compliance frameworks** — a host serving cleartext or exposing SMB previously failed the SOC 2 report and read clean in HIPAA / NIST CSF / ISO 27001 / CIS v8 / PCI / GDPR off the *same scan*; that gap is closed (48 mapping rules across the seven framework files, a mutation-proven drift guard, all coverage matrices byte-identical). And a **capability-claim honesty pass** withdraws several Pro/Enterprise capabilities that were advertised without a shipping implementation. **CE code change this cycle:** the tier-capability map (`utils/capabilities.mjs`) drops six flags — `verificationEngine`, `brandedReports`, `usageMetering`, `dockerIsolation` (no implementation) and `zdePolicyEngine`, `enterpriseCTEM` (real cores ship + are claimed in prose; no distinct engine behind the name) — in lockstep with Enterprise and both licensing repos, so `nsauditor-ai license --capabilities` and every minted license now name only capabilities that ship. `resolveCapabilities(tier)` derives from tier and ignores the JWT capability array, so **issued licenses are unaffected**. Plugin count UNCHANGED at 28; all seven coverage matrices UNCHANGED. See **[CHANGELOG.md](./CHANGELOG.md)** for the full per-release history.
|
|
21
|
+
|
|
20
22
|
**Network-scan false-negative closures on the analysis agents (CE 0.2.31 / Enterprise 0.32.6).** No CE code change this cycle — a paired bump for Enterprise 0.32.6, a **matrix-neutral** false-negative-hardening release on the EE analysis-agent (network-scan) path: **cleartext transport** is now flagged where before only weak-TLS-where-TLS-exists was — a service that should be encrypted but offers no TLS at all used to read clean (→ **SOC 2 CC6.7**); **SMB-alone** exposure is now its own **HIGH** finding rather than being silenced by an `SMB && RDP` conjunction — SMB without RDP is the higher-risk case (→ **CC6.6**); and **WinRM 5985/5986 · Elasticsearch 9300 · MSRPC 135 · a new aggregate open-port-count rule** are new exposure signals (→ **CC6.6**). Routed SOC 2-first with drift-detector coverage; **SOC 2 routing only this cycle — cross-framework mappings (HIPAA §164.312(e)(1) · CIS · NIST) deferred.** Plugin count UNCHANGED at 28; all seven coverage matrices UNCHANGED. See **[CHANGELOG.md](./CHANGELOG.md)** for the full per-release history.
|
|
21
23
|
|
|
22
24
|
**Marketplace registration in CLI help + report-quality / routing-integrity release (CE 0.2.30 / Enterprise 0.32.5).** CE now surfaces **AWS Marketplace license registration** in `--help` and in `nsauditor-ai license --status`, so a Marketplace buyer can find the registration step without leaving the CLI. Paired with Enterprise 0.32.5, a **matrix-neutral** report-quality release: nine API Gateway (plugin 1050) mapping rules matched zero findings — **eight were re-sourced, and the ninth (a HIPAA §164.312(c)(1) Integrity mapping) was removed on doctrine rather than repaired**, because a WAF integration that fails closed alters no ePHI. **Routing was never broken and no finding was ever missed**: correctly-sourced catch-all rules already failed the same controls, verified by ablation. The real defect was report **prose** — first-match-wins surfaced a **stale** auditor-facing rationale while the accurate per-class rationale sat unreachable. Also: six auditor-facing rationales in that API-Gateway cohort were rewritten (a **cohort fix, not a class fix** — other rationales across the framework files still carry internal-development-history wording), the JSON report artifact no longer serializes raw routing regexes or rule sources, **a genuine CI/CD false-clean was closed** (a `codebuild:ListProjects` AccessDenied was warning-only, and warnings route to zero controls, so CI/CD controls could read clean over an un-enumerated inventory — now fail-closed into the existing evidence gap), and three compliance guards were hardened (one had been suppressed by a factually false comment; another had silently become a tautology; a third adds an expected-unmapped equality table). Plugin count UNCHANGED at 28; all seven coverage matrices UNCHANGED.
|
|
@@ -31,14 +33,14 @@ NSAuditor AI is the open-source core of a privacy-first security intelligence pl
|
|
|
31
33
|
## What It Does
|
|
32
34
|
|
|
33
35
|
```
|
|
34
|
-
Scan →
|
|
36
|
+
Scan → Analyze → Prioritize → Track → Act
|
|
35
37
|
```
|
|
36
38
|
|
|
37
39
|
- **27 scanner plugins** probe networks across ICMP, TCP, UDP, HTTP, TLS, SNMP, DNS, SMB, RPC, mDNS, UPnP, WS-Discovery, MCP (Model Context Protocol), and more
|
|
38
40
|
- **Smart result fusion** — the Result Concluder merges all plugin outputs into a normalized view with OS detection, service fingerprinting, and evidence linking
|
|
39
41
|
- **Structured finding format** — all findings use a common schema with category, severity, evidence, and remediation — enabling consistent SARIF export and MCP integration
|
|
40
42
|
- **AI-powered analysis** — send redacted scan results to OpenAI or Claude (your keys, your choice) for vulnerability assessments and remediation guidance
|
|
41
|
-
- **
|
|
43
|
+
- **Risk-scored prioritization (Pro)** — findings carry a composite risk score (severity × exploitability × impact × exposure) and a status field, and an operator suppression workflow (accepted-risk / false-positive with expiry) keeps triaged findings out of the report until they expire
|
|
42
44
|
- **Continuous monitoring (CTEM)** — watch mode rescans on a schedule, diffs against previous results, and fires webhook alerts on changes
|
|
43
45
|
- **MCP integration** — expose scanning tools to AI assistants like Claude Code via Model Context Protocol
|
|
44
46
|
- **CI/CD ready** — SARIF output with `--fail-on` severity gating for pipeline integration
|
|
@@ -91,7 +93,6 @@ How Marketplace fulfillment works (ZDE and air-gap preserved — no runtime AWS
|
|
|
91
93
|
| CTEM watch mode | ✅ basic | ✅ advanced | ✅ advanced |
|
|
92
94
|
| **Pro features (vulnerability assessment)** | | | |
|
|
93
95
|
| CVE matching + MITRE ATT&CK mapping | — | ✅ | ✅ |
|
|
94
|
-
| Verified vulnerabilities (safe non-destructive probes) | — | ✅ | ✅ |
|
|
95
96
|
| Risk scoring + prioritization | — | ✅ | ✅ |
|
|
96
97
|
| Parallel analysis agents | — | ✅ | ✅ |
|
|
97
98
|
| **Enterprise — cloud scanning** | | | |
|
|
@@ -116,7 +117,6 @@ How Marketplace fulfillment works (ZDE and air-gap preserved — no runtime AWS
|
|
|
116
117
|
| **Enterprise — integration + deployment** | | | |
|
|
117
118
|
| GRC connectors — Vanta + Drata + Secureframe push (scan-time, opt-in) | — | — | ✅ |
|
|
118
119
|
| Tabletop simulation + SIEM correlation | — | — | ✅ |
|
|
119
|
-
| Docker per-scan isolation | — | — | ✅ |
|
|
120
120
|
| Air-gapped deployment | — | — | ✅ |
|
|
121
121
|
|
|
122
122
|
**This repository is the Community Edition** — fully functional, MIT-licensed, no restrictions, no telemetry. Pro and Enterprise features ship via the [`@nsasoft/nsauditor-ai-ee`](https://www.nsauditor.com/ai/pricing) package and install alongside the CE binary once licensed.
|
|
@@ -376,7 +376,7 @@ NSAuditor AI supports three AI providers for vulnerability analysis. **All provi
|
|
|
376
376
|
**What changes by tier is the prompt content, not the provider:**
|
|
377
377
|
|
|
378
378
|
- **CE** — basic scan-summary prompts (services, ports, versions detected). Local MITRE ATT&CK mapping via `utils/attack_map.mjs`: service-context-aware CVE→technique mapping (`mapCveToAttack`, `mapServiceToAttack`), plus a CWE→technique fallback (`cweToMitre`, `cwesToMitre`) covering ~30 common CWEs (auth, crypto, injection, memory safety, info disclosure, privilege escalation, web). The CWE fallback fires only when CVE-derived mapping returns no techniques — useful for findings annotated with `evidence.cwe[]` (per FindingSchema v0.1.13+) but no CVE context, such as agent-detected misconfigurations and compliance-flagged weaknesses
|
|
379
|
-
- **Pro** — intelligence-enriched prompts (CVE matches, MITRE
|
|
379
|
+
- **Pro** — intelligence-enriched prompts (CVE matches, MITRE ATT&CK technique annotations, composite risk scores injected into the prompt). Same API call, better-grounded output
|
|
380
380
|
- **Enterprise** — Pro prompts + compliance context
|
|
381
381
|
|
|
382
382
|
**Redaction:** Before any data reaches an AI API, the redaction pipeline masks IP addresses, MAC addresses, serial numbers, and configurable confidential keywords. Admin RAW reports retain full detail for internal review.
|
|
@@ -996,7 +996,7 @@ For the full technical architecture, see [ARCHITECTURE.md](docs/architecture.md)
|
|
|
996
996
|
|
|
997
997
|
**Tech stack:** Node.js 20+ · ES Modules (.mjs) · OpenAI + Anthropic SDKs · Node.js built-in test runner · MCP stdio transport
|
|
998
998
|
|
|
999
|
-
**Design patterns:** Factory (PluginManager.create) · Strategy (orchestrated/legacy execution) · Context (shared state) · Adapter (plugin conclude()) · Guard Clause (requirement gating) · Capability gating (CE/Pro/EE) · Semaphore (concurrency control) · Delta (scan history diff) · Boundary Guard (SSRF/injection protection) · Finding Queue (structured intermediate format) · Parallel Agents (concurrent specialized analysis)
|
|
999
|
+
**Design patterns:** Factory (PluginManager.create) · Strategy (orchestrated/legacy execution) · Context (shared state) · Adapter (plugin conclude()) · Guard Clause (requirement gating) · Capability gating (CE/Pro/EE) · Semaphore (concurrency control) · Delta (scan history diff) · Boundary Guard (SSRF/injection protection) · Finding Queue (structured intermediate format) · Parallel Agents (concurrent specialized analysis)
|
|
1000
1000
|
|
|
1001
1001
|
---
|
|
1002
1002
|
|
package/package.json
CHANGED
package/utils/capabilities.mjs
CHANGED
|
@@ -14,23 +14,21 @@ export const CAPABILITIES = {
|
|
|
14
14
|
riskScoring: { tier: 'pro' },
|
|
15
15
|
proAI: { tier: 'pro' },
|
|
16
16
|
analysisAgents: { tier: 'pro' },
|
|
17
|
-
verificationEngine: { tier: 'pro' },
|
|
18
17
|
advancedCTEM: { tier: 'pro' },
|
|
19
18
|
enhancedRedaction: { tier: 'pro' },
|
|
20
19
|
proMCP: { tier: 'pro' },
|
|
21
20
|
pdfExport: { tier: 'pro' },
|
|
22
|
-
brandedReports: { tier: 'pro' },
|
|
23
21
|
|
|
24
22
|
// Enterprise
|
|
25
23
|
cloudScanners: { tier: 'enterprise' },
|
|
26
24
|
zeroTrust: { tier: 'enterprise' },
|
|
27
25
|
complianceEngine: { tier: 'enterprise' },
|
|
28
|
-
zdePolicyEngine: { tier: 'enterprise' },
|
|
29
|
-
enterpriseCTEM: { tier: 'enterprise' },
|
|
30
26
|
enterpriseMCP: { tier: 'enterprise' },
|
|
31
|
-
usageMetering: { tier: 'enterprise' },
|
|
32
27
|
airGapped: { tier: 'enterprise' },
|
|
33
|
-
|
|
28
|
+
// Removed 2026-07-21 (capability claim audit): verificationEngine / brandedReports /
|
|
29
|
+
// usageMetering / dockerIsolation (no implementation) + zdePolicyEngine / enterpriseCTEM
|
|
30
|
+
// (real cores ship + are claimed in prose; no distinct engine/datastore behind the flag).
|
|
31
|
+
// Keep in lockstep with EE index.mjs EE_CAPABILITIES + license-manager keygen.mjs.
|
|
34
32
|
};
|
|
35
33
|
|
|
36
34
|
const TIER_CAPS = {
|