Skip to main content

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.

Metadata

Release files for sensitive-data-scanner 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sensitive-data-scanner 0.1.0
File Size Uploaded Provenance Actions
sensitive_data_scanner-0.1.0.tar.gz 14.6 kB Without provenance Details for sensitive_data_scanner-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sensitive-data-scanner 0.1.0
File Interpreter ABI Platform Actions
sensitive_data_scanner-0.1.0-py3-none-any.whl Python 3 none any Details for sensitive_data_scanner-0.1.0-py3-none-any.whl

Total release size: 29.8 kB

Release files / sensitive_data_scanner-0.1.0.tar.gz

Download URL sensitive_data_scanner-0.1.0.tar.gz
Size 14.6 kB
Tags Source
SHA-256 checksum
How to use checksums
424e45b84bd5deb34fc72cd8319fa43d611a5dfecd29f6eb55ea907e2b3980ee
BLAKE2b-256 checksum
How to use checksums
11c619a96bc8db39f9074927471466789ba1d707690cd5d71383d897da2ff61c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Release files / sensitive_data_scanner-0.1.0-py3-none-any.whl

Download URL sensitive_data_scanner-0.1.0-py3-none-any.whl
Size 15.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
680a36087154448a2fc063896286445560f7e159eb7c13c4c5676732c3482f00
BLAKE2b-256 checksum
How to use checksums
4ead98f506a1fbf3598edfeee16a3f0bdd5c6b0d1fcdc6cc41e2bf68209a8826
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Security for sensitive-data-scanner 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page