Claude 24f816b6a3
Consolidate 22 sibling repos into layered organism structure
Place useful parts of the surrounding repos into sica-fondt by layer, per the
body model (Ada = membrane; brain/endocrine/capabilities/knowledge non-Ada):

- brain/        LLM reasoning + providers (dapr, hermes, MoMoA)
- capabilities/ REPRAG sidecars: hermes tools/skills, dapr tools, parallel
                dispatch, A51 channels, and the OSINT cluster
- knowledge/    LORAG corpus: 754 cyber-skills, agency personas, secure-coding,
                MITRE ATT&CK data
- reference/    defensive threat-reference (C3, shhbruh doc) + AdaYaml parser

License handling: AGPL sources (worldosint, advanced_evolution, mercury,
Reticulum) and GPL DeTTECT are SPEC-only clean-room/port descriptions — no
copyleft code copied. MIT/Apache/data parts copied as working trees.

Safety: shhbruh escape/persistence material and C3 covert-C2 kept as reference
only, not wired into the running organism. See CONSOLIDATION.md.

https://claude.ai/code/session_01UehUqEXXJJCsHoA4voCU5c
2026-06-10 06:53:01 +00:00

1.8 KiB

API Reference: Testing for Business Logic Vulnerabilities

requests Library

Concurrent Testing (Race Conditions)

import threading

def send_request():
    resp = requests.post(url, headers=headers, json=payload)
    results.append(resp.status_code)

threads = [threading.Thread(target=send_request) for _ in range(10)]
for t in threads: t.start()
for t in threads: t.join()

Business Logic Test Categories

Price Manipulation Payloads

Test Payload Expected
Negative quantity {"quantity": -1} Should reject
Zero price {"price": 0} Should reject
Float quantity {"quantity": 0.001} Should reject for physical goods
Integer overflow {"quantity": 2147483647} Should reject
Negative price {"price": -99.99} Should reject

Workflow Bypass Tests

  1. Skip email verification -> access dashboard
  2. Skip payment -> confirm order
  3. Skip MFA -> access protected resources
  4. Repeat one-time steps (coupon, voucher)

Race Condition Targets

Endpoint Risk
Coupon application Applied multiple times
Balance transfer Double spending
Reward claiming Multiple claims
Inventory purchase Overselling

Referral/Reward Abuse

  • Self-referral with own email
  • Referral code reuse across accounts
  • Coupon stacking (multiple codes)
  • Earn points -> cancel order -> keep points

OWASP Category

  • A04:2021 - Insecure Design
  • Business logic flaws are not detectable by automated scanners

References