Install
$ agentstack add skill-kaivyy-perseus-scan ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ● Network access Used
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Perseus Scan (Phase 1 & 2)
Overview
This skill executes the Pre-Reconnaissance Methodology of the Perseus framework. It maps the target's digital footprint, internal architecture, and attack surface to build a "Target Knowledge Graph".
Goal: Zero-blind-spot understanding of what exists, how it works, and where it can be attacked.
Methodology:
- Discovery (Parallel): Architecture, Entry Points, Security Patterns.
- Surface Mapping (Parallel): XSS Sinks, SSRF Sinks, Data Flows.
- Synthesis: Comprehensive Code Analysis Report.
Incremental Scan Mode
For large codebases, use incremental scanning to only analyze changed files:
Detection: Check for perseus.yaml with incremental settings:
incremental:
enabled: true
baseline: "main" # or specific commit
If incremental enabled:
- Run
git diff --name-only ...HEADto get changed files - Filter to include only code files (exclude tests, configs)
- Focus analysis on changed files and their dependencies
- Merge with previous cached results from
.perseus-cache/
Incremental Workflow:
# Get changed files
git diff --name-only main...HEAD | grep -E '\.(js|ts|py|go|php|rb|java|rs|cs)$'
# If no changes, skip scan
# If changes exist, scan only those files + imports
Execution Instructions
Phase 1: Discovery (Run in Parallel)
Launch these 3 agents simultaneously using a single message with multiple Task tool calls:
- Architecture Scanner:
- "Map application structure, tech stack, frameworks, and critical components. Identify if web app, API, or microservices."
- Entry Point Mapper:
- "Find ALL network-accessible entry points (API routes, webhooks, public functions). Catalog API schema files (OpenAPI, GraphQL). Exclude local-only tools."
- Security Pattern Hunter:
- "Identify authentication flows, authorization mechanisms (RBAC/ABAC), session management, and security middleware. Map the security architecture."
Phase 2: Surface Mapping (Run in Parallel)
Wait for Phase 1 to complete. Then launch these 3 agents simultaneously:
- XSS/Injection Sink Hunter:
- "Find dangerous sinks:
innerHTML,exec,system,eval, SQL queries, file operations. Provide File:Line references."
- SSRF/External Request Tracer:
- "Identify server-side requests: HTTP clients (
fetch,axios), URL fetchers, webhooks. Map user-controllable parameters."
- Data Security Auditor:
- "Trace sensitive data flows (PII, secrets, payments). Identify encryption and storage mechanisms."
Phase 3: Reporting (Synthesis)
Synthesize all findings into deliverables/code_analysis_deliverable.md.
Required Report Structure:
- Scope & Boundaries: Define In-Scope (Network Reachable) vs Out-of-Scope (Local/CLI).
- Executive Summary: High-level security posture.
- Architecture & Tech Stack: Frameworks, patterns, components.
- Authentication & Authorization: Detailed analysis of auth flows and session handling.
- Data Security: Encryption, storage, and sensitive data handling.
- Attack Surface: Detailed list of In-Scope entry points.
- Infrastructure: Secrets management, config, logging.
- Critical File Paths: Categorized list for downstream agents.
- XSS Sinks: List of specific sinks and render contexts.
- SSRF Sinks: List of specific outbound request sinks.
Schema Collection:
- Create
outputs/schemas/directory. - Copy all discovered schema files (OpenAPI, GraphQL, JSON Schema) there.
Next Step: Proceed to perseus:audit to analyze identified components for vulnerabilities.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: kaivyy
- Source: kaivyy/perseus
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.