explaingit

venu-exe/jsscope

Analysis updated 2026-07-25

2PythonAudience · developerComplexity · 2/5Setup · easy

TLDR

A command-line tool that scans JavaScript files and web pages to find endpoints, URLs, GraphQL operations, and leaked secrets for security testing and bug bounty research.

Mindmap

mindmap
  root((repo))
    What it does
      Finds endpoints
      Extracts URLs
      Detects secrets
      Finds GraphQL ops
    Inputs
      Single JS file URL
      Web page URL
      Text file of URLs
      Local saved file
    Outputs
      Console grouped output
      JSON file export
    Use cases
      Bug bounty research
      Security review
      Secret leak audit
    Tech stack
      Python
      CLI

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Scan a website's JavaScript files to discover hidden API endpoints for bug bounty hunting.

USE CASE 2

Audit a list of script URLs for accidentally leaked credentials like API keys or tokens.

USE CASE 3

Extract all GraphQL operations from a web page's scripts to map out its data access patterns.

USE CASE 4

Save structured scan results to JSON for later analysis or reporting.

What is it built with?

PythonCLI

How does it compare?

venu-exe/jsscope0-bingwu-0/live-interpreter010zx00x1/faresnipe
Stars222
LanguagePythonPythonPython
Setup difficultyeasymoderateeasy
Complexity2/52/52/5
Audiencedevelopergeneralgeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Python CLI tool that runs locally with no external infrastructure dependencies.

No license information was provided, so usage rights are unclear by default.

In plain English

JSScope is a command-line tool written in Python for people who do bug bounty research and security testing. It looks through JavaScript files and web pages to find things that might be useful during a security review: internal addresses, full web links, GraphQL operations, and accidentally exposed credentials. You can point it at a single JavaScript file by URL, give it a web page and ask it to find all the linked scripts on that page, hand it a text file full of URLs, or scan a file already saved on your computer. The tool fetches multiple files at the same time using threads, which keeps scanning reasonably quick when you have a long list of files to check. For each file it scans, JSScope reports back what it found. It extracts endpoint paths like "/api/v1/users" or "/admin/config.json", full URLs it spots in the code, GraphQL operations identified by keywords like "query" or "mutation" or the presence of a "/graphql" path, and patterns that look like leaked secrets. Secret types it watches for include AWS keys, Google API keys, Slack tokens, JWTs, generic API keys, private key blocks, and Firebase URLs. The results are printed to the console grouped by source file, and you can save them to a JSON file with the "-o" flag. The JSON structure lists each source file along with its endpoints, full URLs, GraphQL hits, and any secrets matched, including the secret type and the matched text. The README notes that secret detection uses regular expressions on known key formats, so it will produce both false positives and false negatives. Anyone using it should manually verify a suspected secret before reporting it. The tool also lets you adjust the number of concurrent fetch threads, which matters since bug bounty programs often have rate limits you are expected to respect. The author includes a clear disclaimer: only use this against targets you are authorized to test, such as systems in a bug bounty program you are enrolled in or assets you own. Scanning systems without permission may be illegal.

Copy-paste prompts

Prompt 1
I have a list of JavaScript file URLs in a text file. Show me how to use JSScope to scan them all for leaked secrets and save the results to a JSON file.
Prompt 2
Help me install and run JSScope on a single web page URL so I can extract all API endpoint paths and full URLs from its linked scripts.
Prompt 3
I want to adjust the number of concurrent fetch threads in JSScope to respect a bug bounty program's rate limit. Explain how to configure that.
Prompt 4
Show me how to scan a JavaScript file saved locally on my computer for GraphQL operations using JSScope.

Frequently asked questions

What is jsscope?

A command-line tool that scans JavaScript files and web pages to find endpoints, URLs, GraphQL operations, and leaked secrets for security testing and bug bounty research.

What language is jsscope written in?

Mainly Python. The stack also includes Python, CLI.

What license does jsscope use?

No license information was provided, so usage rights are unclear by default.

How hard is jsscope to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is jsscope for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.