fault injection
termops cultureprogrammingcloudsecurity
Kept in this browser · My desk
Deliberately introducing a failure, such as a terminated instance, added latency or a failed request, to see how a system and its operators respond.
Fault injection is the mechanism under chaos engineering and many resilience tests. Netflix's Failure Injection Testing failed requests between services for selected users to check graceful degradation; Azure Chaos Studio offers faults run through a resource's management API and agent-based faults inside virtual machines. Microsoft warns that fault injection in production can be disruptive and cause downtime, and asks for safeguards that stop an experiment and roll it back quickly.
Inputs. Basiri and colleagues list terminating virtual machines, injecting latency between services, failing requests, failing an internal service and making a region unavailable; they also suggest inputs that are not failures, such as the rate of requests and changes to runtime parameters. Scope. Netflix limited some experiments to a subset of users, splitting them into a control group and an experimental group, which bounds the blast radius. Guardrails. AWS asks for stop conditions on steady-state metrics and for experiments both inside and outside the delivery pipeline; Microsoft limits fault injection to what the error budget allows. Failure of the test itself. Google's SRE book records a test that blocked access to one database out of a hundred, caused a wide outage, and could not be rolled back as planned; the lesson was to test rollback procedures before large-scale tests. Hardware sense. In hardware security the term means disturbing a chip on purpose, by timed voltage or clock glitches or by electromagnetic pulses, so that it skips an instruction or corrupts a result; Espressif, whose ESP32 eFuse protection was bypassed this way in 2019 (CVE-2019-17391), notes that all electronic hardware is vulnerable to some types of physical fault injection and that the attack needs physical access. MITRE lists missing glitch protection as CWE-1247; tools include NewAE's ChipWhisperer and ChipSHOUTER.
Also known as: failure injection, failure injection testing, fault injection testing, injeção de falhas, glitch attack, voltage glitching, clock glitching, electromagnetic fault injection
Sources
- Ali Basiri and others (Netflix), Chaos Engineering, IEEE Software, May-June 2016 (read 2026-11-16): Failure Injection Testing exercises fail requests between services to check graceful degradation; inputs include terminated instances, injected latency, failed services and a region made unavailable by redirecting traffic
- Microsoft Learn, What is Azure Chaos Studio? (read 2026-11-16): a managed service for chaos engineering and resilience testing; service-direct faults through a resource's management API and agent-based faults inside virtual machines
- Microsoft Learn, Azure Well-Architected Framework, Architecture strategies for designing a reliability testing strategy, updated 29 May 2026 (read 2026-11-16): fault-injection testing in production can be disruptive and cause downtime; safeguards to stop experiments and roll back
- Google, Site Reliability Engineering, chapter 14, Emergency Response (read 2026-11-16): a test blocking one database out of a hundred caused a wide outage; untested rollback procedures lengthened it; rollback now tested before large-scale tests
- Espressif, Security Advisory Concerning Fault Injection and eFuse Protections (CVE-2019-17391), 1 November 2019 (read 2026-11-16): fault injection disrupts hardware by timed voltage or clock fluctuations; all hardware is vulnerable to some types; requires physical access
- MITRE, CWE-1247, Improper Protection Against Voltage and Clock Glitches (read 2026-11-16): missing or faulty glitch detection circuitry or sensors
- NewAE Technology, ChipSHOUTER (read 2026-11-17): electromagnetic fault injection without electrical contact, 150 to 500 V