Hacker GitHub

← All repos

jehna/humanify

View on GitHub ↗ ★ 3,292 Rust

Deobfuscate Javascript code using ChatGPT

10 mentions on Hacker News by 5 people: 4 stories, 6 comments · first 2024-08-29 · latest 2026-02-03

Mentions per year 10 mentions · busiest year 2024 (5)
20082026
  1. …for me on obfuscated JS. [0]: https://thejunkland.com/blog/using-llms-to-reverse-javascrip... [1]: https://github.com/jehna/humanify/blob/main/README.md#exampl...
    comment by Hackbraten · 2025-09-29 · in Fernflower Java Decompiler
  2. Have you seen this? https://github.com/jehna/humanify What they do is ground the LLM to the AST with Babel to ensure you still get the same shape of AST out of your deobfuscation pass. Probably this tool could be cleaned up, made to work…
  3. …but only safe-ish AST transformations related to minifiers (e.g. `void 0` to `undefined`): - https://github.com/jehna/humanify/blob/eeff3f8b4f76d40adb116... - https://webcrack.netlify.app/docs/concepts/unminify.html properties and strings…
    comment by j4k0xb · 2024-08-30 · in OpenAI is good at unminifying code
  4. …come up with the best possible variable name You can check the source code for the actual prompts: https://github.com/jehna/humanify/blob/eeff3f8b4f76d40adb116...
    comment by jehna1 · 2024-08-29 · in OpenAI is good at unminifying code
  5. You need to use another tool to do the actual renames, like HumanifyJS does: https://github.com/jehna/humanify
    comment by jehna1 · 2024-08-29 · in OpenAI is good at unminifying code
  6. …uses LLMs on AST level to guarantee that the code keeps working after the unminification step: https://github.com/jehna/humanify
    comment by jehna1 · 2024-08-29 · in OpenAI is good at unminifying code