Skip to main content

Lightweight CLI scanner for exposed sensitive data and script safety warnings.

Project description

Sensitive Data Discovery Scanner(SDScan)

Lightweight CLI utility for detecting sensitive data exposure in files and directories

Python Platform License


Features

  • Regex-based sensitive data detection
  • Recursive directory scanning
  • Script safety warnings
  • Masked output previews
  • Cross-platform CLI support

Supported File Types

Programming:

  • .py, .java, .c, .cpp, .js, .ts, .go, .rs, .php, .sh

Configs and text:

  • .env, .json, .yaml, .yml, .ini, .cfg, .xml, .toml, .txt, .md, .log

Scripts:

  • .bat, .cmd, .ps1

Project Layout

src/sensitive_data_scanner/
├── cli.py              # CLI entry point
├── scanner.py          # Scan orchestration
├── findings.py         # Finding models
├── config.py           # Extensions and exclusions
│
├── detection/
│   ├── patterns.py     # Regex detection rules
│   └── script_warnings.py
│
├── io/
│   ├── file_walker.py
│   └── text_reader.py
│
└── reporting/
    └── console.py      # CLI output formatting

Development Status

The version 0.1.0 is published and ready to use


Installation Guide

SDScan is currently installable directly from the GitHub repository.

Windows(Powershell):

git clone https://github.com/Condor-1/Data-Discovery-Scanner.git
cd Data-Discovery-Scanner
python -m pip install -e .
sdscan --version

MacOS/Linux:

git clone https://github.com/Condor-1/Data-Discovery-Scanner.git
cd Data-Discovery-Scanner
python3 -m pip install -e .
sdscan --version

After Installation:

Scan the examples forlder to test:

sdscan scan ./examples

For Windows:

sdscan scan "C:\path\to\folder"

For MacOS/Linux:

sdscan scan /path/to/folder

Future Plans

Planning to publish this to PyPi to make installation easier.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sensitive_data_scanner-0.1.0.tar.gz (14.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sensitive_data_scanner-0.1.0-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

Details for the file sensitive_data_scanner-0.1.0.tar.gz.

File metadata

  • Download URL: sensitive_data_scanner-0.1.0.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for sensitive_data_scanner-0.1.0.tar.gz
Algorithm Hash digest
SHA256 424e45b84bd5deb34fc72cd8319fa43d611a5dfecd29f6eb55ea907e2b3980ee
MD5 830c999ab15bad005c43d1d15a73de94
BLAKE2b-256 11c619a96bc8db39f9074927471466789ba1d707690cd5d71383d897da2ff61c

See more details on using hashes here.

File details

Details for the file sensitive_data_scanner-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sensitive_data_scanner-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 680a36087154448a2fc063896286445560f7e159eb7c13c4c5676732c3482f00
MD5 dc4b30df521d468ca7b911aa32036657
BLAKE2b-256 4ead98f506a1fbf3598edfeee16a3f0bdd5c6b0d1fcdc6cc41e2bf68209a8826

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page