This release includes 9 security fixes for security teams reviewing exposed deployments.
Topics
+14 more
Affected surfaces
Summary
AI summaryFull defense against the MCP STDIO vulnerability is now enabled by default in aegis-mcp-proxy.
Full changelog
What's New
MCP STDIO Injection Protection (NEW)
- Full defense against the OX Security MCP STDIO vulnerability (2026-04-15)
- 3-layer protection: content scanning, frame validation, unified guard
- Detects JSON-RPC injection, unicode escape bypass, double-encoded payloads, frame concatenation
- Integrated into
aegis-mcp-proxy(enabled by default)
Comprehensive Security Audit Fixes (15+ issues)
HIGH:
ArgumentSanitizer: NFKC normalize before pattern matching (unicode bypass)mcp_proxy: reject oversized tool arguments (1MB DoS limit)patch_openai: warn whenstream=True(output guardrails ineffective)AuditLogger: addthreading.Lockfor SQLite thread safetyCryptoAuditChain:hmac.compare_digestfor timing-safe hash comparisonserver/app: mandatory API key auth +AEGIS_ADMIN_KEYfor policy updates
MEDIUM:
InjectionGuardrail: skip LRU cache for >50KB content (memory exhaustion)PIIGuardrail: never store full credit card number inmatched_textPIIGuardrail: NFKC normalization (fullwidth digit evasion)PIIGuardrail: detect dashless SSN and 주민등록번호 with keyword contextRugPullDetector: atomic write for pin store (TOCTOU prevention)
Stats
- 6,227 tests passing
- 11 files changed, 224 insertions, 43 deletions
Upgrade
pip install --upgrade agent-aegis
Full Changelog: https://github.com/Acacian/aegis/compare/v0.9.4...v0.9.5
Security Fixes
- ArgumentSanitizer now NFKC normalizes before pattern matching to prevent unicode bypass
- mcp_proxy rejects oversized tool arguments (>1MB) preventing DoS
- patch_openai adds warning when stream=True due to ineffective guardrails
- AuditLogger uses threading.Lock for SQLite thread safety
- CryptoAuditChain employs hmac.compare_digest for timing‑safe hash comparison
- server/app enforces mandatory API key auth and AEGIS_ADMIN_KEY for policy updates
- InjectionGuardrail skips LRU cache for content >50KB to avoid memory exhaustion
- PIIGuardrail no longer stores full credit card numbers in matched_text, adds NFKC normalization, detects dashless SSN/주민등록번호 via keyword context
- RugPullDetector performs atomic write for pin store preventing TOCTOU
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About Acacian/aegis
Policy-based governance for AI agent tool calls. YAML policies, approval gates, risk assessment, and audit logging. Cross-platform: LangChain, OpenAI, Anthropic, MCP.
Related context
Beta — feedback welcome: [email protected]