business-logic-abuse-review

business-logic-abuse-review is a skill for Codex from Eliyce/paqad-ai. It costs 23 tokens per session (572 once invoked), scanned A, original, MIT.

A security-testing aid that turns descriptions of business workflows into possible ways to misuse them. It considers actions such as approvals, payments, exports, invitations, retries, and state changes, then checks available tests and runtime evidence.

In plain words
What is it for?
Use it during penetration testing of stateful workflows to form abuse cases, compare them with evidence, and record untested paths.
Why use it?
An attacker may abuse a valid workflow without bypassing login or breaking the application. This helps reveal missing checks for replay, duplicate submissions, skipped approvals, invalid transitions, races, and overspending.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it during penetration testing of stateful workflows to form abuse cases, compare them with evidence, and record untested paths.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/eliyce/paqad-ai/business-logic-abuse-review
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Eliyce/paqad-ai --skill business-logic-abuse-review
Clone the repo
git clone --depth 1 https://github.com/Eliyce/paqad-ai

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for business-logic-abuse-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/eliyce/paqad-ai/business-logic-abuse-review/github.svg)](https://agentmods.dev/skills/eliyce/paqad-ai/business-logic-abuse-review)
Your own site
<a href="https://agentmods.dev/skills/eliyce/paqad-ai/business-logic-abuse-review"><img src="https://agentmods.dev/badge/skills/eliyce/paqad-ai/business-logic-abuse-review/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for business-logic-abuse-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/eliyce/paqad-ai/business-logic-abuse-review"><img src="https://agentmods.dev/badge/skills/eliyce/paqad-ai/business-logic-abuse-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 572 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00023 $0.00572
Opus 5 $0.00012 $0.00286
Sonnet 5 $0.00005 $0.00114
Haiku 4.5 $0.00002 $0.00057

Measured 9d ago against content hash bc9bd6c49291, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

business-logic-abuse-review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/find-workflow-docs.sh, scripts/lint-findings.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

runtime/capabilities/security/skills/business-logic-abuse-review/SKILL.md · 66 lines

What it actually says

What It Does

Turns business workflow descriptions into concrete abuse hypotheses so pentest reports can cover replay, bypass, approval skipping, and invalid transitions with project context.

Use This When

Use this when module docs describe stateful workflows, approvals, payments, exports, retries, invites, or any action that can be abused without breaking auth.

Inputs

  • Read the workflow and state-related module docs first.
  • Read references/abuse-cases.md before selecting hypotheses.
  • Read tests and runtime artifacts that could confirm or refute those hypotheses.

Procedure

  1. Run scripts/find-workflow-docs.sh to enumerate candidate workflow/state docs.
  2. Extract state changes, approvals, and high-value actions from those docs.
  3. For each, pick an abuse-case tag from assets/abuse-case-categories.txt (replay, double-submit, invalid-transition, bypass-approval, race, rollback-skip, overspend).
  4. Confirm whether tests or runtime evidence cover that abuse path; record the exact missing proof.
  5. Format per assets/output.template.md and validate with scripts/lint-findings.sh.

Output Contract

  • Match assets/output.template.md: ## Findings, ### {{module}} — {{abuse-case-tag}}, with Module:, Step:, Abuse case:, Missing proof:, Reproduction: segments.
  • Output must pass scripts/lint-findings.sh (exit 0).
  • Reproduction steps must be concrete enough for a manual retest.

Escalate / Stop Conditions

  • Ask when the workflow is clearly high-value but the module docs do not describe its state transitions.
  • Warn when the docs suggest irreversible or financial actions without matching abuse-focused test evidence.
  • Do not present a generic “business logic risk” without naming the exact abuse case.

Resources

  • references/abuse-cases.md
  • scripts/find-workflow-docs.sh
  • scripts/lint-findings.sh
  • assets/output.template.md
  • assets/abuse-case-categories.txt
  • agents/openai.yaml
Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 66 lines · 23 tokens per session scan A bc9bd6c49291

Subscribe to this mod's changes

business-logic-abuse-review is a skill published in the GitHub repository Eliyce/paqad-ai (8 stars, last pushed yesterday), licensed MIT. It adds 23 tokens to every session and 572 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.