Repository navigation
Phase 1: MCP firewall adapter, audit, AgentBOM, CI action, API - #3
Merged
Merged
Conversation
Wire PR #2 primitives into adapter, pin registry, policy, audit pipeline, AgentBOM, JWT /api/mcp routes, GitHub Action, and docs. Ship PHASE1_GAPS.md for maintainer follow-ups (no GitHub issues created). Co-authored-by: New World Coder <new-world-coder@users.noreply.github.com>
new-world-coder
marked this pull request as ready for review
August 11, 2026 11:48
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
Completes Phase 1 — MCP & Tool Firewall per
docs/PHASE1_HANDOFF.md, reusing PR #2 primitives (pin/scan/allowlist) without rewriting them.python/agentshield/mcp/adapter.pypython/agentshield/mcp/registry.pypython/agentshield/mcp/audit.py+ CLImcp auditpython/agentshield/mcp/policy.pyserver/routes/mcp.js,server/services/mcp/*python/agentshield/bom/agentbom.py.github/actions/mcp-audit, example workflowdocs/MCP_SECURITY.md, API/README/STRATEGYdocs/PHASE1_GAPS.mdTest plan
cd python && pip install -e ".[dev]" && pytest— 29 passedcd server && npm run test:assure— 13 passed (Assure + MCP)agentshield mcp audit --tools examples/tools_poisoned.json --policy examples/policy.yaml --ignore-unpinned --sarif /tmp/mcp.sarif --fail-on-severity high— exits non-zero (Critical), SARIF + AgentBOM producedNotes
docs/PHASE1_GAPS.mdfor maintainers to issue after merge.workflow_dispatchonly so poisoned fixtures do not break default CI.