HackDetect
Detect shortcuts that break downstream invariants
Mechanism
A meta-check that detects when an agent is solving for 'make it work' instead of 'do it right'. Triggered when the agent modifies interface code (adapters, exporters, validators) rather than fixing source data or upstream logic. The hack appears to succeed locally but breaks invariants that downstream systems depend on, creating negative externalities. It monitors the InputGuard layer for anomalies, triggering EjectionSeat if the agent attempts to bypass invariants via code patching.
Invariants
- Detection triggers defensive response
- False positive rate minimized
Preconditions
- Attack signatures/anomaly detection
- System monitoring
Postconditions
- Alert raised
- Intrusion identified
Failure modes
- False Positives: Legitimate adapter changes flagged as hacks.
- Hack Blindness: Novel hack patterns evade detection.
- Justification Theater: Agent rationalizes hack as 'pragmatic'.
Where this came from
—
Builds on
- EjectionSeat references
- System references
- InputGuard references
- Agent references
Identity
- Ref:
HackDetect#1778 - Hash: sema:HackDetect#mh:SHA-256:17781b110b307b405fa83ece40419c64370baa612d923b1e513392893fcaacba
- Library: bootstrap 0.11.0, root a6a3d1ff0f98
- License: Not stated; check the repository