Bearer privacy
This skill should be used when the user asks to "run Bearer", "scan for PII", "Datenschutz prüfen", "DSGVO/GDPR check", "find sensitive data flows", "PII/PHI scan", "privacy risk", or wants to know where personal/health data flows through the code. Runs Bearer in Docker to classify and trace sensitive data, processed directly in Claude Code.From its SKILL.md
npx -y skills add mguttmann/code-audit-suite --skill bearer-privacyAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.1 KB, as published. Nobody here has run it
Bearer Privacy
Purpose
Bearer adds a dimension orthogonal to SonarQube and the pure taint engines: it classifies 120+ sensitive data types (PII/PHI) and traces where that data flows — a privacy/GDPR (DSGVO) lens, not just vulnerability classes. It answers "does personal data reach a log, a third-party API, or an unencrypted store?", which neither SonarQube nor a generic SAST tool reports.
This is unique coverage, not a duplicate of any other skill.
Core Workflow (drive to zero)
- Scan:
~/.claude/skills/bearer-privacy/scripts/scan.sh [TARGET_DIR] - For each finding, fix the data-handling root cause: stop logging the sensitive field, encrypt it at rest/in transit, mask/redact it before it leaves the system, or remove the unnecessary collection. Bearer maps findings to data categories (e.g. "Personal Data", "Sensitive Data") and rules (e.g. data sent to third party, stored unencrypted, leaked in logs).
- Re-run until the scan exits 0.
Notes
- Default scanner is
sast(security + privacy rules).BEARER_SCANNER=secretsruns Bearer's secret detection instead — prefer the dedicatedsecrets-scanskill for that. - Adjust the failing threshold with
BEARER_SEVERITY(defaultcritical,high); review medium/low informationally. - JSON/SARIF output for parsing:
BEARER_FORMAT=json scan.sh [DIR]. - Bearer's CLI is free for internal use (Elastic License 2.0); only the hosted management plane is commercial. This skill uses the CLI only.
Resources
scripts/scan.sh— runsbearer scanagainst a directory, exit 1 on findings at/above the severity threshold. Env:BEARER_FORMAT,BEARER_SCANNER,BEARER_SEVERITY.