Discover and explore top open-source AI tools and projects—updated daily.
Valerian7Automated JavaScript reverse engineering powered by AI
Top 79.5% on SourcePulse
AI_JS_DEBUGGER is an automated JavaScript reverse-engineering tool that leverages the Chrome DevTools Protocol (CDP) and AI to analyze front-end code. It assists security researchers and developers by automatically debugging JavaScript, identifying encryption algorithms, extracting keys, and generating analysis reports along with mitmproxy scripts, significantly accelerating the reverse-engineering process.
How It Works
The project utilizes the Chrome DevTools Protocol (CDP) to interact with and debug JavaScript execution within supported browsers like Chrome and Edge. It employs AI models, compatible with OpenAI's API format, to analyze intercepted data, identify cryptographic functions, and infer key generation methods. JavaScript hooking techniques are integrated to capture sensitive information such as encryption keys and plaintext/ciphertext pairs, enabling automated analysis of common algorithms like AES and RSA.
Quick Start & Requirements
git clone https://github.com/Valerian7/AI_JS_DEBUGGER.git), navigate into the directory, and install dependencies (pip install -r requirements.txt).python3 run_flask.py. Access the web UI at http://localhost:5001.Highlighted Details
Maintenance & Community
Contributions are welcomed via Pull Requests or Issues. Community interaction channels like Discord or Slack are not specified in the README.
Licensing & Compatibility
The project is released under the MIT License, permitting commercial use and integration with closed-source projects, subject to the license terms.
Limitations & Caveats
Handling heavily minified or obfuscated JavaScript might require specific configuration, such as disabling browser JS beautification to accurately determine breakpoint line and column numbers. XHR breakpoints necessitate a secondary trigger after the initial breakpoint is hit to enable the call stack backtracking feature.
1 month ago
Inactive
securego