Skip to main content

Open-Source Static Analysis for Privacy Data Flows

Project description

truScanner

Open-Source Static Analysis for Privacy Data Flows

truScanner is a static code analysis tool designed to discover data flows in your code. It helps developers and security teams identify where personal data is being processed and maps the journey of that data from collection to destination.

🚀 Why truScanner?

Understanding data lineage is critical for privacy and security. truScanner automates this by:

  • Discovering PII: Automatically detecting personal data elements in source code.
  • Mapping Flows: Visualizing how data moves to databases, logs, or third parties.
  • Reporting: Generating audit-ready reports.

✨ Features

  • Comprehensive Detection: Identifies more than 110 personal data elements (e.g., PII, financial data, device identifiers).
  • Data Flow Mapping: Traces data from the point of collection to specific "sinks":
    • ☁️ External Third Parties
    • 🗄️ Databases
    • 📝 Logs
    • 🔗 Internal APIs
  • Multi-Format Reporting: Produces actionable insights in Markdown and PDF.

📦 Installation

You can install truScanner easily using pip or uv.

Using pip

pip install truScanner

Using uv

uv pip install truScanner

🛠️ Usage

To scan a project, simply run the scan command pointing to your source code directory:

truScanner scan <path_to_directory>

Example

truScanner scan ./src

📊 Output

Upon completion, truScanner generates the following reports in your working directory:

  • Markdown Report (.md): Ideal for quick review and integration into version control.
  • PDF Report (.pdf): A polished document suitable for sharing with compliance and security teams.

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

truscanner-0.2.0.tar.gz (298.2 kB view details)

Uploaded Source

Built Distribution

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

truscanner-0.2.0-py3-none-any.whl (1.2 MB view details)

Uploaded Python 3

File details

Details for the file truscanner-0.2.0.tar.gz.

File metadata

  • Download URL: truscanner-0.2.0.tar.gz
  • Upload date:
  • Size: 298.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for truscanner-0.2.0.tar.gz
Algorithm Hash digest
SHA256 a5acbc5ae1a0825fdc9b581f223574f2789b36e22852ab47d0d3578670c985ff
MD5 f09807b9a8029fb10677fc1e6ced00fb
BLAKE2b-256 24823bf0adea3c57329b151553a1f0e15de095ba97b1fadc02d487fe8395e96e

See more details on using hashes here.

File details

Details for the file truscanner-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: truscanner-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for truscanner-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 16b591ddcf25287502769f1a9638fda5fac6f25762fe1f24a365adb0e5af2028
MD5 c4490faf09e472541c7f4b1877167504
BLAKE2b-256 e0c99cd810b1254a1ac1d841191a54f6538e00ac062471d95eddcbb9287d15c7

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