feat: Audit mode with FP reduction for automated MCP auditing#215
Open
bryan-anthropic wants to merge 3 commits intomainfrom
Open
feat: Audit mode with FP reduction for automated MCP auditing#215bryan-anthropic wants to merge 3 commits intomainfrom
bryan-anthropic wants to merge 3 commits intomainfrom
Conversation
…uditing - Skip calculator injection tests on non-calculator tools (major FP reduction) - Skip path traversal tests on HTTP/SSE transport (no filesystem to traverse) - Add transportType to AssessmentContext for transport-aware security testing - Add vulnerableHighConfidence and toolCategory fields to SecurityTestResult - Add auditAnalysis to SecurityAssessment with pre-computed FP likelihood - Add --audit-mode flag to CLI (runs only high-value modules) - Add auditSummary to JSON output with recommendedAction for automation - Fix stale pattern counts: 17/18 -> 13 in CLI help text and configs Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Fix CLAUDE.md test counts (464 -> 696 total, 669 passing, 27 timeouts) - Fix security pattern counts across docs: 17/18 -> 13 patterns - Archive 6 orphan implementation plan docs to docs/archive/ - Replace mcp_spec_06-2025.md with mcp_spec_11-2025.md (latest spec) - Add MCP spec reference link to CLAUDE.md Feature Documentation - Fix pattern count in REVIEWER_QUICK_START.md (18 -> 13) - Fix comment in securityPatternFactory.ts (17 -> 13) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--audit-modeCLI flag — runs only high-value modules (Functionality, Security, ErrorHandling, MCPSpecCompliance, ToolAnnotations), skips low-signal modulesvulnerableHighConfidence,toolCategory,auditAnalysiswith pre-computed FP likelihood and response uniformity per toolauditSummaryin JSON output withrecommendedAction(APPROVE/REVIEW/REJECT) for automationContext
The mcp-auditor's Layer 1.5 (
--with-audit) runs this inspector as Stage A against plugin MCP servers. E2E testing showed significant false positives (game-dev-mcp: 28 FPs, neural-memory: ~50% FPs). These changes reduce noise at the source.Test plan
npx tsc --noEmit -p client/tsconfig.json)npm run prettier-fix)mcp-assess-full --audit-modeagainst a test serverNote
This branch is based on v1.7.1. Main has advanced to v1.43.2 — rebase needed before merge.
Generated with Claude Code