Skip to content

Analyze JavaScript Files For Risky APIs, External Endpoints, And High-Entropy Literals — fast, local, and safe ( Static Analysis Only )

Notifications You must be signed in to change notification settings

karndeepbaror/JavaXray

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

⚡ JavaXray IMG_20251028_220554

Analyze JavaScript Files For Risky APIs, External Endpoints, and High-Entropy Literals — Fast, Local, and Safe

🧠 What is JavaXray?

JavaXray is a static analysis tool crafted to scan JavaScript files and detect:

  • ⚠️ Usage of risky or sensitive browser APIs
  • 🌐 External endpoints (URLs, IPs, webhooks, etc.)
  • 🧬 High-entropy strings (possibly secrets, tokens, etc.)

Everything runs locally — no external servers, no API calls.

🚀 Features

  • 🛡️ Static Analysis Only — Safe by design
  • 🔎 Fast scanning across JS files or directories
  • 📡 Detects suspicious domains, endpoints, payloads
  • 🧬 Flags encoded or high-entropy data (like JWTs or API keys)
  • 🗂️ Supports bulk analysis via CLI

🛠️ Usage

python jsxray.py

📦 Installation

Clone the repo:

git clone https://github.com/karndeepbaror/JavaXray.git
cd JavaXray
python jsxray.py

📁 Output Example

[!] Risky API: document.write() → line 43
[!] External URL: https://malicious.example.com → line 88
[!] High-Entropy String (SHA256-like) → line 102

🧑‍💻 Author

Made with 🖤 by [ Karndeep Baror]
📎 LinkedIn: www.linkedin.com/in/karndeepbaror

🛡️ Disclaimer

This tool is for educational and research purposes only. Use responsibly.

About

Analyze JavaScript Files For Risky APIs, External Endpoints, And High-Entropy Literals — fast, local, and safe ( Static Analysis Only )

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages