{"id":38759048,"url":"https://github.com/progprnv/scope","last_synced_at":"2026-01-17T11:55:53.712Z","repository":{"id":262632365,"uuid":"887871098","full_name":"progprnv/scope","owner":"progprnv","description":"SCOPE [Shadow Cache Observation, Poisoning \u0026 Evaluation] is a powerful tool designed to help you find and test vulnerabilities in subdomains that might be exposed to cache poisoning attacks. If a website isn't properly handling cache, it could lead to security issues where malicious content gets stored and served to users.","archived":false,"fork":false,"pushed_at":"2025-04-21T05:34:16.000Z","size":19,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-21T06:38:48.985Z","etag":null,"topics":["automation","bugbounty","bugbounty-tool","cache-scanner","cybersecurity","ethical-hacking","penetration-testing","penetration-testing-tools","pentest","pentesting","scanner","vapt","vulnerability-detection","vulnerability-scanners"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/progprnv.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-11-13T12:33:58.000Z","updated_at":"2025-04-21T05:34:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"de6e322d-d52a-4711-83e7-be7c5f59e97c","html_url":"https://github.com/progprnv/scope","commit_stats":null,"previous_names":["progprnv/scope"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/progprnv/scope","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/progprnv%2Fscope","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/progprnv%2Fscope/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/progprnv%2Fscope/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/progprnv%2Fscope/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/progprnv","download_url":"https://codeload.github.com/progprnv/scope/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/progprnv%2Fscope/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28508463,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T11:50:55.898Z","status":"ssl_error","status_checked_at":"2026-01-17T11:50:55.569Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","bugbounty","bugbounty-tool","cache-scanner","cybersecurity","ethical-hacking","penetration-testing","penetration-testing-tools","pentest","pentesting","scanner","vapt","vulnerability-detection","vulnerability-scanners"],"created_at":"2026-01-17T11:55:53.594Z","updated_at":"2026-01-17T11:55:53.701Z","avatar_url":"https://github.com/progprnv.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SCOPE - Shadow Cache Observation, Poisoning \u0026 Evaluation\n\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/user-attachments/assets/fb2e6570-6f07-4c94-846c-fa09d4e0c47d\" alt=\"image\"/\u003e\n\u003c/p\u003e\n\n**SCOPE** is a Python-based tool designed to identify cache poisoning vulnerabilities in subdomains. It performs the following operations for each subdomain in a given list:\n\n1. **Sends a PURGE request** to clear the cache.\n2. **Checks for a specific cache hit** (`X-Cache-Hits: 1`).\n3. **Attempts a GET request** with an illegal header to poison the cache.\n4. **Verifies if the page is cached** and accessible, indicating a potential vulnerability.\n\n--- \n\n## Features \n\n- **Automated cache poisoning testing** for multiple subdomains.\n- **Checks for `X-Cache-Hits: 1`** to identify cache-related vulnerabilities.\n- **Easy integration with a list of subdomains** via a `.txt` file.\n- **Terminal-based** for efficient usage.\n\n---\n\n## Installation\n\n### Prerequisites\n\n- Python 3.x\n- `curl` installed (used for sending HTTP requests)\n\n### Step-by-Step Setup\n\n1. Clone or download the **SCOPE** repository:\n\n    ```bash\n    git clone https://github.com/yourusername/scope.git\n    cd scope\n    ```\n\n2. Install dependencies (if any) and make sure Python 3 is installed:\n\n    ```bash\n    pip install -r requirements.txt  # If you have any dependencies listed\n    ```\n\n---\n\n## Usage\n\n\n## Usage\n### Step 1: Prepare the Subdomain List\nCreate a `subdomain.txt` file, and list all the subdomains you want to test (one per line). Example:\n```\nsubdomain1.example.com\nsubdomain2.example.com\nsubdomain3.example.com\n```\n### Step 2: Run the Tool\nExecute the script with the path to your `subdomain.txt` file:\n```bash\npython3 scope.py /path/to/subdomain.txt\n```\nThe tool will process each subdomain in the file and perform the following checks:\n- Sends a PURGE request.\n- Looks for `X-Cache-Hits: 1` to determine if the subdomain is vulnerable.\n- Attempts to poison the cache with an illegal header.\n- Verifies if the random path is cached and accessible.\n### Output\n- For each subdomain, you will receive output like the following:\n    ```\n    [SCOPE] Testing subdomain1.example.com - Sending PURGE request...\n    [SCOPE] X-Cache-Hits: 1 found - Potentially vulnerable. Proceeding with GET request...\n    [SCOPE] Vulnerable! Cached page accessible at: https://subdomain1.example.com/random-path\n    ```\n- If the subdomain is not vulnerable, the output will indicate that no cache poisoning was detected.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogprnv%2Fscope","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprogprnv%2Fscope","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogprnv%2Fscope/lists"}