Dev finds 6 plaintext tokens in MCP configs, open-sources a read-only linter
Defiant-Republic-606 · reddit · 2026-11-19
A developer scanned his own MCP configs and found 6 tokens sitting in plaintext in /.claude.json, then wrote a read-only, local-only config linter (single Python file, stdlib only, MIT, no network).
Checks include:
- Literal tokens in env, headers, args (masked in output)
- Unpinned npx/uvx/pipx packages, untagged container images, --privileged, Docker socket mounts
- Filesystem servers rooted at / or home directory
- Remote servers over plain http://
- Servers running shell commands that bypass the client's Bash allow/deny rules
- enableAllProjectMcpServers, letting a cloned repo's .mcp.json start servers unreviewed
It reads .mcp.json, .cursor/mcp.json, .vscode/mcp.json, /.claude.json and Claude Desktop configs, complementing tools like mcp-scan. The author built it with Claude Code.
More from coding & agent
- MemSkill: Memory Skills Learned with LLaMA Transfer to Qwen Without Retraining — jiqizhixin · 2026-11-19
- Honcho Launches Dream Histories to Inspect How Its Memory System 'Dreams' About Users — Scobleizer · 2026-11-19
- Six-year PKM coach: a markdown dump folder isn't a second brain — build a schema.md for your agent — evielync · 2026-11-19
- FrontierRSI benchmark: Claude Opus 5.5 leads at 34.3%, GPT-6 models trail by ~10 points — nathanbenaich · 2026-11-19
- RL-tuned Qwen3.8-27B for opencode hits Mac via MLX at 156 tok/s on M5 Max — yb2698 · 2026-11-19
- Elon Musk praises Google's Neon 3D-modeling a photorealistic lab via Blender MCP in Antigravity — elonmusk · 2026-11-19