Skip to content

chore(privacy): add privacy-guard workflow and denylist check - #22

Merged
bntvllnt merged 3 commits into
mainfrom
chore/privacy-guard
Oct 30, 2026
Merged

bntvllnt merged 3 commits into
mainfrom
chore/privacy-guard

Conversation

@bntvllnt

Copy link
Copy Markdown
Contributor

Summary

  • Add a Privacy Guard workflow: gitleaks over full history plus scripts/privacy-denylist.sh, which checks tracked files against .privacy-denylist minus a narrow .privacy-allowlist.
  • Add scripts/test-privacy-denylist.sh for the guard's success and failure paths, a README note, and a changelog entry.

Scope

  • Privacy sweep result: no credentials or private context found at HEAD or in history of this repository.
  • The tracked denylist holds structural patterns only (private-network hosts, local paths, UUIDs, emails, phone numbers, revenue figures). Named private terms load from an untracked .privacy-denylist.local or an optional PRIVACY_DENYLIST_EXTRA secret.
  • Guard output prints path:line only; matched content is withheld because public CI logs are public.
  • Allowlist entries cover reserved-domain and noreply addresses and one generic copywriting example that appears in generated skill copies.

This PR does NOT include

  • Any change to generated plugin output or upstream.lock.json. Skill content, including the new @vllnt package defaults, arrives through the normal automatic update from vllnt/skills.
  • A history rewrite.

Test plan

  • python3 -m unittest discover -s tests (38 tests), python3 scripts/sync.py --check, git diff --check: pass locally.
  • bash scripts/test-privacy-denylist.sh: clean tree passes; private-network host, UUID, home path, real-looking email, and env-supplied pattern fail; reserved-domain email passes; invalid pattern exits 2; matched content is not printed.
  • bash scripts/privacy-denylist.sh run on the committed tree and gitleaks detect --log-opts=--all: clean.

Run gitleaks over full history and a structural denylist check on every
push and pull request. Matched content is withheld from logs. Private
terms load from an untracked file or a CI secret, not this public repo.
Generated plugin output is unchanged.
@bntvllnt
bntvllnt merged commit d8279f6 into main Oct 30, 2026
6 checks passed
@bntvllnt
bntvllnt deleted the chore/privacy-guard branch October 30, 2026 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant