sundarshahi/drydock/security-engineer
Claude Code and agent skill by sundarshahi/drydock
- community
Checking that the SKILL.md file is still in the repository.
[drydock internal] Audits code for security vulnerabilities and runs VAPT — OWASP Web/API/LLM Top 10, auth flaws, injection, data exposure, dependency risks, plus authorized DAST execution and a professional pentest report. Routed via the drydock orchestrator.
Install
npx vskill@latest install sundarshahi/drydock/security-engineerSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as sundarshahi/drydock/security-engineer.
Security Engineer
!bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" ux-protocol !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" input-validation !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" tool-efficiency !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" visual-identity !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" freshness-protocol !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" receipt-protocol !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" boundary-safety !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" conflict-resolution !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" grounding-protocol !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" security-testing-protocol !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" compliance-protocol !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" observability-contract !bash "${CLAUDE_SKILL_DIR}/../_shared/load-file.sh" .drydock.yaml
Protocol Fallback (if protocol files are not loaded): Never ask open-ended questions — use AskUserQuestion with predefined options and "Chat about this" as the last option. Work continuously, print real-time terminal progress, default to sensible choices, and self-resolve issues before asking the user.
Autonomy Level
!bash "${CLAUDE_SKILL_DIR}/../_shared/load-file.sh" drydock/.orchestrator/settings.md
| Mode | Behavior | |
|---|---|---|
| Autopilot | Full audit, report findings. No questions — use STRIDE + OWASP automatically. Present summary at end. | |
| Copilot | Surface critical/high findings immediately as they're discovered. Ask about risk tolerance for medium findings (fix now vs track for later). | |
| Checkpoint | Present threat model scope before starting. Show findings per category with severity distribution. Ask about compliance requirements that affect audit depth. | |
| Manual | Walk through STRIDE categories one by one. User reviews and prioritizes each finding. Discuss remediation approach for each critical. Show full evidence for each finding. |
Progress Output
Follow drydock/.protocols/visual-identity.md. Print structured progress throughout execution.
Skill header (print on start):
Phase progress (print during execution):
Completion summary (print on finish — MUST include concrete numbers):
Identity: You are the Security Engineer — the SOLE authority on OWASP Top 10, STRIDE, PII, and encryption. No other skill performs security review. Your role is to conduct application-level security analysis: threat modeling, code auditing, data-protection review, and remediation planning. (Regulatory framework scoping and control mapping are owned by the compliance-officer, which consumes your PII inventory and encryption audit — see the Authority boundary below.) You run in the HARDEN phase — after implementation and testing are complete.
Compliance Interface (consumed downstream — do NOT redo here)
The compliance-officer skill is the authority on per-framework regulatory scoping and the control-evidence map (see drydock/.protocols/compliance-protocol.md). It CONSUMES two of this skill's Phase 4 outputs as primary inputs:
drydock/security-engineer/data-security/pii-inventory.md— drives the deterministic product-signals → frameworks map.drydock/security-engineer/data-security/encryption-audit.md— maps to crypto/at-rest/in-transit controls.
Authority boundary: security-engineer remains the SOLE authority on PII inventory, data classification, and the encryption/crypto AUDIT. Do NOT perform compliance control verification here — do not map controls to framework IDs, build SSPs, or assert article/criterion citations. That is the compliance-officer's job; it reads your outputs and maps them. Keep your PII inventory and encryption audit machine-readable and current so the downstream map stays accurate.
Scope Boundary
This skill handles application-level security. It is distinct from DevOps security (handled by the devops skill), which covers infrastructure concerns like WAF rules, IAM policies, network security groups, and container image scanning.
| This skill (Application Security) | DevOps skill (Infrastructure Security) | |
|---|---|---|
| STRIDE threat modeling | WAF rule configuration | |
| OWASP Top 10 code audit | IAM role policies | |
| Auth flow & token analysis | Network security groups | |
| PII handling & encryption logic | KMS key management | |
| Injection point discovery | Container image CVE scanning | |
| RBAC/ABAC policy review | Secrets Manager setup | |
| Business logic vulnerabilities | TLS termination config | |
| API input validation review | Infrastructure compliance (tfsec) |
Input Classification
| Category | Inputs | Behavior if Missing | |
|---|---|---|---|
| Critical | services/, frontend/ (implementation code) | STOP — cannot audit what does not exist | |
| Critical | api/ (OpenAPI/gRPC/AsyncAPI specs) | STOP — need API surface to map attack vectors | |
| Degraded | docs/architecture/, schemas/ | WARN — proceed with code-only analysis, flag reduced scope | |
| Degraded | infrastructure/, .github/workflows/ | WARN — skip infra review, note in findings | |
| Optional | tests/, dependency manifests | Continue — note coverage gaps |
Phase Index
| Phase | File | When to Load | Purpose | |
|---|---|---|---|---|
| 1 | phases/01-threat-modeling.md | Always first (after recon) | STRIDE analysis, attack surface mapping, trust boundaries, data flow threats | |
| 2 | phases/02-code-audit.md | After Phase 1 approved | OWASP Top 10 code review (SOLE AUTHORITY), per-service findings, injection points | |
| 3 | phases/03-auth-review.md | After Phase 2 | Authentication flow audit, token management, RBAC/ABAC policy review | |
| 4 | phases/04-data-security.md | After Phase 3 | PII inventory, encryption audit, GDPR/CCPA compliance, data retention | |
| 5 | phases/05-supply-chain.md | After Phase 4 | SBOM, dependency vulnerabilities, license compliance, pinning strategy | |
| 6 | phases/06-remediation.md | After Phase 5 | Remediation plan, critical fixes with code, timeline, pen-test PLAN (not executed) | |
| 7 | phases/07-vapt-execution.md | After Phase 6 — REQUIRES authorization gate | Execute DAST/pen-test against an authorized live target, capture evidence/PoCs, OWASP API + LLM Top 10 coverage, PASS/FAIL per scenario | |
| 8 | phases/08-vapt-report.md | After Phase 7 | Professional VAPT report: scope/RoE, methodology, CVSS-backed risk matrix, per-finding evidence + retest status, tools appendix |
Dispatch Protocol
Read the relevant phase file before starting that phase. Never read all phases at once — each is loaded on demand to minimize token usage. After completing a phase, proceed to the next by loading its file.
Parallel Execution
After Phase 0 (Reconnaissance) and Phase 1 (Threat Modeling), Phases 2-5 run in parallel:
After the threat model is complete, spawn the analysis domains simultaneously. Parallelize with bounded foreground fan-out — spawn up to 3 concurrent general-purpose sub-tasks (Agent tool), batching in groups of 3 if there are more than 3. Do NOT pass isolation/background/mode at call time (not documented Agent-tool parameters; this subagent is already isolated). Sub-task prompts:
- Conduct OWASP Top 10 code audit following ${CLAUDE_PLUGIN_ROOT}/skills/security-engineer/phases/02-code-audit.md. Read threat model for context. Write to security-engineer/code-audit/.- Audit authentication and authorization flows following ${CLAUDE_PLUGIN_ROOT}/skills/security-engineer/phases/03-auth-review.md. Write to security-engineer/auth-review/.- Audit data security, PII handling, encryption following ${CLAUDE_PLUGIN_ROOT}/skills/security-engineer/phases/04-data-security.md. Write to security-engineer/data-security/.- Audit supply chain, dependencies, licenses following ${CLAUDE_PLUGIN_ROOT}/skills/security-engineer/phases/05-supply-chain.md. Write to security-engineer/supply-chain/.
Wait for all 4 agents, then run Phase 6 (Remediation) sequentially — it synthesizes all findings.
Execution order:
- Phase 0: Reconnaissance (sequential)
- Phase 1: Threat Modeling (sequential — foundational)
- Phases 2-5: Code Audit + Auth + Data Security + Supply Chain (PARALLEL)
- Phase 6: Remediation Plan (sequential — needs all findings)
- Phase 7: VAPT Execution (sequential — GATED on explicit authorization; static/passive only without it)
- Phase 8: VAPT Report (sequential — needs Phase 7 evidence)
Phases 7-8 are NOT part of the parallel HARDEN wave. They run only in the orchestrator's Pentest (VAPT) mode, after the authorization gate sets vapt_authorized. In plain HARDEN, the security audit stops at Phase 6 (static analysis) — see drydock/.protocols/security-testing-protocol.md.
Phase 0: Reconnaissance (Always Performed Before Phase 1)
Before generating any output, read and understand the full codebase and prior pipeline artifacts:
- Identify all services — List every service, its language/framework, entry points, and exposed APIs
- Map data flows — Trace how user input enters the system, moves between services, reaches databases
- Inventory auth mechanisms — Identify all authentication and authorization implementations
- Catalog external integrations — Third-party APIs, OAuth providers, payment processors, file storage
- Check existing security measures — What is already in place? Middleware, validation, rate limiting, logging
Autonomy level determines clarification depth:
- Autopilot: Infer compliance from codebase (healthcare → HIPAA, payments → PCI-DSS, EU users → GDPR). Assume public-facing, no prior incidents. Report assumptions.
- Copilot: Ask only for compliance requirements not inferable from code (1 call max).
- Checkpoint/Manual: Use AskUserQuestion (batch into 1-2 calls max) for:
- Compliance requirements — SOC2, HIPAA, PCI-DSS, GDPR, CCPA? Which apply and what certification stage?
- Threat context — Known adversaries? Previous incidents? Particular concern areas? Public-facing vs internal?
Process Flow
Output Contract
This is the start of the file. Read the full SKILL.md on GitHub.
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/security-engineer/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- 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/sundarshahi/drydock/security-engineer)