Files
webworthit/chain/rubric.md
T
martbost 6aeb1b2146 Rubric red flag 4 sharpened (Marty 2026-11-16): forced High only when earlier buyers are paid from later buyers' payments; sponsor commissions on a delivered product are disclosed and scored, not auto-flagged
Deterministic payout read (chain/payouts.py): every payout matched to the buyer of the same tx and classed operator /
referral line / earlier buyer outside the line. Earlier-buyer payouts = VERIFIED red flag 4. A model red flag 4 is
INFERRED, must cite evidence, and is not applied when the chain shows only operator and referral-line payouts
(shown on the report as 'Considered and not applied'). Same test for every contract.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 12:26:07 -06:00

5.3 KiB

Contract risk scoring rubric (draft v1.1, from the 3xSusu review 2026-11-16)

Score each category 0 to 10 (10 = worst), then weight. A single "critical" red flag caps the overall grade at High risk whatever the total. Every score must cite evidence tagged VERIFIED (on chain, tx/block), INFERRED (bytecode/decompile/simulation) or UNKNOWN. Unknown counts against the project: if the team hid it, assume the worse case and say so.

1. Control and upgradeability (weight 25)

Raises risk:

  • Upgradeable proxy (UUPS or Transparent) whose upgrade right sits with a single EOA (critical)
  • Upgrades already used after launch, especially after money arrived (each one is a reset of everything audited)
  • No timelock, no multisig, no on-chain delay or announcement event before upgrade
  • Implementation source unverified (critical when combined with upgradeability)
  • Owner can pause the functions members use to get money out (refund/claim/withdraw)
  • Owner can change fee splits, recipients, limits or token addresses after launch
  • Controller wallets are EIP-7702 delegated EOAs (code you also need to review) Lowers risk:
  • Immutable contract, or ownership renounced (verify owner() = 0 and no other role can upgrade)
  • Upgrade/admin held by a Safe with a meaningful threshold plus a timelock of at least 48 h
  • Verified source matching the deployed bytecode

2. Custody and exit paths (weight 25)

List every path by which tokens can leave the contract and who can trigger each. Raises risk:

  • Any owner/admin sweep, rescue, withdraw, setRecipient or arbitrary-call function (critical)
  • Members' unlimited token approvals to an upgradeable spender (the code behind the spender can change)
  • Refund/claim promises that the reserve cannot cover (compare liability vs balance)
  • Member balances held as a non-transferable internal token that can only be "spent" back into the scheme Lowers risk:
  • Members can withdraw their own principal at any time, unpausable, without a gate
  • Exact accounting: outflows = sum of rule-based splits, no unexplained outflows (check with tokenflow)

3. Economic design (weight 20)

Raises risk:

  • Returns funded by later entrants: an earlier buyer or position holder is paid from a later buyer's payment (matrix, cycler, pot, "3x", "previous N spots" paid from new entries, refunds funded by new entries) (critical, red flag 4)
  • Commission to the buyer's sponsor or the sponsors above them (the buyer's referral line) on a sale where the buyer receives a delivered product (ad credits, views, a report): not red flag 4. Disclose it ("X% of each sale goes to the buyer's sponsors") and score it on its merits: share of each sale, whether the product is really delivered, who keeps the rest
  • Advertised multiple (e.g. "3x") needs N later entries per position; compute N and the growth needed
  • Fallback/refund funded by a small slice per entry (e.g. $1 per $35) while the liability grows per position
  • "Company buy" / system buyback positions owned by an operator wallet that also collects payouts Lowers risk:
  • An external revenue source exists and is visible on chain
  • Reserve fully covers stated refund obligations at today's numbers

4. Insider flows (weight 15)

Raises risk:

  • Share of outflows going to deployer-configured wallets (platform, admin, buyback, default referrer)
  • Insider wallets funding each other or a shared sink, or cycling money back in as "entries"
  • Insider wallets sending to exchanges/bridges/mixers soon after receipt (label only when confirmed)
  • Operator-owned positions inflating the entry count or "activity" Lowers risk:
  • Fixed, small, disclosed fees to a single published treasury

5. Disclosure vs code (weight 10)

Raises risk:

  • Claims of "ownerless", "decentralized", "cannot be changed" while an owner can upgrade (critical)
  • Guarantee-like language (refund 100% + 50%) that the code meets only partly or in a non-cash token
  • No verified source, no audit, anonymous team Lowers risk:
  • Docs match code paths, amounts and conditions

6. Trajectory (weight 5)

  • Daily/weekly inflow trend: growing, flat, slowing. In a recruitment-funded design, slowing inflow means later entrants' positions stall and refund liabilities mature.
  • Age of the contract versus refund windows (when do the first obligations fall due?)

Red flags that each force "High risk"

  1. Single-EOA upgrade or sweep right over member funds
  2. Unverified implementation behind an upgradeable proxy
  3. "Ownerless/decentralized" marketing while an owner key controls upgrades
  4. Returns funded by later entrants: an earlier buyer or position holder receives payouts funded by later buyers' payments (matrix, cycler, pot, "previous N spots" paid from new entries, refunds funded by new entries). A commission paid to the buyer's referral line on a sale of a delivered product is not this flag; it is disclosed under economic design and disclosure. A contract that does both (sponsor commissions AND payouts to earlier buyers) gets the flag. Applied the same way to every contract, including our own.
  5. Refund/guarantee liability larger than the reserve that backs it

Grade bands

0 to 25 Low, 26 to 50 Moderate, 51 to 75 Elevated, 76 to 100 High (or forced High by a red flag).

Changelog

  • 2026-11-16: red flag 4 now applies only to payouts to earlier buyers funded by later buyers; sponsor commissions on a delivered product are disclosed, not auto-flagged.