{"id":24610917,"url":"https://github.com/janpreet/pbsanitize","last_synced_at":"2025-03-18T14:44:31.645Z","repository":{"id":271482532,"uuid":"913590469","full_name":"janpreet/pbsanitize","owner":"janpreet","description":"A clipboard utility that automatically sanitizes sensitive data","archived":false,"fork":false,"pushed_at":"2025-01-08T02:31:47.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-24T19:19:28.650Z","etag":null,"topics":["pbcopy","sanitize"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/janpreet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-08T01:32:35.000Z","updated_at":"2025-01-08T02:35:58.000Z","dependencies_parsed_at":"2025-01-08T23:31:14.540Z","dependency_job_id":"556f0ba7-e3b7-40cf-bad2-533f42c50d95","html_url":"https://github.com/janpreet/pbsanitize","commit_stats":null,"previous_names":["janpreet/pbsanitize"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janpreet%2Fpbsanitize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janpreet%2Fpbsanitize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janpreet%2Fpbsanitize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janpreet%2Fpbsanitize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/janpreet","download_url":"https://codeload.github.com/janpreet/pbsanitize/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244244873,"owners_count":20422392,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pbcopy","sanitize"],"created_at":"2025-01-24T19:19:40.013Z","updated_at":"2025-03-18T14:44:31.620Z","avatar_url":"https://github.com/janpreet.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pbsanitize\n\nI needed a tool to safely sanitize secrets and sensitive data before copying to clipboard, so I made this. It automatically detects and redacts things like API keys, tokens, passwords, SSH keys, and other secrets.\n\n## Install\n\n### On macOS\n```bash\ngit clone https://github.com/janpreet/pbsanitize\ncd pbsanitize\nmake\nsudo make install\n```\n\n### On Linux\nFirst install xsel:\n```bash\nsudo apt install xsel  # Ubuntu/Debian\nsudo dnf install xsel  # Fedora\n```\n\nThen build and install:\n```bash\ngit clone https://github.com/janpreet/pbsanitize\ncd pbsanitize\nmake\nsudo make install\n```\n\n## Usage\n\nJust pipe any text through it:\n```bash\ncat config.yml | pbsanitize\ngit config -l | pbsanitize\necho \"my_api_key=secret123\" | pbsanitize\n```\n\nThe sanitized output is automatically copied to your clipboard.\n\n## What it catches\n\n- API keys \u0026 secrets\n- AWS keys \u0026 cloud credentials\n- JWT tokens\n- GitHub tokens\n- Private keys \u0026 certificates\n- Connection strings\n- Email addresses\n- Credit card numbers\n- Environment variables\n- IPs (v4 \u0026 v6)\n- SSH keys\n- OAuth tokens\n- Session IDs\n- Etc.\n\n## License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanpreet%2Fpbsanitize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjanpreet%2Fpbsanitize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanpreet%2Fpbsanitize/lists"}