Skip to main content

RATTLESCAN

Forensic metadata analysis and secure file cleaning tool for the command line.

A fast CLI tool to inspect, analyze, and clean file metadata. Works on Windows, macOS, and Linux.

Installation

pip install rattlescan

## With optional TUI (interactive menu): ##
pip install rattlescan[ui]

Usage

## Analyze a file ##
rattlescan photo.jpg

## Analyze and prompt for cleaning ##
rattlescan document.pdf --clean

## Analyze with custom output path ##
rattlescan image.png --clean --output cleaned_image.png

## Secure wipe (destructive!) ##
rattlescan sensitive.pdf --wipe -y

## Scan only, no interactive menu ##
rattlescan file.txt --no-interactive

## Check version ##
rattlescan --version

Features

  • Cryptographic hashes: MD5, SHA-1, SHA-256
  • File type detection: MIME type identification and extension validation
  • Entropy analysis: Detect encrypted or compressed content
  • EXIF extraction: GPS, camera info, timestamps from images
  • PDF metadata: Author, title, creation date, page count
  • Audio/video tags: ID3, duration, bitrate, sample rate
  • Metadata cleaning: Strip EXIF, PDF info, audio tags
  • Secure wipe: DOD 5220.22-M 3-pass overwrite

Dependencies

  • python-magic - File type detection
  • Pillow - Image/EXIF handling
  • PyPDF2 - PDF metadata
  • mutagen - Audio/video metadata
  • pytermgui (optional) - Enhanced interactive UI

License

MIT

Metadata

Release files for RattleScan 1.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 RattleScan 1.1.0
File Size Uploaded Provenance Actions
rattlescan-1.1.0.tar.gz 10.0 kB Without provenance Details for rattlescan-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for RattleScan 1.1.0
File Interpreter ABI Platform Actions
rattlescan-1.1.0-py3-none-any.whl Python 3 none any Details for rattlescan-1.1.0-py3-none-any.whl

Total release size: 19.8 kB

Release files / rattlescan-1.1.0.tar.gz

Download URL rattlescan-1.1.0.tar.gz
Size 10.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c7e41fd80832cbe07effe37b085c73f9f7543d4c24c92e9cba3b03f8def75156
BLAKE2b-256 checksum
How to use checksums
72a9a5a7897cdbcd25e03f999fe2a498fac9b22468d909b702a8768fc90c3d27
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release files / rattlescan-1.1.0-py3-none-any.whl

Download URL rattlescan-1.1.0-py3-none-any.whl
Size 9.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d83d1a918ff06fb8b7d4092dd7aefa6e51ae34d813f57c1704831a67dce8243f
BLAKE2b-256 checksum
How to use checksums
b63b93a6e64c2af8c5987d80c2a03960b630775febbaf4e388670de88c189993
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Security for RattleScan 1.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

1.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