# Hackerbot-Claw Is Exploiting GitHub Actions in the Wild: What SMB Engineering Teams Should Do This Week

- Canonical: https://www.baristalabs.io/blog/hackerbot-claw-github-actions-security-smb-playbook
- Published: 2026-03-01
- Author: Sean McLellan
- Excerpt: StepSecurity documented an active campaign where an autonomous bot exploited GitHub Actions across major open source repos. Here is what happened, what is verifiable, and the practical hardening checklist for SMB teams.

AI Development

Sean McLellan

Lead Architect & Founder

March 1, 2026 6 min read

There is a dangerous shift happening in software supply chain security: automated attackers are now probing CI/CD workflows continuously, not occasionally.

According to StepSecurity's incident report, an account called [hackerbot-claw](https://github.com/hackerbot-claw) ran a week-long campaign targeting GitHub Actions workflow weaknesses across high-profile repositories, including projects linked to Microsoft, DataDog, CNCF, and other large open-source maintainers. Their report describes multiple successful exploit paths and at least one case of token exfiltration with write permissions.

If your business ships software with GitHub Actions, this is not "big-tech-only" news. The attack methods are mostly workflow design flaws that appear in SMB repos all the time.

## What is verifiable from the primary report

StepSecurity documents activity between Feb 21 and Feb 28, 2026, including:

- Multiple pull requests opened by the attacker across target repositories
- Several different exploitation techniques used (not just one payload pattern)
- A repeated payload delivery pattern involving `curl ... | bash`
- A case in `avelino/awesome-go` where a `GITHUB_TOKEN` with write scopes was reportedly exfiltrated
- A prompt-injection attempt against an AI code review workflow in `ambient-code/platform`, where Claude reportedly detected and refused malicious instructions

Primary source: [StepSecurity incident report](https://www.stepsecurity.io/blog/hackerbot-claw-github-actions-exploitation).

Signal source that amplified the report: [AISecHub post on X](https://x.com/AISecHub/status/2028117709452452020).

## Why this matters for SMB teams

Most SMB engineering teams are fast-moving and understaffed. That usually leads to "it works, ship it" workflow patterns that quietly increase CI/CD blast radius:

- Over-permissioned `GITHUB_TOKEN`
- `pull_request_target` used without strict guardrails
- Script execution paths that include untrusted input
- Slash-command workflows (`/format`, `/sync-metadata`, etc.) with weak authorization checks

The Hackerbot-Claw campaign matters because it shows these are now being tested at scale by automation. You are no longer waiting for a manual attacker to notice your repo.

Practical next step

Before this becomes a project, check the pilot risk.

If this article has you thinking about an AI agent inside a real workflow, start with the boring questions first: who approves the action, what data can the agent see, where does a human stay in the loop, and how will you know the pilot worked? BaristaLabs can use those readiness questions to help pressure-test a practical first pilot before you scope a build.

[Review pilot readiness with BaristaLabs](https://www.baristalabs.io/contact?offer=ai-pilot-readiness-checklist&placement=inline&source=blog&slug=hackerbot-claw-github-actions-security-smb-playbook)

Built for automation, agent, and compliance conversations. No PHI or sensitive workflow data required.

## The three workflow mistakes to audit first

### 1) Untrusted code execution under privileged triggers

The highest-risk pattern is running fork-originated code in a `pull_request_target` workflow with elevated token permissions. This is the classic "Pwn Request" class of flaw.

**Action:** Audit every workflow using `pull_request_target`. If it checks out PR head code and executes scripts/build steps, treat it as critical risk until proven safe.

### 2) Unsanitized expression interpolation inside shell commands

StepSecurity's examples include injection via branch names and filenames where `${{ }}` values are inserted into shell contexts without sanitization.

**Action:** Move GitHub expression values into environment variables and quote defensively. Avoid direct interpolation into shell command strings.

### 3) Over-scoped workflow token permissions

If a quality check only needs read access, write permissions are unnecessary risk. In the reported token exfiltration case, write scopes materially increased impact.

**Action:** Set explicit least-privilege `permissions:` blocks per workflow. Default to read-only and grant write scopes only when required.

## A practical one-week hardening plan

If you have a small team, this is a realistic sequence:

**Day 1: Inventory and classify workflows**

- List all workflows and triggers
- Flag `pull_request_target`, `issue_comment`, and external-input paths

**Day 2: Lock down triggers and permissions**

- Add `author_association` checks where slash commands can trigger automation
- Reduce token permissions to minimum viable scopes

**Day 3: Sanitize script boundaries**

- Refactor shell steps that interpolate branch names, filenames, PR metadata, or comments
- Prefer structured parsing over shell expansion where possible

**Day 4: Add egress awareness**

- Monitor or restrict outbound network calls from CI runners
- Alert on unexpected domains contacted during workflow execution

**Day 5: Exercise incident response**

- Rehearse token revocation and workflow disablement
- Document who can freeze pipelines and rotate secrets quickly

## AI in CI is both force multiplier and attack surface

One of the most important details in this campaign is the attempt to influence an AI code reviewer via a poisoned repository instruction file. Whether you use Claude Code, Copilot flows, or internal LLM automation, this changes your threat model.

Treat AI assistants in CI as privileged automation components:

- Scope their permissions tightly
- Isolate untrusted inputs from trusted instruction channels
- Log what they were asked to do and what they actually executed

The upside is still real, but "AI-enabled development" now requires "AI-aware security controls."

## Bottom line

The Hackerbot-Claw campaign is a preview of the near future: autonomous bots scanning for CI/CD misconfigurations continuously, across thousands of repos.

For SMB teams, the takeaway is simple: GitHub Actions hardening is no longer optional hygiene. It is a core reliability and risk-control function for your software business.

If you run production pipelines on GitHub, do the one-week hardening sprint now instead of after an incident.

---

*Need help hardening your AI-enabled engineering workflows? [Contact Barista Labs](https://www.baristalabs.io/contact) for a practical CI/CD security review tailored to small and mid-sized teams.*

AI Pilot Readiness Checklist

Turn the idea into a pilot you can defend.

AI agent articles are easy to bookmark and hard to operationalize. Use the readiness questions as a shared way to decide whether a workflow is specific enough, safe enough, and measurable enough to pilot. If they surface a strong candidate, BaristaLabs can review it with you and help shape a first version that fits your systems, approval process, and risk tolerance.

[Turn this into a pilot plan](https://www.baristalabs.io/contact?offer=ai-pilot-readiness-checklist&placement=end&source=blog&slug=hackerbot-claw-github-actions-security-smb-playbook) [Talk through a pilot candidate with BaristaLabs](https://www.baristalabs.io/contact?offer=ai-pilot-readiness-checklist&intent=pilot-readiness-review&placement=end&source=blog&slug=hackerbot-claw-github-actions-security-smb-playbook)

Please do not submit PHI, customer records, credentials, or confidential workflow exports.

Practical AI Workflow Notes

## Enjoyed this? Get our plain-English workflow notes.

We send occasional short notes on putting AI to work in everyday operations, from taming messy documents and customer follow-ups to simple reporting and safety guardrails.

Email address

Send me the notes

A relaxed way to stay in touch if you're still exploring and aren't ready to chat yet.

Occasional emails with practical ideas only. Unsubscribe anytime.

Next step

## Turn this into a practical AI roadmap

Bring the idea from this article into a focused next step for your site, workflow, or team.

[Talk through your AI roadmap](https://www.baristalabs.io/contact?placement=sidebar&source=blog&slug=hackerbot-claw-github-actions-security-smb-playbook)

- Define the workflow, decision, inputs, review path, and evidence before a larger commitment.

![Sean McLellan profile photo](https://www.baristalabs.io/profile-sean-mclellan.jpg)

## Sean McLellan

Lead Architect & Founder

Sean McLellan is the founder and lead architect at BaristaLabs. He brings more than two decades of software architecture experience to BaristaLabs products and client work for small teams. Client work starts with an assessment of one workflow. Fixed-scope discovery then defines a bounded pilot, explicit human-review boundaries, and the source-traceable proof needed for the next decision.

[More articles by Sean McLellan](https://www.baristalabs.io/authors/sean-mclellan)

[Twitter](https://twitter.com/seanmclellan) [GitHub](https://github.com/seanmclellan)
