GitHub - PrivTrace/PrivTrace · GitHub
Skip to content
PrivTracePublic

Repository files navigation

PrivTrace 🛡️🔒

PrivTrace is a privacy-focused application designed to handle Data Subject Requests (DSRs) securely and efficiently. It provides robust tools for encrypting sensitive user data 🤫 and maintaining comprehensive audit logs 📜 for compliance and security.

Key Features ✨

  • Data Encryption 🔑: Implements AES-256-CBC encryption for all personal data submitted through DSR forms. This includes fields like requester email, name, request type, and details.
    • Uses secure encryption keys and initialization vectors (IVs) stored in environment variables.
    • Supports searchable encryption by storing a SHA-256 hash of email addresses, allowing for email-based searches without exposing plaintext data.
  • Audit Logging 📜📊: A comprehensive audit logging system tracks all significant user actions, system events, and data changes.
    • Logs various actions including user login/logout, DSR creation/updates, company registration, and administrative actions.
    • Provides a user interface for viewing and filtering audit logs.
    • Designed with GDPR, SOC 2, HIPAA, ISO 27001, and PCI DSS compliance in mind.
  • Access Control 👤🚦: Ensures that users can only see logs and data relevant to their respective companies. All audit and data endpoints require valid user sessions.

Screenshots 🖼️📷

Landing Page Dashboard Audit Log DSR Form

Technical Overview 💻⚙️

  • Primary Languages: TypeScript (97.5%), CSS (2.3%), JavaScript (0.2%)
  • Encryption: AES-256-CBC for data at rest.
  • Hashing: SHA-256 for searchable email indexes.
  • Audit Trail: Detailed logging of actions related to users, companies, DSRs, and system administration.

Security Considerations ⚠️🔐

  • Key Management: Encryption keys are managed via environment variables. For production environments, it is highly recommended to use a dedicated secure key management service.
  • Data Integrity: Audit logs are designed to be append-only.
  • Privacy by Design: Core functionalities like encryption and audit logging are built-in to support privacy compliance.

Getting Started 🚀🛠️

bun install
bun run dev --turbopack

Releases

Packages

Used by

Contributors

Languages