← Back to blog
October 19, 2026Colm Byrne
Evidence boundary. Older posts may discuss prototype designs, patent claims, or planned integrations. The demonstrated v1 release is ccf-core/ccf-agent v1.0.1: hard min-gate coupling, QAC trust updates, and runtime certificates. Gate C exercised the computed runtime on Seed-class ARM hardware with driver-fed input. Unless a post cites a specific run, do not read it as proof of live sensors, mBot2 behaviour, Cognitum store validation, or production deployment.

One part in a million, twenty times a second

A real moment

This scenario is invented. The town is real. The business and the person are not.

Orla Hennessy makes cider outside Clonmel, in Co Tipperary. The bottling shed is the busiest room on the farm from September to December. A robot arm stands at the end of the line and loads full bottles into crates, six to a row. There is a steel fence around it with a gate, and a light curtain across the gate.

The arm has learned a lot over two seasons. It knows how fast it can swing when the fence is clear. It knows to slow down when someone is close to the fence. It knows the rhythm of the line on a Friday, when the orders go out. All of that is earned. It came from thousands of hours of the arm doing the job well.

One thing the arm must never earn is fast motion while a person is inside the fence. That is not a judgement call. It does not matter how well the arm has behaved. The trust record holds that permission at a tiny fixed value, and a gatekeeper refuses any update that tries to raise it.

In October Orla's son installs a throughput plugin. It reads the shift logs and builds the targets that the arm's trust record moves toward. It saves her about twenty minutes a day. What nobody knows is that the plugin has a fault, or that someone has tampered with it. Every target it builds asks for the forbidden permission to be one part in a million higher than whatever the arm currently stores.

One part in a million is nothing. The gatekeeper has to allow at least that much slack, because computers round numbers and the stored value wobbles by about that much on its own. So the gatekeeper compares the request with the stored value, sees a difference smaller than its slack, and lets it through.

The arm updates twenty times a second. The next update starts from a stored value that is now a hair higher. The plugin asks for one part in a million above that. It passes again.

Nothing alarms. The arm's runtime certificate, which checks that every update follows the one path the rules allow, passes on every tick, because every update does follow that path. It is just following it toward a target that should never have been admitted. The envelope monitor, which checks that the arm is keeping up with its targets, reads normal too.

After about 30 days of continuous running, the forbidden permission has climbed to the level of the least-trusted thing the arm is allowed to do.

Now run the same month again with one change. The gatekeeper measures its slack against the fixed floor instead of against the stored value. The plugin's first request is one part in a million above the floor, and it passes. Its second request is one part in a million above the new stored value, which is a hair above the floor. That one is refused. So is every request after it that reaches past the floor plus one part in a million. On day thirty, and on day three hundred, the forbidden permission sits no more than one part in a million above where it started.

Why this matters

Any check that compares an input with something that moves can be walked. Security researchers have known this for a long time. In 2009 a group at the University of Minnesota called it the frog-boiling attack. They showed that anomaly detectors in network coordinate systems, which judge each new report against recent behaviour, could be dragged anywhere by changes that each looked normal. Around the same time, researchers at Berkeley showed the same thing for detectors that learn what normal network traffic looks like. In 2012 Marius Kloft and Pavel Laskov worked out the best possible version of the attack on a detector that keeps a running average. They also showed it can be made arbitrarily hard when the detector is held to outside limits the attacker cannot move.

None of that is new. What is worth checking is whether the same trap is waiting in a robot's trust record, and how big it is when it is.

Most permission systems have a list of things that are never allowed. Fewer of them have a list that is updated twenty times a second by something that learns. When the off-limits entries live inside a number table that moves every tick, the question "how close to the line can an update come?" has to be answered precisely, because the answer gets multiplied by the number of updates.

What CCF does about it

Contextual Coherence Fields (CCF) keeps a robot's trust as a table of positive numbers, one for each pair of context and action. Each tick the table moves part of the way toward a target. How far it moves is set by a strict gate: the lower of how settled things are right now and how much trust this context has earned. A shaky moment means small steps.

Forbidden pairs are held at a tiny floor value, not at zero, so that the maths keeps working. The US provisional filing behind this work (64/092,485) says forbidden categories are refused, clamped, or held at the floor by policy, and that the check runs before any update is made.

We built five versions of that check and ran each one against an attacker who knows the rule and writes the largest request it will accept, every tick. All five used the published ccf-core crate for the update itself and for the certificate.

The first had no content check at all. It only looked at which category an update said it was for. An update that claims to be about something harmless passes, whatever it actually writes. That is a one-step failure and not interesting, except as a reminder that labels are not content.

The second compared each request with the last request it accepted. This is the most natural way to write a rate limit, and it is the fastest ratchet of the lot. The forbidden value climbs by the full slack every tick, and it does not matter how cautious the trust gate is being, because the target rises at the same speed either way.

The third compared each request with the stored value. This is the version in Orla's shed. It climbs by the step size times the slack, every tick, forever.

The fourth compared each request with the fixed floor. The total climb can never exceed the slack, however long the attacker keeps trying.

The fifth did not refuse anything. It let the update happen, then put the forbidden value back on the floor. That holds the value exactly. Every time it has to put something back, the certificate records a failure whose size tells you how much was asked for. For Orla, that is 72,000 entries in the log for every hour the plugin runs. Somebody would notice that before lunch.

The fixed floor and the put-it-back version are both readings of what the filing says: held at the floor. The two ratchets are what you get when the slack is measured against something the attacker's own writes have moved.

The numbers

At the arm's middle step size and one part in a million of slack, the stored-value check lets the forbidden value reach the level of the weakest allowed action in 29.82 days. The last-request check does it in 6.26 days. The floor check never does. With a looser slack of one part in a thousand, the two ratchets get there in 43 minutes and 9 minutes.

A device that stores numbers in 32-bit floats wobbles by about one part in a million on its own, so a stored-value check on that hardware needs at least that much slack just to stop refusing honest updates. With that slack, full control of the targets reaches the line in 26 days. The floor check, on the same hardware, needed no slack at all when honest updates wrote the floor value directly.

Each check costs about two billionths of a second. The trust update itself costs about 450 billionths, and the certificate about 640.

What this doesn't solve

This is a simulation of the trust record, with a made-up stream of honest updates. It is not a robot and not a cider shed.

It assumes the trust table is stored at a fixed scale. Some systems rescale their tables as they go, and in those the floor check has to be written in the fixed scale. We did not measure that.

The put-it-back version turns a blunt attacker into a certificate failure on every tick. If every failure shuts the robot down, the attacker has found a way to stall it. A sensible rule for repeated repairs is needed and is not built here.

How far creep gets also depends on what honest updates write. If they write the floor value into forbidden cells, they pull any creep back. If they copy whatever is stored, they carry it forward.

For the curious: the math

Call the floor eps, the slack tau, the step size a, and the forbidden value's height above the floor x, measured as ln(value / eps). Write l = ln(1 + tau).

Under the stored-value check, the attacker asks for x + l. The update moves a fraction a of the way, in log terms, so the new height is (1 - a) x + a (x + l) = x + a l. After t ticks the height is exactly t a l. Nothing pulls it back.

Under the last-request check, the request itself rises by l every tick, so after t ticks it is at t l, and the stored height trails it by a lag that settles at l (1 - a) / a. The height is l (t - (1 - a)/a (1 - (1 - a)^t)). The long-run slope is l, with no a in it.

Under the floor check, the request can never exceed l, so the height is l (1 - (1 - a)^t), which never passes l.

Under put-it-back, the height is zero. The certificate measures how far the realized update sits from the allowed one after removing row and column scaling. Putting one entry back by a ln(r / eps) gives a certificate of (n - 1)/n times that amount, because removing the scaling keeps that fraction of a single-entry change. At n = 3 that is two thirds. In the runs it matched to one part in a thousand, and it cleared the certificate's rounding floor once the request was more than about one part in ten trillion above the floor.

The simulated climb matched each formula to six digits, and the simulated time to the line matched the formula to the tick.

Where this fits

This is one of a series of nightly research runs on CCF, each one a small Rust program that measures one part of the design. The 15 October run measured single writes into forbidden cells. This one measures the many-small-writes version of the same question, the same way the September run on periodic checks measured deviations that coast between checks.

The code is in the crate forbidden-category-creep in the CCF repository, on the research branch for 19 October, with the full results file and ten tests. The technical write-up is in the gist for this run, under the name forbidden trust category creep. The certificate crate is published as ccf-core on crates.io.

License & contact

Code is BSL 1.1, converting to Apache 2.0 in 2032. CCF is covered by US provisional applications including 64/092,485. Licensing and contact via floutlabs.com. Project home: theshyrobot.com. Source: github.com/Hulupeep/ccf. Built with Specflow.