Chainloop — Attestation Control Plane Fix (contributor)
LiveMerged fix for a slice-out-of-range panic in Chainloop's (Go, Apache 2.0) attestation state decryption: truncated ciphertext now returns an error instead of crashing the control plane. Commits are SSH-signed with DCO sign-off.
Overview#
Chainloop is supply-chain and agentic-SDLC infrastructure: signed records of what CI/CD pipelines and AI coding agents did, checked against policies as code, built on Sigstore and in-toto.
Contribution#
- #3615 — fix(controlplane): return error on short attestation state ciphertext (fixes #3600).
- decrypt checked the salt and IV lengths but not the remaining payload before comparing it with the magic prefix. A stored value of 32–44 bytes passed the early checks and panicked. The fix adds the missing length check and a table-driven regression test for truncated inputs.
- Merged on 2026-10-15. Before merge, main moved: rebased onto a concurrent fix that created the same test file and kept both test suites.
What I learned#
- Projects with supply-chain focus expect verified commits: commits are SSH-signed and carry a DCO Signed-off-by trailer.
- In a monorepo, integration tests that need Docker run only in CI; the local loop uses SKIP_INTEGRATION=true.
Tech stack: Go, cryptography (state encryption), Sigstore ecosystem
More projects
Game Hub
A game discovery application over a large public games API — search and multi-axis filtering by platform, genre, and rating, with a responsive grid, skeleton loading states, and client state kept lean enough that filtering feels instant.
- Open source
- React
- TypeScript
- Chakra UI
Pathfinding Engine
A pathfinding engine implementing four search strategies — DFS, BFS, Greedy Best-First, and A* — with custom heuristics, a reward-collection variant that turns the problem into constrained optimisation, and visual output comparing how each strategy behaves on the same map.
- University
- Python
- Graph Search
- Heuristic Design