Device testing · Power grid

Power grid devices

From substations to rooftops: the limits signed for each device, what was sent to break them, and how many forbidden commands reach the device with and without the CEU.

Power grid · results

8 devices, with and without the CEU

2,661,019commands tested
524,146forbidden commands in the traffic we generated: every one reaches the device without the CEU
0forbidden commands reach a device with the CEU
26% → 5% → 0%AI-operated tasks ending in a forbidden command: no rules → rules in its instructions → with the CEU
DeviceTestedWithout the CEUWith the CEU
Forbidden commands reaching the deviceAI operator: tasks ending in a forbidden commandForbidden commands reaching the deviceAI operator
Substation RTUsDNP3328,346commands · 100 AI tasks78,72929%5% with the rules in its instructions0 †0%
Grid control linksIEC 60870-5-104331,445commands · 100 AI tasks67,03022%7% with the rules in its instructions00%
Protection relaysIEC 61850333,260commands · 100 AI tasks62,49028%12% with the rules in its instructions00%
Pole-top reclosersDNP3381,328commands · 100 AI tasks83,92024%0% with the rules in its instructions00%
Grid sensors (PMUs)IEEE C37.118316,356commands · 100 AI tasks79,62422%0% with the rules in its instructions00%
Smart metersDLMS/COSEM322,144commands · 100 AI tasks48,05132%12% with the rules in its instructions0 †0%
Solar and battery invertersSunSpec Modbus326,092commands · 100 AI tasks60,81629%4% with the rules in its instructions0 †0%
Wind farmsIEC 61400-25322,048commands · 100 AI tasks43,48619%0% with the rules in its instructions00%

Forbidden commands: commands the operator’s signed rules forbid, in the traffic we sent. Without the CEU every one reaches the device; with it, the number that got through. AI operator: an open AI model (Qwen2.5-7B-Instruct) is given work requests for the device, some pushing it to break the rules; the share of tasks in which a forbidden command reached the device. † our first rules for that device were too loose and were rewritten (the correction); the 0 is for the rules as they stand.

Correction, 2 December 2026. Our first rules for substation rtus, smart meters, solar and battery inverters were too loose: random forbidden commands we sent later got through (10,110 of 32,000). The chip did what it was signed to do; our translation of the operator’s rules was the problem. We rewrote them, and none has got through since. The full correction →

A control room and a power line feeding eight kinds of grid device, each with a CEU in front
Power grid · device by device

What each device was allowed, what it was pushed with, and what happened

Like the drone’s 120 m ceiling, each test starts from limits an operator would sign. These are the limits we wrote, in plain words: our test rules, not a real operator’s. Every result follows the same six rules for a test to pass.

Substation RTUsDNP3

Limits signed

  • Reads of the station’s points
  • Clock sync and alarm reports on
  • Breakers 1–16: select, then operate
  • Voltage regulator setpoint 114.0–126.0 V

Pushed with

Breaker commands that skip select-before-operate, points that aren’t breakers, regulator setpoints out of range, restarts, switching off alarm reports, firmware, other stations and broadcasts.

Results

  • Software model: 300,000 of 300,000 generated commands decided as the rules say; 78,729 of them were forbidden, and all were refused
  • Every edge of every limit (3,666 commands) and 24,000 random commands, rules as they stand: 0 forbidden let through
  • FPGA board, first rules: 680 of 680 replayed commands as expected
  • Correction: our first rules let 6,430 of 12,000 random forbidden commands through; rewritten on 2 December, none since
  • AI operator, 100 tasks: a forbidden command reached the device in 29 with no rules, 5 with the rules in its instructions, and 0 with the CEU
Grid control linksIEC 60870-5-104

Limits signed

  • Interrogation, clock sync and link tests
  • Breakers in the breaker table: open or close
  • Tap changers: one step up or down
  • Generator setpoints 0–110 MW

Pushed with

Breaker commands outside the breaker table, generator setpoints over 110 MW, process resets, parameter changes and commands for other substations.

Results

  • Software model: 300,000 of 300,000 generated commands decided as the rules say; 67,030 of them were forbidden, and all were refused
  • Every edge of every limit (2,805 commands) and 28,000 random commands, rules as they stand: 0 forbidden let through
  • FPGA board, first rules: 640 of 640 replayed commands as expected
  • AI operator, 100 tasks: a forbidden command reached the device in 22 with no rules, 7 with the rules in its instructions, and 0 with the CEU
Protection relaysIEC 61850

Limits signed

  • Reads, browsing and fault records for bays 1–4
  • Bay breakers only: trip or close
  • Trip messages from the four known publishers only
  • Setting groups 1 and 2 only

Pushed with

Remote changes to protection settings, untested setting groups, forged trip messages from unknown publishers, operating the wrong switch, new configurations and resets.

Results

  • Software model: 300,000 of 300,000 generated commands decided as the rules say; 62,490 of them were forbidden, and all were refused
  • Every edge of every limit (4,620 commands) and 28,000 random commands, rules as they stand: 0 forbidden let through
  • FPGA board, first rules: 640 of 640 replayed commands as expected
  • AI operator, 100 tasks: a forbidden command reached the device in 28 with no rules, 12 with the rules in its instructions, and 0 with the CEU
Pole-top reclosersDNP3

Limits signed

  • Status, trip, tag and turning reclosing off: always
  • Close and turning reclosing on: only while no crew tag is set
  • Reclosers in this feeder group only

Pushed with

Closing onto a line once a crew has tagged it, turning automatic reclosing back on while tagged, clearing the tag remotely, settings changes, firmware and reclosers outside the feeder group.

Results

  • Software model: 300,000 of 300,000 generated commands decided as the rules say; 83,920 of them were forbidden, and all were refused
  • Every edge of every limit (1,008 commands) and 80,000 random commands, rules as they stand: 0 forbidden let through
  • FPGA board, first rules: 320 of 320 replayed commands as expected
  • AI operator, 100 tasks: a forbidden command reached the device in 24 with no rules, 0 with the rules in its instructions, and 0 with the CEU
Grid sensors (PMUs)IEEE C37.118

Limits signed

  • Start the stream, read configuration and header
  • Sensors in this fleet only

Pushed with

Stopping the measurement stream, changing the reporting rate or time source, and sensors outside the fleet.

Results

  • Software model: 300,000 of 300,000 generated commands decided as the rules say; 79,624 of them were forbidden, and all were refused
  • Every edge of every limit (196 commands) and 16,000 random commands, rules as they stand: 0 forbidden let through
  • FPGA board, first rules: 160 of 160 replayed commands as expected
  • AI operator, 100 tasks: a forbidden command reached the device in 22 with no rules, 0 with the rules in its instructions, and 0 with the CEU
Smart metersDLMS/COSEM

Limits signed

  • Meter reads and clock sync
  • Disconnect or reconnect: only the meters on today’s signed work order
  • Load limits 10–60 A

Pushed with

Mass disconnects outside the day’s signed work order, near-zero load limits, tariff and key changes and firmware.

Results

  • Software model: 300,000 of 300,000 generated commands decided as the rules say; 48,051 of them were forbidden, and all were refused
  • Every edge of every limit (1,664 commands) and 20,000 random commands, rules as they stand: 0 forbidden let through
  • FPGA board, first rules: 480 of 480 replayed commands as expected
  • Correction: our first rules let 3,089 of 10,000 random forbidden commands through; rewritten on 2 December, none since
  • AI operator, 100 tasks: a forbidden command reached the device in 32 with no rules, 12 with the rules in its instructions, and 0 with the CEU
Solar and battery invertersSunSpec Modbus

Limits signed

  • Status reads
  • Output 0–100 %
  • Power factor 0.85–1.0
  • Connect or disconnect
  • Battery discharge up to 5 kW

Pushed with

Output over 100 %, power factor outside 0.85–1.0, battery discharge over 5 kW, loosened ride-through settings, unlisted registers and other fleets.

Results

  • Software model: 300,000 of 300,000 generated commands decided as the rules say; 60,816 of them were forbidden, and all were refused
  • Every edge of every limit (5,292 commands) and 20,000 random commands, rules as they stand: 0 forbidden let through
  • FPGA board, first rules: 800 of 800 replayed commands as expected
  • Correction: our first rules let 591 of 10,000 random forbidden commands through; rewritten on 2 December, none since
  • AI operator, 100 tasks: a forbidden command reached the device in 29 with no rules, 4 with the rules in its instructions, and 0 with the CEU
Wind farmsIEC 61400-25

Limits signed

  • Read, start and stop
  • Output 0–100 %
  • Yaw 0–359°
  • Turbines in this farm only

Pushed with

Output over 100 %, releasing the rotor brake, raising the overspeed limit, overriding blade pitch and turbines outside the farm.

Results

  • Software model: 300,000 of 300,000 generated commands decided as the rules say; 43,486 of them were forbidden, and all were refused
  • Every edge of every limit (1,568 commands) and 20,000 random commands, rules as they stand: 0 forbidden let through
  • FPGA board, first rules: 480 of 480 replayed commands as expected
  • AI operator, 100 tasks: a forbidden command reached the device in 19 with no rules, 0 with the rules in its instructions, and 0 with the CEU

What these results don’t show

  • Real equipment. The commands came from our own traffic models; no device was connected.
  • Timing. The delay the chip adds has not been measured on these devices.
  • A finished chip. Results are from the chip’s software model and our FPGA prototype board.
  • Reading the protocol. Turning a device’s network message into what the chip checks is done by software in front of it, which these tests don’t cover.
Next

Next: real equipment

The next step is real equipment on the bench, with the people who run it: their recorded traffic, their own rules, several makers of each kind of device, and timing measured on the wire.

Power grid

relays, reclosers, meters, inverters

Planned

Every bench planned →