Skip to content
industry insights

This Shirt Literally Runs Code

Uniqlo sold a t-shirt with a working bash script hidden in plain sight on the back. Discover how a developer decoded this Easter egg, what it does, and why the design is both a clever nod to tech history and a potential security risk.

Cassidy Wolfe
Hero image for: This Shirt Literally Runs Code

TL;DR / Key Takeaways

  • Uniqlo sold a t-shirt with a working bash script hidden in plain sight on the back.
  • Discover how a developer decoded this Easter egg, what it does, and why the design is both a clever nod to tech history and a potential security risk.

The Shirt That's a Shell Script

Uniqlo, the purveyor of minimalist chic, recently unleashed a T-shirt that literally runs code—a discovery that blindsided the tech world. A sharp-eyed developer, scrutinizing the alphanumeric block on the shirt's back, stumbled upon a `#!/bin/bash` shebang. This wasn't abstract art; it was an unequivocal declaration: a functional computer program, a live shell script woven into the fabric.

This peculiar design wasn't an accident. It emerged from Uniqlo's 'Peace for All' charity project, a collaboration with cybersecurity powerhouse Akamai Technologies. Akamai deliberately embedded "real code" as an "Easter egg," a knowing nod to Linux, the "open-source language of the internet," and its own 25-year history. The shirt's light beige color itself was a deliberate callback to the "beige box" casings of early internet computers, a nostalgic wink to the tech-savvy.

Yet, the code's very structure immediately raised developer eyebrows, and not just for its novelty. The program was a base64 encoded string piped directly into `eval`—a mechanism notoriously common for distributing malware and viruses. This delivery method, a red flag in any security audit, instantly drew comparisons to how malicious payloads often ship, regardless of the script's ultimately benign function of animating "Peace for All" across a terminal.

From Fabric to Function: The OCR Challenge

Running a shell script off a T-shirt demanded surgical precision, far beyond a simple point-and-click. The embedded code, encoded in Base64 encoding, presented a formidable hurdle: this method offers no inherent error correction. Consequently, the developer faced the daunting task of transcribing every single character perfectly from the fabric, transforming a quirky novelty into a significant technical challenge requiring absolute fidelity.

Bridging the gap from textile to terminal necessitated a sophisticated, multi-layered extraction strategy. The developer began by photographing the shirt, then processed the image through not one, but three distinct Optical Character Recognition (OCR) tools: - Android's OCR - Tesseract - Claude This deliberate redundancy was crucial, allowing them to "diff" the varied outputs, meticulously comparing them character by character to pinpoint any discrepancies.

The remaining errors demanded painstaking manual cleanup, a testament to the formidable barrier between physical and digital code. This meticulous, almost archaeological, process highlights not just the dedication of one curious developer, but the inherent friction in translating static visual information into executable instructions. It's a stark reminder that even in an era of seamless digital interaction, the physical world still demands its due, and sometimes, a little elbow grease.

The Easter Egg: A Coded Message of Peace

The ultimate reward for deciphering the fabric-bound enigma is a visually stunning display. Upon execution, the script takes command of your terminal, hiding the cursor and adapting to its size, before animating the words 'Peace for All'. This powerful message gracefully weaves across the screen in a mesmerizing wave, dynamically cycling through a full spectrum of 256 colors.

No happy accident, the script’s creator left an unmistakable signature: a hidden comment explicitly confirming its deliberate design. This digital note reads, "Congratulations, you found the Easter egg," presented thoughtfully in both English and Japanese. It's a clear nod from Akamai Technologies, ensuring no one mistakes this for a random string of characters.

This coded payload directly reflects the shirt's profound purpose within Uniqlo's 'Peace for All' charity campaign. The initiative, blending tech culture with critical social good, has committed all profits from these designs to international humanitarian organizations like UNHCR, Plan International, and Save the Children. It’s a brilliant fusion of geek pride and global conscience, proving code can indeed deliver a message of hope; learn more at the official product page: Unisex PEACE FOR ALL Graphic T-Shirt | Akamai Technologies | UNIQLO US.

The Buggy Shirt and The Viral Legacy

Uniqlo’s "Peace for All" collection, launched in June 2022, presented a fascinating dichotomy. While one Akamai-designed shirt ran code flawlessly, a critical design oversight plagued its counterpart: the code was cropped mid-line. This rendered the script uncompilable, returning a frustrating 're-two' error instead of a valid command, a stark lesson in print quality assurance.

Enjoying this? Get one like it in your inbox each morning.

one email a day · unsubscribe in two clicks · no third-party tracking

Yet, this wasn't Uniqlo's only venture into tech-adjacent Easter eggs. The brand consistently demonstrates a pattern of integrating clever, functional design. A later Pokémon shirt, for instance, featured a tag ingeniously designed to function as a trading card organizer, showcasing a commitment to creative product development beyond mere aesthetics.

Ultimately, the Akamai shirt transcended simple garment design, forging a remarkable viral legacy. It became a compelling case study in engaging the developer community, brilliantly merging fashion, a technical challenge, and a meaningful charity initiative. Akamai’s original intent — a nod to Linux and its 25-year history shaping the internet — resonated deeply, solidifying the shirt's place in digital culture and highlighting the power of a well-executed, if slightly buggy, Easter egg.

Frequently Asked Questions

What was printed on the Uniqlo x Akamai T-shirt?

The back of the shirt featured a block of text that was a hidden, executable bash script. It was designed by Akamai for Uniqlo's 'Peace for All' charity campaign.

What does the code on the Uniqlo shirt do when executed?

When decoded and run in a terminal, the script hides the cursor and displays an animation of the words 'Peace for All' weaving across the screen in a wave of 256 colors.

Why was the code on the shirt considered a potential security risk?

The script used a 'base64 | eval' command structure. This method is often used by attackers to obscure and execute malicious code, making it a red flag for security professionals.

Was there a message hidden in the shirt's code?

Yes, the script contained a comment in both English and Japanese that read, 'Congratulations, you found the Easter egg!'

Found this useful? Share it.

AI Reputation Report

What AI knows about you.

ChatGPT, Perplexity, Gemini, Claude & Grok are already answering questions in your category. Type your site, see who they name — you, or your competitor. Free preview.

Check my sitefree preview

One short daily email of tools worth shipping. No drip funnel.

one email a day · unsubscribe in two clicks · no third-party tracking

🚀Discover More

Stay Ahead of the AI Curve

Discover the best AI tools, agents, and MCP servers curated by Stork.AI. Find the right solutions to supercharge your workflow.

P.S. Built something worth using? List it on Stork