business-logic-testing

business-logic-testing is a skill for Claude Code, Codex from liuxinye23/CyberStrikeAI. It costs 16 tokens per session (2,041 once invoked), scanned B, original, Apache-2.0.

A security-testing guide for business-logic flaws, which are mistakes in how an application’s rules and process steps are designed.

In plain words
What is it for?
Reviewing registration, purchase, withdrawal, and approval workflows; testing skipped steps, changed parameters, concurrent requests, and invalid order states.
Why use it?
It helps uncover unauthorized actions, altered prices or quantities, repeated operations, and invalid changes that ordinary input checks may miss.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Reviewing registration, purchase, withdrawal, and approval workflows; testing skipped steps, changed parameters, concurrent requests, and invalid order states.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/liuxinye23/cyberstrikeai/business-logic-testing
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 liuxinye23/CyberStrikeAI --skill business-logic-testing
Clone the repo
git clone --depth 1 https://github.com/liuxinye23/CyberStrikeAI

Made for: Claude Code, 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-testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/liuxinye23/cyberstrikeai/business-logic-testing/github.svg)](https://agentmods.dev/skills/liuxinye23/cyberstrikeai/business-logic-testing)
Your own site
<a href="https://agentmods.dev/skills/liuxinye23/cyberstrikeai/business-logic-testing"><img src="https://agentmods.dev/badge/skills/liuxinye23/cyberstrikeai/business-logic-testing/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-testing

Your own site · 80×15
<a href="https://agentmods.dev/skills/liuxinye23/cyberstrikeai/business-logic-testing"><img src="https://agentmods.dev/badge/skills/liuxinye23/cyberstrikeai/business-logic-testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,041 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 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.00016 $0.02041
Opus 5 $0.00008 $0.01020
Sonnet 5 $0.00003 $0.00408
Haiku 4.5 $0.00002 $0.00204

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

Security

Grade B, and why

business-logic-testing scanned grade B with 2 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 10d ago.

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.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

requests.post('https://target.com/api/purchase',

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

requests.post('https://target.com/api/purchase',
skills/business-logic-testing/SKILL.md · 402 lines

How it starts

The opening of the file, as written. The whole thing — 402 lines — stays where its author put it; the contents beside it link to each section on GitHub.

业务逻辑漏洞测试

概述

业务逻辑漏洞是应用程序在业务处理流程中的设计缺陷,可能导致未授权操作、数据篡改、资金损失等。本技能提供业务逻辑漏洞的检测、利用和防护方法。

漏洞类型

1. 工作流绕过

跳过验证步骤:

  • 直接访问最终步骤
  • 修改步骤顺序
  • 重复执行步骤

2. 价格操作

负数价格:

  • 输入负数金额
  • 导致账户余额增加

价格篡改:

  • 修改前端价格
  • 修改API请求中的价格

3. 数量限制绕过

负数数量:

  • 输入负数
  • 可能导致库存增加

超出限制:

  • 修改数量限制
  • 批量操作绕过

4. 时间竞争

并发请求:

  • 同时发送多个请求
  • 绕过单次限制

5. 状态操作

状态回退:

  • 将已完成订单改为待支付
  • 修改订单状态

测试方法

1. 工作流分析

识别业务流程:

  • 注册流程
  • 购买流程
  • 提现流程
  • 审核流程

测试步骤跳过:

正常流程: 步骤1 → 步骤2 → 步骤3
测试: 直接访问步骤3
测试: 步骤1 → 步骤3(跳过步骤2)

2. 参数篡改

修改关键参数:

POST /api/purchase
{
  "product_id": 123,
  "quantity": 1,
  "price": 100.00  # 修改为 0.01
}

负数测试:

{
  "quantity": -1,
  "price": -100.00
}

3. 并发测试

同时发送请求:

import threading
import requests

def purchase():
    requests.post('https://target.com/api/purchase', 
                  json={'product_id': 123, 'quantity': 1})

# 同时发送10个请求
for i in range(10):
    threading.Thread(target=purchase).start()

4. 状态修改

修改订单状态:

PATCH /api/order/123
{
  "status": "completed"  # 修改为已完成
}

回退状态:

PATCH /api/order/123
{
  "status": "pending"  # 从已完成回退到待支付
}

利用技术

价格操作

负数价格:

{
  "product_id": 123,
  "price": -100.00,
  "quantity": 1
}

修改前端价格:

// 前端代码
const price = 100.00;

// 修改为
const price = 0.01;

API价格修改:

POST /api/checkout
{
  "items": [
    {
      "product_id": 123,
      "price": 0.01,  # 原价100.00
      "quantity": 1
    }
  ]
}

数量限制绕过

负数数量:

{
  "product_id": 123,
  "quantity": -10  # 可能导致库存增加
}

超出限制:

{
  "product_id": 123,
  "quantity": 999999  # 超出单次购买限制
}

优惠券滥用

重复使用:

POST /api/checkout
{
  "coupon": "DISCOUNT50",
  "items": [...]
}

# 重复使用同一优惠券

未激活优惠券:

POST /api/checkout
{
  "coupon": "EXPIRED_COUPON",  # 使用过期优惠券
  "items": [...]
}

提现漏洞

负数提现:

{
  "amount": -1000.00  # 可能导致账户余额增加
}

Read the full file on GitHub · 402 lines

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. 10d ago First seen · 402 lines · 16 tokens per session scan B 5ded0f61d02b

Subscribe to this mod's changes

business-logic-testing is a skill published in the GitHub repository liuxinye23/CyberStrikeAI (0 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 16 tokens to every session and 2,041 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

research-engineer

An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.

davila7/claude-code-templates · 43 tokens

tika-eval-compare

Compare extracts from two Tika builds over a corpus to detect regressions in content, encoding, exceptions, and embedded-document handling. Use for "compare before/after extracts", "eval this change against the corpus".

apache/tika · 50 tokens

neuron-evaluation-engineer

Create and run AI evaluations with datasets, assertions, and output drivers in Neuron AI. Use this skill whenever the user mentions evaluation, testing AI systems, creating evaluators, dataset-driven testing, assertion-based validation, or wants to measure AI system performance. Also trigger for tasks involving…

neuron-core/neuron-ai · 77 tokens

jetson-validate-image

Use after jetson-flash-image to run static BSP checks, on-target smoke/regression tests on a flashed DUT, or both. Not for build or flash steps. Triggers: validate bsp, on-target validation.

NVIDIA/skills · 50 tokens

atmos-validation

Validate Atmos projects, components, arbitrary JSON Schema inputs, EditorConfig, and GitHub Actions; use affected-file selection and native CI annotations.

cloudposse/atmos · 31 tokens

skill-benchmark

Benchmark AI skill effectiveness by measuring implementation quality against legacy constraints.

HoangNguyen0403/agent-skills-standard · 16 tokens