What happens when you flip exactly one bit in a file?

I built Bit Flip Lab — a visual, deterministic fault-injection laboratory for studying what happens when exactly one bit changes.

The workflow is simple:

Select one bit → mutate → decode → measure → observe

It can expose consequences at multiple levels:

  • Raw byte changes

  • Structural validity

  • Integrity checks

  • Decoded/rendered output

  • Severity classification

One experiment shows a single bit producing a measurable pixel change. Another crosses a structural boundary and causes a PNG decoder failure.

The project is open source, with the full visual demo, experiments, architecture, and methodology on GitHub.

:link: https://github.com/MadB0i/Bit-Flip-Lab

#HuggingFace #OpenSource Research #CyberSecurity #FaultInjection

hero

I also want to know it.

Same :grinning_face_with_smiling_eyes: That question is what made me build it. One bit can do almost nothing, corrupt a few pixels, or break the entire file depending on where it flips.