Логотип Business Logic Source Check

Business Logic Source Check

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

Use this skill to identify source points for business logic abuse audits, including workflow state inputs, transition actions, sequence markers, idempotency keys, replay identifiers, rate and quota dimensions, value and accounting inputs, actor-target-beneficiary bindings, retryable events, callbacks, jobs, and integration-driven business events.

Огляд

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

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

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

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

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

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

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

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

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

Установіть навичку ШІ Business Logic 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
  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 .claude/skills/bazhahei123-business-logic-source-check
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

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

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

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

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

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

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

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

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

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

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

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

Business Logic Source Check

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

Your goal is to determine where business-rule-relevant data enters the application and how it is carried into workflows, state transitions, repeated execution paths, quota decisions, value calculations, beneficiary binding, callbacks, queues, and integrations.

Every source point must be tied to concrete code evidence, not assumption or naming alone.

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

Do not record a source point without identifying:

  • the entry point,
  • the source value or event,
  • whether the value is client-controlled, external-system-controlled, server-trusted, mixed, or unclear,
  • the downstream business-rule relevance,
  • the code evidence that connects the source to a business object, workflow, side effect, or decision.

Prefer:

  • confirmed source points,
  • explicit uncertainty,
  • structured source inventories, over vague suspicion.

Scope

Focus on business-logic source points in:

  • routes
  • controllers
  • handlers
  • APIs
  • GraphQL resolvers
  • 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, and reward logic
  • queue, retry, and callback processing
  • downstream tool or third-party integration triggers
  • reconciliation, accounting, and inventory update paths
  • admin, replay, import, batch, and operational tooling

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.
  • Treat request path, query, body, header, cookie, GraphQL variable, RPC argument, form values, uploaded rows, and import payloads as client-controlled unless code proves otherwise.
  • Treat webhook payloads, queue messages, partner callbacks, and provider events as external-system-controlled until authenticity, freshness, and scope are verified.
  • Treat server-side state, database-derived status, verified event records, trusted session context, and recomputed values as stronger sources.
  • Treat alternate routes, alternate HTTP methods, callbacks, retries, async consumers, and replay tools as separate source surfaces.
  • Prefer "Not enough evidence" over fabricated certainty.

Evidence rules

  • Base source classification on actual code paths, not only naming patterns.
  • If a value may be recomputed, normalized, overwritten, deduplicated, or validated elsewhere, mark the source as "Suspected" or "Not enough evidence".
  • Do not classify a business source as trusted only because it is passed through a helper.
  • Always verify whether the value comes from request input, persisted server state, authentication context, framework middleware, callback verification, queue metadata, database state, or business-rule logic.
  • Record downstream use only when visible in the inspected code path.

Audit Workflow

  1. Identify the primary business scenario and workflow implemented by the code under review.
  2. Load references/common-cases.md.
  3. Load the matching scenario-specific reference files from references/.
  4. Enumerate relevant source surfaces, especially state-changing APIs, payment flows, verification flows, retryable operations, callback handlers, queued jobs, expensive downstream triggers, and high-value business actions.
  5. Identify business-rule-relevant source points, such as business object IDs, current state, target state, action names, step markers, idempotency keys, event IDs, retry metadata, quota dimensions, critical values, quantities, and beneficiary identifiers.
  6. For each source point, determine whether it is client-controlled, external-system-controlled, server-trusted, mixed, or unclear.
  7. Trace each source far enough to document downstream business-rule relevance, such as state transition, settlement, fulfillment, reward issuance, quota check, challenge verification, accounting update, or expensive job enqueue.
  8. Review the code using the six source dimensions below.
  9. Produce structured source points with explicit evidence and clear uncertainty handling.

Reference Loading Rules

Always load:

  • references/common-cases.md

Then load the matching scenario-specific reference files from references/ when relevant:

  • Payment / settlement flows -> references/payment-cases.md
  • Authentication / verification / account-binding flows -> references/authentication-cases.md
  • Rate limit / quota / anti-abuse flows -> references/rate-limit-cases.md
  • Workflow / approval / lifecycle flows -> references/workflow-cases.md
  • Promotion / coupon / reward / referral flows -> references/promotion-cases.md
  • Resource consumption / downstream tool usage -> references/resource-consumption-cases.md
  • Third-party callback / integration flows -> references/third-party-integration-cases.md

If multiple scenarios apply, load all relevant scenario references.

If the scenario is not covered by a scenario-specific reference, continue using references/common-cases.md and rely only on clearly identified business objects, source origins, state rules, and code evidence.

If the workflow or scenario 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, not as proof that a vulnerability exists.
  • references/common-cases.md defines shared business source concepts, source categories, trust boundaries, false-positive controls, and source output standards.
  • Scenario-specific reference files define scenario-specific business source values, event origins, downstream uses, and follow-up audit checks.
  • Do not report an issue solely because it resembles a reference case.
  • Prefer real code evidence over case similarity.

Source Dimensions

S1 State and Transition Sources

Direction: Identify current state, target state, status fields, lifecycle flags, transition action names, terminal markers, and state-changing entry points that can influence business object transitions.

S2 Sequence and Workflow Step Sources

Direction: Identify step markers, prerequisite indicators, verification-complete flags, approval records, challenge records, UI flow markers, and backend workflow tokens that determine whether a later step may run.

S3 Idempotency and Replay Sources

Direction: Identify idempotency keys, request IDs, event IDs, transaction references, callback IDs, nonces, timestamps, retry counts, queue job IDs, dedupe keys, and processed-event records used to distinguish first execution from replay.

S4 Rate, Quota, and Resource Trigger Sources

Direction: Identify limiter keys, quota dimensions, initiator IDs, IP/device/session keys, target identifiers, workload size, downstream tool type, export/report parameters, and job trigger payloads that influence abuse controls or resource consumption.

S5 Value, Quantity, and Accounting Sources

Direction: Identify amount, total, currency, discount, coupon result, quantity, balance delta, inventory count, refund amount, settlement amount, ledger fields, reward value, and server-side recomputation sources.

S6 Identity, Scope, and Beneficiary Sources

Direction: Identify actor, target object, payer, recipient, inviter, invitee, beneficiary, coupon owner, account, tenant, merchant, integration account, and delegated-action source values that determine who initiates an action and who receives the effect.


High-Priority Source Targets

Prioritize these source targets first when present:

  • payment creation, callback, capture, refund, settlement, and reconciliation paths
  • OTP, SMS, email verification, password reset, login challenge, and binding flows
  • coupon claiming, coupon redemption, referral, invite, and reward issuance logic
  • approval, publish, archive, cancel, disable, and finalize actions
  • retryable jobs, webhook handlers, and queue consumers
  • export, report generation, OCR, AI tool, or other expensive downstream triggers
  • inventory deduction, balance update, score or points update, and ledger writes
  • workflows with terminal states, one-time entitlements, or side-effectful callbacks
  • admin replay, import, batch, sync, and operational paths that can trigger equivalent business effects

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

  • ...

Source Location

  • ...

Source Value or Event

  • ...

Trust Boundary

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

Downstream Business Use

  • ...

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 or business scenario when useful.
  • Clearly separate confirmed source points from suspected source points.
  • Explicitly state uncertainty where source origin, dedupe logic, quota scope, value recomputation, or downstream business effect 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 Source Check?

Use this skill to identify source points for business logic abuse audits, including workflow state inputs, transition actions, sequence markers, idempotency keys, replay identifiers, rate and quota dimensions, value and accounting inputs, actor-target-beneficiary bindings, retryable events, callbacks, jobs, and integration-driven business events.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Усі
Логотип affaan-m

Quarkus Security

affaan-m
СпільнотаПопулярне

Найкращі практики безпеки Quarkus для автентифікації, авторизації, JWT/OIDC, RBAC, перевірки вхідних даних, CSRF, керування секретами та безпеки залежностей.

39.1K
261.1K
Інструкції
Відкрити
Логотип affaan-m

Quarkus Verification

affaan-m
СпільнотаПопулярне

Цикл перевірки для проєктів Quarkus: збирання, статичний аналіз, тести з покриттям, сканування безпеки, нативна компіляція та перевірка diff перед випуском або створенням PR.

39.1K
261.1K
Інструкції
Відкрити
Логотип affaan-m

Springboot Security

affaan-m
СпільнотаПопулярне

Рекомендації з Spring Security щодо автентифікації й авторизації, валідації, CSRF, секретів, заголовків, обмеження частоти запитів і безпеки залежностей у сервісах Java Spring Boot.

39.1K
261.1K
Інструкції
Відкрити
Логотип affaan-m

Agent Architecture Audit

affaan-m
СпільнотаПопулярне

Повна діагностика агентів і LLM-застосунків. Перевіряє 12 рівнів стека агента на регресії обгорток, забруднення пам’яті, збої дисципліни роботи з інструментами, приховані цикли відновлення та порушення рендерингу. Формує список висновків, упорядкованих за серйозністю, і виправлення з акцентом на код. Незамінний інструмент для розробників, які створюють застосунки на основі агентів, автономні цикли або функції з використанням LLM.

39.1K
261.1K
Інструкції
Відкрити

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

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