perseus-logic

Analyzes business logic vulnerabilities, race conditions, and AI security risks in web applications.

66|14|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/kaivyy/perseus --skill perseus-logic
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: perseus-logic
Source: https://github.com/kaivyy/perseus/tree/main/skills/perseus/specialists/logic
Command: npx skills add https://github.com/kaivyy/perseus --skill perseus-logic

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides defensive analysis of business logic, race conditions, and AI/LLM security within the user's codebase, enabling teams to discover logic flaws that automated scanners often miss.

Core Features & Use Cases

  • Phase-driven analysis across multi-language stacks to identify race conditions, data flow issues, and AI prompt risks.
  • Actionable remediation guidance with concrete patterns, safe alternatives, and code examples for critical flows such as payments, authentication, inventory, and AI-enabled features.
  • Use Case: After initial reconnaissance, run this skill to validate secure business logic before deployment and during security reviews.

Quick Start

Initiate a full logic-security assessment with /start to surface race conditions, AI risks, and workflow vulnerabilities.

Frequently Asked Questions about perseus-logic

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find business logic vulnerabilities in my codebase before deployment?

Business logic vulnerabilities are identified through phase-driven analysis of your codebase, targeting race conditions, data flow issues, and workflow flaws in critical flows like payments and authentication. The analysis proceeds from reconnaissance to remediation with concrete code-level recommendations.

What is the best way to detect race conditions in multi-language web applications?

Detecting race conditions in multi-language web applications requires phase-driven security analysis of critical transaction flows, such as inventory and payments, to identify concurrency flaws. The skill analyzes data flow across different code stacks to surface race conditions that automated scanners miss.

How do I analyze AI security risks and prompt vulnerabilities in my application?

AI security risks are analyzed by evaluating prompt injection and LLM workflow vulnerabilities within AI-enabled features in your codebase. The assessment identifies prompt risks and data flow issues, providing actionable remediation guidance with concrete safe alternatives and code examples.

Can I use this analysis to validate secure business logic during a security review?

You can validate secure business logic during security reviews by running this analysis after initial reconnaissance to surface race conditions, AI risks, and workflow vulnerabilities. It generates formal security-analysis deliverables that integrate directly into your existing security review process.

Does this business logic analysis work across different programming languages and frameworks?

This business logic analysis applies across multi-language web applications, examining critical flows like authentication, payments, and inventory without requiring specific dependencies. It analyzes codebases regardless of the underlying language stack to identify data flow issues and race conditions.

Why do automated security scanners miss race conditions and business logic flaws?

Automated security scanners miss business logic flaws because they cannot understand the contextual workflow and state dependencies of critical flows like payments and inventory. This skill performs defensive analysis of business logic and race conditions by tracing data flow and providing code-level remediation guidance.