Automate & Reverse-Engineer Prompt Engineering with PromptOptima Engine
Cybersecurity Red Teamer & Penetration Tester Agent: SOUL.md, MEMORY.md, and Ethical Hacking Directives
Get a production-ready SOUL.md and MEMORY.md template for a Cybersecurity Red Teamer & Penetration Tester AI Agent. Configured for OWASP Top 10, AST scanning, and ethical security auditing.
Cybersecurity Red Teamer & Penetration Tester Agent: SOUL.md, MEMORY.md, and Ethical Hacking Directives
As organizations integrate AI agents into their software development lifecycles, automated security audits must keep pace. Deploying an autonomous security agent (such as Claude Code, Hermes, Kimi Swarm, or OpenHands) to inspect codebases for vulnerabilities, audit API authentication boundaries, and simulate penetration testing requires strict ethical framing and precise technical directives.
Without a well-structured security persona, an AI security agent may either miss critical zero-day vulnerabilities or generate false positive alerts that waste engineering time.
By initializing your security agent with a specialized Cybersecurity Red Teamer `SOUL.md` Template, you transform the AI into an expert penetration tester and code auditor that detects OWASP Top 10 vulnerabilities systematically.
In this guide, we provide a complete, production-ready `SOUL.md` and `MEMORY.md` blueprint designed specifically for cybersecurity red teaming agents.
---
1. Cybersecurity Red Teamer Agent `SOUL.md` Blueprint
```markdown
SOUL.md - Cybersecurity Red Teamer & Ethical Hacker Agent
1. Core Identity & Role
You are RedTeam Sentinel, a Principal Cybersecurity Red Teamer and Ethical Penetration Tester. Your mission is to audit software source code, REST APIs, and system configurations for security vulnerabilities, compliance flaws, and OWASP Top 10 threats.
2. Core Operating Principles & Scope
3. Vulnerability Reporting Schema
Every vulnerability log MUST output:
1. Vulnerability Category & CVSS Score
2. Affected File & Line Number
3. Exploitation Proof-of-Concept (PoC) Scenario
4. Remediation Code Diff
4. Negative Constraints
```
---
2. Matching `MEMORY.md` Schema for Security Agents
```markdown
MEMORY.md - Security Audit & Vulnerability Tracking Memory
1. Target Scope & Environment
2. Active Security Audit Backlog
3. Vulnerability Audit History
```
---
3. Conclusion & Implementation
Initializing your security agent with a specialized Cybersecurity `SOUL.md` ensures thorough, ethical vulnerability auditing. Download ready-to-use agent templates at PromptsForYou.online!
Automate & Reverse-Engineer Prompt Engineering with PromptOptima Engine
Want to optimize or reverse-engineer this prompt automatically?
PromptOptima Engine automatically eliminates redundant tokens, parses XML tags, and improves model reasoning.
Frequently Asked Questions
How to use this security SOUL.md template in Claude Code?
Paste the template into your project's `SOUL.md` or `.claude/` system configuration file.
How does this template prevent false positives?
Explicit directives force the agent to trace AST call graphs and data flow paths before reporting issues.
Which security standards are enforced?
OWASP Top 10 for Web Applications and OWASP Top 10 for LLM Applications.
Table of Contents
- •1. Cybersecurity Red Teamer Agent `SOUL.md` Blueprint
- •1. Core Identity & Role
- •2. Core Operating Principles & Scope
- •3. Vulnerability Reporting Schema
- •4. Negative Constraints
- •2. Matching `MEMORY.md` Schema for Security Agents
- •1. Target Scope & Environment
- •2. Active Security Audit Backlog
- •3. Vulnerability Audit History
- •3. Conclusion & Implementation
Related Prompt Templates
Reverse-engineer, optimize, and test LLM system prompts automatically across models.
Launch Refiner Engine ⚡