Category: Security Trends & Tech

AI Coding Agents That Ship Their Own Code: Early but Real, If a Human Owns the Merge

AI Coding Agents That Ship Their Own Code: Early but Real, If a Human Owns the Merge

On February 17, 2026, at 3:26 AM Pacific time, someone published cline@2.3.0 to npm. Nobody at Cline pushed that button. The token came from a chain that started with an AI triage bot reading a GitHub issue title, and the package sat on npm for about eight hours. Its postinstall line only installed another tool, and Cline says no user data was touched. The next attacker won’t be that polite.

It matters more this week because agents got closer to the merge button. On November 23, 2026, Anthropic launched Claude Ship: a review agent (generally available), PR Steward, a beta that fixes failing CI and review comments by pushing commits, and Claude Approvals, a beta that can post an approving review under a policy file in your repository. GitHub has been moving the same way. Claude Ship is my example because it’s the newest; GitHub’s Copilot cloud agent and OpenAI’s Codex sit in the same category.

At a glance

What it isAI agents that commit, push, open pull requests, answer review comments and fix CI without a person typing each step, and now sometimes approve
KindTrend
MaturityEarly adoption (agent-drafted pull requests are common; agent approval is in beta or preview)
Who should careAnyone who owns a GitHub or GitLab organization, CI/CD secrets, branch protection or a package you publish
VerdictEarly but real
Read time7 minutes

What’s actually changing

The volume is real. GitHub’s Octoverse, published October 28, 2026, counts a pull request as agent-started when its first draft came from a coding agent GitHub can detect. On that definition, agents went from 17% of pull requests in March 2026 to more than 40% in September, about 110 million that month. GitHub also says agent pull requests merged within two weeks at 90% in September, against about 86% for the rest. Keep in mind who is counting: GitHub sells one of these agents.

The second change is the approval step. On September 1, 2026, GitHub put Copilot code review approvals into public preview: off by default, but once on, Copilot’s approval counts toward the repository’s required approvals. Anthropic’s docs say the same of Claude Approvals: its approving review can meet a GitHub rule that requires one approval. In March, GitHub also added a setting that lets admins skip the human approval before workflows run on Copilot’s pull requests. The default still asks a human.

The third change is the attack record. Adnan Khan disclosed the Cline chain on February 9, 2026: any GitHub user could trigger the triage bot, which had shell access, the issue title went straight into the prompt, and a shared Actions cache let that job poison the release job holding the npm token. Cline then deleted the wrong npm token, which is how the February 17 publish happened. On April 15, 2026, Aonan Guan and two Johns Hopkins researchers showed “Comment and Control”: crafted PR titles, issues and hidden HTML comments got Anthropic’s security review action, Google’s Gemini CLI action and GitHub’s Copilot agent (once a victim assigned it the issue) to leak keys or tokens. GitHub called its part an architectural limitation. In June, GMO Flatt Security and Microsoft published two more ways to pull secrets out of Claude’s GitHub Action. Each reported path was patched, though the Flatt researcher describes follow-up bypasses from February to April.

Timeline of six dated events from February to November 2026: the unauthorized Cline npm publish, GitHub's option to skip workflow approval for Copilot, the Comment and Control disclosure, Copilot code review approvals, Octoverse reporting agents start more than 40% of pull requests, and the Claude Ship launch
2026 in six dates: agents gained the approval path while researchers kept pulling secrets out of them. Sources: Adnan Khan, Cline, GitHub, Aonan Guan, Anthropic.

The best independent test I found is GitInject (arXiv v2, November 2, 2026), which ran 11 attack scenarios against live GitHub Actions workflows from Anthropic, OpenAI, Google and Cline. Every provider fell to at least one high-severity attack in the tested setups. The worst class was a CLAUDE.md, AGENTS.md or GEMINI.md file in the attacker’s branch, loaded as trusted instructions.

How it works

Every one of these agents reads text from places anyone can write to (issue titles, PR bodies, comments, CI logs, config files in the branch), decides with a model, and acts with credentials: a GitHub App token, a CI secret, an API key. The old pipeline had the same inputs and tokens. What’s new is that a model, not a person, sits between the untrusted text and the token, and a model treats that text as context to follow. OWASP’s Top 10 for Agentic Applications (December 9, 2025) names the pieces: ASI01 Agent Goal Hijack, ASI02 Tool Misuse, ASI03 Identity & Privilege Abuse, ASI04 Agentic Supply Chain Vulnerabilities.

Before and after table comparing a human-driven pull request with an agent-driven one across five steps: who writes the change, who reads untrusted text, where credentials live, who fixes CI, and who approves
What moves when an agent ships the code: the same pull request, with the untrusted text and the credentials now in front of a model.

The platforms answer with the same few controls. Copilot cloud agent pushes only to its own branch unless started on an existing pull request, can’t approve or merge its own work, ignores comments from users without write access, and needs one more approval when a pull request isn’t attributed to a person. Anthropic keeps PR Steward’s GitHub token outside its sandbox and refuses approvals, branch protection edits and tag pushes at its service. Merging, auto-merge and force-push are left to your branch rules plus a text match and a model’s judgment, and the docs admit a command written another way can pass both. Codex blocks internet access during the agent phase by default. GitHub’s Agentic Workflows go furthest: a read-only agent job, writes staged and checked after it exits, and zero access to secrets as the design goal.

Where it helps, and where it doesn’t

Real wins. Fixing red CI and stale review comments is boring work, and agents do it fast. Anthropic says merged pull requests on its Claude Code team more than doubled from June to September while the share reverted fell by more than 40%, an internal claim with no method published. Copilot’s commits are signed, co-authored by whoever assigned the work, and linked to a session log, which to me beats a shared personal access token.

Real limits.

  • Prompt injection isn’t fixed, it’s fenced. In Comment and Control, Anthropic said its security review action “is not designed to be hardened against prompt injection.” Flatt Security’s researcher says he has reported about 50 permission bypasses to Anthropic. Vendors patch each path. The class stays.
  • Bot approvals can quietly replace the second human. Anthropic’s docs list the ways a pull request can merge without human review: seats: 0, seats: 1 that the author fills, a machine user counted as a person, files no rule covers. A policy condition that reads a classifier can also be steered by the PR author’s own text.
  • Auto-merge closes the loop. The docs warn that with auto-merge or a merge queue and a policy that needs no person, “a change can merge without anyone acting.”
  • Review is already fast. A Notre Dame study of 33,596 agent pull requests (2025 data) found a median review time of 0.11 hours for non-security agent PRs, against 3.92 hours for security ones. The authors stress this measures reviewer scrutiny, not whether the code was secure.
  • Controls cost something. In GitInject’s tests, an author-association filter let 0 of 9 attacks through but broke one of five normal tasks, and config-file judgment manipulation survived every control tested. PR Steward has no spend limit until you set one.

What it means for you

Small team / SMB: evaluate, with one rule. An agent fixing CI on your own pull requests is fine. One that runs on events strangers can create (issues, fork PRs, comments) while holding a publish token is not. First step: search your workflows for AI actions and settings such as allowed_non_write_users: "*", and pull publish secrets out of any job that feeds issue or PR text to a model.

Mid-size or enterprise: start now on the controls, pilot the agents. Write down your two-person rule before a policy file rewrites it. On default branches, require one approval from a human who isn’t the author, keep agent apps off every bypass list, dismiss stale approvals, and leave the workflow-approval gate for agent PRs on. Apply the Agents Rule of Two that Microsoft’s post recommends: no workflow should read untrusted input, hold secrets and write or call out at once. Ask any vendor:

  • Where does the token live, and can the agent’s own process read it?
  • Whose comments and which repo files reach the model, including CLAUDE.md or AGENTS.md from the PR branch?
  • Can the agent push to workflow files, other branches, or tags?
  • Can its approval count toward required reviews, and can I turn that off centrally?
  • Which audit events show what the agent read, ran and pushed?

Practitioners and learners: start now. Read the Clinejection write-up and the GitInject defense table. Then build a throwaway repo with an AI action, open an issue from a second account, and watch what the agent does.

My take

Early but real. The agents work and the volume is huge, so “wait” isn’t serious advice. But the security model is still patched one bypass at a time, and the newest step, a bot approval that satisfies branch protection, changes something we’ve treated as fixed for years: the second person on the merge. I don’t object to a model reviewing code. I object to it counting as the human.

I’d move this to Ready now if platforms made “one human who isn’t the author” the enforced default on agent-written pull requests and kept secrets out of agent runtimes by design, the way GitHub’s Agentic Workflows try to. I’d call it Overhyped if independent data showed agent PRs reverting or breaking things more often than human ones. Prediction, and this is opinion: by the end of 2027 at least one widely used package will be published with malicious code through an AI agent that approved or merged its own change, and that incident, not a standard, will make human-only approval the default.

Further reading on netsec101

Sources

Shorter TLS Certificate Lifetimes in 2027: Your Next Outage Is Already Scheduled

Shorter TLS Certificate Lifetimes in 2027: Your Next Outage Is Already Scheduled

In 2017, a device that was supposed to watch Equifax’s encrypted traffic sat blind because its certificate had expired. According to the House Oversight Committee’s December 2018 staff report, it had been inactive for 19 months (the GAO had said ten). When Equifax renewed it on July 29, 2017, it “immediately noticed suspicious web traffic”. The report counted at least 324 expired SSL certificates at the company. Nobody broke the crypto. Somebody forgot a date.

That kind of forgetting is about to get much more expensive. On October 7, 2026, Let’s Encrypt said its default certificate lifetime drops from 90 to 64 days on February 10, 2027, which is 75 days from today. Five weeks later, on March 15, 2027, the CA/Browser Forum’s Baseline Requirements cap every publicly trusted TLS certificate at 100 days, and in March 2029 the cap reaches 47. If any of your renewals still depend on a person, a calendar reminder or a cron job with a number baked into it, your next certificate outage is already on the calendar.

At a glance

What it isA scheduled cut in the maximum lifetime of public TLS certificates, from 398 days to 47 days by March 15, 2029, plus much shorter reuse of domain validation
KindTrend
MaturityMainstream (binding on every publicly trusted CA)
Who should careAnyone who runs a public website, API, load balancer, VPN portal or appliance with a publicly trusted certificate
VerdictTable stakes
Read time7 minutes

What’s actually changing

The rule comes from CA/Browser Forum Ballot SC-081v3, which passed on April 11, 2025. Apple proposed it, and Sectigo, Google Chrome and Mozilla endorsed it. Certificate issuers voted 25 yes, 0 no and 5 abstentions; all four browser and OS root programs (Apple, Google, Microsoft, Mozilla) voted yes.

The ballot page gives only the end state, so I read the interim dates off the current TLS Baseline Requirements (version 2.3.1, dated October 4, 2026):

  • March 15, 2026: maximum validity 200 days, domain validation reuse 200 days (already in force).
  • March 15, 2027: maximum validity 100 days, domain validation reuse 100 days.
  • March 15, 2029: maximum validity 47 days, domain validation reuse 10 days.

Let’s Encrypt is moving ahead of that schedule (posts of December 2, 2025 and October 7, 2026). Staging has issued 64-day certificates since October 14, 2026. The default becomes 64 days on February 10, 2027, and it expects the last 90-day certificate to expire on May 11, 2027. Authorization reuse (how long a proven domain control stays valid for new orders) drops from 30 days to 10. On February 16, 2028, the default goes to 45 days and authorization reuse to seven hours. Existing certificates are not revoked.

Timeline of public TLS certificate lifetime milestones from the 200-day cap in March 2026 to the 47-day cap in March 2029, including Let's Encrypt's 64-day and 45-day defaults
Dates from the CA/Browser Forum TLS Baseline Requirements v2.3.1 and Let’s Encrypt (October 7, 2026 and December 2, 2025).

Do the arithmetic for a team that installs one-year certificates by hand: one renewal per site per year becomes roughly eight at a 47-day cap, and from 2029 each one needs fresh domain validation inside a 10-day window. Manual renewal does not scale down to that.

How it works, and why the industry wants it

The ballot’s rationale is blunt. A certificate is “a point in time state of reality”, and that reality decays: a domain can change hands, or a third party can gain control of a key, while the certificate stays valid. Revocation was supposed to fix that. The ballot says “relying solely on revocation is untenable”: growth “can and does overwhelm existing infrastructure”, status services are “often inconsistent”, and checking them slows page loads or gets abandoned. Let’s Encrypt shut down its OCSP service on August 6, 2025, citing privacy and cost, and now publishes revocation only through CRLs. Shorter lifetimes shrink the window in which a bad certificate stays trusted, whether or not anyone revokes it. The ballot also cites crypto agility: shorter lifetimes make it easier to move between algorithms. My own reading is that this will matter for the post-quantum migration.

The tooling that makes this survivable already exists. ACME (RFC 8555, March 2019) lets a client prove domain control and get a certificate with no human involved. What’s new is ACME Renewal Information, or ARI (RFC 9773, June 2025). Instead of the client guessing “renew 30 days before expiry”, the CA publishes a suggested renewal window for each certificate. The client no longer has to assume a fixed renewal period, and RFC 9773 even describes a CA suggesting renewal ahead of a mass-revocation event. Let’s Encrypt says that if your client supports ARI, “you should be all set”.

Five-step flow of automated certificate renewal: the client asks the CA for a renewal window with ARI, completes an ACME challenge, receives the certificate, deploys and reloads it, and alerts on failure
ARI (RFC 9773) is the new step: the CA tells the client when to renew instead of the client guessing.

Where it helps, and where it doesn’t

Where it helps. Automation makes surprise replacements much cheaper. In July 2024 DigiCert found an issue affecting about 0.4% of its applicable domain validations, and under CA/B rules the affected certificates had to be revoked “within 24 hours”. Its incident page walked customers through logging in, generating a new CSR, reissuing and installing each certificate. With ARI, a CA can suggest an early renewal window and a client can act on it without a human. In my view, the machinery that handles 47-day lifetimes is the same machinery you want for a surprise mass revocation.

Where it doesn’t. The limits are real, and most of them are inside your own network:

  • Hard-coded intervals. Let’s Encrypt tells subscribers to search cron jobs, wrapper scripts and runbooks for 83, 80 or 60. A job that renews on day 80 of a 64-day certificate renews after it has expired. Its advice is to renew at about two-thirds of the lifetime, or use ARI.
  • Appliances and load balancers. Many firewalls, VPN gateways, load balancers and storage consoles take a certificate through a web upload or a vendor-specific API. Without an ACME client or deploy hook, someone pastes a PEM file, and that someone goes on holiday. In my experience, getting the certificate onto the box is where renewals fail, not getting it from the CA.
  • Embedded, IoT and OT. Devices that ship with a public certificate and no update path will simply expire. Ericsson’s December 6, 2018 statement initially traced a mobile core outage in multiple countries to “an expired certificate” in two software versions of its SGSN-MME nodes. My inference: a certificate shipped inside software or firmware is an expiry date you can’t change without an update.
  • Pinning. Mobile apps and clients that pin a specific leaf certificate or key break every time it rotates. Pin to a CA or a key you control, or stop pinning.
  • Internal CAs are out of scope. The Baseline Requirements cover certificates for servers accessible through the Internet. Your private CA is not bound by the schedule. That isn’t a relief: nothing in a public rule will force you to inventory those certificates either.
  • Automation is not a cure-all. The ballot itself says so. An expired DNS API credential or a firewall rule that blocks the HTTP challenge fails quietly. Without alerting, you just find out more often.

What it means for you

Small team / SMB: start now

List every public hostname you own (Certificate Transparency logs will show ones you forgot) and who renews each one, and how. Anything on Let’s Encrypt with a current ACME client: check that the client supports ARI and remove fixed-day schedules. Anything renewed by hand from a commercial CA: move it to ACME before March 15, 2027, or plan on about four renewals a year from then on. Add an expiry monitor that alerts on any public certificate with fewer than 14 days left.

Mid-size or enterprise: start now

Treat this as a project with an owner and a date. Build the inventory from CT logs (what is public), network scans (what is served) and CA billing (what you pay for). Sort by how the certificate reaches the endpoint: ACME native, ACME with a deploy hook, vendor API, or manual. The manual group, usually appliances, is your 2027 outage list. Ask each appliance vendor in writing whether it supports ACME or an API for certificate import and reload. Test against Let’s Encrypt staging or your CA’s short-lifetime option before February 10, 2027. Set internal PKI lifetimes on purpose, separately.

Practitioners and learners: start now

Point an ACME client at the Let’s Encrypt staging environment on a lab domain and watch a full renewal: challenge, issuance, reload. Then check whether your client uses ARI. Knowing why a renewal failed at 2 a.m. will be a useful skill for years.

My take

Table stakes, and it isn’t a close call. The schedule is in the standard every public CA must follow, no CA voted against it, the protocols are done, and Let’s Encrypt has dated its defaults. Nothing here asks you to adopt something new. It asks you to stop doing renewals by memory.

Shorter lifetimes alone don’t make you safer. The gain comes from using the pressure to build an inventory and an alert. Teams that meet the deadline by throwing more people at manual renewals get the cost without the benefit.

What would change my mind: a new ballot that delays the 2027 or 2029 steps, or root programs carving out exceptions for device classes. As of November 27, 2026, the October 4, 2026 Baseline Requirements still carry the dates, and my search of CA/B Forum ballots found no proposal to delay them. I did not find any root-program exception either, but I can’t rule one out.

My prediction, and it is only an opinion: by the end of 2027, at least one well-known service will have a public outage traced to a renewal job that assumed 90-day certificates, and the post-mortem will mention a load balancer.

Sources