pwn-ai-redteam-hiddencontextexposure

pwn-ai-redteam-hiddencontextexposure is a skill for Claude Code from 0dayInc/pwn. It costs 28 tokens per session (364 once invoked), scanned A, original, MIT.

A security-testing module for finding hidden information in an AI system, such as system instructions, tool definitions, refusal rules, or other context that users normally cannot see.

In plain words
What is it for?
Use it from PWN evaluation runs to scan an AI system for hidden-context exposure and review related security references.
Why use it?
It helps reveal whether an AI application exposes internal instructions or configuration through its responses. The module is designed for red-team testing, meaning deliberate attempts to find security weaknesses.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it from PWN evaluation runs to scan an AI system for…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/0dayinc/pwn/hidden_context_exposure
View source ↗ 0dayInc/pwn
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add 0dayInc/pwn --skill hidden_context_exposure
Clone the repo
git clone --depth 1 https://github.com/0dayInc/pwn

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pwn-ai-redteam-hiddencontextexposure

README.md
[![agentmods](https://agentmods.dev/badge/skills/0dayinc/pwn/hidden_context_exposure.svg)](https://agentmods.dev/skills/0dayinc/pwn/hidden_context_exposure)
Your own site
<a href="https://agentmods.dev/skills/0dayinc/pwn/hidden_context_exposure"><img src="https://agentmods.dev/badge/skills/0dayinc/pwn/hidden_context_exposure.svg" alt="Measured on agentmods" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 364 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00028 $0.00364
Opus 5 $0.00014 $0.00182
Sonnet 5 $0.00006 $0.00073
Haiku 4.5 $0.00003 $0.00036

Measured 7d ago against content hash fc6dc3696ea0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

pwn-ai-redteam-hiddencontextexposure scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

etc/default_skills/pwn/ai/red_team/hidden_context_exposure/SKILL.md · 54 lines

What it actually says

PWN::AI::RedTeam::HiddenContextExposure

AI RedTeam Module used to extract or reconstruct hidden system instructions, tool schemas, refusal logic, and other non-user context (OWASP LLM08:2026). Broader than SystemPromptExtraction.

When to use

Call PWN::AI::RedTeam::HiddenContextExposure from pwn_eval when the task needs this module. Do not reimplement it in shell.

Methodologies

Generated from pwn/ai/red_team/hidden_context_exposure.rb. Prefer the public class methods below. Class methods take (opts = {}) and read opts.

How to call

PWN::AI::RedTeam::HiddenContextExposure.help
PWN::AI::RedTeam::HiddenContextExposure.scan(opts)

Public methods

  • scan
  • security_references
  • authors
  • help

References

  • references/security.md — CWE / NIST mapping
  • references/urls.md — URLs from source

Source

pwn/ai/red_team/hidden_context_exposure.rb

Verification

PWN::AI::RedTeam::HiddenContextExposure.respond_to?(:scan) after the module is loaded. Read the source for parameter names.

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 54 lines · 28 tokens per session scan A fc6dc3696ea0

Subscribe to this mod's changes

pwn-ai-redteam-hiddencontextexposure is a skill published in the GitHub repository 0dayInc/pwn (78 stars, last pushed 2d ago), licensed MIT. It adds 28 tokens to every session and 364 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

race

Race condition / TOCTOU playbook — limit overrun (one-time codes used twice, gift cards spent twice), single-packet attack (last-byte sync) to force parallel processing, and state-confusion races (file upload + read, order before payment). Use when timing-sensitive logic could be abused — one-time codes, coupons/gift…

PentesterFlow/agent · 82 tokens

exploiting-insecure-deserialization

Identifying and exploiting insecure deserialization vulnerabilities in Java, PHP, Python, and .NET applications to achieve remote code execution during authorized penetration tests.

balsm-health/Balsm-AI · 37 tokens

testing-for-business-logic-vulnerabilities

Identifying flaws in application business logic that allow price manipulation, workflow bypass, and privilege escalation beyond what technical vulnerability scanners can detect.

Njones17/AI-agent-master-cyber-skills-list · 35 tokens

testing-for-sensitive-data-exposure

Identifying sensitive data exposure vulnerabilities including API key leakage, PII in responses, insecure storage, and unprotected data transmission during security assessments.

Njones17/AI-agent-master-cyber-skills-list · 35 tokens

owasp-top-10-testing

Test an application against the OWASP Top 10 with Strix — autonomous AI agents that attempt real exploits for each category of the current OWASP Top 10:2025 (broken access control including SSRF, security misconfiguration, software supply chain failures, cryptographic failures, injection, insecure design…

usestrix/strix · 151 tokens

application-security-testing

Application security testing (AppSec) across a whole product with Strix — decide which asset needs which test (source code, running web app, API, CI pipeline), run it, and turn the results into a ranked remediation plan. Autonomous agents exploit and prove each issue instead of emitting static-analysis alerts, so the…

usestrix/strix · 125 tokens