Skip to content

ci: harden pinned supply chain dependencies (issue #56)#62

Merged
levleontiev merged 6 commits intomainfrom
feature/issue-56-supply-chain-hardening-clean
Mar 25, 2026
Merged

ci: harden pinned supply chain dependencies (issue #56)#62
levleontiev merged 6 commits intomainfrom
feature/issue-56-supply-chain-hardening-clean

Conversation

@levleontiev
Copy link
Contributor

Summary

  • pin OpenResty runtime and CLI base images by digest
  • pin lua-resty-maxminddb to a concrete OPM version
  • pin github/codeql-action/upload-sarif to the resolved commit SHA
  • include docker/Dockerfile.test in the hardening scope by pinning ubuntu:22.04 by digest
  • add regression tests for the dependency pinning contract

Validation

  • busted spec/unit/supply_chain_pins_spec.lua

Closes #56

Notes

codex and others added 6 commits March 25, 2026 11:35
OPM version specification uses `package=version` syntax, not space-
separated. `opm get anjia0532/lua-resty-maxminddb 1.3.7` treated 1.3.7
as a separate dependency name, causing exit code 25.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
After fixing the opm get syntax from space to = separator, update the
regression test pattern to match the correct form:
  opm get anjia0532/lua-resty-maxminddb=1.3.7

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@levleontiev levleontiev merged commit a1f10b7 into main Mar 25, 2026
11 checks passed
@levleontiev levleontiev deleted the feature/issue-56-supply-chain-hardening-clean branch March 25, 2026 12:10
levleontiev pushed a commit that referenced this pull request Mar 25, 2026
PR #62 (supply chain hardening) was based on the pre-dependabot state
and overwrote two base image upgrades that had already landed on main:
- PR #60: openresty 1.25.3.2-jammy → 1.29.2.1-jammy
- PR #59: ubuntu 22.04 → 24.04

Restores both upgrades with pinned digests:
- openresty 1.29.2.1-jammy@sha256:01ae8007b5a26967ad8158554591c889345be3ffe51424fe475beb38ed923692
- ubuntu 24.04@sha256:67efaecc0031a612cf7bb3c863407018dbbef0a971f62032b77aa542ac8ac0d2

Updates supply_chain_pins_spec.lua to match the new openresty digest.

Closes #65.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
levleontiev added a commit that referenced this pull request Mar 25, 2026
PR #62 (supply chain hardening) was based on the pre-dependabot state
and overwrote two base image upgrades that had already landed on main:
- PR #60: openresty 1.25.3.2-jammy → 1.29.2.1-jammy
- PR #59: ubuntu 22.04 → 24.04

Restores both upgrades with pinned digests:
- openresty 1.29.2.1-jammy@sha256:01ae8007b5a26967ad8158554591c889345be3ffe51424fe475beb38ed923692
- ubuntu 24.04@sha256:67efaecc0031a612cf7bb3c863407018dbbef0a971f62032b77aa542ac8ac0d2

Updates supply_chain_pins_spec.lua to match the new openresty digest.

Closes #65.

Co-authored-by: Codex <codex@openai.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

security: harden supply chain — pin opm module, base image digest, codeql action SHA

2 participants