{"id":13852651,"url":"https://github.com/willfarrell/secret-patterns","last_synced_at":"2025-06-27T10:08:22.668Z","repository":{"id":142528777,"uuid":"172253232","full_name":"willfarrell/secret-patterns","owner":"willfarrell","description":"RegExp patterns for code secrets","archived":false,"fork":false,"pushed_at":"2019-02-23T23:09:26.000Z","size":25,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-12T20:37:56.534Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/willfarrell.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}},"created_at":"2019-02-23T19:16:09.000Z","updated_at":"2022-10-10T18:42:38.000Z","dependencies_parsed_at":"2024-01-18T11:03:59.263Z","dependency_job_id":"6c13f29d-9e9b-4b65-a192-adc4014b0a01","html_url":"https://github.com/willfarrell/secret-patterns","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/willfarrell/secret-patterns","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willfarrell%2Fsecret-patterns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willfarrell%2Fsecret-patterns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willfarrell%2Fsecret-patterns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willfarrell%2Fsecret-patterns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/willfarrell","download_url":"https://codeload.github.com/willfarrell/secret-patterns/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willfarrell%2Fsecret-patterns/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260713198,"owners_count":23050818,"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":[],"created_at":"2024-08-04T22:01:30.408Z","updated_at":"2025-06-27T10:08:22.643Z","avatar_url":"https://github.com/willfarrell.png","language":"Shell","readme":"# secret-patterns\nRegExp patterns for code secrets. This project is meant to be used by popular repository scanners \nthat search for embedded secrets.\n\n## Scanners\n- [git-secrets](https://github.com/awslabs/git-secrets)\n- [gitHound](https://github.com/ezekg/git-hound)\n- [truffleHog](https://github.com/dxa4481/truffleHog)\n\n## Getting Started\n### `common`\nCollection variables containing popular snippets used in patterns. You can use `${quote}` in the `patterns.json` as a short hand.\n### `patterns.json`\nCollection of Regexp patterns for various types of secrets\n### `allowed.json`\nCollection of allowed strings. ie fake/examples secrets\n\n## Testings\nJust run `npm test`. This will also run the build script prior to testing.\n\n## Build\nJust run `npm run build`.\n\n\n## Contributing\n\nPlease read [CONTRIBUTING.md](https://www.contributor-covenant.org/version/1/4/code-of-conduct.html) for details on our code of conduct, and the process for submitting pull requests to us.\n\n## Versioning\n\nWe use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/willfarrell/secret-patterns/tags). \n\n## Authors\n\n* **will Farrell** - *Initial work* - [willfarrell](https://github.com/willfarrell)\n\nSee also the list of [contributors](https://github.com/willfarrell/secret-patterns/contributors) who participated in this project.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details\n\n## Acknowledgments\n\n* [dxa4481/truffleHog](https://github.com/dxa4481/truffleHogRegexes/blob/master/truffleHogRegexes/regexes.json)\n* [awslabs/git-secrets](https://github.com/awslabs/git-secrets/blob/master/git-secrets#L233)\n\n\nTODO:\n- [ ] [`.pgpass / pgpass.conf`](https://www.postgresql.org/docs/9.3/libpq-pgpass.html) pattern `\"PostgreSQL PGPASS File\": \"[^:]+:[0-9]{2,6}:[a-z][a-z0-9_]+:[^:]+:[^:]+\",`\n- [ ] list of files that should be ignored/skipped\n- [ ] make npm package\n- [ ] add docs on how to curl file one needs w/ version tag\n","funding_links":[],"categories":["Shell"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillfarrell%2Fsecret-patterns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwillfarrell%2Fsecret-patterns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillfarrell%2Fsecret-patterns/lists"}