The .op/plugins/gh.json file was accidentally committed to git history in PR #5.
- 1Password account ID
- Vault ID references
- Item ID references
- NOT the actual PAT (stored securely in 1Password)
Medium - Metadata exposed, but not actual credentials
# Remove .op/ from all commits
git filter-branch --force --index-filter \
"git rm -r --cached --ignore-unmatch .op/" \
--prune-empty --tag-name-filter cat -- --all
# Force push (WARNING: rewrites history)
git push origin --force --all- The metadata alone is not exploitable
- Actual PAT is in 1Password, not exposed
- Add .op/ to .gitignore (already done)
- Ensure .op/ is never committed again
- Regenerate the GitHub PAT in 1Password
- This invalidates the old vault references
- Re-authenticate gh CLI
- Always check
git statusbefore committing - Use
jj describecarefully (stages all changes) - Verify .gitignore is working before commits