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>
This commit is contained in:
@@ -107,6 +107,26 @@ def build(E):
|
||||
for a, k in (E.get('wallets') or {}).items():
|
||||
w('- %s [%s] %s, nonce %s, native %s, received from contract %s%s' % (a, ', '.join(k.get('labels') or []) or 'top recipient', k.get('desc'), k.get('nonce'), f2(k.get('native_balance')),
|
||||
json.dumps(k.get('received_from_contract') or {}), (', positions owned %s' % k['positions_owned']) if 'positions_owned' in k else ''))
|
||||
pr = E.get('payout_relations')
|
||||
w('\n## Who gets paid when someone buys (precomputed, rubric red flag 4; use these counts, do not recount)')
|
||||
if not pr: w('- Not computed for this scan.')
|
||||
elif pr.get('error'): w('- Could not be computed: %s' % pr['error'])
|
||||
elif not pr.get('payouts_seen'): w('- %s Purchases seen: %s.' % (pr.get('note'), pr.get('purchases_seen')))
|
||||
else:
|
||||
bc = pr.get('by_class') or {}
|
||||
w('- Payouts seen: %s; purchases seen: %s; payouts matched to a buyer in the same transaction: %s; sponsor links read from the contract: %s' % (
|
||||
pr['payouts_seen'], pr['purchases_seen'], pr['payouts_with_a_buyer_in_tx'], pr['sponsor_links_read']))
|
||||
names = {'operator': 'to wallets the contract names (operator, company, prize or fee wallets)', 'referral_line': "to the buyer's sponsor or a sponsor above them (the buyer's referral line)",
|
||||
'earlier_buyer': "to an EARLIER buyer or position holder who is NOT in the buyer's referral line (paid from a later buyer's payment)",
|
||||
'earlier_buyer_line_unknown': 'to an earlier buyer, but the contract records no sponsor links, so the referral line cannot be read',
|
||||
'buyer_self': 'back to the buyer', 'no_purchase_in_tx': 'in a transaction with no purchase (claims, withdrawals, keeper calls)', 'other': 'to a wallet with no earlier purchase seen'}
|
||||
for k in ['operator', 'referral_line', 'earlier_buyer', 'earlier_buyer_line_unknown', 'buyer_self', 'no_purchase_in_tx', 'other']:
|
||||
if bc.get(k): w(' - %s payouts %s (%s distinct recipients)' % (bc[k], names[k], (pr.get('distinct_recipients_by_class') or {}).get(k)))
|
||||
w("- Earlier buyers paid from later buyers' payments: %s" % pr.get('earlier_buyers_paid_by_later_buyers'))
|
||||
for k, xs in (pr.get('examples') or {}).items():
|
||||
if k in ('earlier_buyer', 'earlier_buyer_line_unknown', 'referral_line'):
|
||||
for x in xs[:3]: w(' - example %s: tx %s block %s paid %s (first bought at block %s), buyer %s' % (k, x['tx'], x['block'], x['to'], x.get('recipient_first_bought_block'), x.get('buyer')))
|
||||
w('- Method: %s' % pr.get('method'))
|
||||
w('\n## Notes')
|
||||
for n in E.get('notes') or []: w('- ' + n)
|
||||
return '\n'.join(o)
|
||||
@@ -150,6 +170,15 @@ def facts(E):
|
||||
a, n = p['top_owners'][0]
|
||||
lab = ', '.join(((E.get('wallets') or {}).get(a) or {}).get('labels') or [])
|
||||
add('INFERRED', 'Top position owner %s%s holds %d of %d positions.' % (a, (' (' + lab + ')') if lab else '', n, p['count']), ex + '/address/' + a)
|
||||
pr = E.get('payout_relations') or {}
|
||||
if pr.get('payouts_seen'):
|
||||
bc = pr.get('by_class') or {}
|
||||
if bc.get('earlier_buyer'):
|
||||
x = (pr.get('examples') or {}).get('earlier_buyer', [{}])[0]
|
||||
add('VERIFIED', "%d payouts went to earlier buyers or position holders outside the buyer's referral line, paid inside a later buyer's purchase (example tx %s)." % (bc['earlier_buyer'], x.get('tx')), ex + '/tx/' + x['tx'] if x.get('tx') else None)
|
||||
else:
|
||||
add('VERIFIED', "Of %d payouts read, %d went to wallets the contract names and %d to the buyer's referral line; none went to an earlier buyer outside that line.%s" % (
|
||||
pr['payouts_seen'], bc.get('operator', 0), bc.get('referral_line', 0), (' %d went to earlier buyers whose referral line cannot be read.' % bc['earlier_buyer_line_unknown']) if bc.get('earlier_buyer_line_unknown') else ''), None)
|
||||
win = E.get('window') or {}
|
||||
add('VERIFIED', 'History read: blocks %s to %s%s.' % (win.get('from'), win.get('to'), ' (complete since deployment)' if win.get('complete_history') else ' (partial window)'), None)
|
||||
for g in E.get('gaps') or []: add('UNKNOWN', 'Not read: %s in %d block ranges (provider limit or time cap).' % (g['what'], len(g['ranges'])), None)
|
||||
|
||||
@@ -0,0 +1,142 @@
|
||||
"""Who gets paid when someone buys: a deterministic read of the contract's own decoded events and token transfers.
|
||||
|
||||
Rubric red flag 4 (2026-11-16 wording) forces High only when an EARLIER buyer or position holder is paid from a LATER
|
||||
buyer's payment (matrix, cycler, pot, "previous N spots", refunds funded by new entries). A commission to the buyer's
|
||||
sponsor or the sponsors above them (the buyer's referral line) on a sale is not that flag: it is disclosed and scored.
|
||||
|
||||
For every payout we can see (a decoded event with a recipient and an amount, or a token Transfer out of the contract)
|
||||
we find the buyer of the same transaction (a purchase-like event, or the wallet that paid tokens in) and classify the
|
||||
recipient:
|
||||
operator a wallet the contract names (role getters, zero-argument address values, deployment input, deployer,
|
||||
the contract itself)
|
||||
referral_line the buyer's sponsor or a sponsor above them, from the contract's own sponsor records
|
||||
earlier_buyer a wallet that bought or held a position BEFORE this purchase and is NOT in the buyer's referral line
|
||||
earlier_buyer_line_unknown an earlier buyer, but the contract records no sponsor links we can read
|
||||
other none of the above (no earlier purchase seen)
|
||||
Field roles come from verified-ABI field names (buyer/owner/account, to/recipient, sponsor/referrer); the money moves
|
||||
and the ordering are on-chain records. Every count printed comes from here, never from the model.
|
||||
"""
|
||||
import re, collections
|
||||
|
||||
BUYER = re.compile(r'^(buyer|owner|account|member|user|payer|purchaser|holder|depositor|player|participant)(id)?$', re.I)
|
||||
RECIP = re.compile(r'^(to|recipient|receiver|payee|beneficiary|earner)(id)?$', re.I)
|
||||
BUY_AMT = re.compile(r'(wei|paid|value|price|cents|usd|cost)', re.I)
|
||||
BUY_EVENT = re.compile(r'(buy|bought|purchase|deposit|join|entry|enter|order)', re.I)
|
||||
SPONSOR = re.compile(r'^(sponsor|referrer|referer|upline|inviter|parent)(id)?$', re.I)
|
||||
AMOUNT = re.compile(r'(amount|value|wei|paid|price|cents|cost|usd)', re.I)
|
||||
ZERO = '0x' + '0' * 40
|
||||
|
||||
|
||||
def _is_addr(v): return isinstance(v, str) and v.startswith('0x') and len(v) == 42
|
||||
|
||||
|
||||
def analyse(E, rows, token_in, token_out):
|
||||
"""rows: {event_sig: [(block, logIndex, tx, fields)]}; token_in/out: [(block, logIndex, tx, wallet, amount)].
|
||||
Returns a JSON-able summary (counts, examples, method) or None when the contract shows no payouts at all."""
|
||||
A = E['address']
|
||||
insiders = {A, ZERO}
|
||||
for a in (E.get('roles') or {}).values():
|
||||
if _is_addr(a): insiders.add(a.lower())
|
||||
for v in (E.get('values') or {}).values():
|
||||
if _is_addr(v): insiders.add(v.lower())
|
||||
for a in (E.get('controllers') or {}): insiders.add(a.lower())
|
||||
c = E.get('creation') or {}
|
||||
for a in c.get('addresses_in_input') or []: insiders.add(a.lower())
|
||||
if c.get('from'): insiders.add(c['from'].lower())
|
||||
|
||||
# pass 1: id -> address, member -> sponsor (address or id keys), from any event that carries the pair
|
||||
id2addr = {}; sponsor = {}
|
||||
for sig, rs in rows.items():
|
||||
for b, li, tx, f in rs:
|
||||
idf = [k for k in f if k.lower() == 'id' and isinstance(f[k], int)]
|
||||
adf = [k for k in f if BUYER.match(k) and _is_addr(f[k])]
|
||||
# registration-style events only (no money field), so spot or order ids never mix with member ids
|
||||
if idf and adf and not any(AMOUNT.search(k) for k in f): id2addr[f[idf[0]]] = f[adf[0]]
|
||||
|
||||
def key(k, v):
|
||||
if _is_addr(v): return v.lower()
|
||||
if isinstance(v, int): return id2addr.get(v, 'id:%d' % v)
|
||||
return None
|
||||
|
||||
for sig, rs in rows.items():
|
||||
for b, li, tx, f in rs:
|
||||
sp = [k for k in f if SPONSOR.match(k)]
|
||||
if not sp: continue
|
||||
me = [k for k in f if BUYER.match(k) and _is_addr(f[k])] or [k for k in f if k.lower() == 'id' and isinstance(f[k], int)]
|
||||
if not me: continue
|
||||
m, s = key(me[0], f[me[0]]), key(sp[0], f[sp[0]])
|
||||
if m and s and s not in (ZERO, 'id:0') and s != m: sponsor.setdefault(m, s)
|
||||
|
||||
# pass 2: purchases (buyer + an amount field, not a payout) and payouts (recipient + amount)
|
||||
buys = []; pays = []
|
||||
for sig, rs in rows.items():
|
||||
for b, li, tx, f in rs:
|
||||
rk = [k for k in f if RECIP.match(k)]
|
||||
am = [k for k in f if AMOUNT.search(k) and isinstance(f[k], int)]
|
||||
bk = [k for k in f if BUYER.match(k) and not RECIP.match(k)]
|
||||
if rk and am:
|
||||
r = key(rk[0], f[rk[0]])
|
||||
amt = next((f[k] for k in am if re.search('amount|wei|paid|value', k, re.I)), f[am[0]])
|
||||
if r: pays.append({'b': b, 'li': li, 'tx': tx, 'to': r, 'amount': amt, 'event': sig.split('(')[0], 'buyer_field': key(bk[0], f[bk[0]]) if bk else None})
|
||||
elif bk and am and (any(BUY_AMT.search(k) for k in am) or BUY_EVENT.search(sig.split('(')[0])):
|
||||
pref = sorted(bk, key=lambda k: ['owner', 'buyer', 'account', 'member', 'user', 'holder', 'player', 'participant', 'depositor', 'purchaser', 'payer'].index(re.sub('id$', '', k.lower())) if re.sub('id$', '', k.lower()) in ['owner', 'buyer', 'account', 'member', 'user', 'holder', 'player', 'participant', 'depositor', 'purchaser', 'payer'] else 99)
|
||||
who = [key(k, f[k]) for k in pref]
|
||||
buys.append({'b': b, 'li': li, 'tx': tx, 'buyer': who[0], 'also': [w for w in who[1:] if w], 'event': sig.split('(')[0]})
|
||||
sp = [k for k in f if SPONSOR.match(k)]
|
||||
if sp and who[0]:
|
||||
s = key(sp[0], f[sp[0]])
|
||||
if s and s not in (ZERO, 'id:0') and s != who[0]: sponsor.setdefault(who[0], s)
|
||||
for b, li, tx, w, amt in token_in:
|
||||
if w not in insiders: buys.append({'b': b, 'li': li, 'tx': tx, 'buyer': w, 'also': [], 'event': 'token transfer in'})
|
||||
for b, li, tx, w, amt in token_out:
|
||||
pays.append({'b': b, 'li': li, 'tx': tx, 'to': w, 'amount': amt, 'event': 'token transfer out', 'buyer_field': None})
|
||||
if not pays:
|
||||
return {'payouts_seen': 0, 'purchases_seen': len({x['tx'] for x in buys}), 'note': 'No payouts by the contract were seen in the events and token transfers read.'}
|
||||
|
||||
buyer_of_tx = {}
|
||||
for x in sorted(buys, key=lambda x: (x['b'], x['li'])): buyer_of_tx.setdefault(x['tx'], x)
|
||||
first_buy = {}
|
||||
for x in sorted(buys, key=lambda x: (x['b'], x['li'])):
|
||||
for w in [x['buyer']] + x['also']:
|
||||
if w and w not in insiders: first_buy.setdefault(w, (x['b'], x['li'], x['tx']))
|
||||
|
||||
def upline(w, n=40):
|
||||
out = []; seen = {w}
|
||||
while w in sponsor and len(out) < n:
|
||||
w = sponsor[w]
|
||||
if w in seen: break
|
||||
seen.add(w); out.append(w)
|
||||
return out
|
||||
|
||||
cls = collections.Counter(); amt = collections.Counter(); ex = collections.defaultdict(list); tx_with_buyer = 0
|
||||
recips = collections.defaultdict(collections.Counter)
|
||||
for p in pays:
|
||||
bx = buyer_of_tx.get(p['tx'])
|
||||
buyer = bx['buyer'] if bx else p['buyer_field']
|
||||
if p['to'] in insiders: k = 'operator'
|
||||
elif not buyer: k = 'no_purchase_in_tx'
|
||||
elif p['to'] == buyer or (bx and p['to'] in bx['also']): k = 'buyer_self'
|
||||
elif p['to'] in upline(buyer): k = 'referral_line'
|
||||
elif p['to'] in first_buy and first_buy[p['to']][:2] < ((bx['b'], bx['li']) if bx else (p['b'], p['li'])) and first_buy[p['to']][2] != p['tx']:
|
||||
k = 'earlier_buyer' if sponsor else 'earlier_buyer_line_unknown'
|
||||
else: k = 'other'
|
||||
if buyer: tx_with_buyer += 1
|
||||
cls[k] += 1; amt[k] += p['amount'] or 0; recips[k][p['to']] += 1
|
||||
if len(ex[k]) < 4 and p['tx'] not in [e['tx'] for e in ex[k]]:
|
||||
ex[k].append({'tx': p['tx'], 'block': p['b'], 'to': p['to'], 'buyer': buyer, 'event': p['event'],
|
||||
'recipient_first_bought_block': first_buy.get(p['to'], (None,))[0]})
|
||||
return {
|
||||
'payouts_seen': len(pays), 'purchases_seen': len({x['tx'] for x in buys}), 'payouts_with_a_buyer_in_tx': tx_with_buyer,
|
||||
'sponsor_links_read': len(sponsor), 'operator_wallets': sorted(insiders - {ZERO, A})[:20],
|
||||
'by_class': dict(cls), 'amount_raw_by_class': {k: str(v) for k, v in amt.items()},
|
||||
'distinct_recipients_by_class': {k: len(v) for k, v in recips.items()},
|
||||
'examples': dict(ex),
|
||||
'earlier_buyers_paid_by_later_buyers': cls['earlier_buyer'],
|
||||
'readable': bool(sponsor) or cls['earlier_buyer_line_unknown'] == 0,
|
||||
'method': 'Each payout (decoded event with a recipient and an amount, or a token transfer out) is matched to the buyer of the same '
|
||||
'transaction. Recipient classes: operator = wallets the contract names (roles, address values, deployment input, deployer); '
|
||||
'referral_line = the buyer\'s sponsor or a sponsor above them in the contract\'s own sponsor records; earlier_buyer = a wallet '
|
||||
'that bought or held a position before this purchase and is not in the buyer\'s referral line; earlier_buyer_line_unknown = '
|
||||
'an earlier buyer when the contract records no sponsor links; other = no earlier purchase seen. Field roles come from verified '
|
||||
'ABI field names; amounts and ordering are on-chain records.',
|
||||
}
|
||||
+14
-3
@@ -1,4 +1,4 @@
|
||||
# Contract risk scoring rubric (draft v1, from the 3xSusu review 2026-11-16)
|
||||
# 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),
|
||||
@@ -31,7 +31,11 @@ Lowers risk:
|
||||
|
||||
## 3. Economic design (weight 20)
|
||||
Raises risk:
|
||||
- Returns funded only by later entrants (matrix/cycler/"3x"): payouts trigger only on new entries
|
||||
- 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
|
||||
@@ -65,8 +69,15 @@ Lowers 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. Payouts that exist only when new money enters
|
||||
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.
|
||||
|
||||
+11
-1
@@ -368,7 +368,7 @@ def main():
|
||||
'in_creation_tx': bool(creation_tx and l['transactionHash'].lower() == creation_tx)})
|
||||
E['admin_events'] = adm[:80]
|
||||
# decode the contract's own events with the verified ABI (static fields only): counts, sums of number fields, top addresses
|
||||
dec_ev = {}
|
||||
dec_ev = {}; dec_rows = {}
|
||||
abi_events = {keccak.topic(abi_sig(f)): f for f in abi if isinstance(f, dict) and f.get('type') == 'event' and f.get('name') and not f.get('anonymous')}
|
||||
for t, f in abi_events.items():
|
||||
if t in ADMIN_EVENTS or t in (TRANSFER, APPROVAL): continue
|
||||
@@ -392,6 +392,7 @@ def main():
|
||||
else: v = raw
|
||||
row[nm] = v
|
||||
if len(samples) < 5: samples.append({'block': int(l['blockNumber'], 16), 'tx': l['transactionHash'].lower(), 'fields': row})
|
||||
dec_rows.setdefault(abi_sig(f), []).append((int(l['blockNumber'], 16), int(l['logIndex'], 16), l['transactionHash'].lower(), row))
|
||||
dec_ev[abi_sig(f)] = {'count': len(ls), 'uint_field_sums_raw': dict(sums), 'top_addresses': {k: v.most_common(8) for k, v in addrs.items()}, 'first_samples': samples}
|
||||
E['decoded_events'] = dec_ev
|
||||
ups = [x for x in adm if x['event'] == 'Upgraded(address)']
|
||||
@@ -497,6 +498,15 @@ def main():
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
# ---- who gets paid when someone buys (rubric red flag 4: earlier buyers paid from later buyers' payments)
|
||||
step('payouts')
|
||||
try:
|
||||
import payouts
|
||||
tl = lambda l, i: (int(l['blockNumber'], 16), int(l['logIndex'], 16), l['transactionHash'].lower(), topic_addr(l['topics'][i]), int(l['data'], 16) if l['data'] not in ('0x', '') else 0)
|
||||
E['payout_relations'] = payouts.analyse(E, dec_rows, [tl(l, 1) for l in tin], [tl(l, 2) for l in out])
|
||||
except Exception as e:
|
||||
E['payout_relations'] = {'error': str(e)[:200]}
|
||||
|
||||
# ---- profiles of labelled wallets (roles + deployer + top recipients)
|
||||
step('wallets')
|
||||
recv = collections.Counter();
|
||||
|
||||
+1
-1
@@ -12,6 +12,6 @@
|
||||
</head>
|
||||
<body>
|
||||
<main class="wrap" style="padding-top:64px;padding-bottom:64px"><h1 style="font-size:40px">Page not found</h1><p><a href="/">Back to WebWorthIt</a></p></main>
|
||||
<script src="/assets/common.js?v=2"></script>
|
||||
<script src="/assets/common.js?v=3"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-2
@@ -16,7 +16,7 @@
|
||||
<div id="tok" class="card"><span>Admin token</span><div style="display:flex;gap:10px;flex-wrap:wrap"><input id="token" class="code" type="password" style="flex:1 1 300px"><button id="save" class="btn dark" type="button">Open</button></div></div>
|
||||
<div id="out"></div>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=2"></script>
|
||||
<script src="/assets/admin.js?v=2"></script>
|
||||
<script src="/assets/common.js?v=3"></script>
|
||||
<script src="/assets/admin.js?v=3"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -32,6 +32,7 @@ var Render = (function () {
|
||||
+ '<span class="opinion">' + OPINION + (g.overall != null ? ' Weighted total ' + g.overall + ' of 100.' : '') + '</span>'
|
||||
+ (r.verdict ? '<div><b>Our verdict (opinion):</b> ' + link(r.verdict, ex) + '</div>' : '')
|
||||
+ (flags ? '<div class="finds"><span class="disp" style="font-weight:700;font-size:17px">Critical flags</span>' + flags + '</div>' : '')
|
||||
+ ((g.not_applied || []).length ? '<div class="finds"><span class="disp" style="font-weight:700;font-size:15px">Considered and not applied</span>' + g.not_applied.map(function (f) { return '<div class="find"><span>' + esc(f.reason) + ' <span style="color:var(--mut);font-size:13px">(model suggested: ' + esc(f.text) + ')</span></span></div>'; }).join('') + '</div>' : '')
|
||||
+ '<div class="finds"><span class="disp" style="font-weight:700;font-size:17px">Top findings (public facts)</span>' + finds + '</div>';
|
||||
}
|
||||
function factsBlock(v, ex) {
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<p><b>Not advice.</b> A report is information about code and on-chain records. It is not financial advice and it is not a judgment of any person. Nothing on this site tells you to join, leave, buy, sell or withdraw. Make your own decision, with your own research.</p>
|
||||
<p><b>Code and records, not people.</b> We describe what a contract can do and what the chain shows. We do not say anything about the intentions or character of anyone behind a project. A project can reply to its check in its public thread.</p>
|
||||
<p><b>Limits.</b> Our tools read public nodes, which can fail or return less than the full history. Function names for unverified code come from public signature databases and are marked INFERRED. What we cannot see is marked UNKNOWN.</p></main><aside id="sideSlot" aria-label="Advertisement"></aside></div>
|
||||
<script src="/assets/common.js?v=2"></script>
|
||||
<script src="/assets/common.js?v=3"></script>
|
||||
<script src="/assets/side.js?v=2"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+1
-1
@@ -262,7 +262,7 @@
|
||||
|
||||
</div>
|
||||
<script src="/assets/common.js?v=2"></script>
|
||||
<script src="/assets/render.js?v=2"></script>
|
||||
<script src="/assets/render.js?v=3"></script>
|
||||
<script src="/assets/index.js?v=2"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-2
@@ -23,7 +23,7 @@
|
||||
<p id="msg" role="status" style="margin:0"></p>
|
||||
<p style="margin:0;font-size:14px;color:var(--ink2)">Signed in on InstantAdPay or LinkSpin already? <a id="hubBtn" href="/sso/start?mode=go">Sign in with the network</a>. See the <a href="/privacy">Privacy Policy</a> for how emails are used.</p>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=2"></script>
|
||||
<script src="/assets/join.js?v=2"></script>
|
||||
<script src="/assets/common.js?v=3"></script>
|
||||
<script src="/assets/join.js?v=3"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-2
@@ -15,7 +15,7 @@
|
||||
<h1 style="font-size:40px">My checks</h1>
|
||||
<div id="out"><p>Loading...</p></div>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=2"></script>
|
||||
<script src="/assets/my.js?v=2"></script>
|
||||
<script src="/assets/common.js?v=3"></script>
|
||||
<script src="/assets/my.js?v=3"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+1
-1
@@ -39,7 +39,7 @@
|
||||
<h2>Your choices</h2>
|
||||
<p>Ask network support to delete your data. The network hub removes it from every network site, except what the blockchain or the law keeps.</p>
|
||||
<p>Questions: <a href="https://instantadpay.com/support?from=webworthit">network support</a>. WebWorthIt is run by TrustClickz.</p></main><aside id="sideSlot" aria-label="Advertisement"></aside></div>
|
||||
<script src="/assets/common.js?v=2"></script>
|
||||
<script src="/assets/common.js?v=3"></script>
|
||||
<script src="/assets/side.js?v=2"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+3
-3
@@ -15,8 +15,8 @@
|
||||
<div id="live" style="display:flex;flex-direction:column;gap:24px"><div class="steps">Loading the check...</div></div>
|
||||
<p style="margin:0"><a href="/#check">Run another check</a></p>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=2"></script>
|
||||
<script src="/assets/render.js?v=2"></script>
|
||||
<script src="/assets/report.js?v=2"></script>
|
||||
<script src="/assets/common.js?v=3"></script>
|
||||
<script src="/assets/render.js?v=3"></script>
|
||||
<script src="/assets/report.js?v=3"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+11
-10
@@ -11,10 +11,7 @@
|
||||
<link rel="stylesheet" href="/assets/wwi.css?v=2">
|
||||
</head>
|
||||
<body>
|
||||
<div class="wrap legal-grid" style="padding-top:40px;padding-bottom:56px"><main class="legal"><p class="eyebrow">The published rubric</p><h1>How a check is scored</h1><p>Our findings are public facts, each one tagged and linked to its on-chain or website source. The scores, the grade (for example "High risk") and the verdict are our opinion, formed by applying our published rubric to those public facts.</p><p>Score each category 0 to 10 (10 = worst), then weight. A single "critical" red flag caps the overall</p>
|
||||
<p>grade at High risk whatever the total. Every score must cite evidence tagged VERIFIED (on chain, tx/block),</p>
|
||||
<p>INFERRED (bytecode/decompile/simulation) or UNKNOWN. Unknown counts against the project: if the team</p>
|
||||
<p>hid it, assume the worse case and say so.</p>
|
||||
<div class="wrap legal-grid" style="padding-top:40px;padding-bottom:56px"><main class="legal"><p class="eyebrow">The published rubric</p><h1>How a check is scored</h1><p>Our findings are public facts, each one tagged and linked to its on-chain or website source. The scores, the grade (for example "High risk") and the verdict are our opinion, formed by applying our published rubric to those public facts.</p><p>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.</p>
|
||||
<h2>1. Control and upgradeability (weight 25)</h2>
|
||||
<p>Raises risk:</p>
|
||||
<ul>
|
||||
@@ -44,7 +41,8 @@
|
||||
<h2>3. Economic design (weight 20)</h2>
|
||||
<p>Raises risk:</p>
|
||||
<ul>
|
||||
<li>Returns funded only by later entrants (matrix/cycler/"3x"): payouts trigger only on new entries</li>
|
||||
<li>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)</li>
|
||||
<li>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</li>
|
||||
<li>Advertised multiple (e.g. "3x") needs N later entries per position; compute N and the growth needed</li>
|
||||
<li>Fallback/refund funded by a small slice per entry (e.g. $1 per $35) while the liability grows per position</li>
|
||||
<li>"Company buy" / system buyback positions owned by an operator wallet that also collects payouts</li>
|
||||
@@ -73,8 +71,7 @@
|
||||
</ul>
|
||||
<h2>6. Trajectory (weight 5)</h2>
|
||||
<ul>
|
||||
<li>Daily/weekly inflow trend: growing, flat, slowing. In a recruitment-funded design, slowing inflow means</li>
|
||||
<p> later entrants' positions stall and refund liabilities mature.</p>
|
||||
<li>Daily/weekly inflow trend: growing, flat, slowing. In a recruitment-funded design, slowing inflow means later entrants' positions stall and refund liabilities mature.</li>
|
||||
<li>Age of the contract versus refund windows (when do the first obligations fall due?)</li>
|
||||
</ul>
|
||||
<h2>Red flags that each force "High risk"</h2>
|
||||
@@ -82,12 +79,16 @@
|
||||
<li>Single-EOA upgrade or sweep right over member funds</li>
|
||||
<li>Unverified implementation behind an upgradeable proxy</li>
|
||||
<li>"Ownerless/decentralized" marketing while an owner key controls upgrades</li>
|
||||
<li>Payouts that exist only when new money enters</li>
|
||||
<li>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.</li>
|
||||
<li>Refund/guarantee liability larger than the reserve that backs it</li>
|
||||
</ul>
|
||||
<h2>Grade bands</h2>
|
||||
<p>0 to 25 Low, 26 to 50 Moderate, 51 to 75 Elevated, 76 to 100 High (or forced High by a red flag).</p></main><aside id="sideSlot" aria-label="Advertisement"></aside></div>
|
||||
<script src="/assets/common.js?v=2"></script>
|
||||
<p>0 to 25 Low, 26 to 50 Moderate, 51 to 75 Elevated, 76 to 100 High (or forced High by a red flag).</p>
|
||||
<h2>Changelog</h2>
|
||||
<ul>
|
||||
<li>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.</li>
|
||||
</ul></main><aside id="sideSlot" aria-label="Advertisement"></aside></div>
|
||||
<script src="/assets/common.js?v=3"></script>
|
||||
<script src="/assets/side.js?v=2"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+1
-1
@@ -27,7 +27,7 @@
|
||||
<p>WebWorthIt is provided as it is. To the extent the law allows, TrustClickz is not liable for decisions you make with or without a report. See the <a href="/disclaimer">Disclaimer</a>.</p>
|
||||
<h2>Contact</h2>
|
||||
<p><a href="https://instantadpay.com/support?from=webworthit">Network support</a>.</p></main><aside id="sideSlot" aria-label="Advertisement"></aside></div>
|
||||
<script src="/assets/common.js?v=2"></script>
|
||||
<script src="/assets/common.js?v=3"></script>
|
||||
<script src="/assets/side.js?v=2"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -43,10 +43,16 @@ Rules you must follow:
|
||||
- Neutral, factual wording about code and records. You judge code and on-chain records, never people. No advice to act (never tell anyone to join, leave, buy, sell or withdraw).
|
||||
- Never use these words or phrases: scam, ponzi, rug pull, fraud, guaranteed, get rich, free money, passive income, 100% safe, double your. Never use em dashes or en dashes.
|
||||
- Wallet wording if needed: "SafePal or any other crypto wallet".
|
||||
- Scores follow the rubric: 0 = safest, 10 = worst. Anything hidden or unreadable counts against the project, and you say so.`;
|
||||
- Scores follow the rubric: 0 = safest, 10 = worst. Anything hidden or unreadable counts against the project, and you say so.
|
||||
- Red flag 4 (returns funded by later entrants) applies ONLY when an earlier buyer or position holder is paid from a later buyer's payment
|
||||
(matrix, cycler, pot, "previous N spots" paid from new entries, refunds funded by new entries). Read the "Who gets paid when someone buys"
|
||||
section: it classifies every payout the chain shows. A commission paid to the buyer's sponsor or the sponsors above them on a sale where the
|
||||
buyer receives a delivered product (ad credits, views, a report) is NOT red flag 4: disclose it (for example "X% of each sale goes to the
|
||||
buyer's sponsors") and score it under economic design and disclosure on its merits. If a contract does both, red flag 4 applies.
|
||||
The same test applies to every contract, whoever runs it.`;
|
||||
|
||||
const SCORE_SHAPE = `"scores": {"control": {"score": 0-10, "why": "...", "tag": "VERIFIED|INFERRED|UNKNOWN"}, "custody": {...}, "economics": {...}, "insiders": {...}, "disclosure": {...}, "trajectory": {...}},
|
||||
"critical_flags": ["only red flags from the rubric list that the evidence supports, each one short"]`;
|
||||
"critical_flags": [{"rule": 1-5 (the rubric red flag number), "text": "one short sentence", "evidence": "the tx hash, address, event or pack line it rests on"}] (only red flags the evidence supports; [] when none)`;
|
||||
|
||||
function taskFree(pack, site) {
|
||||
return `RUBRIC:\n${RUBRIC}\n\nEVIDENCE PACK:\n${pack}\n\n${site ? 'PROJECT WEBSITE (public page text, read by our browser):\n' + site + '\n\n' : ''}Write the FREE CHECK scorecard as JSON with exactly these keys:
|
||||
@@ -172,22 +178,41 @@ function grade(report, E) {
|
||||
if (eoaUp.length) flags.push({ text: 'One personal wallet can replace the code in a single transaction (' + eoaUp.join(', ') + ').', tag: 'VERIFIED', source: 'rubric red flag 1' });
|
||||
const v = (E && E.verification) || {};
|
||||
if (E && E.proxy && E.proxy.upgradeable && !(v.implementation && v.implementation.match)) flags.push({ text: 'The implementation behind the upgradeable proxy has no verified source on Sourcify.', tag: 'VERIFIED', source: 'rubric red flag 2' });
|
||||
// red flag 4 (2026-11-16 wording): VERIFIED when the chain shows payouts to earlier buyers outside the buyer's referral line
|
||||
const pr = (E && E.payout_relations) || null, bc = (pr && pr.by_class) || {};
|
||||
if (bc.earlier_buyer > 0) {
|
||||
const x = ((pr.examples || {}).earlier_buyer || [])[0] || {};
|
||||
flags.push({ text: bc.earlier_buyer + ' payouts went to earlier buyers or position holders outside the buyer\'s referral line, paid inside a later buyer\'s purchase' + (x.tx ? ' (example tx ' + x.tx + ')' : '') + '.', tag: 'VERIFIED', source: 'rubric red flag 4' });
|
||||
}
|
||||
// the chain shows only operator and referral-line payouts: a model red flag 4 is not applied (sponsor commissions are disclosed, not flagged).
|
||||
// Gaps in the history only block this when the code can change (an upgradeable proxy); fixed code pays the same way in every block.
|
||||
const gapsMatter = !!(E && E.proxy && E.proxy.upgradeable) && (E.gaps || []).some(g => g.what === 'contract events');
|
||||
const rf4Clear = !!(pr && pr.payouts_seen > 0 && pr.readable && !bc.earlier_buyer && !bc.earlier_buyer_line_unknown && !gapsMatter);
|
||||
const notApplied = [];
|
||||
// the model often restates the deterministic red flags: keep one per issue, the deterministic VERIFIED one
|
||||
const has1 = flags.some(f => f.source === 'rubric red flag 1'), has2 = flags.some(f => f.source === 'rubric red flag 2');
|
||||
const has1 = flags.some(f => f.source === 'rubric red flag 1'), has2 = flags.some(f => f.source === 'rubric red flag 2'), has4 = flags.some(f => f.source === 'rubric red flag 4');
|
||||
const words = t => new Set(String(t).toLowerCase().match(/[a-z]{4,}/g) || []);
|
||||
const similar = (a, b) => { const A = words(a), B = words(b); let n = 0; for (const w of A) if (B.has(w)) n++; return n / Math.max(1, Math.min(A.size, B.size)) >= 0.5; };
|
||||
const RF4 = /(red flag 4|later (entrants|buyers|entries|purchases)|new (money|entries|entrants|purchases|buyers)|previous \d* ?spots|matrix|cycler|recruit|only (when|inside|from) .{0,40}(purchase|entr|buy)|funded by (new|later))/i;
|
||||
for (const f of report.critical_flags || []) {
|
||||
if (typeof f !== 'string' || !f.trim()) continue;
|
||||
const t = f.trim();
|
||||
if (has1 && /(upgrad|replace (the )?code|single[- ](eoa|wallet|key)|one (personal )?wallet|\beoa\b|owner key)/i.test(t)) continue;
|
||||
if (has2 && /(unverified|not verified|no verified|source)/i.test(t)) continue;
|
||||
const o = typeof f === 'string' ? { text: f } : (f && typeof f === 'object' ? f : null);
|
||||
if (!o || typeof o.text !== 'string' || !o.text.trim()) continue;
|
||||
const t = o.text.trim(), ev = typeof o.evidence === 'string' ? o.evidence.trim() : '';
|
||||
const rule = Number(o.rule) || (RF4.test(t) ? 4 : 0);
|
||||
if (has1 && (rule === 1 || /(upgrad|replace (the )?code|single[- ](eoa|wallet|key)|one (personal )?wallet|\beoa\b|owner key)/i.test(t))) continue;
|
||||
if (has2 && (rule === 2 || /(unverified|not verified|no verified|source)/i.test(t))) continue;
|
||||
if (rule === 4) {
|
||||
if (has4) continue;
|
||||
if (rf4Clear) { notApplied.push({ text: t, reason: 'Red flag 4 not applied: of ' + pr.payouts_seen + ' payouts read, ' + (bc.operator || 0) + ' went to wallets the contract names and ' + (bc.referral_line || 0) + ' to the buyer\'s referral line, and none to an earlier buyer outside that line. Sponsor commissions are disclosed and scored under economic design (rubric 2026-11-16).' }); continue; }
|
||||
if (typeof f === 'object' && !ev) { notApplied.push({ text: t, reason: 'Red flag 4 not applied: the model cited no evidence.' }); continue; }
|
||||
}
|
||||
if (flags.some(x => similar(x.text, t))) continue;
|
||||
flags.push({ text: t, tag: 'INFERRED', source: 'model, from the rubric list' });
|
||||
flags.push({ text: t + (ev && !t.includes(ev) ? ' (evidence: ' + ev + ')' : ''), tag: 'INFERRED', source: 'model, from the rubric list' + (rule ? ' (red flag ' + rule + ')' : '') });
|
||||
}
|
||||
let band = overall == null ? null : overall <= 25 ? 'Low risk' : overall <= 50 ? 'Moderate risk' : overall <= 75 ? 'Elevated risk' : 'High risk';
|
||||
const forced = flags.length > 0 && band !== 'High risk';
|
||||
if (flags.length) band = 'High risk';
|
||||
return { overall, grade: band, forced_by_flag: forced, flags };
|
||||
return { overall, grade: band, forced_by_flag: forced, flags, not_applied: notApplied };
|
||||
}
|
||||
const TAGS = new Set(['VERIFIED', 'INFERRED', 'UNKNOWN']);
|
||||
function normalize(report) {
|
||||
|
||||
@@ -91,7 +91,7 @@ head = '''<!doctype html>
|
||||
'''
|
||||
tail = '''</div>
|
||||
<script src="/assets/common.js?v=2"></script>
|
||||
<script src="/assets/render.js?v=2"></script>
|
||||
<script src="/assets/render.js?v=3"></script>
|
||||
<script src="/assets/index.js?v=2"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -6,7 +6,7 @@ UPDATED = 'November 16, 2026'
|
||||
|
||||
|
||||
def page(title, desc, body, scripts=('common.js',), legal=False):
|
||||
sc = ''.join('<script src="/assets/%s?v=2"></script>\n' % s for s in scripts)
|
||||
sc = ''.join('<script src="/assets/%s?v=3"></script>\n' % s for s in scripts)
|
||||
main = body
|
||||
if legal:
|
||||
main = ('<div class="wrap legal-grid" style="padding-top:40px;padding-bottom:56px"><main class="legal">%s</main><aside id="sideSlot" aria-label="Advertisement"></aside></div>' % body)
|
||||
@@ -101,8 +101,12 @@ def md(s):
|
||||
if line.startswith('- ') or (line[:2].isdigit() if line else False) or (line[:1].isdigit() and line[1:3] == '. '):
|
||||
if not inlist: out.append('<ul>'); inlist = True
|
||||
out.append('<li>%s</li>' % html.escape(line.split(' ', 1)[1]).replace('`', '')); continue
|
||||
if inlist and line.startswith(' ') and line.strip() and out and out[-1].endswith('</li>'):
|
||||
out[-1] = out[-1][:-5] + ' ' + html.escape(line.strip()).replace('`', '') + '</li>'; continue # wrapped list item
|
||||
if inlist and line.strip() == '': out.append('</ul>'); inlist = False; continue
|
||||
if line.strip(): out.append('<p>%s</p>' % html.escape(line).replace('`', ''))
|
||||
if line.strip():
|
||||
if out and out[-1].startswith('<p>') and not inlist: out[-1] = out[-1][:-4] + ' ' + html.escape(line.strip()).replace('`', '') + '</p>' # wrapped paragraph
|
||||
else: out.append('<p>%s</p>' % html.escape(line.strip()).replace('`', ''))
|
||||
if inlist: out.append('</ul>')
|
||||
return '\n'.join(out)
|
||||
rubric = ('<p class="eyebrow">The published rubric</p><h1>How a check is scored</h1><p>%s</p>' % html.escape(OPINION_LINE)) + md(rubric_md)
|
||||
|
||||
Reference in New Issue
Block a user