Skip to content
Proyek

Tentang

Free, open tools to learn how AI apps get attacked, test a guard on your own data and check what a security test result can prove. EN/RU academy, Guard Lab, eval-bounds. Live protection: spectorn.ai

Keamanan dan privasi

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
0
dalam 15 hari
+1
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

AISecurity

Free, open tools to learn how AI applications get attacked, test a guard on your own data, and check what a security test result can actually prove. Academy in English and Russian.

Protecting a live application? Spectorn is the maintained product from the same team.

AISecurity — Understand the attack. Build the defense. Learn, inspect, evaluate.

CI eval-bounds License

Start with what you need

You want to Start here What it takes
Understand prompt injection, RAG, agent and memory attacks Academy in English · Академия на русском A browser
Decide whether an agent may act on content it retrieved 60-second decision room One minute
Know whether «none of 50 attacks got through» proves anything eval-bounds One command, Python only
Measure a guard on your own labelled prompts Guard Lab Linux x86-64, Python 3.11
Protect a live application Spectorn The maintained product

Try it now

$ python3 tools/eval-bounds/rate_bounds.py claim 0 50 --tau 0.01
0/50 = 0.0000%; one-sided 95% bounds [0.0000%, 5.8155%]; tau 1.0000%: INCONCLUSIVE (with no event, 299 independent trials reach tau)

Fifty clean runs are compatible with a 5.8% bypass rate. Before anyone quotes «blocks 99%», ask how many independent attacks stood behind it. eval-bounds gives the exact bound, the sample size a claim needs, and a paired test for «did the fix help».

Sentinel Lattice

An optical lattice lets a cyan beam pass while an amber beam stops at the mesh.

One extra email address changes the whole action. A support agent can read a private ticket and email its owner a summary. Just before sending, an outside mailbox appears on the CC line. The message is the same. Who authorized the second copy?

Sentinel Lattice follows that decision to the mail adapter, where the system can still hold the message. The paper shows how to check the data, the final recipients and the user's grant, then test what actually reached a mailbox. A “blocked” entry in a log can’t settle that last question.

Read the two-page paper (PDF) → · Design notes and TeX source

Learn the failure modes

AI security is the boundary between untrusted content, model behavior, tools, memory and the actions an application can take. The academy walks it from prompt injection and the OWASP lists to agent loops, tool permissions, RAG, detection engineering and research, with exercises beside the source.

Boundary English Русский
Instructions hidden in data Prompt injection Prompt injection
Documents retrieved into context RAG security Безопасность RAG
Model output becoming an action Tool-using agents Агенты с инструментами
Context stored for future use Agent memory Память агентов

Hands-on labs · Agent action evaluation checklist

Test a guard on your own data

Guard Lab takes labelled JSONL and reports misses, false positives and execution failures separately. Reports omit input text, text hashes and matched excerpts, and an error never quietly becomes a benign prediction. No account, API key or GPU; after installation, evaluations stay on your machine.

guard-lab --demo

The demo checks the plumbing on four synthetic inputs; it is not a benchmark. Replace it with your own labelled prompts and read coverage and errors alongside the confusion counts. Guard Lab uses eight public pattern engines, not current Spectorn engines. Install and run →

Protect a live application

Spectorn is the maintained protection layer from the same team. It sits around prompts, model responses and agent actions, decides on every request, and records each verdict in a content-free audit. Choose your region on the site to see the current protection scope and access options.

This repository is not a download of the commercial platform, its private corpora or its current detectors. It is where we teach the problem and publish the tools to check anyone's claims about it, ours included.

Open Spectorn →

What is in this repository

Part Status
Academy, English and Russian Maintained
eval-bounds New, maintained, tested in CI
Guard Lab Maintained
Public core 2.0.1 Frozen legacy snapshot; 48 authored regression cases, not a detection benchmark
Engine catalogue, research notes, older articles Historical; earlier figures are not current performance claims
Scope, provenance and safe use
  • Guard Lab evaluates inputs through the pinned, already-public EngineRegistry.analyze_patterns endpoint. It is not a hosted gateway, an output guard or an evaluation of the full legacy engine catalogue.
  • The native worker has process and resource limits; it is not a sandbox for untrusted native code. Read the full contract.
  • Older detection percentages, performance comparisons and installation routes in the archive have not been revalidated. Treat them as historical reports.
  • Use labs and red-team tools only on systems you own or are explicitly authorized to test. Do not post real secrets, customer prompts or private corpora in issues.
  • Earlier Syntrex-era material and the GoMCP organization remain discoverable for historical context.

Contribute

Useful contributions are concrete: a clearer lesson, a reproducible installation bug, an incorrect number, or a minimal synthetic test case. Say what you expected, what happened and the smallest safe example that reproduces it. Start with the contribution guide and open an issue.

Documentation · Security reports · Code of conduct · How to cite · License

Jelajahi proyek terkait

Memuat…