Inside America's Voting Machines

The touchscreen, the paper, the scanner, and the results website do different jobs. A useful red-team exercise follows the ballot between them, records what changed, and checks whether the independent evidence catches it.

The touchscreen lights up. A printer produces a ballot. A scanner swallows it. Later, a website displays a number. Put all four in a television graphic and they become “the voting machine,” a single black box with a flag behind it.

For a red team, that is four places to start asking questions, plus everything carrying data between them. Which component records the voter's choice? Which one counts? Who can load the election definition? Which record survives if the software lies?

I want the version number before the villain music.

The machines have different jobs

A ballot-marking device helps a voter produce a ballot. An optical scanner interprets marks on paper. An election management system prepares definitions and may aggregate records or results. An unofficial results website publishes information. An electronic poll book handles voter check-in, a different job again.

Those boundaries affect the finding. Defacing a results page does not by itself change the underlying tally. Changing a ballot definition can affect how a machine presents or interprets a contest. Compromising a marking device can affect what gets printed. Each claim needs the corresponding artifact and effect.

Equipment varies by jurisdiction, model, certified system version, and deployed configuration. The Election Assistance Commission's certification registry is a starting point for the certified package. Local inventory and deployment records establish what is actually in use. A vendor name alone cannot supply the operating system, update level, or network exposure of every product bearing it.

A vulnerability with the access requirements attached

The ImageCast X research gives us a concrete case. The 2023 public research summary discusses vulnerabilities in the examined Georgia ballot-marking devices and the potential to alter recorded selections. Its authors also distinguish their findings from evidence that an election outcome was changed through technical compromise.

CISA's June 2022 disclosure bulletin states the exploitation prerequisites: physical access to an individual device, access to the election management system, or the ability to modify files before upload to the devices. At that time, CISA reported no evidence of exploitation in elections. That dated statement should travel with the advisory, rather than becoming an unlimited claim about every later system.

An upload path matters even when an attacker never stands beside the touchscreen. It still needs access. “No physical access” cannot quietly become “anyone on the internet.” A lab result also does not establish that a later software release remains vulnerable, or that a proposed patch fixes it. Test the affected build and the control build.

The seal gets an evidence bag

A tamper-evident seal can record interference if someone checks it, knows the expected serial number, and acts on a discrepancy. The lock controls access. The custody record tells us who handled the equipment and when. None of those jobs is performed by saying “sealed” at a press conference.

In an authorized exercise, define the operator's access before the test: supervised voter use, equipment maintenance, removable media handling, or election-management administration. Record the prerequisite, action, resulting artifact, and detection. A maintenance account and a person waiting to vote do not begin with the same permissions.

Then give the blue team something specific to find. An altered package hash. A broken custody sequence. An unexpected account. A record that disagrees with the independent inspection. Retest the legitimate path after the fix. A machine that rejects every ballot has achieved an impressive denial of service, not a successful election.

The paper has to disagree independently

Paper gives an audit something outside the tabulator's own totals to inspect. Its usefulness depends on the record's meaning and custody. A hand-marked ballot records the voter's marks directly. A ballot-marking device can provide an accessible voting path, but the printed record and what the scanner reads still need scrutiny. A barcode and human-readable text must not be assumed equivalent merely because they share a sheet.

If the same compromised software creates both the claimed result and the supposed cross-check, agreement between them proves less than it appears to. Preserve the independent record, the manifest locating it, and the handling history. Do not put voter identity into the comparison record.

This Python 3.9+ fixture compares two supplied sets of synthetic single-choice records. It flags changed selections, missing counterparts, and invalid or duplicate identifiers. The labels identify fixture records, never voters.

def index_records(rows):
    indexed = {}
    for row in rows:
        if not isinstance(row, dict) or set(row) != {'record_id', 'selection'}:
            raise ValueError('Expected record_id and selection only')
        key, selection = row['record_id'], row['selection']
        if not isinstance(key, str) or not key or key in indexed:
            raise ValueError('Missing or duplicate record_id')
        if not isinstance(selection, str) or not selection:
            raise ValueError('Expected a nonempty synthetic selection label')
        indexed[key] = selection
    return indexed


def compare_records(machine_rows, inspection_rows):
    machine = index_records(machine_rows)
    inspection = index_records(inspection_rows)
    common = sorted(machine.keys() & inspection.keys())
    return {
        'compared': len(common),
        'mismatches': [
            {'record_id': key, 'machine': machine[key], 'inspection': inspection[key]}
            for key in common if machine[key] != inspection[key]
        ],
        'missing_inspection': sorted(machine.keys() - inspection.keys()),
        'missing_machine': sorted(inspection.keys() - machine.keys()),
        'risk_limit_computed': False,
        'election_outcome_verified': False,
    }

The complete runnable file includes the checks and prints a synthetic discrepancy. Save it as ballot_record_compare.py and run:

python3 ballot_record_compare.py

Ten checks passed locally on October 25, 2026. They cover matching and changed selections, missing records on either side, empty input, invalid identifiers or selections, and the explicit absence of an outcome-verification claim. No election data, machine, or network was accessed.

This comparator does not authenticate records, establish custody, select an audit sample, calculate a risk limit, or implement actual ballot interpretation. It supports one step in a fixture: show exactly which supplied records disagree. Production formats include contests and vote types this deliberately restricted example does not model.

A risk limit is not mathematical certainty

A risk-limiting audit (RLA) uses a statistical procedure with a prespecified bound on the chance of failing to correct an incorrect reported outcome. It relies on trustworthy records and correct procedure. It is not a promise to detect every intrusion, and a 5% risk limit does not mean there is a 95% posterior probability that the reported winner won.

Rhode Island's current audit rules describe that conditional guarantee and escalation toward a full manual tally. Its published audit center also supplies a concrete counterexample to the old claim that only Colorado conducts these audits.

A mismatch in the fixture above is not an RLA result. To make an audit claim, identify the contest, risk limit, sampling method, manifest, audit records, stopping rule, and escalation. A fixed percentage and a reassuring spreadsheet do not supply that argument on their own.

Certification belongs in the evidence, too

The current VVSG materials and system-specific test reports are the places to inspect the applicable requirements. “Certified” needs a system version and scope. Calling the entire program functional testing with no adversarial component skips the security work the actual documents describe.

Changes also have a review path. EAC distinguishes modifications and de minimis changes in its change-order process. Neither “every patch invalidates certification” nor “de minimis means anything goes” describes that process. Ask which change was approved, what was tested, and whether the jurisdiction installed it.

The same discipline applies to vendor ownership, market share, modems, and component sourcing. A dated procurement record can support a specific claim. A national percentage with no date or denominator cannot tell an engineer which boundary to test tomorrow.

The October 2026 exercise

I would start with an owned lab system and synthetic ballots: identify the exact build, establish a legitimate run, introduce one bounded discrepancy, preserve the changed artifact, and see whether the independent check catches it. Then restore the system, apply the control, and run both the legitimate and adversarial paths again.

A clean count from a fixture does not clear deployed equipment. A compromised fixture does not establish a compromised election. The useful handoff contains enough evidence for someone else to reproduce the result and enough scope for them to know where it stops.

The touchscreen can keep the patriotic wallpaper. I want the ballot, the record, and the difference between them.

Refreshed October 25, 2026: replaced unsupported product specifications, market figures, investigation claims, and universal attack assertions with source-linked system boundaries. Corrected ImageCast X access requirements, certification/update descriptions, and the RLA guarantee. Added a tested synthetic record comparator. No live voting system was tested.

GhostInThePrompt.com // The screen says it counted. The paper gets a turn.