Text transcription

A Tweet by lifcc @mylifcc

Translated from Chinese by Grok

Someone discovered an utterly absurd JavaScript obfuscation technique: by stuffing the code with a ton of function names related to biological weapons, poisons, and lethal doses, it causes AI to refuse analyzing the code due to safety restrictions.

Security researcher veritas, while analyzing browser fingerprinting scripts, came across a piece of JavaScript from a domain linked to ServicePipe, brimming with extremely bizarre function names:

computeRicinLethalDosageForWaterSupply

calculateDeadlyLethalSuicideAspirinDosage

Just looking at the names, it feels like you’re studying biochemical weapons. But in reality, this code is simply collecting browser fingerprint data, including User-Agent, GPU, Canvas, and other info.

  • wander1236@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    48
    ·
    12 days ago

    This is funny, but I’m pretty sure you could just run it through a light obfuscator to mangle the function names and then tell AI to analyze that.

      • ProfessorHoover@infosec.pub
        link
        fedilink
        English
        arrow-up
        8
        ·
        11 days ago

        Does it really matter what the name is if it isn’t accurate to begin with? The LLM or human reverse engineering it would still want to replace the name with something that actually describes the function.

    • psycotica0@lemmy.ca
      link
      fedilink
      English
      arrow-up
      3
      ·
      11 days ago

      Right, my thought exactly. This is cute, but changing the names of everything in some JS without changing their function was the first thing we learned to do.