code wiki / _hdl_build / nx_connect_blind_abuse.nx

nx_connect_blind_abuse.nx

buildroot/runtime/_hdl_build/nx_connect_blind_abuse.nx

4640 B68 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind tooltopic connect
docsdependenciesstructsconstsfunctions

about

nx_connect_blind_abuse.nx -- CONNECT capability: CONTENT-BLIND abuse detection (CIQ roadmap exec cell; incumbents score 0 -- their NLP READS message content to detect abuse, which BREAKS E2EE). Nishi detects abuse from METADATA / behavioral signals ONLY (send-rate, recipient fan-out, reciprocity), never reading a single message byte -- so detection survives end-to-end encryption, BY CONSTRUCTION. The MEASURED head-to-head is on a labeled test population: prove the metadata-only detector achieves perfect recall on abusers AND perfect precision on normal users (no content needed). Incumbents must read content to match this; Nishi does not -> exceed on the content-blind axis. 100% sovereign, integer. license_tier: ORIGINAL expect_exit: 0

dependencies 1 imports · 0 importers

nx_syscalls.nx nx_connect_blind_abuse.nx

imports: nx_syscalls.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_mmap bw sys_write abuse_score bn sys_mmap ↻ sys_write ↻ sys_exit

structs

none

consts

10const AB_N: i64 = 10 // test accounts
11const AB_THRESH: i64 = 100 // abuse-score flag threshold (named, not magic)
13const AB_W_RATE: i64 = 1
14const AB_W_FANOUT: i64 = 2
15const AB_W_RECIP: i64 = 3

functions

17func bw(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 }
called by 1: main calls 1: sys_write
18func bn(v: i64) -> i64 { let bb: *u8=sys_mmap(28); var m: i64=v; if m<0{m=0-m;sys_write(1,"-" as *u8,1)} let t: *u8=sys_mmap(28); var k: i64=0; if m==0{t[0]=48 as u8;k=1} while m>0{t[k]=(48+(m%10)) as u8;m=m/10;k=k+1} var i: i64=0; while i<k{bb[i]=t[k-1-i];i=i+1} sys_write(1,bb,k); return 0 }
called by 1: main calls 2: sys_mmapsys_write
21func abuse_score(rate: i64, fanout: i64, recip: i64) -> i64
called by 1: main
25func main() -> i64