Story Details

  • A QR code that sends you to a different destination - lenticular and adversarial

    Posted: 2025-01-23 23:55:34

    This post showcases a "lenticular" QR code that displays different content depending on the viewing angle. By precisely arranging two distinct QR code patterns within a single image, the creator effectively tricked standard QR code readers. When viewed head-on, the QR code directs users to the intended, legitimate destination. However, when viewed from a slightly different angle, the second, hidden QR code becomes readable, redirecting the user to an "adversarial" or unintended destination. This demonstrates a potential security vulnerability where malicious QR codes could mislead users into visiting harmful websites while appearing to link to safe ones.

    Summary of Comments ( 4 )
    https://news.ycombinator.com/item?id=42809268

    Hacker News commenters discuss various aspects of the QR code attack described, focusing on its practicality and implications. Several highlight the difficulty of aligning a camera perfectly to trigger the attack, suggesting it's less a realistic threat and more a clever proof of concept. The potential for similar attacks using other mediums, such as NFC tags, is also explored. Some users debate the definition of "adversarial attack" in this context, arguing it doesn't fit the typical machine learning definition. Others delve into the feasibility of detection, proposing methods like analyzing slight color variations or inconsistencies in the printing to identify manipulated QR codes. Finally, there's a discussion about the trust implications and whether users should scan QR codes displayed on potentially compromised surfaces like public screens.