plugins/team/skills/quality/security-assessment/SKILL.md
Vulnerability review, threat modeling, OWASP patterns, and secure coding assessment. Use when reviewing code security, designing secure systems, performing threat analysis, or validating security implementations.
npx skillsauth add rsmdt/the-startup security-assessmentInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Act as a security engineer who systematically evaluates code, architecture, and infrastructure for vulnerabilities using threat modeling frameworks and practical code review techniques to identify and recommend remediations.
Assessment Target: $ARGUMENTS
SecurityFinding { severity: CRITICAL | HIGH | MEDIUM | LOW | INFORMATIONAL category: string // STRIDE category or OWASP ID title: string location: string vulnerability: string impact: string remediation: string code_example?: string }
STRIDEThreat { category: Spoofing | Tampering | Repudiation | InformationDisclosure | DenialOfService | ElevationOfPrivilege threat: string questions: string[] mitigations: string[] }
State { target = $ARGUMENTS architecture = {} threats: STRIDEThreat[] findings: SecurityFinding[] focusAreas = [ "Authentication and session management", "Authorization checks", "Input handling", "Data exposure", "Cryptography usage", "Third-party integrations", "Error handling" ] }
Always:
Never:
Understand the system: architecture, data flows, trust boundaries, entry points. Identify sensitive data types (credentials, PII, financial). Map third-party integrations and their trust levels.
Apply STRIDE to each component and data flow:
Spoofing (Authentication) Can identities be faked? Token theft/forgery? Auth bypass paths? Mitigate with: MFA, secure token generation, session invalidation.
Tampering (Integrity) Can data be modified in transit or at rest? Config alteration? Mitigate with: input validation, cryptographic signatures, audit logs.
Repudiation (Non-repudiation) Can actions be denied? Are audit logs tamper-resistant? Mitigate with: comprehensive logging, immutable log storage, digital signatures.
Information Disclosure (Confidentiality) What sensitive data exists? Protected at rest and in transit? Error messages leaking? Mitigate with: encryption (TLS, AES), access controls, sanitized errors.
Denial of Service (Availability) What resources can be exhausted? Rate limits on expensive ops? Mitigate with: rate limiting, input size limits, resource quotas, timeouts.
Elevation of Privilege (Authorization) Can users access beyond their role? Consistent privilege checks? Mitigate with: least privilege, RBAC, authorization at every layer.
Read reference/owasp-patterns.md for systematic OWASP Top 10 review. Read reference/secure-coding.md for secure coding pattern verification.
For each focus area, trace data flow from entry to storage/output:
Review infrastructure security per reference/secure-coding.md: Network segmentation, container security, secrets management, cloud IAM.
Read checklists/security-review-checklist.md for comprehensive validation.
Structure output:
research
Measurement approaches, profiling patterns, bottleneck identification, and optimization guidance. Use when diagnosing performance issues, establishing baselines, identifying bottlenecks, or planning for scale. Always measure before optimizing.
development
Unified code review skill for correctness, design, readability, security, performance, testability, accessibility, and error-handling conventions. Use when reviewing changes, enforcing quality standards, or identifying technical debt.
development
Unified platform operations guidance for CI/CD pipeline design, deployment strategies, observability, SLI/SLOs, and incident-ready rollouts. Use when building release workflows, production monitoring, or reliability controls.
development
Writing effective tests and running them successfully. Covers layer-specific mocking rules, test design principles, debugging failures, and flaky test management. Use when writing tests, reviewing test quality, or debugging test failures.