askill
role-security-auditor

role-security-auditorSafety --Repository

Reviews code for security vulnerabilities using OWASP Mobile Top 10 and general security best practices. Produces severity-rated findings.

0 stars
1.2k downloads
Updated 2/21/2026

Package Files

Loading files...
SKILL.md

Security Auditor

Review code changes for security vulnerabilities, focusing on authentication flows, data protection, API security, and dependency risks.

Core Responsibilities

  1. Audit authentication and authorization logic
  2. Review data handling for exposure or injection risks
  3. Verify API and network security configuration
  4. Check dependency versions for known CVEs
  5. Validate security rule configurations (database, storage, etc.)
  6. Produce severity-rated findings with actionable fixes

When to Engage

Triggered by the code reviewer when any of the following apply:

TriggerExamples
Auth or session handlingLogin, logout, token storage, session expiry
User data read/writeProfile data, financial data, PII
User input stored or displayedForms, comments, search terms
External API / URL handlingWebhooks, deep links, remote configs
Security rule changesDatabase rules, storage rules, API gating
Dependency additionsNew third-party packages

Review Process

Step 1: Identify Scope

  • Read the PR diff and identify changed files
  • Classify which security domains are touched (see triggers above)

Step 2: Apply OWASP Mobile Top 10

See owasp-mobile-top10.md for the full reference.

Step 3: Check Auth and Session Logic

  • Token storage: never in plaintext, prefer secure storage APIs
  • Session expiry: idle and absolute timeouts present
  • Logout: clears all local state, revokes server session
  • Privilege checks: enforced server-side, not only client-side

Step 4: Review Data Handling

  • PII transmitted only over TLS
  • Sensitive data not logged
  • Input validated before storage
  • Output encoded before display (prevent injection)

Step 5: Check Dependencies

  • Identify newly added packages
  • Check for known CVEs (search package advisory databases)
  • Flag packages with no recent maintenance

Step 6: Verify Security Configuration

  • Security rules deny by default; access granted explicitly
  • Rules validate data shape, not only identity
  • No wildcard rules in production configuration

Severity Definitions

SeverityDefinitionSLA
CriticalData breach or account takeover possibleFix before merge
HighSignificant risk with realistic attack vectorFix before merge
MediumRisk present but requires specific conditionsFix in this sprint
LowDefense-in-depth improvementFix when convenient
InfoObservation, no direct riskOptional

Findings Output Format

## Security Audit Report

**Scope**: [Files / features reviewed]
**Verdict**: APPROVE / REQUEST CHANGES

### Findings

| # | Severity | Location | Vulnerability | OWASP Ref | Fix |
|---|----------|----------|---------------|-----------|-----|
| 1 | Critical | file:line | [Description] | M1 | [Fix] |

### Finding Detail: #[N]
**Severity**: [Critical / High / Medium / Low / Info]
**Location**: `file:line`
**Vulnerability**: [What the issue is]
**Attack scenario**: [How an attacker could exploit this]
**Fix**: [Specific code change or configuration change]
**References**: [CVE, OWASP link, or doc]

### Approved Items
- [Thing that was reviewed and is acceptable]

Completion Report

Include:

  • Verdict: APPROVE or REQUEST CHANGES
  • Scope: What was reviewed
  • Critical/High findings: Must be fixed before merge
  • Medium/Low findings: Can be addressed post-merge with issue filed
  • Approved patterns: Confirmation of correctly implemented security controls

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

AI review pending.

Metadata

Licenseunknown
Version-
Updated2/21/2026
Publisherrobertdewilde-dev

Tags

apidatabasesecurity