Public record
Software health reportschema 0.12.0 · metrics 2.10.0 · 2026-07-17 21:58 UTC

tweag / rules_img

Modern Bazel rules for building OCI container images with advanced performance optimizations

Go · StarlarkApache-2.0★ 125 stars⑂ 41 forkssince Jun 2025View on GitHub ↗

tweag/rules_img holds a health index of 87 out of 100, placing it in the Excellent band. It scores highest on Vitality (94/100) and lowest on AI Readiness (52/100). It was last updated today. A single contributor accounts for most of its recent work.

87
overall / 100
Excellent

Software health index

Metrics are grouped into weighted categories on one standardized 1–100 scale. Overall starts as their weighted mean, calibrated against the distribution of the public record so bands carry percentile meaning; when public evidence triggers the High-Risk Jurisdiction Policy, the rating is adjusted and receives an At Risk ceiling of 34.

87
Exceptional93-100The record's top tier (≈ top 5%); essentially all checked criteria met
Excellent80-92Strong across the board; minor gaps
Good65-79Healthy; gaps are limited and manageable
Moderate50-64Acceptable with notable gaps; review recommended
Weak35-49Material weaknesses across several areas
At Risk20-34Significant weaknesses; adoption warrants caution
Critical1-19Severe problems (abandoned, single-maintainer, no hygiene)
VitalityCommunity &AdoptionSustainability &GovernanceEngineeringQualitySecurityAI Readiness

Score profile

Each axis is a category. The shape matters more than the average — a healthy subject fills the whole shape, while a spike-and-crater profile means strength in one dimension is masking risk in another.

The weighted overall 73 is calibrated to 87 on the published index scale (record calibration 2026-08-02).

Ownership

Bazel ContribOrganization
190 followers64 public repossince Oct 2021

This repository is backed by an organization — shared, accountable stewardship that can outlive any single maintainer.

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publish
Gogithub.com/bazel-contrib/rules_imgpoints to another repo — not scoredv0.3.17-410 days ago
Gogithub.com/bazel-contrib/rules_img/img_toolpoints to another repo — not scoredv0.3.17-150 days ago

Metrics by category

Vitality

Is the project alive — is code being written and are releases shipping?

94Exceptional · 21% of overall
How it's scored
36/36Push recencylast push 0 days ago
26.3/36Commit cadence38/52 weeks with commits
18/18Commit volume628 commits in the last year
10/10OpenSSF Scorecard: Maintained30 commit(s) and 25 issue activity found in the last 90 days -- score normalized to 10
Inputs used
commits_last_year628
human_commit_share
days_since_last_push0
active_weeks_last_year38

Release discipline

100Exceptional
How it's scored
27/27Ships releases40 releases published
36/36Release recencylatest release 0 days ago
27/27Release cadencea release every ~9.8 days
10/10OpenSSF Scorecard: Signed-Releases5 out of the last 5 releases have a total of 5 signed artifacts.
Inputs used
releases_count40
latest_release_tagv0.3.17
releases_from_tagsno
days_since_latest_release0
mean_days_between_releases9.8

Community & Adoption

Does the project have users, downloads, attention, and a welcoming setup for contributors?

59Moderate · 17% of overall
How it's scored
34/60Stars125 stars
13.4/25Forks41 forks
1.7/15Watchers3 watchers
Inputs used
forks41
stars125
watchers3
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history
How it's scored
22.5/22.5README
22.5/22.5Licenserecognized license (Apache-2.0)
18/18CONTRIBUTING guide
0/13.5Code of conduct
0/7.2Issue template
0/6.3PR template
Inputs used
has_readmeyes
has_licenseyes
readme_badges
has_contributingyes
has_issue_templateno
has_code_of_conductno
readme_badge_services
has_pull_request_templateno

Sustainability & Governance

Will the project survive its people — bus factor, responsiveness, who backs it, and package upkeep?

63Moderate · 23% of overall
How it's scored
9/54Bus factor1 contributor(s) cover half of all commits
6/22.5Commit distributiontop contributor authored 73% of commits
13.5/13.5Contributor breadth29 contributors
10/10OpenSSF Scorecard: Contributorsproject has 6 contributing companies or organizations
Inputs used
bus_factor1
contributors_sampled29
top_contributor_share0.733
How it's scored
36.3/42Issue resolution86% of issues closed
24.3/30PR acceptance422/520 decided PRs merged
0/13Newcomer PR acceptanceno first-time contributor's PR decided in 30d
1.5/15OpenSSF Scorecard: Code-ReviewFound 5/30 approved changesets -- score normalized to 1
Inputs used
merged_prs422
open_issues14
closed_issues89
prs_merged_7d
prs_decided_7d
prs_merged_30d
prs_decided_30d
issue_closed_ratio0.864
closed_unmerged_prs98
first_time_authors_30d
first_time_prs_merged_30d
first_time_prs_decided_30d
Excluded from scoring (no data or not applicable): Newcomer PR acceptance. Remaining weights renormalized.
How it's scored
30/30Ownership backingorganization-owned
0/20Verified domainverified-domain status not read for this organization
16.4/25Owner reach190 followers of bazel-contrib
22.6/25Track record64 public repos, account ~4 yr old
Inputs used
followers190
owner_typeOrganization
is_verified
owner_loginbazel-contrib
public_repos64
account_age_days1,750
Excluded from scoring (no data or not applicable): Verified domain. Remaining weights renormalized.

Engineering Quality

Are baseline engineering and documentation practices in place?

92Excellent · 19% of overall
How it's scored
24/24CI workflows3 workflow(s)
24/24Tests present
16/16Linter config
9.6/9.6Pre-commit hooks
0/6.4.editorconfig
20/20OpenSSF Scorecard: CI-Tests30 out of 30 merged PRs checked by a CI test -- score normalized to 10
Inputs used
has_ciyes
has_testsyes
has_editorconfigno
has_linter_configyes
has_precommit_configyes

Documentation

90Excellent
How it's scored
30/30README
25/25Documentation directory
15/15Documentation / homepage sitehttps://registry.bazel.build/modules/rules_img
10/10Repository description
10/10Topics5 topics
0/10Wiki
Inputs used
topicsbazel, containers, docker, kubernetes, oci
has_wikino
homepagehttps://registry.bazel.build/modules/rules_img
docs_sitehttps://registry.bazel.build/modules/rules_img
has_readmeyes
has_docs_diryes
has_descriptionyes

Security

Are visible security and supply-chain practices strong, without unresolved high-risk jurisdiction exposure?

59Moderate · 16% of overall
How it's scored
7.5/7.5Binary-Artifactsno binaries found in the repo
2.2/7.5Branch-Protectionbranch protection is not maximal on development and all release branches
2.5/2.5CI-Tests30 out of 30 merged PRs checked by a CI test -- score normalized to 10
0/2.5CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
0.8/7.5Code-ReviewFound 5/30 approved changesets -- score normalized to 1
2.5/2.5Contributorsproject has 6 contributing companies or organizations
10/10Dangerous-Workflowno dangerous workflow patterns detected
7.5/7.5Dependency-Update-Toolupdate tool detected
0/5Fuzzingproject is not fuzzed
2.5/2.5Licenselicense file detected
7.5/7.5Maintained30 commit(s) and 25 issue activity found in the last 90 days -- score normalized to 10
0/5Packagingno data
3/5Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 6
0/5SASTSAST tool is not run on all commits -- score normalized to 0
0/5Security-Policysecurity policy file not detected
7.5/7.5Signed-Releases5 out of the last 5 releases have a total of 5 signed artifacts.
0/7.5Token-Permissionsdetected GitHub workflow tokens with excessive permissions
5.2/7.5Vulnerabilities3 existing vulnerabilities detected
Inputs used
sourceopenssf_scorecard
checks_evaluated17
scorecard_versionv5.5.0
checks_inconclusive1
scorecard_aggregate5.9
Excluded from scoring (no data or not applicable): Packaging. Remaining weights renormalized.

AI Readiness

How well is the repo equipped to be developed and maintained with AI coding agents? Carries a deliberately small weight (4%): agent tooling is a real maintenance signal, but a repository with none can still reach 100/100.

52Moderate · 4% of overall
How it's scored
0/45Agent instructionsno CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
0/40Legible commit historyno data
Inputs used
has_llms_txtno
llms_txt_url
legible_history_share
agent_instruction_files
agent_instruction_max_bytes
Excluded from scoring (no data or not applicable): Legible commit history. Remaining weights renormalized.
How it's scored
0/18One-command bootstrap
22/22Automated tests
11/11Lint / format config
11/11Static type checkingGo (statically typed)
10/10Reproducible environmentlockfile
0/10Demonstrated agent practiceno data
0/8Automated maintenanceno data
6/10OpenSSF Scorecard: Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 6
Inputs used
has_nixno
has_testsyes
lockfilesgo.sum, pnpm-lock.yaml
has_dockerfileno
typed_languageyes
bootstrap_files
has_devcontainerno
has_linter_configyes
typecheck_configs
agent_commit_share
toolchain_manifests
dependency_bot_commit_share
Excluded from scoring (no data or not applicable): Demonstrated agent practice, Automated maintenance. Remaining weights renormalized.
How it's scored
45/45Type-checkable codeGo (statically typed)
54.8/55Manageable file sizes1/254 source files over 60KB
Inputs used
primary_languageGo
largest_source_bytes358,184
source_files_sampled254
oversized_source_files1
How it's scored
40/40API schema (OpenAPI/GraphQL/proto)img_tool/pkg/proto/bazel/src/main/java/com/google/devtools/build/lib/buildeventstream/build_event_stream.proto, img_tool/pkg/proto/bazel/src/main/java/com/google/devtools/build/lib/packages/metrics/package_load_metrics.proto, img_tool/pkg/proto/bazel/src/main/protobuf/action_cache.proto, img_tool/pkg/proto/bazel/src/main/protobuf/command_line.proto, img_tool/pkg/proto/bazel/src/main/protobuf/failure_details.proto, img_tool/pkg/proto/bazel/src/main/protobuf/invocation_policy.proto, img_tool/pkg/proto/bazel/src/main/protobuf/option_filters.proto, img_tool/pkg/proto/bazel/src/main/protobuf/strategy_policy.proto, img_tool/pkg/proto/blobcache/blobcache.proto, img_tool/pkg/proto/remote-apis/build/bazel/remote/execution/v2/remote_execution.proto, img_tool/pkg/proto/remote-apis/build/bazel/semver/semver.proto
0/20MCP servernot applicable to this kind of software
0/40Runnable examples
Inputs used
example_dirs
has_mcp_signalno
api_schema_filesimg_tool/pkg/proto/bazel/src/main/java/com/google/devtools/build/lib/buildeventstream/build_event_stream.proto, img_tool/pkg/proto/bazel/src/main/java/com/google/devtools/build/lib/packages/metrics/package_load_metrics.proto, img_tool/pkg/proto/bazel/src/main/protobuf/action_cache.proto, img_tool/pkg/proto/bazel/src/main/protobuf/command_line.proto, img_tool/pkg/proto/bazel/src/main/protobuf/failure_details.proto, img_tool/pkg/proto/bazel/src/main/protobuf/invocation_policy.proto, img_tool/pkg/proto/bazel/src/main/protobuf/option_filters.proto, img_tool/pkg/proto/bazel/src/main/protobuf/strategy_policy.proto, img_tool/pkg/proto/blobcache/blobcache.proto, img_tool/pkg/proto/remote-apis/build/bazel/remote/execution/v2/remote_execution.proto, img_tool/pkg/proto/remote-apis/build/bazel/semver/semver.proto
interfaces_expected_of
Excluded from scoring (no data or not applicable): MCP server. Remaining weights renormalized.

Key facts

125GitHub stars
29contributors
628commits, last 12 months
0days since last push
40releases
1bus factor
14open issues
Gopackage ecosystems

Data collection warnings

  • go package 'github.com/bazel-contrib/rules_img' points at a different repository (https://github.com/bazel-contrib/rules_img); excluded from ecosystem scoring
  • go package 'github.com/bazel-contrib/rules_img/img_tool' points at a different repository (https://github.com/bazel-contrib/rules_img); excluded from ecosystem scoring

More detail

OpenSSF Scorecard 5.9 / 10
5.9aggregate

Independent, tool-agnostic security assessment from the open-source OpenSSF Scorecard. Each check rewards a security practice, not a specific vendor's tool. Checks Scorecard could not determine are marked n/a and excluded from the security score (never counted as zero).Scorecard v5.5.0 · 2026-07-17 21:57 UTC

10Binary-Artifactsno binaries found in the repo
3Branch-Protectionbranch protection is not maximal on development and all release branches
10CI-Tests30 out of 30 merged PRs checked by a CI test -- score normalized to 10
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
1Code-ReviewFound 5/30 approved changesets -- score normalized to 1
10Contributorsproject has 6 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained30 commit(s) and 25 issue activity found in the last 90 days -- score normalized to 10
n/aPackagingpackaging workflow not detected
6Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 6
0SASTSAST tool is not run on all commits -- score normalized to 0
0Security-Policysecurity policy file not detected
10Signed-Releases5 out of the last 5 releases have a total of 5 signed artifacts.
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
7Vulnerabilities3 existing vulnerabilities detected
Direct dependencies 26
RegistryPackageVersion constraintManifest
Gogithub.com/klauspost/compressv1.18.6go.mod
Gocloud.google.com/go/longrunningv1.1.0img_tool/go.mod
Gogithub.com/aws/aws-sdk-go-v2v1.42.0img_tool/go.mod
Gogithub.com/aws/aws-sdk-go-v2/configv1.32.25img_tool/go.mod
Gogithub.com/aws/aws-sdk-go-v2/service/s3v1.104.0img_tool/go.mod
Gogithub.com/awslabs/amazon-ecr-credential-helper/ecr-loginv0.12.0img_tool/go.mod
Gogithub.com/bazelbuild/rules_gov0.61.1img_tool/go.mod
Gogithub.com/containerd/containerd/apiv1.11.1img_tool/go.mod
Gogithub.com/containerd/platformsv1.0.0-rc.4img_tool/go.mod
Gogithub.com/containerd/stargz-snapshotter/estargzv0.18.2img_tool/go.mod
Gogithub.com/goccy/go-yamlv1.19.2img_tool/go.mod
Gogithub.com/google/go-containerregistryv0.21.7img_tool/go.mod
Gogithub.com/google/uuidv1.6.0img_tool/go.mod
Gogithub.com/jedib0t/go-pretty/v6v6.8.1img_tool/go.mod
Gogithub.com/klauspost/compressv1.18.6img_tool/go.mod
Gogithub.com/klauspost/pgzipv1.2.6img_tool/go.mod
Gogithub.com/opencontainers/go-digestv1.0.0img_tool/go.mod
Gogithub.com/opencontainers/image-specv1.1.1img_tool/go.mod
Gogithub.com/vbatts/go-mtreev0.7.0img_tool/go.mod
Gogolang.org/x/syncv0.21.0img_tool/go.mod
Gogolang.org/x/termv0.44.0img_tool/go.mod
Gogoogle.golang.org/genproto/googleapis/apiv0.0.0-20260622175928-b703f567277dimg_tool/go.mod
Gogoogle.golang.org/genproto/googleapis/bytestreamv0.0.0-20260622175928-b703f567277dimg_tool/go.mod
Gogoogle.golang.org/genproto/googleapis/rpcv0.0.0-20260622175928-b703f567277dimg_tool/go.mod
Gogoogle.golang.org/grpcv1.81.1img_tool/go.mod
Gogoogle.golang.org/protobufv1.36.11img_tool/go.mod
All dependencies 75

Full resolved dependency set from the GitHub dependency graph: 25 direct and 50 indirect (transitive) packages. The transitive closure is complete when the repository commits a lockfile.

RegistryPackageVersionRelation
Gocloud.google.com/go/longrunningv1.1.0direct
Gogithub.com/aws/aws-sdk-go-v2v1.42.0direct
Gogithub.com/aws/aws-sdk-go-v2/configv1.32.25direct
Gogithub.com/aws/aws-sdk-go-v2/service/s3v1.104.0direct
Gogithub.com/awslabs/amazon-ecr-credential-helper/ecr-loginv0.12.0direct
Gogithub.com/bazelbuild/rules_gov0.61.1direct
Gogithub.com/containerd/containerd/apiv1.11.1direct
Gogithub.com/containerd/platformsv1.0.0-rc.4direct
Gogithub.com/containerd/stargz-snapshotter/estargzv0.18.2direct
Gogithub.com/goccy/go-yamlv1.19.2direct
Gogithub.com/google/go-containerregistryv0.21.7direct
Gogithub.com/google/uuidv1.6.0direct
Gogithub.com/jedib0t/go-pretty/v6v6.8.1direct
Gogithub.com/klauspost/compressv1.18.6direct
Gogithub.com/klauspost/pgzipv1.2.6direct
Gogithub.com/opencontainers/go-digestv1.0.0direct
Gogithub.com/opencontainers/image-specv1.1.1direct
Gogithub.com/vbatts/go-mtreev0.7.0direct
Gogolang.org/x/syncv0.21.0direct
Gogolang.org/x/termv0.44.0direct
Gogoogle.golang.org/genproto/googleapis/apiv0.0.0-20260622175928-b703f567277ddirect
Gogoogle.golang.org/genproto/googleapis/bytestreamv0.0.0-20260622175928-b703f567277ddirect
Gogoogle.golang.org/genproto/googleapis/rpcv0.0.0-20260622175928-b703f567277ddirect
Gogoogle.golang.org/grpcv1.81.1direct
Gogoogle.golang.org/protobufv1.36.11direct
Gocloud.google.com/go/compute/metadatav0.9.0indirect
Gogithub.com/aws/aws-sdk-go-v2/aws/protocol/eventstreamv1.7.13indirect
Gogithub.com/aws/aws-sdk-go-v2/credentialsv1.19.24indirect
Gogithub.com/aws/aws-sdk-go-v2/feature/ec2/imdsv1.18.29indirect
Gogithub.com/aws/aws-sdk-go-v2/internal/configsourcesv1.4.29indirect
Gogithub.com/aws/aws-sdk-go-v2/internal/endpoints/v2v2.7.29indirect
Gogithub.com/aws/aws-sdk-go-v2/internal/v4av1.4.30indirect
Gogithub.com/aws/aws-sdk-go-v2/service/ecrv1.58.4indirect
Gogithub.com/aws/aws-sdk-go-v2/service/ecrpublicv1.39.6indirect
Gogithub.com/aws/aws-sdk-go-v2/service/internal/accept-encodingv1.13.12indirect
Gogithub.com/aws/aws-sdk-go-v2/service/internal/checksumv1.9.22indirect
Gogithub.com/aws/aws-sdk-go-v2/service/internal/presigned-urlv1.13.29indirect
Gogithub.com/aws/aws-sdk-go-v2/service/internal/s3sharedv1.19.29indirect
Gogithub.com/aws/aws-sdk-go-v2/service/signinv1.2.0indirect
Gogithub.com/aws/aws-sdk-go-v2/service/ssov1.31.3indirect
Gogithub.com/aws/aws-sdk-go-v2/service/ssooidcv1.36.6indirect
Gogithub.com/aws/aws-sdk-go-v2/service/stsv1.43.3indirect
Gogithub.com/aws/smithy-gov1.27.3indirect
Gogithub.com/clipperhouse/uax29/v2v2.7.0indirect
Gogithub.com/containerd/logv0.1.0indirect
Gogithub.com/containerd/ttrpcv1.2.8indirect
Gogithub.com/docker/cliv29.6.1+incompatibleindirect
Gogithub.com/docker/docker-credential-helpersv0.9.8indirect
Gogithub.com/mattn/go-runewidthv0.0.24indirect
Gogithub.com/mitchellh/go-homedirv1.1.0indirect
Gogithub.com/sirupsen/logrusv1.9.4indirect
Gogithub.com/vbatts/tar-splitv0.12.3indirect
Gogolang.org/x/cryptov0.53.0indirect
Gogolang.org/x/netv0.56.0indirect
Gogolang.org/x/oauth2v0.36.0indirect
Gogolang.org/x/sysv0.46.0indirect
Gogolang.org/x/textv0.38.0indirect
Gogotest.tools/v3v3.5.2indirect
npmmeaning-of-life1.0.0indirect
PyPIcertifi2025.10.5indirect
PyPIcharset-normalizer3.4.4indirect
PyPIcowsay6.1indirect
PyPIdocker7.1.0indirect
PyPIidna3.18indirect
PyPIiniconfig2.3.0indirect
PyPIpackaging25.0indirect
PyPIpluggy1.6.0indirect
PyPIpygments2.19.2indirect
PyPIpytest9.0.3indirect
PyPIpython-dotenv1.2.2indirect
PyPIrequests2.32.5indirect
PyPItestcontainers4.13.2indirect
PyPItyping-extensions4.15.0indirect
PyPIurllib32.7.0indirect
PyPIwrapt2.0.0indirect
Raw JSON report machine-readable

Feedback

Spotted something off in this report, or have thoughts to share? Wrong measurements, missed tooling, ideas, questions — anything is welcome. Every message is read and gets a response.

The message is kept through sign-in.

Scores are signals, not warranties. They reflect publicly visible practices on GitHub — not a code audit, and not a security guarantee.

Missing data is excluded and weights renormalized, never scored as zero. Methodology is versioned and open: metrics v2.10.0, schema v0.12.0 — full methodology · metrics wiki.

How one result sits in the wider record: aggregate statisticsGo.