RC RANDOM CHAOS

That obfuscated bash script on a Uniqlo t-shirt is a Peace-for-All Easter egg

· via Hacker News

Original source

Decoding the obfuscated bash script on a Uniqlo t-shirt

Hacker News →

A shopper noticed an alphanumeric block printed on the back of a Uniqlo t-shirt and recognized it as a base64-encoded bash script—complete with a shebang—piped through eval. The shirt is part of an Akamai-designed collaboration for the company’s “Peace for All” campaign, and the encoded payload turns out to be a harmless Easter egg rather than anything malicious. Decoded, it’s a well-commented script that renders the phrase “PEACE FOR ALL” as a continuous, color-gradient sine-wave animation in a 256-color terminal.

Getting the code off the fabric was the hard part. Because base64 has no error correction, the transcription had to be character-perfect, so the author cross-checked three OCR passes—Android’s circle-to-search, Tesseract, and Claude—and diffed the results to clean up mistakes. A companion shirt in the same range prints a deliberately truncated snippet that could never compile, making the intact one more satisfying to recover. A nice detail: the typeface appears to be Consolas, a primarily Windows font, an amusing choice for code that invokes Bash.

Akamai’s marketing frames the design as a nod to the early internet—the beige-box aesthetic and “real code” referencing Linux as the open-source lingua franca of the network. The write-up doubles as a light reminder that a self-evaluating, obfuscated script fed to eval is structurally identical to how real malware ships; here the intent just happens to be a heart-emoji message instead of a payload.

Read the full article

Continue reading at Hacker News →

This is an AI-generated summary. Read the original for the full story.