AI Deobf is an experimental AI-powered deobfuscator designed to simplify obfuscated code in JavaScript and Java. It leverages large language models to analyze and reconstruct readable code.
Note: As with any AI tool, occasional hallucinations (unexpected or incorrect outputs) may occur. Always review the results manually for accuracy.
This project is in early development—contributions and feedback are highly encouraged!
- Supports deobfuscation for JavaScript and Java code.
- Integrates with popular AI APIs (DeepSeek, Gemini, OpenAI).
- Simple CLI interface for quick usage.
- Extensible design for adding more languages or models.
- Python 3.8 or higher (Download here).
- Access to an AI API key (see Get AI API below).
git clone https://github.com/Eatgrapes/AI_Deobf.git
cd AI_DeobfAlternatively, download the ZIP from the GitHub Releases page.
pip install -r requirements.txtRun the initialization script to set up your API key:
python init.pyFollow the prompts to enter your API details (e.g. API Keys).
python Main.py- Provide the path to your obfuscated file when prompted.
- Select the language (JavaScript or Java).
- Review the deobfuscated output in the console or generated file.
To use the tool, you'll need an API key from one of these providers:
Sign up, generate a key, and configure it via init.py.
- API Errors: Ensure your key is valid and has sufficient quota. Check the console for error messages.
- Dependency Issues: Use a virtual environment (
python -m venv env && source env/bin/activateon Unix/Mac orenv\Scripts\activateon Windows). - Python Version: Verify with
python --version.
Help us improve! Report issues on the GitHub Issues page. Include details like your OS, Python version, API provider, and a minimal reproducible example.
We'd love your help to expand language support, fix bugs, or enhance the UI. Here's how:
- Fork the repo and create a feature branch (
git checkout -b feature/amazing-feature). - Commit your changes (
git commit -m 'Add amazing feature'). - Push to the branch (
git push origin feature/amazing-feature). - Open a Pull Request and describe your changes.
Thanks for contributing! 🚀
This project is licensed under the MIT License - see the LICENSE file for details.