Discover and secure sensitive data in JavaScript files
🔍 Automated Analysis: Quickly scan JavaScript files for potential sensitive data.
⚙️ Customizable Patterns: Configure detection patterns to match specific types of information.
📝 Detailed Reporting: Get comprehensive reports with identified sensitive information.
- Clone the repository:
git clone https://github.com/Vatsal-Shashwat/js-sensitive-information-finder.git cd js-sensitive-information-finder pip install -r requirements.txt
-
Add sample JavaScript files: Add your JavaScript files containing potential sensitive information to the
sample_files
directory. -
Run the script:
python find_sensitive_info.py
Click to expand
Scanning file: sample_files/file1.js Sensitive information found: API keys: YOUR_API_KEY Credentials: admin:password123 Sensitive URLs: https://api.example.comScanning file: sample_files/file2.js Sensitive information found: API keys: YOUR_ACCESS_TOKEN Sensitive URLs: https://example.com/login