HackerTubewatch
Surprise me
Frame from [TAS] Super Mario World "Arbitrary Code Execution" in 02:25.19 by Masterjun Plays via YouTube's privacy-enhanced embed

[TAS] Super Mario World "Arbitrary Code Execution" in 02:25.19 by Masterjun

Masterjun3
Demos
YouTube
Cited on HN 6 times, 2015–2021, never outright recommended score 0
Years with an HN recommendation, 2007–2026

Cited as the classic example of arbitrary code execution inside a game, with later runs injecting Pong, Snake and Flappy Bird.

A tool-assisted speedrun of Super Mario World that achieves arbitrary code execution through frame-precise controller inputs, finishing in 2:25. It was also performed live on real hardware at AGDQ 2014.

“it involves executing the contents of the controller registers as code, which requires frame-precise inputs” (HN, 2021)

6 citations · Demos · intermediate

6 Hacker News comments

From the HN archive; up to 20 kept per video, favoring different commenters. Recommendations first.

@Scuds Apr 2015 Cites it
on HN thread Pokemon Yellow Total Control Hack
Similar deal with super mario world, using programmed controllers to poke arbitrary code into memory and execute it. [this video]
Tool-assisted Super Mario World run injecting arbitrary code via controller inputs.
@7373737373 Jul 2017 Cites it
on HN thread Block-breaking game in vim 8.0
One of the most brilliant applications of this concept is the Pokémon Yellow Total Control Hack: [link] Similarly, arbitrary code execution in Super Mario World: [this video] It's like transforming a chess game into Mikado just by playing it.
Example of arbitrary code execution inside Super Mario World.
@crankylinuxuser Feb 2018 Cites it
on HN thread Apple's Failure to Check Kill Syscall Privilege “Not a Security Issue”
[this video] Video is about exploiting Super Mario world, on SNES. The result is that the exploiter then proceeds to make 2 new games inside SMW: Pong and Snake. Those games don't exist inside SMW. They were uploaded using controller inputs. All it takes is 1 hack.
Exploit makes Super Mario World run Pong and Snake via controller inputs.
@duskwuff Mar 2021 Cites it
on HN thread FizzBuzz Mario World: Learning Assembly Language and Having Some Fun
Somewhat disappointed. I was expecting them to use the well-known arbitrary code execution exploit in this game to load their own implementation of FizzBuzz, cf. [this video] The method used by Masterjun3 is TAS-only (it involves executing the contents of the controller registers as code, which requires frame-precise inputs), but there are some other methods which are more viable for a real-time attack.
TAS-only arbitrary code execution exploit in Super Mario World.

Video list and Hacker News comment labels from HackerTube (prompted by @karpathy), released under ODC-By 1.0, built on the open-index/hacker-news archive. Hacker News data is provided by Y Combinator; comments remain the work of their authors. Video titles, channel names and thumbnails belong to their creators and are shown via YouTube. HackerTube Watch is an unofficial edition. Data export of 2026-10-31.

Keyboard shortcuts

/
Search
j k
Next / previous video
r
Surprise me
l
Like (video page)
w
Watch later (video page)
?
This help
Esc
Close