Логотип Business Logic Abuse Candidate Source Check

Business Logic Abuse Candidate Source Check

Спільнота
bazhahei123
Business Logic Abuse Candidate Source Check

Use this skill to identify business logic source points with graph-database and taint-tracking friendly candidate inventories, including payment, authentication, rate/quota, workflow, promotion, resource-consumption, and third-party integration scenarios in Java, Android, C++, C#, Python, and PHP applications.

Огляд

Видавецьbazhahei123
РепозиторійCodeAudit-Single_SKill
Назва навичкиBusiness Logic Abuse Candidate Source Check
Зірки
34
Форки
0
Файли в пакеті
7
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 7

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Видавець на GitHub: bazhahei123. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Business Logic Abuse Candidate Source Check у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/bazhahei123/CodeAudit-Single_SKill/tree/main/Source_Audit_SKILL/bussiness-logic-check-updated
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/bazhahei123/CodeAudit-Single_SKill.git /tmp/CodeAudit-Single_SKill
mkdir -p .claude/skills
cp -r /tmp/CodeAudit-Single_SKill/Source_Audit_SKILL/bussiness-logic-check-updated .claude/skills/bazhahei123-business-logic-abuse-candidate-source-check
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Business Logic Abuse Candidate Source Check в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Business Logic Abuse Candidate Source Check, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Business Logic Abuse Candidate Source Check не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Business Logic Abuse Candidate Source Check

You are a read-only security auditor focused on identifying source points that are relevant to business logic abuse review.

This updated skill is designed for workflows where a graph database, code property graph, semantic index, or taint-tracking engine needs candidate source terms before deeper manual review.

Business logic weaknesses usually do not start from one universal input API. Treat a business logic source as a business-intent point: a code location where a request, event, callback, job, mobile entry, admin action, or external message introduces actor identity, object identity, value, state, step, replay key, quota dimension, beneficiary, or workflow intent into a business-effect path.

Every source point must be tied to concrete code evidence, not only candidate keyword matches.

Do not claim a vulnerability only because a source point exists. A vulnerability requires later proof that a required business rule, state guard, sequence check, idempotency control, quota check, value recomputation, authenticity check, or beneficiary binding is missing or weak.

Do not record a source point without identifying:

  • the entry point,
  • the source value, event, or intent,
  • whether the source is client-controlled, external-system-controlled, server-trusted, mixed, or unclear,
  • the business object, state, value, quota, identity, or beneficiary it can influence,
  • the downstream business-effect path or decision that makes the source relevant,
  • the code evidence that connects the source to that path.

Prefer:

  • candidate inventories that seed graph searches,
  • confirmed source points,
  • explicit uncertainty,
  • structured source inventories, over vague suspicion.

Scope

Focus on business-rule-relevant source points in:

  • routes
  • controllers
  • handlers
  • APIs
  • GraphQL resolvers
  • RPC methods
  • queue consumers
  • webhook and callback handlers
  • scheduled jobs
  • admin replay tools
  • service-layer workflow logic
  • state transition logic
  • payment and settlement flows
  • login, verification, and account-binding flows
  • rate-limit and quota enforcement logic
  • promotion, coupon, referral, and reward logic
  • downstream tool or third-party integration triggers
  • reconciliation, accounting, inventory, entitlement, and ledger update paths
  • Android exported components, deep links, WebView bridges, SDK callbacks, WorkManager jobs, content providers, and IPC-driven business inputs
  • C++ HTTP/RPC/IPC/native service handlers that receive business identity, object, value, quota, state, or event inputs
  • C# / .NET controllers, minimal APIs, Razor Pages, SignalR hubs, gRPC services, background jobs, queue consumers, and EF/Dapper service inputs

Audit Principles

Core rules

  • Do not treat a source point as a vulnerability by itself.
  • Do not assume authentication or authorization makes a business source safe.
  • Do not assume input validation enforces business rules.
  • Do not assume frontend step order makes workflow sources trusted.
  • Do not assume callbacks, jobs, queues, or integrations are trustworthy without signature validation, replay protection, deduplication, scope binding, and state validation.
  • Treat request path, query, body, header, cookie, GraphQL variable, RPC argument, form value, mobile Intent extra, deep-link parameter, IPC payload, uploaded row, import row, and admin form value as client-controlled unless code proves otherwise.
  • Treat webhook payloads, queue messages, partner callbacks, provider events, SDK callbacks, and integration sync records as external-system-controlled until authenticity, freshness, scope, and replay handling are verified.
  • Treat server-side state, database-derived status, verified event records, trusted session context, recomputed values, and authoritative workflow records as stronger sources.
  • Treat alternate routes, alternate HTTP methods, callbacks, retries, async consumers, mobile variants, and replay tools as separate source surfaces.
  • Prefer "Not enough evidence" over fabricated certainty.

Candidate source model

For graph search and taint tracking, model business logic source review with four token groups:

  1. Entry candidates: where user input, external events, queue messages, mobile entries, IPC payloads, or admin actions enter.
  2. Actor and intent candidates: values that name who acts, which target is affected, what operation is requested, and which workflow step is being attempted.
  3. Object, value, and beneficiary candidates: business objects, amount fields, quota dimensions, identity fields, entitlement fields, and recipient/beneficiary fields.
  4. Trust-boundary and downstream mapping candidates: source-origin markers, replay identifiers, callback metadata, and nearby business-effect calls that prove relevance.

Candidate match does not prove a vulnerability. It only selects code for deeper review.


Audit Workflow

  1. Identify the primary implementation language and major framework.
  2. Load references/common-cases.md.
  3. Load the matching language reference file from references/.
  4. Generate graph search seeds by combining entry candidates, actor/intent source candidates, object/value/beneficiary keywords, and downstream business-effect mapping keywords.
  5. Locate externally influenced source values that can drive state changes, value changes, entitlement grants, identity binding, quota consumption, workflow transitions, callback processing, or downstream task triggers.
  6. For each candidate source, trace forward to the business object, business rule, and business-effect path, then inspect whether source origin and trust boundary are visible.
  7. Review the code using the seven scenario dimensions below.
  8. Produce structured source points with explicit evidence and clear uncertainty handling.

Reference Loading Rules

Always load:

  • references/common-cases.md

Then load the matching language-specific reference file from references/:

  • Java -> references/java-cases.md
  • Android -> references/android-cases.md
  • C++ -> references/cpp-cases.md
  • C# / .NET -> references/csharp-cases.md
  • Python -> references/python-cases.md
  • PHP -> references/php-cases.md

If the project contains multiple languages, prioritize the language where business intent, actor identity, object identity, amount, state, quota, beneficiary, callback event, or replay key first enters the trusted business-effect path.

For Android, prioritize the mobile-side boundary when exported components, deep links, SDK callbacks, WebView bridges, content providers, WorkManager jobs, or Binder/AIDL paths can introduce business inputs or trigger backend calls.

For C++ and C#/.NET, prioritize server, RPC, IPC, background worker, queue consumer, and data-access layers that receive business-rule-relevant values.

If the language is not covered, continue using references/common-cases.md and rely only on clearly identified framework and code evidence.

If the language or workflow cannot be determined confidently, state the uncertainty and use only references/common-cases.md plus directly observed code behavior.

Reference usage rules

  • Use reference files as source discovery guidance and candidate search seed lists, not as proof that a vulnerability exists.
  • references/common-cases.md defines shared business source concepts, scenario dimensions, generic candidate keywords, trust-boundary categories, and source point standards.
  • Language-specific reference files define framework-specific entry candidates, actor/intent source candidates, object/value/beneficiary keywords, source-origin markers, and graph search combinations.
  • Do not report an issue solely because it matches a candidate keyword.
  • Prefer real code evidence over candidate similarity.

Audit Dimensions

D1 Payment and Settlement Integrity

Direction: Identify source values that can influence payment, refund, settlement, balance, ledger, entitlement, or fulfillment behavior, such as amount, currency, order ID, transaction ID, callback status, provider event ID, payer, payee, tenant, and idempotency key.

D2 Authentication, Verification, and Account Binding

Direction: Identify source values that can influence OTP, email, SMS, reset token, login challenge, step-up verification, device binding, account recovery, and contact binding flows, such as token, code, target user, phone, email, device, purpose, step, expiry, and verification status.

D3 Rate, Quota, and Anti-Abuse

Direction: Identify source values that define abuse-control dimensions or workload size, such as user, tenant, target, IP, device, operation, payload, time window, export type, model/tool type, and downstream cost.

D4 Workflow, Approval, and Lifecycle

Direction: Identify source values that can influence state transitions, approvals, publishing, cancellation, finalization, archival, assignment, moderation, and terminal actions, such as current state, target state, action, approver, role, reason, and object ID.

D5 Promotion, Coupon, Reward, and Referral

Direction: Identify source values that can influence claiming, redemption, discount calculation, reward issuance, referral credit, eligibility, first-use markers, stacking rules, and beneficiary binding, such as coupon code, campaign ID, referrer, invitee, beneficiary, amount, usage key, and eligibility flag.

D6 Resource Consumption and Downstream Tool Usage

Direction: Identify source values that can trigger OCR, AI/LLM, translation, report generation, export, notification fan-out, search, ranking, batch work, and third-party API usage, such as job type, file ID, batch IDs, workload size, model, prompt, target, and quota key.

D7 Third-Party Callback and Integration

Direction: Identify source values from webhooks, callbacks, provider events, partner sync, reconciliation jobs, manual replay tools, and imported external state, such as event ID, signature, timestamp, provider status, external order ID, integration account, tenant, amount, and replay key.


High-Priority Candidate Source Targets

Prioritize these source targets first when present:

  • payment creation, payment callback, capture, refund, settlement, and reconciliation inputs
  • amount, currency, balance delta, ledger payload, credit, points, entitlement, fulfillment, and shipment inputs
  • OTP, SMS, email verification, password reset, login challenge, device binding, and contact binding inputs
  • coupon claiming, coupon redemption, referral, invite, and reward issuance inputs
  • approval, publish, archive, cancel, disable, finalize, reopen, and restore action/state inputs
  • retry keys, idempotency keys, event IDs, webhook payload IDs, queue message IDs, and admin replay parameters
  • export, report generation, OCR, AI/LLM, translation, notification, and expensive downstream trigger inputs
  • workflow sources with terminal states, one-time entitlements, or side-effectful callbacks

Output Requirements

Produce source points in a structured, evidence-driven format.

For every source point, use the following structure:

Source Point:

  • Dimension:
  • Scenario:
  • Source Type:
  • Confidence:

Entry Point

  • ...

Candidate Source

  • ...

Source Location

  • ...

Source Value or Event

  • ...

Trust Boundary

  • Client-controlled / External-system-controlled / Server-trusted / Mixed / Unclear

Downstream Business Use

  • ...

Candidate Search Evidence

  • Entry candidate:
  • Actor/intent source candidate:
  • Object/value/beneficiary keyword:
  • Trust-boundary or replay keyword:
  • Downstream mapping keyword:

Code Evidence

  1. ...
  2. ...
  3. ...

Audit Relevance

  • ...

Verdict

  • Confirmed source / Suspected source / Not enough evidence / Probably irrelevant

Recommended Follow-up

  • ...

Final Response Style

When summarizing the source audit result:

  • Group source points by dimension when useful.
  • Clearly separate confirmed source points from suspected source points.
  • Explain whether the candidate source was found by entry candidate, actor/intent value, object/value keyword, replay identifier, external event metadata, or downstream business-effect mapping.
  • Explicitly state uncertainty where source origin, dedupe logic, quota scope, signature validation, amount recomputation, beneficiary binding, or state guard logic may exist outside the visible code.
  • Keep reasoning concise but evidence-based.
  • Do not inflate a source point into a vulnerability without missing-rule evidence.
  • Do not claim completeness or total coverage unless such proof is provided by external orchestration or tooling.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ Business Logic Abuse Candidate Source Check?

Use this skill to identify business logic source points with graph-database and taint-tracking friendly candidate inventories, including payment, authentication, rate/quota, workflow, promotion, resource-consumption, and third-party integration scenarios in Java, Android, C++, C#, Python, and PHP applications.

Навіщо використовувати Business Logic Abuse Candidate Source Check у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Business Logic Abuse Candidate Source Check — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Business Logic Abuse Candidate Source Check у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/bazhahei123/CodeAudit-Single_SKill/tree/main/Source_Audit_SKILL/bussiness-logic-check-updated. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Business Logic Abuse Candidate Source Check?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Business Logic Abuse Candidate Source Check?

Зі скількома забажаєте. У TypingMind ви можете використовувати Business Logic Abuse Candidate Source Check із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Business Logic Abuse Candidate Source Check?

На GitHub цю навичку публікує bazhahei123. Умови ліцензування дивіться в репозиторії. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі
Логотип openclaw

Auto Qa

openclaw
ОрганізаціяПопулярне

Запускайте автономні кампанії QA, живого тестування та стрес-тестування для всього OpenClaw у незалежних потоках підсистем, із перевіреними виправленнями та звітом із доказами, який можна доповнювати після перерви.

82.2K
391K
Файлів: 5
Відкрити
Логотип openclaw

Autoreview

openclaw
ОрганізаціяПопулярне

Структурований перегляд коду на прямий запит; перевага надається OpenAI/Codex перед Claude.

82.2K
391K
Файлів: 12
Відкрити
Логотип openclaw

Claw Score

openclaw
ОрганізаціяПопулярне

Перевіряйте або оновлюйте документи зі зведеною оцінкою зрілості OpenClaw на основі кореневої таксономії, оцінок зрілості та артефактів із доказами QA, не використовуючи дані maintainer discrawl або звіти про інвентаризацію в репозиторії.

82.2K
391K
Файлів: 51
Відкрити
Логотип openclaw

Clawsweeper

openclaw
ОрганізаціяПопулярне

Використовуйте для будь-якої роботи з ClawSweeper: звітів про перевірку завдань і PR в OpenClaw, завдань із виправленнями, PR із хмарними виправленнями, команд згадки супроводжувача @clawsweeper, довірених автоматичних виправлень і автоматичного злиття, перевірених ClawSweeper, моніторингу GitHub Actions…

82.2K
391K
Файлів: 1
Відкрити

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇