Skip to content
perseus:audit logo

perseus:audit

Use when analyzing components for vulnerabilities (Phase 2 - Parallel Analysis)

kaivyy/perseus0installs68stars

SKILL.md

Full skill instructions

Perseus Audit (Phase 2)

Overview

This skill executes the Vulnerability Analysis Phase of the Perseus framework. It performs deep-dive white-box analysis on the components identified during the Scan phase.

Goal: Prove the potential for exploitation by finding source-to-sink paths lacking proper defense.

Methodology:

  1. Launch 5 Agents in Parallel: Injection, XSS, Auth, Authz, SSRF.
  2. Negative Analysis Loop: Trace Source -> Sanitizers -> Sink -> Verdict.
  3. Exploit Queue: Generate actionable vulnerabilities for verification.

Confidence Scoring (Required)

Assign confidence to every finding:

ConfidenceCriteria
HighDirect source-to-sink path with clear missing defense and reproducible trigger
MediumStrong path evidence, but one assumption (runtime config/​auth state) remains
LowPattern match only; data flow or trigger path is incomplete

Prioritize exploit queue in this order:

  1. High + Critical/​High severity
  2. Medium + Critical/​High severity
  3. Remaining findings

Execution Instructions

Launch these 5 agents simultaneously using a single message with multiple Task tool calls:

  1. Injection Analyst:
    • "Trace untrusted input to SQL/​Command sinks. Verify if sanitization matches sink context. Flag string concatenation in queries."
  2. XSS Specialist:
    • "Trace input to browser sinks (innerHTML, eval). Verify context-aware escaping. Flag raw HTML rendering."
  3. Auth Specialist:
    • "Analyze login/​session logic. Check for bypasses, weak tokens, and missing MFA. Verify state/nonce in OAuth."
  4. Authz Specialist:
    • "Analyze permission checks (RBAC/​ABAC). Check for IDOR and Privilege Escalation. Verify every protected route has a guard."
  5. SSRF Specialist:
    • "Trace input to outbound request sinks. Verify URL validation and allowlists. Check for local network access."

Analysis Methodology (The "Negative Analysis" Loop)

For each agent, enforce this loop:

  1. Trace Source: Identify where untrusted data enters (from Scan phase).
  2. Trace Flow: Follow variables through functions, middleware, and transforms.
  3. Identify Sink: Where does the data end up? (DB, Screen, Log, Shell).
  4. Verify Defense:
    • Is there validation? (e.g., zod.parse)
    • Is there sanitization? (e.g., escapeHtml)
    • Is it parameterized? (e.g., Prepared Statements)
  5. Verdict:
    • VULNERABLE: Path exists + Defense missing/​mismatched. -> Add to Exploit Queue
    • SAFE: Defense is robust. -> Document as Secure

Output Requirements

Each agent must produce a specialized report in deliverables/:

  • injection_analysis.md
  • xss_analysis.md
  • auth_analysis.md
  • authz_analysis.md
  • ssrf_analysis.md

For each finding include:

  • Finding ID
  • Source -> Sink Path
  • Missing or Mismatched Defense
  • Preconditions
  • Confidence: High | Medium | Low
  • Exploit Candidate: Yes | No (and reason)

Next Step: Proceed to perseus:exploit to verify findings with Proof-of-Concept.

More skills from kaivyy

things-mac logo
kaivyy/kabot

things-mac

Manage Things 3 via the `things` CLI on macOS (add/update projects+todos via URL scheme; read/search/list from the local Things database). Use when a user asks Kabot to add a task to Things, list inbox/today/upcoming, search tasks, or inspect projects/areas/tags.

20 0
View
perseus:report logo
kaivyy/perseus

perseus:report

Use when generating the final executive security report (Phase 4)

68 0
View
perseus-supply-chain logo
kaivyy/perseus

perseus-supply-chain

Supply chain security analysis (CVEs, dependencies, typosquatting, licenses)

68 0
View
session-logs logo
kaivyy/kabot

session-logs

Search and analyze your own session logs (older/parent conversations) using jq.

20 0
View
config-manager logo
kaivyy/kabot

config-manager

Inspect and safely update Kabot configuration, model/memory/provider settings, channel account policies, allowlists, and related status or log evidence when debugging why a setting or runtime behavior is wrong.

20 0
View
perseus:start logo
kaivyy/perseus

perseus:start

Use when you want to run a full, automated penetration test from start to finish (Scan -> Audit -> Exploit -> Report)

68 0
View
blogwatcher logo
kaivyy/kabot

blogwatcher

Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.

20 0
View
camsnap logo
kaivyy/kabot

camsnap

Capture frames or clips from RTSP/ONVIF cameras.

20 0
View
perseus-logic logo
kaivyy/perseus

perseus-logic

Business logic, race conditions, and AI security analysis

68 0
View
voice-call logo
kaivyy/kabot

voice-call

Start voice calls via the Kabot voice-call plugin.

20 0
View
cron logo
kaivyy/kabot

cron

Schedule reminders and recurring tasks.

20 0
View
file-sender logo
kaivyy/kabot

file-sender

Capability to send files to the user

20 0
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View