Cyber security

CspReconGo – Streamlining Web Security With Domain Analysis

CspReconGo is a command-line tool designed for cybersecurity analysts, web developers, and IT professionals.

It automates the extraction and analysis of domains from Content Security Policy (CSP) headers and JavaScript files on websites.

This tool is essential for conducting detailed web security audits, understanding external resource interactions, and monitoring changes in CSP and JavaScript-based domain references.

Key Features

  • CSP Header Analysis: Parses CSP headers to identify domains, helping users understand the website’s security policies and external dependencies.
  • JavaScript File Analysis: Automatically fetches and analyzes JavaScript files linked by the website, extracting domain references to reveal third-party integrations and external scripts.
  • TODO Domain Tracking Across Runs: Compares results between runs, highlighting newly detected domains, which is invaluable for monitoring changes over time.
  • Structured Output: Neatly organizes and documents the detected domains with a count of unique entries, outputting the results in a user-friendly format for further analysis.

Getting Started

Prerequisites

Installation

  1. Download Source Code: Clone the repository or download the source code to your local machine.
git clone https://github.com/yourusername/CspReconGo.git

2. Download Dependancies:

go get -u github.com/chromedp/chromedp

Use

  1. Use as:
go run CspReconGo.go https://www.examplewebsite.com
Varshini

Varshini is a Cyber Security expert in Threat Analysis, Vulnerability Assessment, and Research. Passionate about staying ahead of emerging Threats and Technologies.

Recent Posts

Understanding the Model Context Protocol (MCP) and How It Works

Introduction to the Model Context Protocol (MCP) The Model Context Protocol (MCP) is an open…

1 day ago

The file Command – Quickly Identify File Contents in Linux

While file extensions in Linux are optional and often misleading, the file command helps decode what a…

2 days ago

How to Use the touch Command in Linux

The touch command is one of the quickest ways to create new empty files or update timestamps…

2 days ago

How to Search Files and Folders in Linux Using the find Command

Handling large numbers of files is routine for Linux users, and that’s where the find command shines.…

2 days ago

How to Move and Rename Files in Linux with the mv Command

Managing files and directories is foundational for Linux workflows, and the mv (“move”) command makes it easy…

2 days ago

How to Create Directories in Linux with the mkdir Command

Creating directories is one of the earliest skills you'll use on a Linux system. The mkdir (make…

2 days ago