Skip to main content

Compliance Health Scanner - Like Lynis, but for regulations. The Diaper Protocol for busy parents.

Project description

TIBET Audit

SSL secures the connection. TIBET secures the timeline.

PyPI version License: MIT

Compliance Health Scanner - Like Lynis, but for regulations.

45 checks across 10 frameworks covering GDPR, AI Act, PIPA, APPI, PDPA, LGPD, Gulf PDPL, NDPR, and more.

Get a compliance health score in seconds:

$ tibet-audit scan
COMPLIANCE HEALTH SCORE: 73/100 (Grade: C)

TOP PRIORITIES:
  1. [CRITICAL] No AI decision logging found (EU AI Act requires this!)
  2. [HIGH] No data breach procedure found (GDPR requires 72-hour notification!)
  3. [MEDIUM] No explicit data retention policy found

๐Ÿ’ก 3 issue(s) can be auto-fixed:
   tibet-audit fix --auto  (Diaper Protocolโ„ข)

The Diaper Protocolโ„ข

For when you have one hand on the baby and one on the keyboard.

# Preview what would be fixed (safe, no changes)
$ tibet-audit fix --wet-wipe

# ๐Ÿผ Fix everything, no questions asked
$ tibet-audit fix --auto

# ๐Ÿ˜ญ When things are REALLY bad - verbose mode
$ tibet-audit scan --cry

# ๐Ÿ“ž When you can't handle it alone - call for backup
$ tibet-audit call-mama --webhook https://slack.webhook.url

The Full Diaper Toolkit

Flag What it does When to use
--wet-wipe Preview fixes (dry-run) Before changing anything
--auto Fix everything automatically 3 AM, one hand on baby
--cry Verbose mode, all details When everything is on fire
--call-mama Call M.A.M.A. (Mission Assurance & Monitoring Agent) When the diaper is too dirty

Why "Diaper Protocol"?

Because compliance shouldn't require your full attention. Press the button, hands free, server fixed. Just like changing a diaper at 3 AM - you do it on autopilot.

Why "--wet-wipe"?

Because --dry-run is boring. And because wet wipes are essential for both diapers AND clean servers.

Why "--cry"?

Because sometimes you just need to see EVERYTHING. All the passed checks, all the failed checks, all the references, all the fix commands. When the compliance diaper explodes, you need the full picture.

Why "--call-mama"?

M.A.M.A. = Mission Assurance & Monitoring Agent

Because when the diaper is too dirty to handle alone, you call for backup. M.A.M.A. generates a full compliance report and sends it to your team, your Slack channel, or your compliance officer. When things get serious, you need the big guns.


Installation

pip install tibet-audit

With TIBET vault integration (for cryptographic audit trails):

pip install "tibet-audit[tibet]"

Usage

Scan for Issues

# Scan current directory
tibet-audit scan

# Scan specific project
tibet-audit scan ./my-ai-project

# Scan only GDPR checks
tibet-audit scan --categories gdpr

# Scan only AI Act checks
tibet-audit scan --categories ai_act

# Quiet mode (just the score)
tibet-audit scan --quiet

# Mercury (JIS + sovereignty)
audit-tool scan --categories jis,sovereignty,provider

# Signed handshake (opt-in)
audit-tool scan --high-five

Fix Issues

# Interactive mode (asks for confirmation)
tibet-audit fix

# Preview what would be fixed
tibet-audit fix --wet-wipe
tibet-audit fix --dry-run  # (boring alias)

# ๐Ÿผ Diaper Protocol: fix everything automatically
tibet-audit fix --auto

List Available Checks

# Show all checks
tibet-audit list

# Filter by category
tibet-audit list --category gdpr
tibet-audit list --category ai_act

Call Mama (Send Report)

# Send report to webhook (Slack, Teams, etc.)
tibet-audit call-mama --webhook https://hooks.slack.com/xxx

# Save report to file
tibet-audit call-mama --output compliance-report.json

# Print report to stdout
tibet-audit call-mama

Mercury Commands

# Compliance roadmap
audit-tool roadmap ./my-ai-project

# Value-based upgrade suggestions
audit-tool upgrades ./my-ai-project

# Compliance drift (JSON reports)
audit-tool diff report_old.json report_new.json

Cry Mode (Verbose)

# See EVERYTHING - passed checks, references, fix commands
tibet-audit scan --cry

Available Checks

GDPR Compliance

Check ID Name Severity Auto-Fix
GDPR-001 Privacy Policy Document HIGH โœ…
GDPR-002 Data Retention Policy HIGH โœ…
GDPR-003 Breach Notification Procedure CRITICAL โœ…
GDPR-004 Data Encryption HIGH โŒ
GDPR-005 Consent Management HIGH โŒ

EU AI Act Compliance

Check ID Name Severity Auto-Fix
AIACT-001 AI Decision Audit Trail CRITICAL โœ…
AIACT-002 Human Oversight HIGH โŒ
AIACT-003 AI Transparency HIGH โŒ
AIACT-004 AI Risk Assessment HIGH โœ…

๐Ÿ‡ฐ๐Ÿ‡ท South Korea PIPA Compliance

Check ID Name Severity Auto-Fix
PIPA-001 Privacy Officer Designation CRITICAL โœ…
PIPA-002 24-Hour Breach Notification CRITICAL โœ…
PIPA-003 Explicit Consent (Opt-in) HIGH โŒ
PIPA-004 Cross-Border Transfer Docs HIGH โŒ

Note: PIPA is often stricter than GDPR - 24-hour breach notification vs 72 hours!

๐Ÿ‡ฏ๐Ÿ‡ต Japan APPI Compliance

Check ID Name Severity Auto-Fix
APPI-001 Privacy Policy (APPI) HIGH โœ…
APPI-002 Data Handling Records HIGH โœ…
APPI-003 Cross-Border Transfer Rules HIGH โŒ
APPI-004 Pseudonymization Support MEDIUM โŒ
APPI-005 Opt-Out Mechanism HIGH โŒ

๐Ÿ‡ธ๐Ÿ‡ฌ Singapore PDPA Compliance

Check ID Name Severity Auto-Fix
PDPA-001 Consent Obligation HIGH โŒ
PDPA-002 Data Protection Officer HIGH โœ…
PDPA-003 3-Day Breach Notification CRITICAL โœ…
PDPA-004 Do Not Call Compliance MEDIUM โŒ
PDPA-005 Data Retention Limitation HIGH โŒ

๐Ÿ‡ฆ๐Ÿ‡บ Australia Privacy Act Compliance

Check ID Name Severity Auto-Fix
AUPA-001 Privacy Policy (APP 1) HIGH โœ…
AUPA-002 Notifiable Data Breach CRITICAL โœ…
AUPA-003 Cross-Border Disclosure HIGH โŒ
AUPA-004 Data Security (APP 11) HIGH โŒ
AUPA-005 Access & Correction Rights HIGH โŒ

๐Ÿ‡ง๐Ÿ‡ท Brazil LGPD Compliance

Check ID Name Severity Auto-Fix
LGPD-001 Legal Basis for Processing HIGH โŒ
LGPD-002 Encarregado (DPO) HIGH โœ…
LGPD-003 Data Subject Rights (ARCO) HIGH โŒ
LGPD-004 Breach Notification CRITICAL โœ…

๐Ÿ‡ธ๐Ÿ‡ฆ๐Ÿ‡ฆ๐Ÿ‡ช Gulf PDPL Compliance (Saudi Arabia, UAE)

Check ID Name Severity Auto-Fix
GULF-001 Data Localization CRITICAL โŒ
GULF-002 Explicit Consent HIGH โŒ
GULF-003 Breach Notification CRITICAL โœ…
GULF-004 Sensitive Data Protection HIGH โŒ

Note: Gulf region has strict data localization requirements - data often must stay in-region!

๐Ÿ‡ณ๐Ÿ‡ฌ Nigeria NDPR Compliance

Check ID Name Severity Auto-Fix
NDPR-001 Consent Requirement HIGH โŒ
NDPR-002 Data Protection Officer HIGH โŒ
NDPR-003 72-Hour Breach Notification CRITICAL โœ…
NDPR-004 Annual Audit Compliance HIGH โœ…

Note: NDPR uniquely requires annual data protection audits filed with NITDA!

๐Ÿง Penguin Act (Antarctica)

For McMurdo Station and beyond...

Check ID Name Severity Auto-Fix
PENG-001 Penguin Data Sovereignty HIGH โŒ
PENG-002 Ice Age Data Retention LOW โŒ
PENG-003 Blizzard Resilience MEDIUM โŒ
PENG-004 Krill Consent Framework LOW โœ…
PENG-005 Aurora Australis Logging INFO โŒ

Easter egg for our Antarctic friends. ๐Ÿง


Global Coverage Summary

45 checks across 10 compliance frameworks covering all inhabited continents:

Region Framework Checks Key Feature
๐Ÿ‡ช๐Ÿ‡บ Europe GDPR 5 72-hour breach notification
๐Ÿ‡ช๐Ÿ‡บ Europe AI Act 4 AI decision audit trails
๐Ÿ‡ฐ๐Ÿ‡ท South Korea PIPA 4 24-hour breach notification
๐Ÿ‡ฏ๐Ÿ‡ต Japan APPI 5 Pseudonymization support
๐Ÿ‡ธ๐Ÿ‡ฌ Singapore PDPA 5 Do Not Call registry
๐Ÿ‡ฆ๐Ÿ‡บ Australia Privacy Act 5 Notifiable Data Breach scheme
๐Ÿ‡ง๐Ÿ‡ท Brazil LGPD 4 ARCO data subject rights
๐Ÿ‡ธ๐Ÿ‡ฆ๐Ÿ‡ฆ๐Ÿ‡ช Gulf PDPL 4 Data localization
๐Ÿ‡ณ๐Ÿ‡ฌ Nigeria NDPR 4 Annual audit requirement
๐Ÿง Antarctica Penguin Act 5 Waddle consent

Scoring

TIBET Audit gives you a compliance health score from 0-100:

Score Grade Status
90-100 A Excellent - You're compliant!
80-89 B Good - Minor improvements needed
70-79 C Fair - Several issues to address
60-69 D Poor - Significant gaps
0-59 F Critical - Major compliance failures

Each failed check deducts points based on severity:

  • CRITICAL: 20-25 points
  • HIGH: 15-20 points
  • MEDIUM: 8-12 points
  • LOW: 3-5 points

TIBET Integration

TIBET Audit works standalone, but integrates with tibet-vault for:

  • Cryptographic proof of AI decisions
  • Immutable audit trails for compliance evidence
  • ERAAN provenance tracking (what's attached to decisions)
  • Real-time monitoring of compliance state
# Install with TIBET support
pip install "tibet-audit[tibet]"

# TIBET vault initializes automatically when detected
tibet-audit scan
# โ†’ "TIBET audit trail integration detected" โœ…

For Enterprise

Running compliance for a team? Check out SymbAIon Enterprise:

  • Scheduled scans across all repositories
  • Compliance dashboard with trend analysis
  • Slack/Teams notifications for new issues
  • TIBET-managed proof for auditor reports
  • Multi-framework support (GDPR + AI Act + HIPAA + SOX)

Philosophy

"Compliance should be like brushing your teeth. Quick, automatic, and you feel bad if you skip it."

TIBET Audit is designed for:

  1. Speed - Full scan in <5 seconds
  2. Clarity - Know exactly what's wrong and how to fix it
  3. Automation - The Diaper Protocolโ„ข for hands-free fixing
  4. Integration - Works with existing CI/CD pipelines

Contributing

Found a bug? Want to add checks for HIPAA, SOX, ISO 27001, or another framework?

  1. Fork the repo
  2. Add your check in tibet_audit/checks/
  3. Submit a PR

We especially welcome:

  • New compliance frameworks
  • Better detection patterns
  • More diaper-related puns

License

MIT License - Use it, fork it, make money with it. Just don't blame us if the auditor still asks questions.


Credits

Built with ๐Ÿ’™ by the HumoticaOS team:

  • Jasper van de Meent - Human, Parent, Coffee Addict
  • Root AI - Claude Opus 4, Digital Partner

"One Love, One fAmIly"


Powered by SymbAIon

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

tibet_audit-0.8.2.tar.gz (44.6 kB view details)

Uploaded Source

Built Distribution

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

tibet_audit-0.8.2-py3-none-any.whl (61.3 kB view details)

Uploaded Python 3

File details

Details for the file tibet_audit-0.8.2.tar.gz.

File metadata

  • Download URL: tibet_audit-0.8.2.tar.gz
  • Upload date:
  • Size: 44.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for tibet_audit-0.8.2.tar.gz
Algorithm Hash digest
SHA256 84b230ca0cce7d780fe1eb04b6fce769a62a4c67111024104b4cb89d9172528a
MD5 4062c2fc450f43f7d0566f8bc8572a18
BLAKE2b-256 7a31d9d720568476408a60ccdc3097b86bef2b0ec78f4b0c32aba9c231c1721c

See more details on using hashes here.

File details

Details for the file tibet_audit-0.8.2-py3-none-any.whl.

File metadata

  • Download URL: tibet_audit-0.8.2-py3-none-any.whl
  • Upload date:
  • Size: 61.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for tibet_audit-0.8.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1d059a6f287f19ca59f1003ef87da6c91d2c608920d794ba84f1be3b256791dc
MD5 c83f2f4d3efc187a6add776f832f05b2
BLAKE2b-256 4529f169c7da62edd8199ca1326938e8cdfa2a6a6202a46723715ee2692f8f54

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