{"id":18328961,"url":"https://github.com/dollarshaveclub/thermite","last_synced_at":"2026-05-09T07:05:48.028Z","repository":{"id":40460911,"uuid":"381438031","full_name":"dollarshaveclub/thermite","owner":"dollarshaveclub","description":"Removes old Amazon Elastic Container Registry images that are not deployed in a Kubernetes cluster","archived":false,"fork":false,"pushed_at":"2022-05-07T01:28:26.000Z","size":6571,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-09T16:59:45.602Z","etag":null,"topics":["aws","docker","ecr","go","kubernetes"],"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/dollarshaveclub.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}},"created_at":"2021-06-29T16:59:14.000Z","updated_at":"2021-10-21T16:57:41.000Z","dependencies_parsed_at":"2022-08-09T21:11:57.325Z","dependency_job_id":null,"html_url":"https://github.com/dollarshaveclub/thermite","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/dollarshaveclub/thermite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dollarshaveclub%2Fthermite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dollarshaveclub%2Fthermite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dollarshaveclub%2Fthermite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dollarshaveclub%2Fthermite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dollarshaveclub","download_url":"https://codeload.github.com/dollarshaveclub/thermite/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dollarshaveclub%2Fthermite/sbom","scorecard":{"id":350120,"data":{"date":"2025-08-11","repo":{"name":"github.com/dollarshaveclub/thermite","commit":"d3c23d1330e4a68523b37cffc684643d6dd40f34"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.8,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":1,"reason":"Found 3/22 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.0.33 not signed: https://api.github.com/repos/dollarshaveclub/thermite/releases/66278086","Warn: release artifact v0.0.32 not signed: https://api.github.com/repos/dollarshaveclub/thermite/releases/66274393","Warn: release artifact v0.0.31 not signed: https://api.github.com/repos/dollarshaveclub/thermite/releases/50176041","Warn: release artifact v0.0.29 not signed: https://api.github.com/repos/dollarshaveclub/thermite/releases/47944249","Warn: release artifact v0.0.28 not signed: https://api.github.com/repos/dollarshaveclub/thermite/releases/47788870","Warn: release artifact v0.0.33 does not have provenance: https://api.github.com/repos/dollarshaveclub/thermite/releases/66278086","Warn: release artifact v0.0.32 does not have provenance: https://api.github.com/repos/dollarshaveclub/thermite/releases/66274393","Warn: release artifact v0.0.31 does not have provenance: https://api.github.com/repos/dollarshaveclub/thermite/releases/50176041","Warn: release artifact v0.0.29 does not have provenance: https://api.github.com/repos/dollarshaveclub/thermite/releases/47944249","Warn: release artifact v0.0.28 does not have provenance: https://api.github.com/repos/dollarshaveclub/thermite/releases/47788870"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":3,"reason":"dependency not pinned by hash detected -- score normalized to 3","details":["Warn: containerImage not pinned by hash: Dockerfile:1","Warn: containerImage not pinned by hash: Dockerfile:5: pin your Docker image by updating alpine:3.15 to alpine:3.15@sha256:19b4bcc4f60e99dd5ebdca0cbce22c503bbcff197549d7e19dab4f22254dc864","Warn: goCommand not pinned by hash: vendor/github.com/json-iterator/go/build.sh:10","Warn: goCommand not pinned by hash: vendor/google.golang.org/grpc/regenerate.sh:35","Warn: goCommand not pinned by hash: vendor/google.golang.org/grpc/vet.sh:37","Info:   0 out of   2 containerImage dependencies pinned","Info:   3 out of   6 goCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 12 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"27 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2022-0635","Warn: Project is vulnerable to: GO-2022-0646","Warn: Project is vulnerable to: GO-2024-3250 / GHSA-29wx-vh33-7x7r","Warn: Project is vulnerable to: GO-2025-3553 / GHSA-mh63-6h87-95cp","Warn: Project is vulnerable to: GO-2022-0968 / GHSA-gwc9-m7rh-j2ww","Warn: Project is vulnerable to: GO-2021-0356 / GHSA-8c26-wmh5-6g9v","Warn: Project is vulnerable to: GO-2024-2961","Warn: Project is vulnerable to: GO-2023-2402 / GHSA-45x7-px36-x8w8","Warn: Project is vulnerable to: GO-2024-3321 / GHSA-v778-237x-gjrc","Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77","Warn: Project is vulnerable to: GO-2022-0288","Warn: Project is vulnerable to: GO-2022-0969 / GHSA-69cg-p879-7622","Warn: Project is vulnerable to: GO-2022-1144 / GHSA-xrjj-mj9h-534m","Warn: Project is vulnerable to: GO-2023-1571 / GHSA-vvpx-j8f3-3w6h","Warn: Project is vulnerable to: GO-2023-1988 / GHSA-2wrh-6pvc-2jm9","Warn: Project is vulnerable to: GO-2023-2102 / GHSA-4374-p667-p6c8","Warn: Project is vulnerable to: GO-2023-2153 / GHSA-m425-mq94-257g / GHSA-qppj-fm5r-hxr3","Warn: Project is vulnerable to: GO-2024-2687 / GHSA-4v7x-pqxf-cx7m","Warn: Project is vulnerable to: GO-2024-3333","Warn: Project is vulnerable to: GO-2025-3503 / GHSA-qxp5-gwg8-xv66","Warn: Project is vulnerable to: GO-2025-3595 / GHSA-vvgc-356p-c3xw","Warn: Project is vulnerable to: GO-2025-3488 / GHSA-6v2p-p543-phr9","Warn: Project is vulnerable to: GO-2022-0493 / GHSA-p782-xgp4-8hr8","Warn: Project is vulnerable to: GO-2021-0113 / GHSA-ppp9-7jff-5vj2","Warn: Project is vulnerable to: GO-2022-1059 / GHSA-69ch-w2m2-3vjp","Warn: Project is vulnerable to: GO-2024-2611 / GHSA-8r3f-844c-mc37","Warn: Project is vulnerable to: GO-2022-0603 / GHSA-hp87-p4gw-j4gq"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-18T08:08:12.227Z","repository_id":40460911,"created_at":"2025-08-18T08:08:12.227Z","updated_at":"2025-08-18T08:08:12.227Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32810382,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["aws","docker","ecr","go","kubernetes"],"created_at":"2024-11-05T19:15:46.699Z","updated_at":"2026-05-09T07:05:48.013Z","avatar_url":"https://github.com/dollarshaveclub.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Thermite\n========\n\n[![CircleCI](https://circleci.com/gh/dollarshaveclub/thermite/tree/master.svg?style=svg)](https://circleci.com/gh/dollarshaveclub/thermite/tree/master)\n[![Go Reference](https://pkg.go.dev/badge/github.com/dollarshaveclub/thermite.svg)](https://pkg.go.dev/github.com/dollarshaveclub/thermite)\n[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/dollarshaveclub)](https://artifacthub.io/packages/search?repo=dollarshaveclub)\n\n## Installation\n\n### go\n\n\tgo get github.com/dollarshaveclub/thermite\n\n### brew\n\n\tbrew tap dollarshaveclub/homebrew-public\n\tbrew install thermite\n\n### docker\n\n\tdocker pull dollarshaveclub/thermite\n\n## thermite\n\nRemove old and undeployed Amazon Elastic Container Registry images\n\n### Synopsis\n\nThermite removes old Amazon Elastic Container Registry images that are not\ndeployed in a Kubernetes cluster.\n\nThermite checks for a resource tag (thermite:prune-period by default) on each\nrepository in an Elastic Container Registry. This tag specifies the number of\ndays that must pass after an image in the repository has been pushed before\nis pruned.\n\nThermite surveys the image names of the containers associated with every\nCronJob, DaemonSet, Deployment, Job, and StatefulSet in a Kubernetes\ncluster, and excludes these images from removal.\n\nThermite expects shared environment configuration and credentials to exist for\nthe AWS account whose default Elastic Container Registry is to be pruned, as\ndescribed by the \"Configuration and credentials\" subsection of the \"Configuring\nthe AWS CLI\" section of the AWS Command Line Interface User Guide.\n\nIf Thermite is not running inside the Kubernetes cluster that is to be surveyed,\nThermite expects a Kubernetes configuration to exist as described in the\n\"Organizing Cluster Access Using kubeconfig Files\" subsection of the\n\"Configuration\" section of the Kubernetes Concepts documentation.\n\nThermite will submit DogStatsD metrics to the address specified by the\nDD_AGENT_HOST and DD_DOGSTATSD_PORT environment variables if they are set.\nThermite will submit Datadog APM spans and profiles to the address specified by\nthe DD_AGENT_HOST and DD_TRACE_AGENT_PORT environment variables if they are set.\n\n```\nthermite [flags]\n```\n\n### Options\n\n```\n  -h, --help                      help for thermite\n      --page-size uint            number of items returned in paginated API responses\n      --period-tag-key string     AWS resource tag to check for prune period (default \"thermite:prune-period\")\n  -y, --remove-images             enables removal of eligible images from ECR\n      --statsd-namespace string   namespace to add to statsd metrics (default \"thermite\")\n      --statsd-tag strings        tag to add to statsd metrics (supports multiple flags)\n```\n\n###### Auto generated by spf13/cobra on 5-Aug-2021\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdollarshaveclub%2Fthermite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdollarshaveclub%2Fthermite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdollarshaveclub%2Fthermite/lists"}