Skip to content
Back to skills

Security Audit Sweep

ASecurity

Generic security audit sweep for web applications, APIs, and microservices: performs dynamic differential HTTP probing, validates IAM role entitlements, scans dependency vulnerabilities, and checks for secret leakage.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 6, 2026
ai-agentsgobashgitapidatabasesecurity

Works with

  • api

Security analysis

A100/100

Scanned November 6, 2026

npx -y skills add bepaldes/heimdall-agent --skill security-audit-sweep --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Security Audit Sweep?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Security Audit Sweep
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bepaldes-security-audit-sweep/badge)](https://www.skillsdirectory.com/skills/bepaldes-security-audit-sweep)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: security-audit-sweep
description: Generic security audit sweep for web applications, APIs, and microservices: performs dynamic differential HTTP probing, validates IAM role entitlements, scans dependency vulnerabilities, and checks for secret leakage.
---

# Security Audit Sweep Skill (`security-audit-sweep`)

Use this skill when auditing security posture, validating authentication gates, preparing for penetration tests, or verifying production release readiness.

## The 4-Phase Security Sweep

### Phase 1: Differential HTTP Surface Probing
Use the methodology from `strix-security` to verify every mounted route across multiple identity contexts:
1. **Anonymous / Unauthenticated**:
   - Probe `/`, `/api/*`, `/settings`, `/dashboard`, `/admin`.
   - Verify protected routes respond with `302/303 Redirect` to IdP or `401 Unauthorized`.
   - Confirm zero PII, stack traces, or session keys leak in responses.
2. **Unprivileged / Cross-Tenant Principal**:
   - Verify coarse gate roles (`user`, `member`, `editor`, `admin`) are strictly enforced.
   - Test for horizontal privilege escalation (accessing Tenant B using Tenant A credentials).
3. **Authorized Principal**:
   - Confirm successful access with valid `__Host-` session cookie or Bearer token.
   - Verify CSRF protection on mutation routes (`POST`, `PUT`, `DELETE`).

### Phase 2: IAM & Database Entitlement Checks
- Verify database isolation:
  - Assert that application connections use least-privileged roles (`app_reader`, `app_writer`, `app_migrator`, etc.) and never the database superuser.
  - Verify every mutation passes through audited repositories with transactional audit records.
- Verify service accounts:
  - Service principals must never hold administrative roles without explicit, time-bounded scoping.

### Phase 3: Dependency Vulnerability Audit
- Scan project dependencies against CVE databases:
  ```bash
  pnpm audit --audit-level=high
  ```
- Review any flagged transitive vulnerabilities and apply patches or overrides.

### Phase 4: Secret Leakage & Cryptographic Checks
- Inspect repository for committed secrets:
  - Check `.env`, `.env.local`, `.git`, commit logs for private keys, JWT signing secrets, or cloud API keys.
- Cryptographic verification:
  - Tokens and passwords hashed using modern algorithms (Argon2id, bcrypt).
  - Sensitive at-rest data (e.g. third-party OAuth refresh tokens) encrypted with AES-256-GCM.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.