{"id":15090877,"url":"https://github.com/rgwohlbold/scanct","last_synced_at":"2025-03-22T10:15:28.826Z","repository":{"id":148271427,"uuid":"591322743","full_name":"rgwohlbold/scanct","owner":"rgwohlbold","description":"Use Certificate Transparency Logs to find Jenkins and GitLab instances containing secrets ","archived":false,"fork":false,"pushed_at":"2023-03-24T16:24:05.000Z","size":4121,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-27T10:07:58.619Z","etag":null,"topics":["certificate-transparency","git-security","gitlab","gitleaks","go","jenkins"],"latest_commit_sha":null,"homepage":"","language":"Go","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/rgwohlbold.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":"2023-01-20T13:31:32.000Z","updated_at":"2024-12-10T15:54:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"e520076d-0390-4227-8939-1d822547c3a4","html_url":"https://github.com/rgwohlbold/scanct","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgwohlbold%2Fscanct","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgwohlbold%2Fscanct/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgwohlbold%2Fscanct/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgwohlbold%2Fscanct/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rgwohlbold","download_url":"https://codeload.github.com/rgwohlbold/scanct/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244937833,"owners_count":20535127,"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":["certificate-transparency","git-security","gitlab","gitleaks","go","jenkins"],"created_at":"2024-09-25T10:34:28.153Z","updated_at":"2025-03-22T10:15:28.796Z","avatar_url":"https://github.com/rgwohlbold.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# scanct\n\n`scanct` searches certificate transparency logs for known self-hosted services, hoping to find exposed credentials such as AWS keys.\nSee [my blog post](https://rgwohlbold.de/2023/scanct/) for a high-level overview.\n\nCurrently, the following software is detected:\n\n* **GitLab**: `scanct` clones repositories and scans for secrets using [gitleaks](https://github.com/zricethezav/gitleaks).\n* **Jenkins**: `scanct` scans for open `/script` endpoints and downloads workspaces of jobs to scan for secrets with gitleaks.\n\n## Installation\n\n1. Install [Go](https://golang.org/doc/install) for your platform.\n2. Clone the repository: `git clone https://github.com/rgwohlbold/scanct`.\n3. Build the binary: `go build -o scanct cmd/scanct/main.go`.\n4. Run the binary: `./scanct \u003coptions\u003e`.\n\n## Usage\n\nAll flags are documented in [main.go](cmd/scanct/main.go).\nscanct stores all its information in a SQLite database, `instance.db`.\nThis makes it resilient to restarts, as entries that have not been fully processed are retried on the next run.\n\n## License\n\n`scanct` is licensed under the MIT license. See [LICENSE](LICENSE) for details.\n\nThis repository was adapted from [shhgit](https://github.com/eth0izzle/shhgit) and heavily modified, removing almost all code in the progress.\nshhgit is licensed under MIT see \u003chttps://github.com/eth0izzle/shhgit/blob/master/LICENSE\u003e for details.\n\nThanks to Lukas Radermacher ([lukasrad02](https://github.com/lukasrad02)) and Tyron Franzke for initially implementing the GitLab scanner into `shhgit`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frgwohlbold%2Fscanct","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frgwohlbold%2Fscanct","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frgwohlbold%2Fscanct/lists"}