privado is a free, open source compliance & risk management project written in Python and released under LGPL-3.0. It has 665 GitHub stars, 76 forks and 34 open issues, and was last pushed 4 days ago. On this registry it ranks #50 of 56 tracked projects in Compliance & Risk Management, with 5 head-to-head comparisons available. It gained 5 stars over the last 30 tracked days.

What is privado?

Privado is an open-source static code analysis tool that detects data flows in source code, finds data security vulnerabilities, and generates accurate Play Store Data Safety Reports, built for privacy engineers, data protection and governance engineers, security engineers, and mobile app developers.

What it is

Privado is a static scanning tool written in Python and released under the LGPL-3.0 licence. It scans a codebase to discover how personal data moves through an application: it detects more than 110 personal data elements and maps each data flow from the point of collection to its "sinks," which include external third parties, databases, logs, and internal APIs. During a scan it builds a knowledge graph that answers contextual questions about sensitive data usage at scale. It runs locally on a computer or inside a CI/CD pipeline, and because the scan is local, code never leaves the machine; only the generated JSON output is optionally synchronized to Privado Cloud.

The concrete problem it solves is manual privacy reporting. Filling out the Play Store Data Safety Report normally means developers asking around the team to learn what data is collected, spending hours reading SDK documentation to see where that information gets shared, and navigating a complex form by hand. Privado pre-fills that report from the scan. The same scan produces data-flow diagrams, data inventories, and Record of Processing Activity (RoPA / Article-30) reports, replacing manual audits and spreadsheets for GDPR and CCPA obligations.

Key capabilities

  • Detects more than 110 personal data elements, catalogued in docs/extra/data element list.csv.
  • Maps data flows from collection to sinks such as external third parties, databases, logs, and internal APIs.
  • Builds a knowledge graph during scanning that contextually answers thousands of questions about sensitive data.
  • Writes results to /.privado/privado.json and shows a preview in the terminal.
  • Surfaces Data Elements, Data Flow Diagrams, Data Inventory, Code Analysis, and Issues in a dashboard.
  • Generates RoPA / Article-30 reports and pre-fills the Android Data Safety Report for Play Store publishing.
  • Supports Java and Python in GA, with JS/TS support stated as coming soon.

Who uses it and how

  • Privacy Engineers, Data Protection Engineers, and Data Governance Engineers use it to generate and maintain data maps and RoPA reports.
  • Security Engineers use it to identify and remove data leaks and to find unaccounted third-party sharing of data.
  • Mobile App Developers use it to pre-fill the Play Store Data Safety Report instead of manually tracing SDK behaviour.
  • Teams run it locally on a developer machine or inside a CI/CD pipeline for continuous privacy monitoring.
  • Results sync to the Privado Cloud Dashboard after a successful scan, sending only the JSON output, so findings can be reviewed across one or many repositories.

Getting started

Install Docker, then run curl -o- https://raw.githubusercontent.com/Privado-Inc/privado-cli/main/install.sh | bash to get the Privado CLI. Clone a repository and run privado scan; results land in /.privado/privado.json.

How it compares

The facts do not name any paid products that Privado replaces, and no comparable static privacy-scanning tools are named either. On the evidence provided, it stands alone in this registry.

When to use it — and when not to

A self-hoster must have Docker installed and, for reports and visualization, create a free account to sync results to Privado Cloud, since the local output is raw JSON. General availability covers Java and Python only, so teams working mainly in JS/TS should wait or look to the vendor's enterprise offering. The README is detailed on use cases, but language support beyond those two is only stated as forthcoming, so teams needing wider coverage should confirm current support before relying on it for compliance.

project readme (upstream, from github) — read inline

What is Privado?

slack docs

Privado is an open-source static code analysis tool to discover data flows in the code. It detects more than 110 personal data elements being processed and further maps the data flow from the point of collection to "sinks" such as external third parties, databases, logs, and internal APIs.

Supported languages

We support Java and Python in GA. Our Enterprise offering covers all programming languages, and we're working on adding support for more languages to OSS. Support for JS/TS is coming soon!

Quick Start

First, make sure you have Docker installed on your system, then follow these simple steps to get started with Privado.

Download the Privado CLI

curl -o- https://raw.githubusercontent.com/Privado-Inc/privado-cli/main/install.sh | bash

Clone our test repo

We recommend using this sample app to get started with Privado.

git clone git@github.com:saurabh-sudo/BankingSystem-Backend.git

Scan your repository

privado scan <source directory>

Get results

The results are generated at /.privado/privado.json and a preview will be shown in your terminal.

Visualize results

To visualize the results and generate reports, you can create a free account at the end of a successful scan. Once a scan is complete, it will ask your permission to synchronize the generated results with Privado Cloud Dashboard. Note that no code is sent to the cloud–only the JSON output generated by the scan. Upon successful sync, you can view the results on our free platform.

Who is it for?

  1. Privacy Engineers
  2. Data Protection Engineers
  3. Data Governance Engineers
  4. Security Engineers
  5. Mobile App Developers
  6. Developers

How does it help?

Privado lets Engineers ask contextual questions about the usage of sensitive data at scale.
Examples:

Use cases

  1. Generate and maintain Data maps and Record of Processing Activity Reports ( RoPA / Article-30 Reports )
  2. Automate the generation of the data-flow diagrams
  3. Identify and remove data leaks
  4. Improve data storage security by identifying and fixing insecure practices
  5. Finding and fixing unaccounted third-party sharing of data
  6. Establish and enforce Data Protection and Governance policies
  7. Generate Android Data Safety Report
  8. Incorporate various GDPR, CCPA, SOC, ISO, HIPAA, and PCI controls
  9. Do continuous monitoring for privacy and data issues
  10. Implement Privacy by Design

How does Privado work?

Privado can be run locally on your computer or in your CI/CD pipeline. Privado creates a knowledge graph during the scanning process that contextually answers thousands of questions about sensitive data. Since the scan is local, you never have to worry about your code leaving your machine. An output file is stored in JSON format, and the results can be viewed on Privado Cloud.

What does the scan discover?

Privado will discover the following information in the code during scanning and present it in a dashboard for your review.

  • Data Elements
  • Data Flow Diagrams
  • Data Inventory
  • Code Analysis
  • Issues

What can I do with Privado?

Apart from getting a comprehensive outlook of your data practices for Privacy Audits, you can also use the tool to generate various privacy reports to comply with privacy laws like GDPR and CCPA.

Record of Processing Activity ( ROPA ) Report

Our free cloud platform can be used to generate RoPA reports for one or more synced repositories.

Data Safety Report

A Data Safety Report is a privacy form needed to publish any Android app on the Play Store. Most of the time, filling out a report means developers asking around the team to find what data they're collecting, spending hours reading SDK docs to see where information gets shared and navigating the complex Playstore form. With our scan, we pre-fill data types that are collected and shared, and our wizard guides you through generating the report.

Contribute

Please check out our contribution page if you love this project and would like to contribute.

Frequently asked questions

Is privado free to use?

privado is open source under the LGPL-3.0 licence. There is no licence fee and no seat count — you can self-host it or, where the project offers one, pay a vendor for a managed version instead.

What does privado do?

Open Source Static Scanning tool to detect data flows in your code, find data security vulnerabilities & generate accurate Play Store Data Safety Report.

What is privado written in?

privado is primarily written in Python. Its source is publicly available at https://github.com/Privado-Inc/privado, and it has 665 GitHub stars.