This Week In Security: Malicious Clipboards, Snakes On A Domain, And Binary Golf

There’s a bit of a panic regarding Chromium, Google Chrome, the system clipboard, and of all things, Google Doodles on the New Tab Page. It’s all about Chromium issue 1334203, “NewTabPageDoodleShareDialogFocusTest.All test fails when user gesture is enforced”. You see, Chromium has quite a large regression test suite, and Google engineers want to ensure that the Google Doodles always work. A security feature added to the clipboard handling API happened to break a Doodles test, so to fix the Doodle, the security feature was partially reverted. The now-missing feature? Requiring user interaction before a page can read or write to the clipboard.

Now you understand why there’s been a bit of a panic — yes, that sounds really bad. Pages arbitrarily reading from your clipboard is downright malicious and dangerous. And if no interaction is required, then any page can do so, right? No, not quite. So, Chrome has a set of protections, that there are certain things that a page cannot do if the user has not interacted with the page. You might see this at play in Discord when trying to refresh a page containing a video call. “Click anywhere on this page to enable video.” It’s intended to prevent annoying auto-play videos and other irritating page behavior. And most importantly, it’s *not* the only protection against a page reading your clipboard contents. See for yourself. Reading the clipboard is a site permission, just like accessing your camera or mic.

Now it’s true that a site could potentially *write* to the clipboard, and use this to try to be malicious. For example, writing rm -rf / on a site that claims to be showing off Linux command line tips. But that’s always been the case. It’s why you should always paste into a simple text editor, and not straight into the console from a site. So, really, no panic is necessary. The Chromium devs tried to roll out a slightly more aggressive security measure, and found it broke something unrelated, so partially rolled it back. The sky is not falling.
Continue reading “This Week In Security: Malicious Clipboards, Snakes On A Domain, And Binary Golf”

Game Boy Repurposed Solely As A Camera

As much as we all love the Game Boy Camera, it’s really just an add-on to the popular handheld console. Twitter user [@thegameboycam] decided to build a dedicated camera platform using the hardware, and the result was the Game Boy DSLR.

Camera pedants will note that it’s not really a DSLR, but that’s not really the point. It’s a Game Boy with the camera accessory built into a proper camera-like housing. There’s a CS/C mount for the lens, and it’s got a custom shell with leatherette, just like the cameras of last century. It’s also got a cold shoe, and a 1/4″ screw thread for tripod mounting. Oh, and strap lugs! So you can really rock that old-school aesthetic with your tweed suit on.

More practical modern features include a 1800 mAh battery that charges over USB Type C and a backlit IPS display. The screen has been turned through 90 degrees, and the cartridge port and buttons are relocated to create a more traditional camera-like form factor. If you really want, though, you can still play it like a regular Game Boy. Just swap out the modified camera cart with the lens mount for a regular Game Boy Camera or another game cartridge.

It’s a fun hack that scores big on style points. No longer can you be the cool kid just by rocking a Game Boy with a big ol’ lens hanging off the back. Now you gotta compete with this!

Our tipsline is waiting for when you’ve got the next big thing in Game Boy Camera hacks. Video after the break.

Continue reading “Game Boy Repurposed Solely As A Camera”

The Little Lightgun That Could: Sinden Makes Good

Back in 2018, we covered the work being done by [Andrew Sinden] to create a lightgun that could work on modern televisions. The project was looking for funding via Kickstarter, but due at least in part to skepticism about the technology involved, the campaign fell well short of its goal. It seemed, at the time, like the story would end there.

But we were recently pointed to a fascinating interview with [Andrew] that ran in The Guardian a couple months back that not only tells the rest of the story, but concludes with a happy ending — after years of hard work, the Sinden Lightgun is now available for purchase. It’s not exactly the turn-key product that some would like, as there’s a fair number of hoops one must jump through just to bag some eponymous waterfowl in Duck Hunt, but nothing that would scare off the average Hackaday reader.

Limited technical details about the 2018 prototype may have kept backers away.

The final version of the hardware ditches the realistic firearm aesthetic inherited from the Wii gun accessory it was designed to fit into, and now features a brightly-colored pistol enclosure that wouldn’t look out of place tethered to a Virtua Cop machine. It’s also gained an optional recoil solenoid for force feedback, though it tacks on another $60 to the already hefty $100 price tag for the base model.

We’re glad to see that [Andrew] recognized the importance of getting Linux support for the software side of things, as it enabled the development of a pre-configured Retropie image for the Raspberry Pi 4. Though you aren’t forced to emulate on the Pi, for those who would like to blast the occasional zombie on their desktop, Windows and x86 Linux are also supported.

Often times, when we cover a project here on Hackaday it’s a one-shot deal: somebody had a particular need or desire, built a gadget to fulfill it, and moved on. There’s nothing wrong with that, but there’s a certain feeling of pride when we see a project from this community develop into something more. While not every hacked together piece of hardware we feature has the potential to be the next Arduboy or Sinden Lightgun, we like to think that we’ve already covered the next big project-turned-product success story and just don’t know it yet.

Continue reading “The Little Lightgun That Could: Sinden Makes Good”

Astrophotography On The Game Boy Camera

The Game Boy Camera was the first digital camera that many of us ever interacted with. At the time it was fairly groundbreaking to take pictures without film, even though the resolution was extremely low by modern standards, and it could only shoot two-bit color. It’s been long enough since its release that it’s starting to become a popular classic with all kinds of hacks and modifications, like this one which adds modern SLR camera lenses which lets it take pictures of the Moon.

The limitations of the camera make for a fairly challenging build. Settings like exposure are automatic on the Game Boy Camera and can’t be changed, and the system only allows the user to change contrast and brightness. But the small sensor size means that astrophotography can be done with a lens that is also much smaller than a photographer would need with a modern DSLR. Once a mount was 3D printed to allow the lenses to be changed and a tripod mount was built, it was time to take some pictures of the moon.

Thanks to the interchangeability of the lenses with this build, the camera can also capture macro images as well. The build went into great detail on how to set all of this up, even going as far as giving tips for how to better 3D print interlocking threads, so it’s well worth a view. And, for other Game Boy Camera builds, take a look at this one which allows the platform to send its pictures over WiFi.

Continue reading “Astrophotography On The Game Boy Camera”

Hackaday Links Column Banner

Hackaday Links: April 3, 2022

It’s that time of year again — the 2022 Hackaday Prize has officially launched, and we’re excited to see what it turns out. This year’s theme is “Sustainability, Resilience, and Circularity,” and just in time, too; if the last couple of years has taught us anything, it’s that we’ve got a lot of failure points built into the systems that run our world. As broken as things are, it’s tempting to just curl up in a ball and pretend everything’s fine, but that’s not how hackers respond to adversity. We need to control what we can control, and there’s plenty of work to be done. From sustainable energy ideas to ways to reduce the amount of stuff we throw away, from breathing new life into old equipment to building communities that can take care of themselves, there’s plenty of work to be done. So get over to the Hackaday Prize page, check out the launch summit video if you need some inspiration, and get hacking. And hurry up — things are only going to get better if people like us make it happen.

Continue reading “Hackaday Links: April 3, 2022”

A disassembled Game Boy-shaped Hackintosh

This Big 3D-Printed Game Boy Actually Runs MacOS

While mobile gaming has largely moved to smartphones these days, the classic Game Boy remains a hugely popular platform for retro enthusiasts, owing in no small part to its enormous library of quality games. The original Game Boy hardware is pretty much bulletproof, but feels a bit outdated today because it lacks modern conveniences like a large, backlit display or a rechargeable battery.

[iketsj] wanted to build a modern take on the Game Boy design and designed what’s in effect a 3D-printed, oversized copy of the classic handheld powered by a modern single-board computer. Most people would have gone for something obvious like a Raspberry Pi running Linux, but not [Ike]: he decided to go for a LattePanda Alpha board and run macOS Monterey on it. That makes this a Hackintosh, and probably one of the last ones as well since Apple is busy migrating all of its products onto its own proprietary CPUs.

The LattePanda also has an Arduino integrated on its board, which is used to read out the Game Boy’s buttons as well as the resistive touch screen. It communicates with the macOS system through a Python script that emulates mouse movements and keypresses. Sadly, the touch function is not working because [Ike] accidentally damaged the touch-sensitive system while trying to slim down the display module. Still, the seven pushbuttons are more than enough when running a Game Boy emulator, and there’s also a USB connector available to connect external peripherals like a keyboard, mouse or monitor.

We’ve seen several great Game Boy projects over the years: some made from brass, some very wide, and some that stuff modern computing platforms inside an original Game Boy case. Combining a Game Boy with a Hackintosh is definitely a new development, though it matches well with [Ike]’s history of unusual Hackintosh designs. Continue reading “This Big 3D-Printed Game Boy Actually Runs MacOS”

The hairclip-embedded tool being used on a Tiger 99x game console, clipped onto a spot where the plastic ribbon meets the LCD panel itself, heating it up

World’s Smallest Hair Straightener For Fixing Old LCD Ribbons

[Stephen] writes to us about an LCD repair tool he has created. We’ve all seen old devices with monochrome LCDs connected by thin film, where connections between the PCB and the LCD have deteriorated and the LCD would no longer show parts of the picture. This is a connection heating gadget, that [Stephen] affectionately dubs as World’s Smallest Hair Straightener, made specifically to bring cool old tech back to life.

A resin-printed mold houses a coil of Kanthal wire, easy to source and simple to make. He reuses a hair clip as a housing for the heating element, which also provides pressure needed to squish the film-printed conductive traces into the LCD as the adhesive melts. High-temperature epoxy brings the two together, and with a variable power supply, this tool successfully brought an old Tiger 99x handheld back to life.

This hack was made possible, in part, because of [JohnDevin Duncan] in Hackaday comment section sharing his experience on repairing LCD ribbons back in 2015, giving valuable insights on the problem that we initially thought would be solve-able with a soldering iron. The knowledge shared was distilled by [Stephen] into a tool that we all can now use when we encounter a device we really, really want to revive.

Last time we covered this topic, quite a few hackers popped up with their stories and suggestions. Old game console fix stories are a staple here on Hackaday, a few pop to mind – this high-effort trace repair of a water-damaged GameBoy cartridge, a badly designed NES cartridge socket reinvention, and this GameBoy LCD sunburn damage restoration guide.