Skip to main content Switch to mobile version aicordon 1.4.1 Prompt-injection detectors for untrusted text: Picket, a fast local rule, and Intent, the accurate AI Cordon detector over an API
pip install aicordon==1.4.1 Copy PIP instructions
Find prompt injections in the text your model reads: mail, pages, tool results, retrieved chunks.
Two detectors with the same Python API and CLI.
Picket: bulk scanning, ingest pipelines, mail gateways, offline use. Intent: where a missed injection is expensive. They can be combined: Picket on everything, Intent on what matters.
$ pip install aicordon $ aicordon picket scan letter.txt # local, works right away $ aicordon login # once: stores the Intent API key $ aicordon intent scan letter.txt from aicordon import picket, intent fast = picket.load() full = intent.load() # key: api_key=..., INOLA_API_KEY, or `aicordon login` for det in (fast, full): rep = det.check(text) if rep.flagged: for f in rep.findings: print(det.title, f.threat, text[f.span[0]:f.span[1]]) A report lists findings with their positions. No findings does not mean no injection.
Both on the same five texts
python examples/compare.py runs both over examples/texts:
text Picket (local rule) Intent (API) 01-obvious-email.txt alarm IPI/Secret.Reveal.C alarm score 0.98 02-support-ticket.txt — alarm score 0.98 03-release-notes.html — alarm score 0.99 04-warning-question.txt — — score 0.40 05-quarterly-report.txt — — score 0.11 Both flag 01. Texts 02 and 03 contain no known phrasing, so only Intent flags them. Text 04 is an ordinary question that contains "ignore" and "previous instructions"; neither detector flags it.
Apache License 2.0 (LICENSE), including the Picket rule base. Contributions are accepted under the DCO: sign off your commits with git commit -s.
Get an Intent key at inola.ai. AI Cordon is now Inola: Intent runs on the Inola API (api.inola.ai), and the package name stays aicordon.
Released: Nov 28, 2026
Author: Mikhail Gribov
Apache-2.0 View SPDX License List
ai-security detector dpi guardrails indirect-prompt-injection ipi jailbreak-detection llm-security prompt-injection
Development Status 5 - Production/Stable
Intended Audience Developers
Programming Language Python :: 3
Release files for aicordon 1.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 1.9 MB
Release files / aicordon-1.4.1.tar.gz
Release files / aicordon-1.4.1-py3-none-any.whl
Security for aicordon 1.4.1
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Release history Release notifications | RSS feed
Nov 28, 2026 2 release files No provenance
Oct 14, 2026 2 release files No provenance
Sep 30, 2026 2 release files No provenance
Sep 10, 2026 2 release files No provenance
Aug 26, 2026 2 release files No provenance
Aug 21, 2026 2 release files No provenance
Aug 18, 2026 2 release files No provenance
Aug 13, 2026 2 release files No provenance
Aug 10, 2026 2 release files No provenance
Aug 2, 2026 2 release files No provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation
Deployed from fc0d8e6











