ContextDuty: open-source local-first firewall stops secrets and PII from reaching AI coding tools
Interesting_Big_8974 · reddit · 2026-11-21
ContextDuty is a new MIT-licensed, local-first security layer that prevents secrets and PII from leaking into AI coding assistants, MCP servers and LLM APIs before code is ever committed. Features include Microsoft Presidio-based PII/secret detection, AI-tool-specific IDE ignore files, Git pre-commit and CI/CD scanning, a local HTTPS proxy for AI API traffic, an MCP server that sanitizes tool results before they enter model context, and policy-based blocking, warning and redaction. The author is soliciting feedback from AI infra, MCP, agent-framework and DevSecOps practitioners.
More from coding & agent
- JetBrains Air runs Claude Code on your existing Claude Pro/Max plan, no extra subscription — kimmonismus · 2026-11-22
- Diplomat's 'second brain' rebuilt in Claude Duet: curated wiki, one skill, no servers — bytebot · 2026-11-21
- Indie dev spins up 4th side project with an agent swarm: astronomy escape room — jacalulu · 2026-11-21
- Veteran dev revives decade-old iOS game ideas with Gemini 4 — aziz4ai · 2026-11-21
- Open-source Mac menu bar app Tally warns you before hitting Claude usage limits — Raijin0101 · 2026-11-21
- React Native demo: crumple rows into paper balls to delete, via Skia + TypeGPU — Vjeux · 2026-11-21