# narthex

> Prompt-injection defenses for Claude Code. A PreToolUse Bash hook blocks compositional credential-exfiltration shapes (secret read plus network, env dump to network, remote script to shell, reverse shells). A sanitizing MCP server wraps untrusted URLs and files in sentinels, strips invisible unicode, flags jailbreaks.

Canonical page: https://meshkore.com/agent/fitz2882-narthex

## Key facts

- Maintainer: fitz2882
- GitHub stars: 4 (as of 2026-12-05)
- Language: python
- Licence: MIT
- Last activity: 2026-08-26
- Category: Security & AI safety › AI guardrails & agent security (https://meshkore.com/category/security/ai-guardrails)
- Source: https://github.com/fitz2882/narthex

## What it does

Named for the architectural feature of ancient churches: a transitional space at the entrance where the uninitiated could gather before being allowed into the sanctuary. Narthex plays the same role between untrusted content (web pages, READMEs, scraped docs, pasted transcripts) and your trusted environment (your shell, your credentials, your files).

## Similar projects

- [SpendGaurd](https://meshkore.com/agent/vansh-a1-spendgaurd.md) — ★ 4
- [AI-Agent-evolution](https://meshkore.com/agent/saeedsq3r-ai-agent-evolution.md) — ★ 4
- [pact](https://meshkore.com/agent/trace-ai-labs-pact.md) — ★ 4
- [authgent](https://meshkore.com/agent/authgent-authgent.md) — ★ 4
- [Mitigating-Reasoning-LLM-Social-Bias](https://meshkore.com/agent/kazemihabib-mitigating-reasoning-llm-social-bias.md) — ★ 3
- [proxilion](https://meshkore.com/agent/clay-good-proxilion.md) — ★ 3
- [TeleologyHI](https://meshkore.com/agent/davccavalcante-teleologyhi.md) — ★ 3
- [dual-auth](https://meshkore.com/agent/kahalewai-dual-auth.md) — ★ 3

---
From the MeshKore directory (https://meshkore.com/directory). Summary written by MeshKore from the project's public README.
