惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
Docker
Apple Machine Learning Research
Apple Machine Learning Research
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 三生石上(FineUI控件)
月光博客
月光博客
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
WordPress大学
WordPress大学
Hugging Face - Blog
Hugging Face - Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
M
MIT News - Artificial intelligence
腾讯CDC
B
Blog RSS Feed
H
Help Net Security
J
Java Code Geeks
有赞技术团队
有赞技术团队
Y
Y Combinator Blog
博客园_首页
Last Week in AI
Last Week in AI
博客园 - 【当耐特】
博客园 - Franky
B
Blog
MongoDB | Blog
MongoDB | Blog
博客园 - 叶小钗
Martin Fowler
Martin Fowler

Aikido Security's Blog

GlassWorm goes native: New Zig dropper infects every IDE on your machine Aikido Attack finds multiple 0-days in Hoppscotch The cybersecurity doomerism around Mythos doesn't match what we see on the ground axios compromised on npm: maintainer account hijacked, RAT deployed Popular telnyx package compromised on PyPI by TeamPCP Aikido × Lovable: Vibe, Fix, Ship CanisterWorm Gets Teeth: TeamPCP's Kubernetes Wiper Targets Iran TeamPCP deploys CanisterWorm on NPM following Trivy compromise Security testing is validating software that no longer exists Aikido Recognized by Frost & Sullivan with the 2026 Customer Value Leadership Award in ASPM GlassWorm Hides a RAT Inside a Malicious Chrome Extension fast-draft Open VSX Extension Compromised by BlokTrooper Glassworm Strikes Popular React Native Phone Number Packages Glassworm Is Back: A New Wave of Invisible Unicode Attacks Hits Hundreds of Repositories How Security Teams Fight Back Against AI-Powered Hackers Introducing Betterleaks, an open source secrets scanner by the author of Gitleaks Trump’s 2026 cybersecurity strategy: From compliance to consequence How does AI pentesting work with compliance? What continuous pentesting actually requires Rare Not Random: Using Token Efficiency for Secrets Scanning Persistent XSS/RCE using WebSockets in Storybook’s dev server Why Determinism Is Still a Necessity in Security WAF vs. RASP vs. ADR Introducing Aikido Infinite: A new model of self-securing software How Aikido secures AI pentesting agents by design Astro Full-Read SSRF via Host Header Injection How to Get Your Board to Care About Security (Before a Breach Forces the Issue) What is Slopsquatting? The AI Package Hallucination Attack Already Happening SvelteSpill: A Cache Deception Bug in SvelteKit + Vercel Top 6 Wiz Code Alternatives
Compromised GitHub action codfish/semantic-release-action...
Hunter Schwartz · 2026-06-25 · via Aikido Security's Blog

On Jun 24, 2026, the codfish/semantic-release-action GitHub Action was compromised through an imposter commit attack. An attacker force-pushed two malicious commits into the repository and repointed sixteen tags to them, including the floating major version tags v2, v3, v4, and v5. Any workflow referencing the action by one of those tags will pull and run the attacker's code on its next CI run.

This action has been the standard way to wire semantic-release into GitHub Actions since 2019 and carries over 100 GitHub stars. Workflows that use it for automated releases almost always hold a GITHUB_TOKEN and frequently an NPM_TOKEN with publish access, which is exactly the kind of access an attacker wants to land inside.

How the tags were hijacked

Git tags aren't protected by default. Anyone with push access to a repository can force a tag to point at a different commit, and GitHub Actions resolves a tag reference at the moment a workflow runs. Moving a tag retroactively rewrites every future run that references it, with no signal to the person who wrote the workflow.

The attacker used this against codfish/semantic-release-action in two stages. The first malicious commit picked up fifteen tags: v2.2.1, the entire v3 line (v3, v3.0.0 through v3.5.0), the entire v4 line (v4, v4.0.0, v4.0.1), and the entire v5 line (v5, v5.0.0). A second commit is a direct child of the first and took the v2 tag. Both commits ship a byte-identical index.js payload, confirmed by hash.

Neither commit is an ancestor of the repository's main branch. They were grafted in as orphans, then dressed up to avoid suspicion in a quick git log skim. The first commit reuses the author identity, date, and commit message of a real commit from Nov 9, 2023:

commit 5792aba0e2180b9b80b77644370a6889d5817456
Author: Chris O'Donnell <1666298+codfish@users.noreply.github.com>
Date:   Thu Nov 9 16:49:48 2023 +0000

    Merge pull request #195 from codfish/force-install

That metadata is real, lifted from a legitimate merge in the project's history. However, the file contents were swapped out for the malicious payload.

What changed in action.yml

codfish/semantic-release-action originally ran as a Docker-based action, building a container from the repository's Dockerfile and invoking entrypoint.js. The malicious commits replace action.yml with a composite action instead:

runs:
  using: composite
  steps:
    - uses: "codfish/semantic-release-action@8f9a58f2acdc190c356f79159b5de2548cdb63cd"
      with:
        branches: "${{ inputs.branches }}"
        # ...remaining inputs passed through unchanged
    - uses: "oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6"
      if: always()
    - name: Cleanup Action
      if: always()
      shell: bash
      run: bun run $GITHUB_ACTION_PATH/index.js

The first step still calls the real, current codfish/semantic-release-action, pinned to a clean commit, so the action keeps functioning normally, and a workflow run looks successful. The two steps after it run with if: always(), so they fire whether the legitimate step succeeds, fails, or gets skipped. The second step pulls in oven-sh/setup-bun, a real and otherwise unrelated third-party action, purely to get the Bun runtime onto the CI runner. The third step executes the payload, index.js, with bun run.

The repository's original Dockerfile, entrypoint.js, and entrypoint.spec.js are still sitting in the tree at this commit. They are simply never invoked anymore, since a composite action ignores them entirely. Leaving the old files in place is a minimal diff cover. Anyone skimming a file listing sees the action's usual contents and nothing obviously missing.

The payload

The injected index.js is 781,580 bytes of obfuscated JavaScript, structured as a string array with hex coded variable names, the output style of a typical commercial JavaScript obfuscator:

const _0x307419=_0x42e6;(function(_0xb5d033,_0x1d1124){const _0x23f080={_0x15a6a0:0xf9,_0x3d6efe:0x73a,...

Buried in the obfuscated body is the string thebeautifulsnadsoftime, a near match for TheBeautifulSandsOfTime and off by a single transposed letter. That string identifies one of the dead drop channels used by the Miasma credential stealing toolkit, leaked publicly on Jun 10, 2026. Miasma's design avoids a traditional C2 server. Instead of calling out to attacker infrastructure, the malware periodically searches GitHub's public commit search API for that marker string. When it finds a matching commit, it treats the attached payload as a signed command and runs it through eval(). That gives the operator a way to deliver fresh remote code execution to every infected runner without standing up or maintaining infrastructure of their own, and without generating the outbound network traffic that egress monitoring usually flags.

Connection to the Miasma campaign

The same TheBeautifulSandsOfTime marker already shows up in Miasma campaign activity against npm packages under the @redhat-cloud-services scope, and in several other compromised GitHub repositories tied to the same toolkit leak. Once a credential stealing framework like this goes public, it tends to spread quickly, since any operator can run it without writing their own tooling. codfish/semantic-release-action fits that pattern, another instance of the same toolkit reaching a new repository.

How Aikido detects this

If you are an Aikido user, check your central feed and filter on malware issues. This will surface as a 100/100 critical issue. Aikido rescans nightly, but we recommend triggering a manual rescan now.

If you are not yet an Aikido user, you can create an account and connect your repos. Our malware coverage is included in the free plan, no credit card required.

For broader coverage across your whole team, Aikido's Device Protection gives you visibility and control over the software packages installed on your team's devices. It covers browser extensions, code libraries, IDE plugins, and build dependencies, all in one place. Stop malware before it gets installed.

For future protection, consider Aikido Safe Chain (open source). Safe Chain sits in your existing workflow, intercepting npm, npx, yarn, pnpm, and pnpx commands and checking packages against Aikido Intel before install.

Indicators of compromise

Malicious commits

  • 5792aba0e2180b9b80b77644370a6889d5817456 (tags v2.2.1, v3, v3.0.0 through v3.5.0, v4, v4.0.0, v4.0.1, v5, v5.0.0)
  • bcb6b1d409144318e8fad2171d6fe06d02299d1a (tag v2)

Payload hash

index.js (both malicious commits): sha256 9f93d77d32833a515bc406c46da477142bb1ac2babeecb6aa42f98669a6db015

Other indicators

  • Dead drop marker string: thebeautifulsnadsoftime
  • Bun runtime pulled in via oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6

Affected tags

  • codfish/semantic-release-action@v2
  • codfish/semantic-release-action@v2.2.1
  • codfish/semantic-release-action@v3 through v3.5.0
  • codfish/semantic-release-action@v4, v4.0.0, v4.0.1
  • codfish/semantic-release-action@v5, v5.0.0

Confirmed clean

  • codfish/semantic-release-action@v1.0.0 through v1.10.0
  • codfish/semantic-release-action@v2.0.0