# zn

> The security work of Anghabar: open prompt-injection detection models, zn-gate, a local security layer for coding agents, and an open evaluation corpus. The product is at usezn.com.

zn is the security work of Anghabar: models that detect prompt injection, a local security layer for coding agents, and the evaluation material behind both. The product is at [usezn.com](https://usezn.com/?utm_source=anghabar&utm_medium=site&utm_campaign=zn).

## zn-gate

The local security layer for coding agents. It guards your secrets, your data and your systems while you use Claude Code, Codex CLI, Cursor, OpenCode, Antigravity or the ZCode desktop app. MIT licence, published on npm and PyPI as `zn-gate`. No account, nothing sent by default.

Start with `npx -y zn-gate init`.

- [Source on GitHub](https://github.com/usezn/zn)
- [npm](https://www.npmjs.com/package/zn-gate)
- [PyPI](https://pypi.org/project/zn-gate/)

## The zn API

The zn API runs deterministic rules and then the Galvanize detector. Galvanize 3.1 is its default detector. Documentation and keys are at [usezn.com](https://usezn.com/docs/?utm_source=anghabar&utm_medium=site&utm_campaign=zn).

## Models

Four open prompt-injection classifiers, all under Apache-2.0. Galvanize 3.1 is the current one. See the [models](https://anghabar.com/zn/models.md).

## Research

A public evaluation corpus and the way we report results. See [zn research](https://anghabar.com/zn/research.md).

## Limits

A classifier can be evaded. Use these models as one layer among several, not as the only control in front of an irreversible action.
