nx_aposematism.nx
buildroot/runtime/nx_aposematism.nx
about
nx_aposematism.nx -- warning coloration / Batesian mimicry.
Biology: aposematism is conspicuous warning advertising of
unprofitability. Monarch butterflies' orange-black, coral snake
red-yellow-black, poison dart frog colors -- all signal "eating
me costs more than skipping me." Batesian mimicry is the harmless
species adopting the same pattern (hoverfly looks like wasp).
SUBSTRATE EQUIVALENT, per user 2026-05-19: "make sure that we have
the system designed with mimicry and obsfucation so these predatory
programs get nonsense or get scared off (you cant scare the state
but you can scare the machine with fooling) think how the stick
figure bugs and the bugs pretend to be wasps."
THE CRITICAL INSIGHT: state actors are humans with decision-making
power and goals; they don't get "scared." Their MACHINES -- the
automated scanners, the ML-trained surveillance heuristics, the
rule-based escalation pipelines -- DO pattern-match and skip
high-cost targets. A cell that LOOKS LIKE a high-cost target gets
passed over by the machine even when no human reviewer is in the
loop yet. By the time the human is escalated, the target has
moved.
Warning displays shipped V1 (modeled on real targets the machines
have been trained to AVOID):
- SIEM_MONITORED "this host is monitored by Splunk-class"
- CLASSIFIED_TIER "this host bears classified markings"
- FORENSIC_LOGGED "all reads to this host are journaled"
- HONEYPOT_SUSPECT "this host might be a honeypot"
- HIGH_VALUE_TARGET "this host is a defended asset"
- COMPLIANCE_AUDITED "this host runs reg-compliance audits"
- INCIDENT_RESPONSE_ON "this host has active IR -- tripping fires"
Composes:
nx_xenocell -- when xenocell observes the predator response
(back-off after warning) we have evidence the
mimicry worked
nx_decoy -- decoys CARRY aposematism warnings so vendor
scanners read "this is a high-value target"
and either back off OR trip the decoy
dependencies 2 imports · 3 importers
imports: nx_syscalls.nxnx_tier.nx
imported by: nx_aposematism_test.nxnx_mimicry_compose_test.nxnx_tier1_immune_compose_test.nx
structs
| 107 | struct NxWarningPattern |
consts
| 79 | const NX_MAGIC_1024: i64 = 1024 |
| 83 | const NX_AP_NONE: nx_int = 0 |
| 84 | const NX_AP_SIEM_MONITORED: nx_int = 1 |
| 85 | const NX_AP_CLASSIFIED_TIER: nx_int = 2 |
| 86 | const NX_AP_FORENSIC_LOGGED: nx_int = 3 |
| 87 | const NX_AP_HONEYPOT_SUSPECT: nx_int = 4 |
| 88 | const NX_AP_HIGH_VALUE_TARGET: nx_int = 5 |
| 89 | const NX_AP_COMPLIANCE_AUDITED: nx_int = 6 |
| 90 | const NX_AP_INCIDENT_RESPONSE: nx_int = 7 |
| 91 | const NX_AP_N_DISPLAYS: nx_int = 8 |
| 95 | const NX_AP_OK: nx_int = 0 |
| 96 | const NX_AP_ERR_BAD_DISPLAY: nx_int = 1 |
| 97 | const NX_AP_BACKOFF_DETECTED: nx_int = 2 // predator backed off |
functions
| 116 | func nx_ap_display_is_valid(d: nx_int) -> nx_int called by 1: main |
| 133 | func nx_ap_display_backoff_q10(d: nx_int) -> nx_int |
| 151 | func nx_ap_pattern_new(display: nx_int, |
| 172 | func nx_ap_combined_backoff_q10(patterns: **NxWarningPattern, |
| 197 | func nx_ap_emit_warning_bytes(p: *NxWarningPattern, called by 1: main |