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. ▲ 2
    Deobfuscate JavaScript code using ChatGPT
    story by rob · 2026-02-03 · 1 comment
  2. …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
  3. 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…
  4. ▲ 1
    Deobfuscate JavaScript code using ChatGPT
    story by rob · 2025-03-05 · 0 comments
  5. ▲ 3
    Humanify: Deobfuscate JavaScript code using LLMs
    story by rob · 2025-02-05 · 0 comments
  6. …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
  7. …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
  8. ▲ 2
    Tool for unminifying JavaScript with LLMs without breaking the code
    story by jehna1 · 2024-08-29 · 0 comments
  9. 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
  10. …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