seven-question-gate

seven-question-gate is a skill for Claude Code, Codex from PurpleAILAB/Decepticon. It costs 39 tokens per session (1,637 once invoked), scanned A, original, Apache-2.0.

A seven-question review gate for security findings before they are added to a report.

In plain words
What is it for?
Checking whether a discovered security issue affects an approved target, has demonstrated impact, and is strong enough to report.
Why use it?
It filters out findings that are out of scope, lack real-world impact, or otherwise do not meet the reporting standard.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Checking whether a discovered security issue affects an approved target, has demonstrated impact, and is strong enough to report.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/purpleailab/decepticon/seven-question-gate
About the project

Decepticon is an autonomous red-team agent that coordinates AI agents, security tools, sandboxes, and supporting services for authorized cybersecurity assessments. Security researchers and red teams can run it through its Docker stack, cloud service, command-line interface, or Python SDK, with the catalogue entries representing its available skills.

PurpleAILAB/Decepticon · 5,463 stars · on GitHub · decepticon.red

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 PurpleAILAB/Decepticon --skill seven-question-gate
Clone the repo
git clone --depth 1 https://github.com/PurpleAILAB/Decepticon

Made for: Claude Code, Codex.

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 seven-question-gate

README.md
[![agentmods](https://agentmods.dev/badge/skills/purpleailab/decepticon/seven-question-gate/github.svg)](https://agentmods.dev/skills/purpleailab/decepticon/seven-question-gate)
Your own site
<a href="https://agentmods.dev/skills/purpleailab/decepticon/seven-question-gate"><img src="https://agentmods.dev/badge/skills/purpleailab/decepticon/seven-question-gate/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for seven-question-gate

Your own site · 80×15
<a href="https://agentmods.dev/skills/purpleailab/decepticon/seven-question-gate"><img src="https://agentmods.dev/badge/skills/purpleailab/decepticon/seven-question-gate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,637 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 175
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
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.00039 $0.01637
Opus 5 $0.00019 $0.00818
Sonnet 5 $0.00008 $0.00327
Haiku 4.5 $0.00004 $0.00164

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

Security

Grade A, and why

seven-question-gate 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 9d 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.

packages/decepticon/decepticon/skills/plugins/verifier/seven-question-gate/SKILL.md · 178 lines

How it starts

The opening of the file, as written. The whole thing — 178 lines — stays where its author put it; the contents beside it link to each section on GitHub.

7-Question Gate

Run this gate after validate_finding returns success but BEFORE adding the finding to the report. Any "no" → kill the finding, don't write a report. This saves bounty validity-ratio and engagement- report quality.

The 7 questions

1. Is the asset in scope?

Check the engagement's scope.md (recon/decepticon's RoE doc):

  • In-scope domain list
  • In-scope IP/CIDR list
  • Out-of-scope explicit exclusions (test envs, staging, third-party CDNs/CDN-managed subdomains where the org doesn't own the underlying machine)

If asset is not on the in-scope list OR on the out-of-scope list: kill. Do not write the report.

2. Is there real-world impact?

Theoretical bugs without demonstrable impact get N/A on every BB program. Concrete impact statements include:

  • "An attacker can read victim user X's PII (email, name, DOB, SSN)"
  • "An attacker can post on behalf of victim user X"
  • "An attacker can transfer funds from victim user X's account"
  • "An attacker can persist code on the production server"
  • "An attacker can pivot to internal network 10.0.0.0/8"

If the finding's impact is "configuration is non-default" or "the manual recommends X but the deployment does Y" without concrete attacker-reachable harm: kill.

3. Does the PoC actually prove the impact?

The validate_finding result is necessary but not sufficient. The PoC must demonstrate the IMPACT, not just trigger the vector.

Examples:

  • IDOR PoC must show ATTACKER session reading VICTIM data — not just "request returned 200 OK"
  • XSS PoC must execute attacker-controlled JS in victim's browser context — not just "alert(1) reflected in HTML source"
  • SQLi PoC must extract real data — not just "single quote → 500"
  • SSRF PoC must reach an internal-only target — not just "external fetch worked"

If the PoC stops short of impact demonstration: kill or queue for re-verification with a better PoC.

4. Is the impact above the program's severity floor?

Many BB programs explicitly out-of-scope:

  • CSRF on logout endpoint
  • Self-XSS (requires victim to inject own payload)
  • Missing security headers
  • Information disclosure of public-by-design info
  • Rate-limit issues w/o demonstrated abuse
  • Subdomain takeover candidates where ownership can't be proven
  • Clickjacking without authenticated state change

Read the full file on GitHub · 178 lines

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. 9d ago First seen · 178 lines · 39 tokens per session scan A f97244c0537c

Subscribe to this mod's changes

seven-question-gate is a skill published in the GitHub repository PurpleAILAB/Decepticon (5,463 stars, last pushed 9d ago), licensed Apache-2.0. It adds 39 tokens to every session and 1,637 once invoked, about $0.0002 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.