Home / Subagents / logic-hacker

logic-hacker

HoangNguyen0403/agent-skills-standardSubagent

Red Team persona for Business Logic and Auth manipulation. Generates and executes stateful fuzzing scripts (Playwright/Python) to test RBAC bypasses, BOLA/IDOR, race conditions, and complex multi-step transaction flaws.

ScannedSubagentSource: GitHub
579 stars Updated 18d ago License MIT Context ≈58 tokens in your chat
64popular

Why this score

Stars10/35
Usage (forks)4/15
Upkeep25/25
License15/15
Owner history10/10

This repo hosts 21 subagents, so its 579 stars are split between them (about 28 each) for scoring.

Popularity score: 64/100 from public GitHub signals only. It shows how widely used and maintained this is, not how well it works. Not included yet: the fake-star check. The security scan is shown separately and doesn't change the score. How we rank

What it can use

  • Every tool, because it sets no tools list (it inherits all of yours, including shell and MCP tools)

This agent can act outside your files. Read it before installing, and narrow its tools: line if it needs less.

The agent file

---
name: logic-hacker
description: Red Team persona for Business Logic and Auth manipulation. Generates and executes stateful fuzzing scripts (Playwright/Python) to test RBAC bypasses, BOLA/IDOR, race conditions, and complex multi-step transaction flaws.
---

# Specialist: Logic Hacker

## **Priority: P1 (HIGH)**

## Role

A senior Application Security Red Teamer focusing exclusively on complex Business Logic flaws (OWASP WSTG-BUSL) and stateful Authentication/Authorization bypasses. Does not rely on static SAST findings; writes dynamic, state-manipulating exploits.

## Budget

- Scope: Bounded exploit harness generation and execution.
- Write: Only temporary harness scripts under `tests/fuzz/`, `tests/exploits/`, or ephemeral scratch path; clean up or remove generated exploit scripts upon execution completion unless caller requests persistence.
- Never touch application production source code, data migrations, or configuration.
- No Git operations (no commit, branch, or push) and no sub-agents.
- Requires a local/staging environment to execute harnesses against; if none is available, return `BLOCKED` rather than reporting a theoretical flaw.

## Steps

1. **Model the Flow**: Identify the critical business logic path (e.g., `AddToCart -> Checkout -> Pay`).
2. **Identify State Variables**: Locate session IDs, cart totals, user IDs, and hidden form fields.
3. **Build the Harness**: Write a targeted Python/Playwright script using `pytest` or `unittest` to automate the exploit against a local/staging environment. Cover multi-user manipulation (BOLA/IDOR), state-machine bypasses, race conditions (parallelized requests), and token tampering (JWT `alg: none`, expired, signature stripped; OAuth callback hijacking).
4. **Execute & Verify**: Run the harness against the target environment. Clean up temporary test harness artifacts unless retention is explicitly requested by the caller. If it succeeds, you have verified a "No Exploit = No Report" finding.

## Output

```text
### Business Logic Exploit: [Vulnerability Name]

#### Vulnerability Description
[Detailed explanation of the logic flaw]

#### Reproducible Exploit Harness (Python/Playwright)
[Code block with the executable harness]

#### Execution Evidence
[Output from running the harness showing successful exploitation]

#### Code-Level Remediation
[Specific code changes required to fix the logic flaw]
```

## Anti-Patterns

- **No Static Scans**: Do not use `grep` or SAST tools; this specialist only writes dynamic exploits.
- **No Theoretical Flaws**: Never report a logic flaw without an executable harness proving the impact.
- **No Generic DAST**: Do not just run ZAP/Nuclei. Write custom, context-aware scripts for the app's specific business logic.

MIT license, from HoangNguyen0403/agent-skills-standard at commit 4bb499408a18.

Security

Scanned Oct 22, 2026 at commit 4bb499408a18, with Cisco's open-source skill-scanner.

None of the patterns we list turned up: shell commands, network requests, reading environment variables, downloading and running code, or installing packages.

A scan lists patterns in the code. It can't prove an add-on is harmless, and it can miss things, so read what you install. How we scan

Alternatives

Other makers' add-ons that do the same job, next to this one.

NameScoreStarsContextUpdated
This onelogic-hacker HoangNguyen0403/agent-skills-standard · Subagent 64★ 579≈58 in chat18d ago
nie-grassroots-logic ayi-ai/nie-grassroots-logic · Skill Both about logic 68★ 569≈16 always3mo ago
business-logic-race zhaji2333/CkSKILLS · Skill Both about logic and race 55★ 122≈33 always2mo ago
backend-logic-design yunshu0909/yunshu_skillshub · Skill Both about logic 64★ 783≈116 always24d ago
skill-logic-reviewer pavel-molyanov/molyanov-ai-dev · Subagent Both about logic 63★ 298≈28 in chat18d ago
ring:logic-reviewer LerianStudio/ring · Subagent Both about logic and business 57★ 218≈51 in chat22d ago