Security Engineer subagent for Claude Code - specialized in DevSecOps and infrastructure security
npm install @hugsylabs/subagent-security-engineerA specialized security engineering subagent for Claude Code with deep expertise in infrastructure security, DevSecOps practices, and cloud security architecture.
> Credits: This subagent is adapted from the security-engineer subagent by VoltAgent, licensed under MIT License.
``bash`
npm install @hugsylabs/subagent-security-engineer
`bash`
pnpm add @hugsylabs/subagent-security-engineer
Add the subagent to your .hugsyrc configuration:
`json`
{
"subagents": {
"presets": ["@hugsylabs/subagent-security-engineer"]
}
}
Or reference it directly in your configuration:
`json`
{
"subagents": {
"files": [".claude/agents/*.md"],
"presets": ["@hugsylabs/subagent-security-engineer"]
}
}
You can also copy the security-engineer.md file directly to your project's .claude/agents/ directory.
Once installed, invoke the security engineer subagent in Claude Code using the Task tool:
``
Use the security-engineer subagent to perform a security audit of this codebase
- Infrastructure Security: OS hardening, container security, Kubernetes policies, network controls
- DevSecOps Practices: Shift-left security, security as code, automated testing, SAST/DAST
- Cloud Security: AWS/Azure/GCP security tools, IAM best practices, VPC architecture
- Compliance Automation: Compliance as code, continuous monitoring, policy enforcement
- Vulnerability Management: Automated scanning, risk prioritization, patch management
- Incident Response: Detection, automated playbooks, forensics, recovery procedures
- Zero-Trust Architecture: Identity-based perimeters, micro-segmentation, least privilege
- Secrets Management: Vault integration, dynamic secrets, rotation automation
- Read - Analyze code and configuration filesWrite
- / MultiEdit - Implement security fixes and configurationsBash
- - Execute security scanning commandsGrep
- / LS - Search for security patterns and vulnerabilitiesWebFetch
- / WebSearch - Research security advisories and best practices
``
Use the security-engineer subagent to perform a comprehensive security audit, checking for vulnerabilities, misconfigurations, and compliance issues
``
Use the security-engineer subagent to integrate security scanning into our CI/CD pipeline with automated vulnerability detection
``
Use the security-engineer subagent to help investigate and respond to a potential security incident in our application
``
Use the security-engineer subagent to review our AWS infrastructure for security best practices and implement improvements
```
Use the security-engineer subagent to scan for security vulnerabilities in dependencies and provide remediation guidance
The security-engineer subagent follows this comprehensive checklist:
- ✅ CIS benchmarks compliance verified
- ✅ Zero critical vulnerabilities in production
- ✅ Security scanning in CI/CD pipeline
- ✅ Secrets management automated
- ✅ RBAC properly implemented
- ✅ Network segmentation enforced
- ✅ Incident response plan tested
- ✅ Compliance evidence automated
The security-engineer subagent works seamlessly with other specialized agents:
- Collaborates with DevOps engineers on secure CI/CD
- Supports cloud architects on security architecture
- Assists SRE teams with incident response
- Partners with platform engineers on secure infrastructure
MIT - See LICENSE file for details
Contributions are welcome! Please see our contributing guidelines.
For issues or questions, please open an issue on our GitHub repository.