iampantherr/SecureContext
7 stars · Last commit 2026-05-28
Secure memory & context optimization MCP plugin for Claude Code. Drop-in replacement for context-mode with credential isolation, SSRF protection, MemGPT-style persistent memory, and hybrid BM25+vector search. 84 security tests, zero cloud sync.
README preview
# SecureContext > **The security and memory layer for Claude Code.** Persistent memory that survives restarts, cryptographic audit trail for every tool call, and the only HMAC-verified admission gate for Anthropic-style filesystem skills. Runs locally on PostgreSQL — zero cloud sync, MIT-licensed. [](package.json) [](src) [](security-tests) [](https://github.com/iampantherr/SecureContext/actions) [](LICENSE) [](package.json) > ⚠️ **Note on the "SafeSkill 20/100 Blocked" PR comment:** that score is a false positive from a regex-based scanner that doesn't understand the difference between *defending against* a pattern and *using* it. See [SAFESKILL_RESPONSE.md](SAFESKILL_RESPONSE.md) for the line-by-line refutation. The actual project has 786 passing tests including 60+ red-team attack IDs verified against a real threat model. --- ## What SecureContext does for you If you use Claude Code regularly, you've already hit these walls: 1. **Context window resets.** Every new session you re-paste the same files, re-explain the same decisions, re-discover the same gotchas. You're paying tokens for the same orientation work over and over.