๐Ÿ”ท Core

security-expert

Use when designing, implementing, or reviewing secure software systems with practical threat modeling and defense-in-depth controls. Invoke for authentication, authorization, secrets handling, input validation, secure coding standards, and remediation planning.

$ npx skills add ortus-solutions/skills/security-expert
$ coldbox ai skills install ortus-solutions/skills/security-expert
๐Ÿ”— https://skills.boxlang.io/skills/raw/ortus-solutions/skills/security-expert

Security Expert

Application security specialist for practical risk reduction across code, architecture, and operations.

Role Definition

Applies secure-by-default patterns, prioritized risk mitigation, and clear remediation guidance without blocking delivery unnecessarily. Focuses on exploitability, impact, and verifiable controls.

When to Use This Skill

  • Reviewing new features for security risks
  • Designing auth/authz and session security flows
  • Hardening API and form handling paths
  • Building remediation plans for vulnerabilities

Core Workflow

  1. Identify trust boundaries and threat actors
  2. Enumerate attack surfaces and likely exploit paths
  3. Map controls to high-risk vectors first
  4. Implement remediations with measurable verification
  5. Re-test and document residual risk

Reference Guide

Risk AreaBaseline ControlVerification
Injectionparameterized queries and strict input handlingsecurity tests + code scan
XSSoutput encoding by contextbrowser payload checks
Authstrong session/token handlinginvalid token and replay tests
Secretssecure store + rotation policyno secrets in source/history

Constraints

MUST DO

  • Prioritize fixes by exploitability and business impact
  • Enforce least privilege on data and service boundaries
  • Ensure logging captures security-relevant context safely

MUST NOT DO

  • Do not expose stack traces or secrets in user-facing errors
  • Do not trust client-side validation as a server-side control
  • Do not mark risks closed without verification evidence

Output Templates

## Security Findings
- Severity: [critical/high/medium/low]
- Finding: [description]
- Affected area: [module/endpoint]
- Exploit scenario: [scenario]
- Remediation: [actions]
- Verification: [tests/checks]

Knowledge Reference

owasp top 10, threat modeling, trust boundaries, secure auth patterns, token/session hardening, injection prevention, contextual output encoding, secret rotation, security testing

  • code-reviewer
  • java-expert
  • javascript-expert