Perseus:Start 标志

Perseus:Start

社区
kaivyy
perseus:start

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

Add to TypingMind

概览

发布者kaivyy
代码仓库perseus
技能名称perseus:start
星标数
68
复刻数
14
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 kaivyy 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Perseus:Start AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/kaivyy/perseus/tree/main/skills/perseus/start
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/kaivyy/perseus.git /tmp/perseus
mkdir -p .claude/skills
cp -r /tmp/perseus/skills/perseus/start .claude/skills/kaivyy-perseus-start
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Perseus:Start,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Perseus:Start。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Perseus:Start 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Perseus Start (Automated Security Assessment)

Context & Authorization

IMPORTANT: This skill orchestrates a complete security assessment on the user's own codebase. This is defensive security testing - the user is proactively finding vulnerabilities in their own code before attackers do.

Authorization: The user has explicitly invoked this assessment on their own codebase in their own development environment. This is equivalent to running a comprehensive test suite, static analyzer, or security audit tool.

This is NOT an attack on external systems. All analysis is performed on local files the user owns and controls.


Overview

This master skill orchestrates the entire Perseus security assessment lifecycle with smart auto-detection of languages, frameworks, and technologies.

Goal: Zero-touch automated security assessment with professional-grade output.

Engagement Mode (Required)

Before running phases, select one mode:

ModeEnvironmentBehavior
PRODUCTION_SAFELive productionPassive-first analysis and minimal safe verification only
STAGING_ACTIVEStaging/pre-productionActive safe payload testing with request throttling
LAB_FULLIsolated labFull dynamic verification and payload mutation
LAB_RED_TEAMDedicated lab environmentMulti-step adversarial simulation with kill-switches

Default mode is PRODUCTION_SAFE unless user explicitly confirms staging/lab authorization.

Smart Auto-Detection

Before starting the assessment, Perseus automatically detects:

Language Detection

FilesLanguage
package.json, *.ts, *.jsJavaScript/TypeScript
go.mod, *.goGo
composer.json, *.phpPHP
requirements.txt, *.pyPython
Cargo.toml, *.rsRust
pom.xml, *.javaJava
Gemfile, *.rbRuby
*.csproj, *.csC#

Framework Detection

Files/PatternsFramework
next.config.*, app/ directoryNext.js
nuxt.config.*Nuxt.js
angular.jsonAngular
vite.config., svelte.config.Vite/Svelte
gin import, echo importGo (Gin/Echo)
artisan, laravelPHP (Laravel)
manage.py, djangoPython (Django)
fastapi importPython (FastAPI)
actix-web, axum in Cargo.tomlRust (Actix/Axum)
spring-bootJava (Spring)
railsRuby on Rails

Infrastructure Detection

FilesTechnology
Dockerfile, docker-compose.ymlDocker
.github/workflows/*.ymlGitHub Actions
.gitlab-ci.ymlGitLab CI
*.tfTerraform
k8s/, kubernetes/, *.yaml with apiVersionKubernetes
serverless.ymlServerless
vercel.jsonVercel

API Detection

PatternsType
/graphql, schema.graphql, *.gqlGraphQL
WebSocket, ws://, wss://WebSocket
*.proto, grpcgRPC
openapi, swaggerREST/OpenAPI

AI/LLM Detection

PatternsTechnology
openai, anthropic, langchainLLM Integration
vector store, embeddingsRAG System
prompt, completionAI Features

Complete Capability Matrix

Core Phases (Always Run)

PhaseSkillPurpose
1scanMap architecture, entry points, attack surface
2auditAnalyze all vulnerability classes
3exploitVerify findings with safe PoCs
4reportGenerate executive security report

Specialist Deep-Dives (Run When Detected)

SkillTrigger ConditionExtended Coverage
apiREST/GraphQL/WebSocket/gRPC+OAuth, Cache, multi-lang
injectionNoSQL/Templates/Commands+Log4j, SSTI, multi-lang
cryptoJWT/Encryption/Hashing+multi-lang patterns
supply-chainPackage manifests+multi-lang, typosquatting
fileFile uploads/operations+Zip Slip, XXE, multi-lang
logicPayment/Auth/AI flows+AI prompt injection
clientReact/Vue/Angular/SSR+Server Components, Actions
configAlways+Docker, CI/CD, Cloud, K8s

Execution Flow

Phase -1: Engagement Setup

Action: Determine mode and boundaries

1. Detect runtime context (production/staging/lab)
2. Ask for explicit authorization scope if context is unclear
3. Set mode: PRODUCTION_SAFE, STAGING_ACTIVE, LAB_FULL, or LAB_RED_TEAM
4. Create deliverables/engagement_profile.md with:
   - mode
   - in-scope targets
   - excluded systems
   - request-rate limits
   - approved test window
   - kill-switch thresholds (error rate, latency, saturation)

Announce: "Engagement mode set to: [MODE]"


Phase 0: Auto-Detection

Action: Detect project technologies

1. Scan for package manifests:
   - package.json → Node.js
   - go.mod → Go
   - composer.json → PHP
   - requirements.txt/pyproject.toml → Python
   - Cargo.toml → Rust
   - pom.xml/build.gradle → Java
   - Gemfile → Ruby

2. Scan for framework indicators:
   - next.config.* → Next.js
   - app/ with page.tsx → Next.js App Router
   - angular.json → Angular
   - gin/echo imports → Go frameworks
   - artisan/laravel → Laravel
   - manage.py → Django
   - spring-boot → Spring

3. Scan for infrastructure:
   - Dockerfile → Container
   - .github/workflows/ → GitHub Actions
   - .gitlab-ci.yml → GitLab CI
   - *.tf → Terraform
   - k8s/*.yaml → Kubernetes

4. Scan for API types:
   - graphql, *.gql → GraphQL
   - proto files → gRPC
   - websocket imports → WebSocket

5. Scan for AI integration:
   - openai, anthropic imports → LLM
   - langchain, llama → AI framework

Announce: "Detected: [Language], [Framework], [Infrastructure]"


Phase 1: Reconnaissance

Action: Invoke Skill: perseus:scan

Agents Deployed: 13 parallel agents covering:

  • Architecture & Entry Points (multi-language aware)
  • Dependencies & Secrets
  • Injection Sinks & XSS Sinks
  • SSRF & Data Flows
  • Crypto & Configuration

Wait Condition: deliverables/code_analysis_deliverable.md exists

Transition: "Scan complete. Analyzing for specialists..."


Phase 1.5: Specialist Detection

Based on detection results and scan findings:

DETECTED: Next.js/React     → Queue /client (with SSR focus)
DETECTED: GraphQL           → Queue /api (with GraphQL focus)
DETECTED: Docker            → Queue /config (with container focus)
DETECTED: GitHub Actions    → Queue /config (with CI/CD focus)
DETECTED: Kubernetes        → Queue /config (with K8s focus)
DETECTED: MongoDB/Redis     → Queue /injection (with NoSQL focus)
DETECTED: LLM/AI            → Queue /logic (with AI security focus)
DETECTED: JWT/Auth          → Queue /crypto
DETECTED: File uploads      → Queue /file
DETECTED: Package manifests → Queue /supply-chain
ALWAYS                      → Queue /config

Announce: "Will run specialists: [list based on detection]"


Phase 2: Core Vulnerability Analysis

Action: Invoke Skill: perseus:audit

Agents Deployed: 14 parallel agents in 3 waves (language-aware):

  • Wave 1: SQLi, CMDi, XSS, Auth, Authz
  • Wave 2: SSRF, SSTI, Deserialization, Path Traversal, XXE
  • Wave 3: JWT, Crypto, Race Conditions, Business Logic

Wait Condition: All *_analysis.md files exist in deliverables/

Transition: "Audit complete. Running specialist deep-dives..."


Phase 2.5: Specialist Deep-Dives (Parallel)

Action: Invoke all detected specialists simultaneously

Example for Next.js + MongoDB + Docker project:

Parallel:
  - Skill: perseus-api (GraphQL if detected)
  - Skill: perseus-injection (NoSQL focus)
  - Skill: perseus-crypto
  - Skill: perseus-client (React/Next.js focus)
  - Skill: perseus-config (Docker + GitHub Actions)
  - Skill: perseus-supply-chain

Wait Condition: All specialist reports exist

Transition: "Specialist analysis complete. Proceeding to exploitation..."


Phase 3: Exploitation & Verification

Action: Invoke Skill: perseus:exploit

Agents Deployed: 14 parallel agents verifying findings based on engagement mode:

  • SQL/Command/NoSQL injection verification
  • XSS payload generation (including React/Vue specific)
  • Auth/Authz bypass testing
  • SSRF/SSTI/XXE verification
  • JWT attack testing
  • Race condition testing
  • AI prompt injection testing (if AI detected)

Mode Enforcement:

  • PRODUCTION_SAFE: passive + minimal verification, no internal scanning, strict request caps
  • STAGING_ACTIVE: active safe PoCs with throttling
  • LAB_FULL: full dynamic verification in isolated environment
  • LAB_RED_TEAM: attack-chain simulation in isolated lab with automatic abort thresholds

Safety Enforcement (all modes):

  • Only safe payloads (whoami, sleep, alert(1), {{7*7}})
  • No destructive operations
  • No data exfiltration

Wait Condition: deliverables/exploitation_report.md exists

Transition: "Exploitation complete. Generating final report..."


Phase 4: Report Generation

Action: Invoke Skill: perseus:report

Process:

  1. Synthesize all deliverables
  2. Calculate severity scores (CVSS)
  3. Prioritize verified exploits
  4. Generate language/framework-specific remediation
  5. Add infrastructure recommendations

Output: deliverables/SECURITY_REPORT.md


Execution Instructions

When the user invokes /start, execute exactly this sequence:

1. Announce: "Starting Perseus Security Assessment..."

2. Execute Phase -1 (Engagement Setup):
   - Determine environment and authorization
   - Set mode (default PRODUCTION_SAFE)
   - Write deliverables/engagement_profile.md
   - Announce: "Engagement mode: PRODUCTION_SAFE"

3. Execute Phase 0 (Auto-Detection):
   - Scan for languages, frameworks, infrastructure
   - Announce: "Detected: Next.js 14 (TypeScript), MongoDB, Docker, GitHub Actions"

4. Execute Phase 1:
   - Call: Skill: perseus:scan
   - Wait for completion
   - Announce: "Scan complete. Found X entry points, Y sinks."

5. Detect Specialists:
   - Analyze detection results + scan findings
   - List which specialists will run with their focus areas
   - Announce: "Will run: /api (GraphQL), /client (Next.js), /injection (MongoDB), /config (Docker+CI)"

6. Execute Phase 2:
   - Call: Skill: perseus:audit
   - Wait for completion
   - Announce: "Audit complete. Found X potential vulnerabilities."

7. Execute Phase 2.5:
   - Call all detected specialist skills in parallel
   - Wait for completion
   - Announce: "Specialist analysis complete."

8. Execute Phase 3:
   - Call: Skill: perseus:exploit
   - Wait for completion
   - Announce: "Exploitation complete. X verified, Y false positives."

9. Execute Phase 4:
   - Call: Skill: perseus:report
   - Wait for completion

10. Final Announcement:
   "Assessment Complete!"

   Technologies Analyzed:
   - Language: TypeScript/Node.js
   - Framework: Next.js 14 (App Router)
   - Database: MongoDB
   - Infrastructure: Docker, GitHub Actions

   "Report saved to: deliverables/SECURITY_REPORT.md"

   Summary:
   - Critical: X
   - High: Y
   - Medium: Z
   - Low: W

   "Review the report for detailed findings and remediation guidance."

Output Structure

After completion, the deliverables/ directory will contain:

deliverables/
├── engagement_profile.md          # Mode, scope, and verification constraints
├── code_analysis_deliverable.md    # Scan results (multi-language)
├── sql_injection_analysis.md       # Core audit
├── command_injection_analysis.md
├── xss_analysis.md
├── auth_analysis.md
├── authz_analysis.md
├── ssrf_analysis.md
├── template_injection_analysis.md
├── deserialization_analysis.md
├── path_traversal_analysis.md
├── xxe_analysis.md
├── jwt_analysis.md
├── crypto_analysis.md
├── race_condition_analysis.md
├── business_logic_analysis.md
├── api_security_analysis.md        # Specialists (if run)
├── injection_deep_analysis.md
├── crypto_security_analysis.md
├── supply_chain_analysis.md
├── file_security_analysis.md
├── client_side_analysis.md
├── config_security_analysis.md     # Includes Docker/CI/K8s
├── verification_scope.md           # Exploit verification boundaries
├── exploitation_report.md          # Verified exploits
└── SECURITY_REPORT.md              # Final executive report

Language-Specific Coverage

LanguageSQLNoSQLXSSSSTICMDiCryptoFile
JavaScript/TS✅✅✅✅✅✅✅
Go✅✅✅✅✅✅✅
PHP✅✅✅✅✅✅✅
Python✅✅✅✅✅✅✅
Rust✅✅✅✅✅✅✅
Java✅✅✅✅✅✅✅
Ruby✅✅✅✅✅✅✅
C#✅✅✅✅✅✅✅

Quick Reference

CommandDescription
/startFull automated assessment with auto-detect (this skill)
/scanPhase 1 only - Reconnaissance
/reportPhase 4 only - Report generation
/specialistRun all specialist skills in parallel

常见问题

Perseus:Start AI 技能有什么作用?

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

为什么在 TypingMind 中使用 Perseus:Start?

因为您只需安装一次,就能搭配任何模型使用。Perseus:Start 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Perseus:Start?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/kaivyy/perseus/tree/main/skills/perseus/start。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Perseus:Start?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Perseus:Start 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Perseus:Start 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Perseus:Start AI 技能免费吗?

是的。kaivyy 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇