Repository navigation
feat(mcp-gateway): runtime gateway flavor — adopt pipelock, alert-only by default (Milestone B) - #4
Merged
Merged
Conversation
Wrap pipelock (adopted, Apache-2.0, pinned by digest) as a local MCP firewall that completes the
ladder scan -> detonate -> enforce. Alert-only by default (observe/warn); enforce (block) is opt-in
via config/gateway.enforce.yaml. Runs on any OCI runtime (docker -> podman -> wslc) via gateway.sh,
no Docker Desktop required.
- agents/mcp-gateway/{README, compose.yml, gateway.sh, config/{observe,enforce}.yaml}
- both policies validate against the pinned pipelock 3.0.0 (config schema is version-coupled -> the
digest pin); gateway.sh verified end-to-end (validate + content-aware AWS-key block).
- ADR-0007 records the decisions (adopt-not-build, the compiler is the ownable layer, alert-only
default). README flavor table + status updated.
The assess->enforce compiler (assessment.json -> policy) + the enforce-mode CI proof-fixture are
Milestone C.
garymike
added a commit
that referenced
this pull request
Sep 8, 2026
Same correction as garymike/security-workflows#65. The example said SkillSpector "advises only, no fail-on mode." It is not advisory: it gates on exit code, exit 1 above a risk_score of 50, and it blocks the same payload class in a .test.ts carrier at 73/100. It clears this example's .husky/pre-commit carrier at 28/100, measured here on the digest-pinned image, because it classifies a git hook as non-executable. The outcome the example asserts was right; the reason given for it was not. verify.sh's assertion is unchanged and still passes (exit 0). Only its rationale and its check-2 label were wrong. Both halves of the coverage gap are pinned upstream in security-workflows tests/gate-proof.sh #4. Co-authored-by: Claude Opus 5 <[email protected]>
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.
What
The runtime tier that completes the ladder scan → detonate → enforce (ADR-0007). A new
mcp-gatewayflavor wraps pipelock — an adopted, Apache-2.0, CNCF-Landscape, signed MCP firewall — pinned by digest, as a local proxy on the MCP JSON-RPC stream.config/gateway.observe.yaml,action: warn) — findings are recorded (signed receipts), not blocked; enforce (config/gateway.enforce.yaml,action: block) is opt-in.gateway.sh(docker → podman → wslc, health-checked) — no Docker Desktop required, off one digest-pinned image. Same runtime-agnostic approach as security-workflowsbin/skill-gate.Verified
Both policies validate against the pinned
pipelock:3.0.0@sha256:49b6ee…(config schema is version-coupled → the digest pin).gateway.shruns end-to-end on the auto-selected runtime:Config validation: OK, and a leaked AWS key →BLOCKED (core DLP). No Docker on the box — ran via podman/wslc.Scope
This is Milestone B (wrap the engine). Milestone C adds the assess→enforce compiler (
mcp-reviewerassessment.json→ policy, every rule traceable to a finding) + an enforce-mode CI proof-fixture asserting review-flagged X → generated policy blocks X, plus the neutral policy-contract spec.