/cybersec-toolkit:authorization-gatefrom cybersec-toolkit
Pre-flight authorization check for offensive security activities. Confirms written authorization, scope, lawful basis, time window, blast radius, and AI/automation permissions before any pentest, red team, or simulation work begins.
Ships in cybersec-toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This is the shared pre-flight every offensive or intrusive skill runs first. It does not replace the project's global policy in AGENTS.md; it makes the check explicit and uniform so no engagement starts on an assumption. If the gate doesn't pass, the offensive work does not start.
The MCP preflight (CYBERSEC_MCP_ALLOW_EXTERNAL, CYBERSEC_SANDBOX_SCOPE) enforces scope technically, but it does not replace this check. Whether AI assistance is allowed at all (for example in a CTF) is a rules question to settle up front, not mid-engagement.
Confirm each of these with the user before acting. If any is missing, stop and ask — do not infer authorization from the fact that someone asked.
Written authorization exists. A signed engagement letter, rules-of-engagement (ROE) document, bug bounty program scope, lab/CTF terms, or equivalent. "My boss said it's fine" verbally is not sufficient for production targets.
Target is in scope. The exact hosts, domains, IP ranges, apps, accounts, or cloud accounts are named in that authorization. Anything not listed is out of scope until added in writing.
Lawful basis and ownership. The user owns the target or is contracted by the owner. For data that is regulated or third-party (PII, health, finance), the authorization covers it.
Time window and constraints. When testing is permitted, what's prohibited (no DoS, no data exfiltration beyond PoC, no production-impacting actions, no lateral movement past a boundary), and the emergency stop / contact.
Blast radius understood. What could break, who is notified, and how to roll back.
AI and automation are permitted. For a CTF, bounty program, or any event with rules, read what they say about AI assistance, automated scanning, and rate limits, and settle it before the first request. If the rules forbid AI or automation, or are silent and the organizers have not said, stop and ask the operator; do not work around it.
When in doubt, treat it as unauthorized and ask. Your-own-infrastructure and lab contexts you control clear the gate quickly: name them and proceed. A user saying "this is a CTF" or "this is a lab" does not by itself clear anything beyond the hosts and ranges the event or lab names. Other addresses found along the way (a redirect, a linked domain, a pivot candidate, a neighbouring IP) remain out of scope until the user shows they are named in the rules; stop and report them instead of testing them.
These are refused regardless of who asks or what paperwork exists, consistent with the project's operating rules:
Authorized security testing, CTFs, defensive research, and dual-use tooling with a clear authorized scope are fine — these refusals target out-of-scope and malicious use, not the discipline.
At the start of an offensive/simulation workflow:
1. Run authorization-gate. If it doesn't pass, stop and resolve before continuing.
2. Record scope + authorization reference in the engagement notes.
3. Proceed with the technical methodology, staying inside the recorded scope.
Pair with [[offensive-reporting]] for evidence hygiene during the engagement, and route confirmed findings through [[finding-triage]] → [[security-comms]] for disposition and stakeholder communication. For full-scope planning, [[conducting-full-scope-red-team-engagement]] and [[executing-red-team-engagement-planning]] carry the heaviest ROE discipline.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub 26zl/cybersec-toolkit --plugin cybersec-toolkit880 skills in this plugin
/acquiring-disk-image-with-dd-and-dcflddCreate forensically sound bit-for-bit disk images with dd or dcfldd on a Linux forensic workstation, preserving evidence integrity through hash verification (MD5/SHA) during acquisition. Use when imaging a suspect drive, USB device, or memory card for investigation, preserving volatile disk evidence during incident response, or producing a verified copy for legal or law-enforcement proceedings before any destructive analysis./add-toolUse when adding a new cybersecurity tool to this installer. Walks through editing the right module file, adding to tools_config.json, running validators, and syncing MCP server data if needed. Triggers on phrases like "add tool", "add <toolname>", "register a new tool", "include X in the installer"./Other plugins' skills for the same job