Independent AI security research

AI security.
Red teaming in practice.

AI red teaming and LLM security research by Pradyoth Prashanth. I investigate Jack and Jill AI and other AI systems for prompt injection, agent tool misuse, data leakage and memory manipulation. Each case separates demonstrated behavior, vendor responses and testing limits.

12Case studies
23Public evidence records
4Merged upstream PRs

The evidence

Claims you can inspect.

Original captures, selected source records, and clear scope. Expand a case, then its evidence.

Severity and CVSS are researcher assessments. Vendor responses and evidence limits are recorded per case. Studies and observations are excluded from vulnerability counts.

Featured case · Jack and Jill AI security research

Jack and Jill AI.
An offer I never applied for.

A hiring agent gave me a Founding Engineer offer I never applied for — then put it in writing over email.

9C / 6H / 5M14 original reported findings

Original vulnerability confirmed by the founder · May 2026

The £100,000 offer

The agent presents an offer for a role I had not applied to. This is a chat claim, not a real employment contract.

May 2026 · 01-jack-announces-100k-offer.png
The claim leaves the chat

An email received from jack@jackandjill.ai repeats the fabricated terms. The email delivery is real. The job and sponsorship claims are not validated.

May 28, 2026 · Offer email capture
Full transcripts and reproduction on request.ppradyoth64@gmail.com

AI Security Work

Contributing to the tools
that secure AI.

I contribute fixes to NVIDIA garak, Promptfoo, and Presidio, and build tools for adversarial testing, credential protection, and risk evaluation.

Open-source contributions

4 merged8 open

Status checked · View on GitHub ↗

More upstream work

AI security tools I build.

Inspect the model. Test the agent. Control the action. The hosted KnowYourAI platform and the knowyourai CLI are two distinct entry points into that work.

Hosted AI security platform

Hosted · bring your own key

KnowYourAI.live

I built a hosted platform for adversarial AI testing and intent-based request enforcement. IntentScan tests an endpoint’s declared boundaries. IntentEnforce applies policy before a request reaches the model.

  • An LLM judge grades capability, role and domain violations into a 0–100 risk report.
  • Allow, block or clarify policies, with scan history and PDF reports.
  • Python and FastAPI, React and TypeScript, on Firebase.

Scope. Hosted workflows require sign-in and your own model-provider key.

Open-weight model inspection

Alpha · published on PyPI

knowyourai

Inspect model headers, metadata and chat templates without running a model. A dependency-free CLI for reviewing the files you download and detecting changes after approval.

uvx knowyourai scan
  • Discover models in Hugging Face, Ollama and LM Studio. Inspect GGUF and safetensors headers.
  • Enable online checks to compare declared metadata and templates with registry records.
  • Pin revisions and digests in ai.lock, then use check as a CI gate.
  • Field result: of the 200 most-downloaded GGUF repos on Hugging Face (Oct 2026), 128 ship a chat template comparable with the declared base model, and 61 of those (48%) differ. Most are deliberate quantizer fixes, which is why the check flags for review instead of failing.

Scope. Metadata consistency and integrity checks. Findings require review and do not establish that a model is safe.

Agent action authorization

Alpha · published on PyPI

Railproof

A deterministic security contract in front of agent tool calls. Checks the complete action, principal, provenance, approvals and session budgets before execution.

  • Deny-by-default policies and one-time approvals bound to the exact action.
  • Adapters for OpenAI function calls and MCP tools/call.
  • The repo benchmark scores 10/10 on its declared requirements against 5/10 for NeMo Guardrails 0.24.0's built-in tool-call validator. A narrow comparison against one rail, not a replacement claim.

Scope. Requires integration at the tool-execution boundary.

Adversarial agent evaluation

Open benchmark · Apache-2.0

AgentInjectionBench

A benchmark for prompt injection against agentic tool-use and MCP-style pipelines. 142 attack cases across 7 categories and 40 matched benign controls make unsafe tool calls measurable and repeatable.

  • Per-case tool calls and arguments in inspectable traces.
  • Dataset fingerprints keep before-and-after runs tied to the same cases.

LLM security measurement

SSRN preprint · sole author

Weighted Safety Refusal

A severity-weighted, dual-axis refusal metric that accounts for harmful-request refusal and benign compliance. The paper studies how flat averages hide the failures that matter.

  • In the reported Llama 3.3 70B pilot, the flat average was 0.800 while WSR was 0.730. Prompt injection drove the gap.
  • The June 2026 preprint presents the metric and its gaming-resistance proof.

Agent configuration security

Open-source static scanner

agentscan

Find permission bypasses, risky MCP servers, broad tool grants, auto-run hooks and hardcoded keys in the configuration files that control a coding agent.

Scope. Static analysis of files on disk. Runs offline without model API calls.

Agent supply-chain inspection

Open-source signal scanner

Agent Supply Chain Guard

Scan skills, MCP manifests, plugins and READMEs for hidden instructions, process-execution references, credentials, wildcard permissions and invisible Unicode controls before an agent consumes them.

Scope. Conservative signals for human review, with local scanning and CI integration.

Coding-agent credential protection

Upstream proposal

Credential Guard

A guardrail proposed to Claude Code that intercepts tool calls and blocks credential writes before they reach disk. Covers more than 20 secret-pattern families, including API keys, private keys and database URLs.

  • Context guards, fixture allowlists and redacted warnings with remediation.
  • 35 unit tests in the proposal, including behavior under bypass-permissions mode.
More focused tooling 2 tools

Guardrail integration linting

Open-source Python linter

jev-guard

Flags insecure use of Jev / TypeSafe guardrails: missing thresholds, untrusted state, dangerous tools without a guardrail and decisions with no abstain or escalation path.

Scope. Build-time analysis of Python source. It does not execute the model.

Agent judgment under ambiguity

Harness · reference runs

YOLOBench

A sandboxed benchmark for whether a coding agent asks before acting on ambiguous or destructive-adjacent resources. Nine scenarios use mocked infrastructure and deterministic scoring.

Scope. Published results currently use a scripted reference backend. Real-agent evaluation remains pending.

Explore the complete KnowYourAI tool catalogue

Security education

Open-source training lab

Prompt Injection CTF

A red-teaming playground I built and open-sourced (ppradyoth/prompt-injection-ctf): 46 missions across two tracks, 16 challenges covering all 10 OWASP LLM Top 10 (2025) risks and 30 agentic missions covering the OWASP Agentic Top 10 (2026), with a defender mode that reveals the guardrail code behind each attack. Unprompted, an AI engineer at Apiiro (Shmulik Cohen) froze 11 of its system prompts as the fixtures for a nine-model experiment in August 2026 — 18 attacks, three runs each, 486 attempts, published with code and data and crediting the CTF by name.

  • GPT-3.5 fell 54/54; GPT-5.6 Sol dropped to 6/54 — real progress
  • But two of the CTF's attacks still landed on every attempt against the newest model, with poisoned documents driving SQL and command injection
  • Newer models learned to rank what they trust; they still have no wall between instructions and data

Publications & independent use

Research beyond the test.

Weighted Safety Refusal (WSR): A Reference-free, Severity-weighted, Dual-axis Metric for Evaluating LLM Refusal Behavior

SSRN preprint · June 2026 · Sole author

Flat refusal averages hide the failures that matter. WSR weights refusals by severity across two axes and is gaming-resistant by proof — in the pilot, Llama 3.3 70B scores 0.800 flat but 0.730 under WSR, and the gap is prompt injection.

Analyzing the Difficulties in Major Applications of Augmented Reality

BIBLUS — National Level Paper Presentation, NIE IEEE Student Branch · 2021 · II prize

The Prompt Injection CTF was adopted by an Apiiro engineer for a published 9-model study. Credential Guard is an upstream proposal. The original Jack & Jill vulnerability was confirmed by its founder.

All work here was performed independently, on personal time, equipment, and accounts, outside and unrelated to employment. It uses no employer systems, data, or resources and does not represent any employer's views. Disclosure history and evidence limits are recorded per case. Public exhibits omit attack payloads and sensitive source material. Full reproduction is available on request.