Latest / Ship It Weekly - DevOps, SRE, Platform and Cloud Engineering News / CodeBreach in AWS CodeBuild, Bazel TLS Certificate Expiry Breaks Builds, Helm Charts Reliability Audit, and New n8n Sandbox Escape RCE
Transcript
- 0:00This week is a reminder that the stuff we treat
- 0:02like glue is now a primary failure domain. CI
- 0:06trigger roles, cert renewals, helm charts, automation
- 0:09tools. One tiny assumption goes sideways and
- 0:13suddenly you're dealing with a supply chain risk,
- 0:16a global build break, or an RCE in the thing
- 0:19that holds all your credentials. Hey, I'm Brian.
- 0:38I work in DevOps and SRE and I run Tellers Tech.
- 0:41This is Ship It Weekly, where I filter the noise
- 0:44and pull out what actually matters when you're
- 0:47the one running infrastructure and owning reliability.
- 0:50If something's hype, I'll call it hype. If it
- 0:52changes how you operate, we'll talk about it.
- 0:54Quick bit of housekeeping, the show notes and
- 0:57links are on shipitweekly .fm. If the show's
- 1:00been useful, follow it wherever you listen. Also,
- 1:03a rating helps way more than it should. Four
- 1:06main stories for today. First, code breach. A
- 1:08CI trigger and filtering issue in a small set
- 1:11of AWS managed repos that's a perfect reminder
- 1:14that CI glue is part of your security boundary
- 1:17now. Second, the Bazel TLS cert expiry incident.
- 1:21The kind of failure that is boring, binary, and
- 1:24absolutely capable of blocking your entire engineering
- 1:27org. Third, Helm chart reliability. prequel reviewed
- 1:31over a hundred popular charts and the results
- 1:34are basically a post -mortem template for why
- 1:36it installed fine is not a reliability guarantee
- 1:39fourth n8n two new high severity flaws disclosed
- 1:44by jfrog that can lead to code execution we're
- 1:48going to treat this one like a mini story because
- 1:50workflow automation tools are basically a control
- 1:53plane holding your secrets then a quick lightning
- 1:56round with a few operator friendly tools and
- 1:59takeaways and a human closer tying the theme
- 2:02together alright let's get into it So code breach.
- 2:10AWS published a security bulletin describing
- 2:12a misconfiguration involving unanchored account
- 2:16underscore ID webhook filters for code build.
- 2:20used by a small set of AWS -managed open -source
- 2:23repos. AWS says they mitigated it quickly, rotated
- 2:27credentials, reviewed logs, and added additional
- 2:31mitigations and protections around build processes
- 2:33with credentials in memory. Wiz's research frames
- 2:37the risk clearly. If you can trigger a privileged
- 2:40build in a repo that's part of a supply chain,
- 2:43you potentially get access to tokens and credentials
- 2:46that can be used to push changes or create malicious
- 2:50artifacts. That's why it's not just CI, it becomes
- 2:54supply chain. Now, the operator lesson is not
- 2:57code build is bad. The operator lesson is stop
- 3:01treating pipeline trigger logic like it's harmless.
- 3:04If an untrusted event can cause a trusted pipeline
- 3:07to run, you do not have CI. You have an execution
- 3:10environment exposed to the internet. And almost
- 3:13every org drifts towards this risk without meaning
- 3:17to. Here's the drift pattern. You start with
- 3:20PR checks, lint, test, build, great. Then someone
- 3:24adds integration tests. And those tests need
- 3:27credentials to hit an environment, or to pull
- 3:30from a private registry, or to call a third -party
- 3:33API. Then someone adds preview deployments. Those
- 3:38need cloud creds, or at least some deploy token.
- 3:41Then someone adds artifact publishing because
- 3:44it's easier if the PR build produces the image.
- 3:47Now your PR pipeline can build and push images.
- 3:50Then someone uses those images in staging. And
- 3:53now your PR pipeline is part of your release
- 3:56path. And at that point, you've accidentally
- 3:58created a supply chain path where a PR can influence
- 4:02something that runs in your environment. This
- 4:05is why the most dangerous sentence in CI is,
- 4:08it only runs in CI. Because CI is usually the
- 4:12thing that holds credentials that can touch everything
- 4:15else. So the practical question to ask is simple.
- 4:19Can untrusted events cause trusted actions? Can
- 4:22a forked PR run a job that has secrets available?
- 4:26Can a PR comment trigger a workflow that can
- 4:30deploy? Can a PR workflow push artifacts that
- 4:33are later deployed? Can a PR workflow assume
- 4:37cloud roles? If the answer is yes, or even I'm
- 4:40not sure, you've got a boundary problem. Now,
- 4:43I want to give you a do this Monday playbook
- 4:46that doesn't require a big platform rewrite.
- 4:49Step one, label pipelines mentally as untrusted
- 4:53and trusted. Untrusted pipelines is PRs and forks.
- 4:57No secrets, no publish, no deploy. It answers,
- 5:01does it compile? Do tests pass? Trusted pipelines
- 5:05run on merges to main, tags, or explicit manual
- 5:09approvals. That's the one allowed to publish
- 5:12and deploy. Step two. Pick one repo, your most
- 5:16sensitive one, and map the event chain in plain
- 5:19English. What events trigger workflows? Which
- 5:22workflows can access secrets? Which workflows
- 5:25can write artifacts? Which workflows can deploy
- 5:28or change infra? Step 3. Check for the classic
- 5:32foot guns. Are secrets injected into your PR
- 5:35workflows at all? Are you using conditions like
- 5:38actor checks or branch checks as auth? Are you
- 5:42relying on the code won't print secrets as a
- 5:45control? Do you allow PR builds from forks to
- 5:49run with privilege tokens? If you find these,
- 5:52the fix is not perfect security. The fix is strong
- 5:55separation. PR builds can still run. just keep
- 5:58them in the untrusted sandbox. If you need integration
- 6:02tests, run them in a separate environment with
- 6:05a separate low privilege credential set. If you
- 6:08need to build images, build them but don't push
- 6:11them to a production registry. Or push to an
- 6:15isolated registry that cannot be used for deploy.
- 6:18If you need a preview environment, require approval
- 6:21before anything privileged runs. And the last
- 6:24point, even if you fix the triggers, scope matters.
- 6:27Least privilege for CI tokens is not optional.
- 6:31Your pipeline credentials should not be able
- 6:34to do everything. That's story one. Story two
- 6:41is Bazel. On December 26th, 2025, the TLS certificates
- 6:46for many star .bazel .build domains expired and
- 6:50it caused widespread build breakage. The Bazel
- 6:54team's postmortem says the outage lasted around
- 6:5713 hours before it was resolved. This is one
- 7:00of those incidents that's both boring and terrifying.
- 7:03Boring because it's just a cert. Terrifying because
- 7:07cert failures are a binary cliff. Everything
- 7:10works, then it doesn't. And the blast radius
- 7:13is immediate because every client that depends
- 7:15on that endpoint fails at the same time. Also,
- 7:19auto -renew does not prevent this class of incident.
- 7:22Auto -renew is one link in a chain. The full
- 7:25chain is issuance, renewal, deployment, Reload
- 7:29and verification. A lot of real cert outages
- 7:32are renewal succeeded but deployment didn't reload.
- 7:36Or new hostname wasn't included. Or monitoring
- 7:39checked the wrong endpoint. Or DNS validation
- 7:42broke and nobody noticed. So here's the practical
- 7:46operator version of this story. You'd need external
- 7:49monitoring for cert expiry from the outside.
- 7:53against the actual endpoint users hit. Not an
- 7:56internal health check. Not a dashboard in the
- 7:59cert system. The real endpoint. You need ownership.
- 8:03A named owner. A team. A channel. Someone that
- 8:07at 2am on call can tag and get traction. And
- 8:10you need runway. Alerts well before expiry. If
- 8:14your alert fires 24 hours before expiry, you
- 8:18are still basically doing incident response.
- 8:20If it fires 30 days before expiry, you can fix
- 8:24weird edge cases like DNS changes, migrations,
- 8:27or validation issues calmly. Now, the do this
- 8:31Monday pass. Pick your top three engineering
- 8:33org blockers. These are not always customer facing.
- 8:37Often they're internal systems that block shipping.
- 8:40Artifact Registry, Git Host, CI Endpoint, SSO
- 8:44Login, Webhook Receiver, Package Download Host,
- 8:48any of those. For each one, answer. Do we have
- 8:51external monitoring for cert expiry and chain
- 8:54validity? Does it alert at least 14 days out,
- 8:58ideally 30? Is there an owner written down? Do
- 9:01we know where to fix it if renewal breaks? If
- 9:04the answer is no, that's a cheap reliability
- 9:06win you can fix without rewriting anything. And
- 9:09if you want a meta lesson, certs are one of those
- 9:13dependencies where the failure is so preventable
- 9:15that it's painful. Which is why teams tend to
- 9:18overcut corners until they get burned. Don't
- 9:22wait for the burn. Story 3 helm chart reliability
- 9:29prequel reviewed 105 popular open source helm
- 9:33charts and they found the average reliability
- 9:35score was roughly 3 .98 out of 10 with a median
- 9:39around 4 out of 10. their point isn't helm is
- 9:42bad it's that many charts ship demo friendly
- 9:45defaults not reliability -friendly defaults.
- 9:49This matters because charts aren't just packaging.
- 9:52They encode operational behavior, readiness and
- 9:55liveness, resource requests, update strategies,
- 9:59disruption behavior, security contexts, sometimes
- 10:02topology and scheduling assumptions. So when
- 10:06you install a chart, you are adopting a set of
- 10:08operational opinions whether you realize it or
- 10:11not. Here's how this bites teams. A chart has
- 10:13no resource requests. In dev, it looks fine.
- 10:17In prod, under pressure, it becomes unpredictable.
- 10:20Pods are throttled, get evicted, or get starved.
- 10:24Probes are missing or sloppy. Traffic gets routed
- 10:27to pods that aren't ready. Or probes are too
- 10:30aggressive and under load, they trigger restarts.
- 10:34no pod disruption budget, no topology spread.
- 10:38And then routing node maintenance becomes a cascading
- 10:41outage. Everything was highly available until
- 10:44you drained a node and lost a majority of replicas
- 10:47in one place. Unsafe update strategy and rollouts
- 10:50turn into brownouts. And the worst version is
- 10:53when Kubernetes says everything is green while
- 10:56your app is melting. That's where chart defaults
- 10:59turn into long incident timelines. So what do
- 11:02you do without forking every chart? You create
- 11:05a baseline overlay and a checklist. Baseline
- 11:08overlay is a thin layer in your GitOps repo or
- 11:12Terraform or Helm release config where you enforce
- 11:15defaults. Resources required. Probes required.
- 11:19Explicit update strategy. PDB when appropriate.
- 11:23Spread constraints if the service needs real
- 11:26availability. security context that matches your
- 11:29cluster policy. And the checklist is just does
- 11:33this chart behave predictably under rollout,
- 11:36under node drain, under load spike. Now, the
- 11:39do this Monday pass. Pick one chart you run in
- 11:43production that matters. The one that would page
- 11:45if it went sideways. Open its values and answer.
- 11:49Are resource requests set? Are probes set and
- 11:52meaningful? Do we have safe rollout behavior?
- 11:55Do we have disruption behavior planned? Will
- 11:58replicas spread across failure domains, or can
- 12:01they all land on one node? What happens if a
- 12:04node gets drained? If you can't answer quickly,
- 12:08that's your signal. Add the defaults, document
- 12:10them, and move on. You don't need perfect charts.
- 12:14You need boring, predictable behavior. Now, N8n.
- 12:21And this is new. Hacker News covered two high
- 12:24severity vulnerabilities in N8n discovered by
- 12:27JFrog. The short version is these flaws can let
- 12:30authenticated users escape the sandbox and execute
- 12:34code. One is in the expression sandbox and the
- 12:38other involves Python code execution in internal
- 12:41mode. Here's the important part. People hear
- 12:44authenticated and they relax. In workflow automation
- 12:48platforms, the permission model is often broader
- 12:51than you think. Authenticated can include a lot
- 12:54of people who can build or edit workflows. And
- 12:57in tools like N8N, workflow editing is basically
- 13:00code execution. Because workflows can evaluate
- 13:04expressions and interact with credentials. So
- 13:07this isn't, oh no, an attacker needs an account.
- 13:10The real question is, who in your org has an
- 13:13account? And what can their workflows touch?
- 13:16And what makes this class of bug extra painful
- 13:18is these tools often sit in the middle of your
- 13:21environment holding keys. Slack, GitHub, Jira,
- 13:25AWS keys, database credentials, webhooks, secret
- 13:30managers, all of it. So a sandbox escape is not
- 13:33just someone ran code. It's someone ran code
- 13:36where the keys live. That's why we keep coming
- 13:39back to N8N on this show. It's not because N8N
- 13:43is uniquely bad. It's because the category is
- 13:46high leverage. Okay, practical actions. First,
- 13:50patch. Don't debate it. If you self -host N8n,
- 13:54patch quickly when sandbox escapes drop. The
- 13:57blast radius is too high to slow walk it. Second,
- 14:00reduce who can author workflows. Don't treat
- 14:03workflow editor as a casual permission. Treat
- 14:06it like can run code in a privileged environment
- 14:09because effectively that's what it is. Third,
- 14:12reduce exposure. If your N8n UI is public on
- 14:16the internet, you are playing on hard mode. Put
- 14:19it behind SSO, VPN, IP allow lists, whatever
- 14:24fits your org. You want fewer people able to
- 14:27even reach the attack surface. Fourth, isolate
- 14:30it. If it's holding keys to a bunch of systems,
- 14:33at least give it a narrow runtime permission
- 14:35set. Least privilege on the credentials it uses.
- 14:39Separate credentials per workflow if you can.
- 14:41Don't run it with god mode access to AWS just
- 14:45because it was convenient once. And now the tie
- 14:47back to our last episodes where we talked about
- 14:50N8N CVEs. The theme has been consistent. Workflow
- 14:54automation tools are basically control planes.
- 14:57They need the same operational rigor you'd give
- 15:00to an internal platform. Patch fast, lock down
- 15:03authorship, reduce exposure, least privilege
- 15:07the credentials. If you treat it like just a
- 15:09tool, it will eventually treat you like just
- 15:13a breach. All right, time for the lightning round.
- 15:22First. Use Tusk Fence. It's a lightweight sandbox
- 15:26for running commands that block network by default.
- 15:30If you are experimenting with agents, runbooks
- 15:32that execute, or any workflow where code runs
- 15:35on behalf of a user, this is the kind of primitive
- 15:38you want. Safe by default beats clever by default.
- 15:42Next, HashiCorp agent skills. This is part of
- 15:46a trend I actually like. Vendors shipping structured
- 15:49reusable skills and guardrails instead of just
- 15:52telling you to prompt better and hope. Next,
- 15:55Marimo. It's a reactive Python notebook that
- 15:58stores as normal Python. That sounds small, but
- 16:02it matters because Git -friendly notebooks are
- 16:04actually useful for incident analysis, runbooks,
- 16:08or one -off ops experiments you want to keep
- 16:11without the notebook JSON misery. And a quick
- 16:14one from the register, the Ralph Wiggum clawed
- 16:17loop story. It's funny, but the real point is
- 16:20dead serious. People are already building loops
- 16:23that keep agents running until they produce output.
- 16:26Without constraints and verification, that becomes
- 16:29confident nonsense at scale. The ops lesson is
- 16:33the same as alert fatigue. If your system floods
- 16:36you with low -quality output, humans stop trusting
- 16:39it. Okay, time for the human closer. Every story
- 16:49today is a glue failure. CI trigger logic becomes
- 16:53security boundary and someone implemented it
- 16:55like it was just config. Cert renewals were treated
- 16:58like solved and then the cliff happened. Charts
- 17:02were treated like installers, not operational
- 17:04dependencies. And workflow automation tools are
- 17:07treated like a convenience layer even though
- 17:10they hold the keys. So the takeaway isn't stop
- 17:13using tools. It's treat guardrails like product
- 17:16work. Make untrusted pipelines truly untrusted.
- 17:19Make cert monitoring external and owned. Make
- 17:23helm baselines explicit. Make workflow authoring
- 17:26privileged. Make credentials least privileged.
- 17:30Because if you only build accelerators, you are
- 17:33not building a better platform. You are just
- 17:35building a faster incident. All right, time for
- 17:38a quick recap. We talked about code breach and
- 17:41why CI triggers and filters are real security
- 17:44boundaries. We talked about Bazel and the CertCliff
- 17:47problem. And we talked about Helm chart reliability
- 17:50and why defaults matter more than installs. And
- 17:54we talked about the new N8n sandbox escape flaws
- 17:58and why workflow automation needs to be treated
- 18:01like a control plane. The lightning round was
- 18:04Fence, HashiCorp Agent Skills, Marimo, and The
- 18:08Agent Loop Cautionary Tale. Links and show notes
- 18:11are on shipitweekly .fm. If you got something
- 18:14out of this, follow the show wherever you are
- 18:17listening. And if you can, leave a quick rating
- 18:19or review. It helps a ton. I'm Brian, and I'll
- 18:22see you next week.