opsec
What it does
This guide explains operational security for authorized security tests, including scope checks, scan pacing and evidence handling. It is for security testers who need their work to stay controlled and documented.
When to use it
- βWhen a team is preparing an authorized test and needs a scope and pacing checklist.
- βWhen a scan could trigger alerts or affect a production system and should be slowed down.
- βWhen a test must be documented well enough to prove that it was authorized.
Skill link
https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/shared/opsec/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βBefore we start our authorized test, can you check our scope, scan pace and documentation plan?β
5 new skills a week. 1 minute to read.
How it works
The agent works through a checklist of rules of engagement, scope and testing windows, then suggests a scan rate and documentation practice that fit the target.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Operational Security (OPSEC) Knowledge Base
OPSEC ensures the red team engagement remains covert, controlled, and within authorized scope. Poor OPSEC burns the engagement β detected scans alert the blue team, taint findings, and waste client resources. This skill applies across all recon phases.
1. Core OPSEC Principles
The OPSEC Mindset
- Every packet is a signal β assume the target has IDS/IPS, SIEM, and SOC analysts
- Minimize footprint β collect only what you need, no more
- Blend with normal traffic β timing, volume, and patterns should look legitimate
- Know your tools' signatures β every scanner has a fingerprint
- Document everything β if you can't prove it was authorized, it wasn't
Engagement Scope Awareness
Before ANY active operation:
- Written Rules of Engagement (ROE) on file
- Target IP ranges and domains explicitly listed
- Out-of-scope assets clearly identified
- Testing window defined (dates, times)
- Emergency contact for the client (for accidental impact)
- Get-out-of-jail letter accessible
2. Network OPSEC
Scan Rate Limiting
| Target Type | Recommended Rate | Timing Flag |
|---|---|---|
| Production web server | 5-10 req/sec | nmap -T2 |
| Internal network | 50-100 req/sec | nmap -T3 |
| Development/staging | 100+ req/sec | nmap -T4 |
| High-security target | 1-2 req/sec | nmap -T1 |
| WAF-protected | 1-5 req/sec | Custom delays |
Traffic Shaping
# nmap with specific rate limiting
nmap -sS --max-rate 10 --max-retries 1 -p 80,443 <target>
# ffuf with rate limiting
ffuf -u https://<target>/FUZZ -w wordlist.txt -rate 5
# nuclei with rate limiting
nuclei -u https://<target> -rl 5 -c 2
# curl with delay between requests
for url in $(cat urls.txt); do
curl -s -o /dev/null -w "%{http_code} $url\n" "$url"
sleep 2
done
Timing Considerations
- Business hours (9am-5pm target timezone): Higher baseline traffic β scanning blends in
- Weekends/holidays: Lower baseline β scans stand out more
- Maintenance windows: If known, ideal for aggressive scanning
- Burst vs sustained: Short bursts with long pauses are less detectable than sustained scanning
3. HTTP OPSEC
User-Agent Management
Important: User-Agent strings become stale quickly. Always use current browser version strings that match real-world traffic at the time of engagement. Check your own browser's UA or query a live UA database before starting.
# Step 1: Get a current, real User-Agent from your own browser or a live source
# Option A: Copy from your browser's DevTools (Network tab β Request Headers)
# Option B: Use a curated list β update version numbers to match current releases
# Step 2: Build a rotation list with CURRENT versions
# Template β replace <CHROME_VER> and <FIREFOX_VER> with latest stable versions
UA_LIST=(
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<CHROME_VER> Safari/537.36"
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<CHROME_VER> Safari/537.36"
"Mozilla/5.0 (X11; Linux x86_64; rv:<FIREFOX_VER>) Gecko/20100101 Firefox/<FIREFOX_VER>"
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:<FIREFOX_VER>) Gecko/20100101 Firefox/<FIREFOX_VER>"
)
UA="${UA_LIST[$RANDOM % ${#UA_LIST[@]}]}"
curl -s -A "$UA" https://<target>/
# ffuf with custom user agent
ffuf -u https://<target>/FUZZ -w wordlist.txt -H "User-Agent: $UA"
Header Hygiene
# Avoid tool-specific headers that reveal scanner identity
# BAD: Default tool user agents
# - "Nmap Scripting Engine"
# - "nikto"
# - "gobuster"
# - "sqlmap"
# GOOD: Mimic real browser headers (use current browser versions!)
curl -s https://<target>/ \
-H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 Chrome/<CURRENT_VER> Safari/537.36" \
-H "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" \
-H "Accept-Language: en-US,en;q=0.9" \
-H "Accept-Encoding: gzip, deflate, br"
4. Tool Signature Awareness
Common IDS/WAF Signatures
| Tool | Detection Signature | Mitigation |
|---|---|---|
| nmap | SYN scan pattern, probe ordering | Use -T2, --data-length |
| nikto | Default User-Agent, predictable paths | Custom UA, selective tuning |
| sqlmap | Parameter tampering patterns | Not applica |
FAQ
What should be confirmed before testing?
The guide lists written rules of engagement, explicit scope, out-of-scope assets, a testing window and a client contact.
Why limit the scan rate?
Fast scans can trigger alerts and affect production systems, so the guide suggests slower rates for sensitive targets.
Why document everything?
The guide says that if you cannot prove a test was authorized, it should not be treated as authorized.
Details
Original description by the author
Operational security management β traffic shaping, scan rate limiting, source IP management, tool signature avoidance, evidence handling, anti-detection patterns.
Popularity
- GitHub stars
- 6.5k
- Ranking position
- #13931
- License
- Apache-2.0
- Updated
- 11/1/2026
Comments
- β¦
More skills from this repository
detector-overview
6.5kHelps your agent read code that a scanner flagged and decide which flagged spots are real security bugs and which are false alarms.
exploiter-overview
6.5kHelps your agent join several confirmed security weaknesses into one test chain and check how far that chain could reach.
llm-redteam-overview
6.5kHelps your agent find the right AI red-team guide for a test, covering 15 tactic groups from prompt injection to model abuse.
aatmf-t01-prompt-injection
6.5kExplains prompt injection, where hidden instructions try to override an AI system, so security testers can check for it.
Similar skills
reverse-engineer-anything
422kHelps your agent look inside shipped apps and packages to explain features, compare versions, or guide a rebuild, using the REA tool.
1password
394kHelps your agent set up the 1Password CLI, sign in, and read or inject secrets without printing their values into chat.
healthcheck
394kHelps your agent audit the computer or server that runs OpenClaw for security risks, such as SSH, firewall, updates, and backups, then suggest safe fixes.