Skip to content

Prachir-AI/Byomkesh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

22 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ” Byomkesh - All in One Frontend Security Suite with SAST feature powered by AI

This tool fetches JavaScript files from a given website URL, beautifies them using jsbeautifier, and saves the results in a directory named after the domain (e.g., example, vimeo, etc.) then automatically search for api keys and secrets. Turn on AI code review mode with --sast.

A tribute to Saradindu Babu

πŸš€ Features

  • Extracts all linked JS files from <script src="...">
  • Beautifies each JavaScript file
  • Scan for know secrets and API Keys
  • Saves output in a clean folder named after the domain
  • Supports multiple extensions: .js, .ts, .vue, etc.
  • Fun CLI spinner and colorful output
  • SAST feature with local and remote LLM

πŸ“¦ Requirements

  • Python 3.x
  • Install dependencies:
pip install requests beautifulsoup4 jsbeautifier

πŸ“ Usage

usage: byomkesh.py [-h] [-c COOKIES] [-p PROXY] [-b BURP_CERT] url

Download and beautify JavaScript files from a URL.

positional arguments:
  url                   The URL to fetch JS files from.

options:
  -h, --help            show this help message and exit
  -c, --cookies COOKIES
                        Cookie string (e.g., 'name=value')
  -p, --proxy PROXY     Use Burp Suite proxy (e.g., 'http://127.0.0.1:8080')
  --sast                Use a SAST scan with remote and local LLM
  --model MODEL         Model name (e.g., openai/gpt-4, qwen2.5-coder:latest)
  -b, --burp-cert BURP_CERT
                        Path to Burp Suite CA certificate (for SSL verification). Please change .der format to .pem format with
                        openssl x509 -inform der -in burp-cert.der -out burp-cert.pem
  --output-json         Save result to JSON
  --output-csv          Save result to CSV
                                                                                                                      

Example:

python3 byomkesh.py https://example.com -c 'Cookie:Example_cookie' -p http://127.0.0.1:80 -b /home/cert.pem

βœ… This will:

  • Fetch all JS files from https://example.com
  • Beautify them
  • Save them inside a folder named example.com

🧠 Supported Extensions

.js, .jsx, .ts, .tsx, .mjs, .cjs, .es6, .es, .jse, .vue

πŸ“„ License

MIT License

About

An all-in-one frontend security tool for downloading, beautifying, and scanning for secrets.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages