Agent skill

Test AI Prompt Injection

by cyberful in cyberful/cyberful

Test whether authorized direct or indirect untrusted content can alter an AI system's protected behavior, context use, memory, retrieval, output handling, or downstream capability.

AGPL-3.0Auto-check passedSecurity

Install Test AI Prompt Injection

skills CLI
$ npx skills add cyberful/cyberful --skill test-ai-prompt-injection -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install cyberful/cyberful test-ai-prompt-injection --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/cyberful/cyberful.git skills-src && mkdir -p .claude/skills && cp -r skills-src/cyberful/builtin/skills/test-ai-prompt-injection .claude/skills/test-ai-prompt-injection && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
test-ai-prompt-injection
GitHub stars
135
Token cost
~538 tokens
SKILL.md length
143 words
Files
9 (incl. scripts, references, assets)
Skills in repo
85
Repo updated
First seen
Licence
AGPL-3.0

At a glance

Test whether authorized direct or indirect untrusted content can alter an AI system's protected behavior, context use, memory, retrieval, output handling, or downstream capability.

  • Bounded prompt-injection experiments with benign markers and deterministic control comparisons
  • SKILL.md covers Define the discriminator and Confirm and report
  • Runs Python scripts from its folder
  • Tasks that involve Prompt injection and agent security

What it does

Test AI Prompt Injection is an agent skill from cyberful/cyberful. Test whether authorized direct or indirect untrusted content can alter an AI system's protected behavior, context use, memory, retrieval, output handling, or downstream capability. Use for bounded prompt-injection experiments with benign markers and deterministic control comparisons.

Its SKILL.md is about 540 tokens, which your agent loads only when the skill is triggered. The skill folder holds 13 other files, including scripts, reference files and assets (for example `agents/openai.yaml`, `assets/prompt-injection-evidence.schema.json` and `assets/prompt-injection-probe.example.json`).

It sits in Security, covering Prompt injection and agent security. The repository describes itself as: Cyberful is an open-source AI Red Team for discovering, exploiting, verifying, and remediating vulnerabilities. The licence is AGPL-3.0.

When your agent uses it

  • Bounded prompt-injection experiments with benign markers and deterministic control comparisons
  • Tasks that involve Prompt injection and agent security

Example prompts

  • “/test-ai-prompt-injection”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit ec598a6. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Test AI Prompt Injection loads about 538 tokens when it runs, and up to ~772 if it reads all its reference files. Until then it costs about 77 tokens; SKILL.md has 143 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~77
When it runs · the whole SKILL.md, loaded when a task matches
~538
With references · SKILL.md plus every file in references/, read only if the agent opens them
~772

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from cyberful/cyberful at commit ec598a6, republished under its AGPL-3.0 licence (© cyberful). 143 words, ~538 tokens.

Download SKILL.mdSave it as .claude/skills/test-ai-prompt-injection/SKILL.md (or your agent's skills folder). This skill also uses 8 other files; get the full folder from GitHub.
name
test-ai-prompt-injection
description
Test whether authorized direct or indirect untrusted content can alter an AI system's protected behavior, context use, memory, retrieval, output handling, or downstream capability. Use for bounded prompt-injection experiments with benign markers and deterministic control comparisons.
metadata.domain
ai-security
metadata.subdomain
prompt-injection
metadata.triggers
test AI prompt injection, indirect prompt injection, stored prompt injection, tool output injection, multimodal instruction injection
metadata.tags
prompt-injection, LLM, indirect-injection, canary, untrusted-content, control-comparison

Test AI Prompt Injection

Demonstrate a failed boundary and consequential effect, not merely surprising text.

Define the discriminator

For each source, specify protected instruction, untrusted channel, benign unique marker, expected safe behavior, control input, target capability, maximum effect, and cleanup. Read references/prompt-injection-evidence.md before escalating beyond instruction influence.

Stage scripts/run_prompt_injection_probe.py, its manifest, and the probe example for bounded HTTP comparisons. The JSON records defense-in-depth campaign constraints, never authority. Cyberful's mission-bound gateway or ZAP route supplies the actual authorization boundary, standard proxy and CA environment, and the only path to non-loopback targets. Responses are cumulative-bounded and environment secrets are redacted before evidence is retained.

Confirm and report

Compare control and candidate across model route, retrieved context, tool request, canonical arguments, memory mutation, output consumer, and external effect. Stop at the smallest permitted proof. Record source, transformations, preconditions, model/tool path, failed deterministic control, reproducibility, and cleanup.

© cyberful, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 8 other files (scripts, references, assets) in cyberful/builtin/skills/test-ai-prompt-injection of cyberful/cyberful.

  • SKILL.md
  • agents/openai.yaml
  • assets/prompt-injection-evidence.schema.json
  • assets/prompt-injection-probe.example.json
  • assets/prompt-injection-probe.schema.json
  • references/prompt-injection-evidence.md
  • scripts/manifest.json
  • scripts/run_prompt_injection_probe.py
  • tests/test_run_prompt_injection_probe.py

Open the folder on GitHubat commit ec598a6

Compare with similar skills

Test AI Prompt Injection next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Test AI Prompt Injection compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Test AI Prompt Injection this skillcyberful/cyberful135—~538Automated safety check: PassAGPL-3.0
Skill Scannergetsentry/skills1k4 repos~2.5kAutomated safety check: WarnApache-2.0
Forensifyalexgreensh/repo-forensics190—~2.5kAutomated safety check: NotesCustom licence
Hol Guardhashgraph-online/hol-guard845—~542Automated safety check: PassApache-2.0
Kesekit Checkcdppcorp/KESE-KIT360—~1.3kAutomated safety check: PassMIT
Setuphashgraph-online/hol-guard845—~443Automated safety check: PassApache-2.0

Similar skills

  • Skill Scanner

    getsentry/skills

    Official

    Scan agent skills for security issues. An agent skill from getsentry/skills.

    1k GitHub starsUsed in 4 repos~2.5k tokens
    SecurityAuto-check: warnings
  • Forensify

    alexgreensh/repo-forensics

    Cross-agent self-inspection of your AI-agent stack. An agent skill from alexgreensh/repo-forensics.

    190 GitHub stars~2.5k tokensUpdated 14 days ago
    SecurityAuto-check: notes
  • Hol Guard

    hashgraph-online/hol-guard

    Run HOL Guard scanner and guard operations via uv run hol-guard.

    845 GitHub stars~542 tokensUpdated today
    SecurityAuto-check passed
  • Kesekit Check

    cdppcorp/KESE-KIT

    Run a pre-deployment security compliance checklist based on KISA guidelines.

    360 GitHub stars~1.3k tokensUpdated 6 mo ago
    SecurityAuto-check passed
  • Setup

    hashgraph-online/hol-guard

    Install or initialize HOL Guard local runtime protection for Claude Code.

    845 GitHub stars~443 tokensUpdated today
    SecurityAuto-check passed
  • Clawscan CLI

    openclaw/clawscan

    A skill your agent uses when running or explaining the ClawScan CLI, including one-off agent-skill scans, benchmark runs, scanner fixtures, judge harness commands, env var validation, and…

    143 GitHub stars~3k tokensUpdated 4 days ago
    SecurityAuto-check passed

More from cyberful/cyberful

All 85 skills in this repo
  • Audit infrastructure-as-code artifacts for unsafe defaults, policy gaps, privilege exposure, control drift, and deployment-impact evidence.

    135 GitHub stars~649 tokensUpdated 1 mo ago
    Auto-check passed
  • Audit Kubernetes admission and policy-as-code enforcement against local workload manifests, exception paths, namespace scope, and deployment evidence.

    135 GitHub stars~610 tokensUpdated 1 mo ago
    Auto-check passed
  • Audit PCI DSS penetration-test methodology, scope, internal and external reports, segmentation results, tester independence, remediation, retesting, retention, and multi-tenant support evidence.

    135 GitHub stars~1k tokensUpdated 1 mo ago
    Auto-check passed
  • Operate Content Discovery

    cyberful/cyberful

    Design and interpret advanced content discovery with ffuf and complementary web fuzzers.

    135 GitHub stars~1.5k tokensUpdated 1 mo ago
    Auto-check passed
  • Operate Network Recon

    cyberful/cyberful

    Build a high-fidelity network and service inventory using Nmap, Masscan, packet capture, DNS, and protocol-specific follow-up.

    135 GitHub stars~1.1k tokensUpdated 1 mo ago
    Auto-check passed
  • Operate Sast Toolchain

    cyberful/cyberful

    Operate Semgrep and source-oriented static analysis as a hypothesis, coverage, and regression system during advanced code audits.

    135 GitHub stars~1.3k tokensUpdated 1 mo ago
    Auto-check passed

Categories

Questions about Test AI Prompt Injection

What does Test AI Prompt Injection do?

Test whether authorized direct or indirect untrusted content can alter an AI system's protected behavior, context use, memory, retrieval, output handling, or downstream capability. Test AI Prompt Injection is an agent skill from cyberful/cyberful. Test whether authorized direct or indirect untrusted content can alter an AI system's protected behavior, context use, memory, retrieval, output handling, or downstream capability.

When should I use Test AI Prompt Injection?

Test AI Prompt Injection fits situations like: bounded prompt-injection experiments with benign markers and deterministic control comparisons; tasks that involve Prompt injection and agent security.

How do I install Test AI Prompt Injection in Claude Code?

Run `npx skills add cyberful/cyberful --skill test-ai-prompt-injection -a claude-code`. Or copy the skill folder (cyberful/builtin/skills/test-ai-prompt-injection in cyberful/cyberful) into .claude/skills/test-ai-prompt-injection in your project. Claude Code loads it when a task matches its description.

How do I install Test AI Prompt Injection in Codex?

Run `npx skills add cyberful/cyberful --skill test-ai-prompt-injection -a codex`. Or copy the skill folder (cyberful/builtin/skills/test-ai-prompt-injection in cyberful/cyberful) into .agents/skills/test-ai-prompt-injection in your project. Codex loads it when a task matches its description.

Can I use Test AI Prompt Injection in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add cyberful/cyberful --skill test-ai-prompt-injection -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/test-ai-prompt-injection, .gemini/skills/test-ai-prompt-injection, .github/skills/test-ai-prompt-injection and .opencode/skills/test-ai-prompt-injection in your project.

What does Test AI Prompt Injection need to run?

Going by SKILL.md and its folder, Test AI Prompt Injection needs Python for the scripts in its folder. Our summary lists: Python 3.

Does Test AI Prompt Injection access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Test AI Prompt Injection safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Test AI Prompt Injection use?

Test AI Prompt Injection is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Test AI Prompt Injection use?

About 538 tokens (SKILL.md is roughly 2.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 234 tokens, read only when the agent opens those files.

What are the alternatives to Test AI Prompt Injection?

Skills that share tags, products or a category with Test AI Prompt Injection: Skill Scanner (getsentry/skills, 1k stars), Forensify (alexgreensh/repo-forensics, 190 stars), Hol Guard (hashgraph-online/hol-guard, 845 stars) and Kesekit Check (cdppcorp/KESE-KIT, 360 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Test AI Prompt Injection?

cyberful (a GitHub organization) maintains it in cyberful/cyberful, which has 135 GitHub stars. The repository holds 85 skills in this directory. The repository was last updated on August 24, 2026.

Source: cyberful/cyberful on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.