Illustration: a hand holds a phone. Chat: "Node 22. How long to patch production?" Answer: "27 minutes. You approve each step."
Created by Cursor

Intro

Last Friday, on the road, I read about the October Node.js security release: 10 CVEs in the 22.x line, including a remote-code-execution bug in the Brotli decoder. My question was simple: are we affected?

Normally, answering that and shipping a fix means going to the office, opening the notebook, and switching between the repo, Jira, Jenkins and the Kubernetes cluster. This time I opened the Claude app on my iPhone instead.

27 minutes later, production was patched.

The situation

vocon cloud is a small SaaS with real, paying users. It isn’t critical infrastructure, but an outage or a compromise costs reputation and revenue.

The vulnerable runtime sat in a public-facing service, in front of hundreds of active users. I had three options:

  1. Patch now, from the phone, with Claude. Fast, but an AI touches production.
  2. Patch tonight, at the desk. Hours of exposure to a known remote-code-execution bug.
  3. Shut the service down. Safe, but that also needed the office, and it means downtime for paying users.

The risk of a late patch was higher than the risk of letting Claude do the job, as long as I stayed in control.

What actually happened

I used Claude Code Remote Control: the Claude Code session runs on my notebook in the office, and the iPhone app is just the chat window. Every command ran on that notebook.

Start of my conversation with Claude running on my office notebook via smartphone using Claude remote-control
Start of my conversation with Claude running on my office notebook via smartphone using Claude remote-control

The conversation, in short:

  • Me: Which Node version does our frontend use? There’s a current vulnerability.
  • Claude: Checked the Dockerfile and the image: v22.22.3. The fix starts at 22.23.4. Yes, we’re affected. It also reminded me of something I had forgotten: we had pinned Node to that version on purpose, because newer versions break our CI on the old CentOS 7 DEV nodes. So it suggested patching only the stage that ships.
  • Me: Let’s go for option 1.
  • Claude:
    • Created the Jira ticket with sub-tasks
    • Changed the Dockerfile: only the stage that ships moves to the new pin
    • Verified the pin, pushed a branch, opened the pull request
    • Watched the Jenkins CI build
  • Me: Even if the unit tests fail, the image gets built. Since this is a severe vulnerability, can we use it on production right away? And, picking up Claude’s earlier hint: won’t the new version break on our old CentOS DEV nodes, too?
  • Claude: Confirmed the incompatibility. Node 22.23+ fails certain file writes on kernel 3.10. Before deploying, it wanted to check which OS production runs on.
  • Me: With prod, I mean Helsinki, our new production cluster. It runs Ubuntu, so the problem doesn’t apply there.
  • Claude:
    • Deployed via the Jenkins CD job. The first rollout timed out: Claude had passed the full image name where Jenkins expects only the tag.
    • Read the pod state, found its own mistake, and redeployed.
    • Verified node -v in both live pods, checked the logs for errors, and checked that the site answers.
  • Me: To be sure, scale the old Europe frontend to 0. Done. That shut down two old, unpatched pods that no longer received traffic anyway.

I gave about five short hints. Claude did the rest. It felt like chatting with a capable colleague who knows our environment.

I dictated via Siri. “CentOS on DEV” arrived as “SOS on deaf”. Claude still got it: it knew which old servers I meant.

The next morning, from the same chat, I asked for the npm security audit. Claude fixed the two critical findings: remote-code-execution bugs in Next.js and sanitizer bypasses in DOMPurify. On the way it also found a broken pricing link and filed it in Jira.

Why it worked: I had onboarded Claude like a new hire

This wasn’t a magic prompt. Over the last months I’ve given my local Claude Code what a new employee needs:

  • Access: the Kubernetes clusters, Bitbucket, Jira and Jenkins, each through a credential file or an MCP server
  • Context: an Obsidian “Second Brain” with project notes, runbooks and past decisions, plus an AGENTS.md that tells every AI tool where to find them
  • Lessons learned: a memory of past mistakes, for example “the Jenkins parameter expects only the image tag”. After this hotfix, Claude added that note itself.

Without that setup, the same model would have asked me a dozen questions I couldn’t answer from my phone.

Guardrails

An AI with production access from a phone sounds risky. Here is what kept it under control:

  • Network: the systems accept connections only from my office network, and the production cluster sits behind a firewall allow-list. The iPhone never talks to production. It only talks to the Claude session on my notebook.
  • Permission checks: Claude Code’s auto mode blocked two of Claude’s commands along the way, even though they only read data. Claude stopped and asked instead of finding a workaround.
  • Human in the loop: I made every decision that mattered. Claude stated what it would do before doing it.
  • Paper trail: a Jira ticket with sub-tasks, a pull request, a Jenkins build and a deploy job. Everything is traceable and reviewable.

Next time: from lucky catch to pipeline

This time I was lucky: I happened to read about the vulnerability my Jenkins build did not catch automatically: we have implemented an npm security audit, but this did not include the detection of vulnerabilities in the container runtime. Reading about a vulnerability and asking Claude about it is not a process. The time from disclosure to a working exploit keeps shrinking, and attackers use AI too. So the next vulnerability should reach me differently:

  1. Detect: our Docker images should be scanned continuously, not just at build time. A new critical CVE gets flagged within hours, not whenever I happen to read about it.
  2. Alert: a Slack or Discord message should tell me what’s affected and how severe it is.
  3. Prepare: an AI agent opens the Jira ticket and drafts a mitigation plan, before I’ve even read the alert.
  4. Review: I review and adapt the plan, from my phone if need be.
  5. Execute under supervision: the AI runs the steps we did on Friday. I approve each major step, because it’s production.
  6. Verify and document: live checks, a Jira summary, lessons learned.

What’s still open

  • Accountability per tool. Today Claude acts with my own credentials. Next step: separate credentials for each tool, so every action by the AI is clearly attributable to the AI.
  • Cleanup. The hotfix branch including the npm security fix still needs its final review and merge.
  • The pipeline above. Two Jira tickets are at the top of our backlog: automatic detection of vulnerable Docker images, and the automated response from alert to supervised rollout.

Takeaways

  • Onboard your AI agent like a new hire: access, context, and written-down lessons. That’s the difference between a chatbot and a colleague.
  • Weigh the risk of the AI against the risk of waiting. For a known RCE, waiting was the bigger risk.
  • Keep the agent inside your network, and let your phone be just the chat window.

How would you have handled it? And would a ready-made cloud workstation, where Claude already knows your tools, be useful to you?


First published on LinkedIn on October 24, 2026.

Comments

This site uses Akismet to reduce spam. Learn how your comment data is processed.