debasishtripathy13/pandora/opsec
Claude Code and agent skill by debasishtripathy13/pandora
- community
Checking that the SKILL.md file is still in the repository.
Operational security management — traffic shaping, scan rate limiting, source IP management, tool signature avoidance, evidence handling, anti-detection patterns.
Install
npx vskill@latest install debasishtripathy13/pandora/opsecSKILL.md
The same SKILL.md was published earlier as debasishtripathy13/pandora/opsec.
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
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.
Header Hygiene
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 applicable to recon phase | |
| ffuf | Rapid sequential requests | Rate limiting (-rate) | |
| nuclei | Template-specific payloads | Rate limiting (-rl), selective templates | |
| gobuster | Sequential path enumeration | Randomize wordlist, rate limit |
Reducing Scanner Fingerprint
5. Source Management
IP Awareness
- Know your egress IP:
curl -s ifconfig.me - Single source: All scans originate from the sandbox — the target will see one IP
- VPN/proxy considerations: If engagement allows, rotate exit nodes
- Cloud instances: Ephemeral cloud VMs provide disposable IPs
DNS OPSEC
6. Evidence & Data Handling
Engagement Documentation
Every action should be logged:
Data Classification
- Workspace files: All scan output goes to the engagement directory — treat as engagement artifacts
- Credentials found: NEVER store in plaintext — immediately document and encrypt
- PII discovered: Note existence, do not exfiltrate — document for client
- Client data: Handle per engagement contract data handling requirements
Clean-Up Protocol
After engagement:
- [ ] All tools stopped
- [ ] No persistent connections to target
- [ ] Scan data secured per client requirements
- [ ] Temporary files cleaned from sandbox
- [ ] No data left on third-party services (Shodan searches, etc.)
7. Scope Enforcement
Automated Scope Checking
Scope Boundaries
- IP ranges: Only scan IPs explicitly listed in scope document
- Domains: Only enumerate subdomains of authorized root domains
- Cloud resources: Only test resources confirmed as client-owned
- Third-party services: DO NOT test shared infrastructure (CDNs, SaaS platforms)
- Physical scope: Only applicable if physical penetration test is authorized
Accidental Out-of-Scope
If you accidentally touch an out-of-scope system:
- Stop immediately
- Document the incident (timestamp, target, action taken)
- Notify the engagement lead
- Do NOT attempt to "clean up" evidence — this makes it worse
8. Detection Indicators to Monitor
Signs You've Been Detected
- Connection resets: Target suddenly dropping connections → firewall rule added
- Rate limiting: 429 responses where 200s were before → WAF triggered
- IP block: Timeouts on previously responsive hosts → IP banned
- Honeypot indicators: Unusually easy targets, too-good-to-be-true services
- Tarpit responses: Extremely slow responses → deliberately slowing scanner
Response to Detection
- Pause all scanning — at least 30 minutes
- Assess what triggered detection — review recent scan patterns
- Reduce scan rate by 50-75%
- Consider different approach — passive only for a period
- Document the detection event for engagement report
9. OPSEC Checklist (Pre-Engagement)
- [ ] ROE document reviewed and understood
- [ ] Scope file created at
scope.txt - [ ] Emergency client contact accessible
- [ ] Egress IP noted:
curl -s ifconfig.me - [ ] Tool user agents configured (non-default)
- [ ] Scan rate limits configured per target type
- [ ] Output directory structure created
- [ ] Evidence logging template ready
- [ ] Clean-up protocol documented
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/shared/opsec/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Grok Build (Cursor)
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/debasishtripathy13/pandora/opsec)