Hub rules-privacy-macos

rules-privacy-macos

v2 public Verified

Privacy-macos

Privacy rules for macOS address the specific security features and data protection mechanisms of Apple's operating system. These rules govern application permissions, system security settings, and hardware-level privacy controls.

@sigmashakeinc 4 pulls 9 rules published Apr 8, 2026 synced Oct 11, 2026 sigmashakeinc/rules/rulesets/rules-privacy-macos →
Severity
9 error 0 warn 0 info
demo.cast
Privacy rules for macOS address the specific security features and data protection mechanisms of Apple's operating system. These rules govern application permissions, system security settings, and hardware-level privacy controls.

Rules index

9 governance rules

Indexed from the repository's .rules files, grouped by technology. Expand any rule to read the raw source.

macos

no-read-contacts-db error block

Reading the macOS AddressBook database directly bypasses TCC privacy controls and exposes all contact information without user consent. Access contacts through the Contacts framework with user authorization.

Rule source requires an active Pro or Enterprise subscription.
no-read-health-data error block

Accessing HealthKit databases (healthdb.sqlite, healthdb_secure.sqlite) exposes extremely sensitive health data including heart rate, sleep, medication, and medical records. This data has strict legal protections under HIPAA and GDPR.

Rule source requires an active Pro or Enterprise subscription.
no-read-keychain-db-macos error block

The macOS Keychain database stores passwords, certificates, and private keys encrypted at rest. Attempting to read the raw keychain file directly bypasses all authorization controls — use the Security framework APIs.

Rule source requires an active Pro or Enterprise subscription.
no-read-location-data error ask

Accessing CoreLocation cache databases or routined.db exposes the user's location history, frequent locations, and travel patterns — sensitive personal data protected by TCC.

Rule source requires an active Pro or Enterprise subscription.
no-read-messages-db error block

The Messages chat.db contains all iMessage and SMS conversations. Accessing it directly bypasses TCC and exposes private communications. This requires Full Disk Access permission and explicit user consent.

Rule source requires an active Pro or Enterprise subscription.
no-read-photos-library error ask

Accessing the Photos library database directly exposes all photos, videos, albums, and metadata without user consent. Use the Photos framework with explicit user authorization via TCC.

Rule source requires an active Pro or Enterprise subscription.
no-read-safari-history error ask

Reading Safari's History.db and Bookmarks.db accesses private browsing history, search queries, and saved links. This data is personal and protected by Full Disk Access restrictions.

Rule source requires an active Pro or Enterprise subscription.
no-screencapture-automated error ask

Automated screen capture (screencapture -x without UI sound, -T 0 immediate) can silently capture screen contents including sensitive data, passwords, and private information.

Rule source requires an active Pro or Enterprise subscription.
no-security-cli-keychain-dump error block

The macOS security(1) CLI can extract plaintext passwords and certificates from the Keychain without a GUI prompt when the keychain is already unlocked. dump-keychain, find-generic-password -w, and find-internet-password -w return plaintext credentials. Never use these commands programmatically — prompt the user to retrieve their own credential.

Rule source requires an active Pro or Enterprise subscription.

Version metadata

Published metadata

The hash-locked record of this published ruleset. When source contents change, the maintainer resyncs and the version bumps.

Version
v2
Published
Apr 8, 2026
Source commits
0
Synced
Oct 11, 2026
Hash
9f29b09cee7439fa1819f273d03a498540d697ca4557e161cbc06c96d46fef99
Signature
Verified (publisher key)
Tested with
claude-code@current
Plan
Starter (free)
Visibility
Public

Source history

Recent commits

Latest commits touching rulesets/rules-privacy-macos/.sigmashake/rules in sigmashakeinc/rules/rulesets/rules-privacy-macos. The published version only bumps when a maintainer resyncs.

No commit history available.