<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/npm-supply-chain-attack-abuses-trusted-publishing-to-ship-ghappier-loader-tmozfaksl" -->

---
title: npm Supply-Chain Attack Abuses Trusted Publishing to...
description: Attackers compromised a maintainer account for the npm package @dforge-core/dforge-mcp and abused GitHub Actions OIDC trusted publishing to ship version 0.2.21...
canonical: https://daily.dev/posts/npm-supply-chain-attack-abuses-trusted-publishing-to-ship-ghappier-loader-tmozfaksl
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: npm Supply-Chain Attack Abuses Trusted Publishing to Ship GHAPPIER Loader | daily.dev
og:description: Attackers compromised a maintainer account for the npm package @dforge-core/dforge-mcp and abused GitHub Actions OIDC trusted publishing to ship version 0.2.21...
og:url: https://daily.dev/posts/npm-supply-chain-attack-abuses-trusted-publishing-to-ship-ghappier-loader-tmozfaksl
og:image: https://api.daily.dev/og/posts/tMozfAKSl.png
og:image:alt: npm Supply-Chain Attack Abuses Trusted Publishing to Ship GHAPPIER Loader
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# npm Supply-Chain Attack Abuses Trusted Publishing to Ship GHAPPIER Loader

**[Orca Security Blog](https://daily.dev/sources/orca-security-blog)** · 4 min read · 0 upvotes · 0 comments

## Summary

Attackers compromised a maintainer account for the npm package @dforge-core/dforge-mcp and abused GitHub Actions OIDC trusted publishing to ship version 0.2.21 carrying the GHAPPIER remote-shell loader, complete with valid npm provenance signatures. The four-stage payload activated only when the MCP server ran, self-deleted after execution to avoid forensic traces, and a related PolinRider (DPRK-linked) variant used Ethereum transactions for takedown-resistant command-and-control. CloudSEK traced the loader across 65 repositories, 73 infected files, and 22 accounts. The malicious release lasted about 35 minutes before a clean 0.2.22 was published; no CVE or advisory has been issued yet. Organizations are urged to pin to 0.2.22+, treat any lockfile referencing 0.2.21 as a compromise indicator, hunt for intermediate artifacts, block identified endpoints, and rotate credentials on any system that executed the malicious version.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://orca.security/resources/research/ghappier-loader-npm-supply-chain-attack>

## Questions this post answers

### What is the GHAPPIER loader and how did it get into the @dforge-core/dforge-mcp npm package?

GHAPPIER is a remote-shell implant delivered through version 0.2.21 of the @dforge-core/dforge-mcp npm package after attackers compromised the maintainer's account on September 9, 2026, and modified the GitHub Actions release workflow so any push to main triggered an automated publish via OIDC trusted publishing. The malicious line was hidden at line 3320 of a 99KB config file, and the release carried valid provenance signatures recorded in Sigstore's public log.

_Teams relying on npm provenance for trust should track incidents like this on daily.dev before assuming a signed package is safe._

### Which version of @dforge-core/dforge-mcp is compromised and what should I do about it?

Version 0.2.21 contains the GHAPPIER loader and should be treated as an indicator of compromise if found in any lockfile; version 0.2.20 was a failed malicious attempt that broke installation. Organizations should pin to 0.2.22 or later, audit whether CI/CD systems executed 0.2.21, rotate credentials on any system that ran it, and search for intermediate payload artifacts since the final implant self-deletes and leaves no disk trace.

_Developers pinning dependency versions after an incident like this can follow remediation guidance on daily.dev._

### How does the PolinRider malware use Ethereum for command-and-control?

PolinRider, a DPRK-linked campaign tracked since March 2026 and found alongside GHAPPIER in one victim's repository, writes C2 configuration into the twenty bytes of a recipient address on empty Ethereum transactions. This creates a command-and-control channel with no domain to suspend, no host to seize, and no account to disable, making it highly resistant to takedown efforts.

_Security researchers studying blockchain-based C2 techniques can find writeups like this through daily.dev._

## Similar posts on daily.dev

- [Post Mortem: axios npm supply chain compromise · Issue \#10636 · axios](https://daily.dev/posts/post-mortem-axios-npm-supply-chain-compromise-issue-10636-axios-fi8w1s47t) · Hacker News · 0 upvotes · 0 comments
- [Mass npm Supply Chain Attack: 20 Leo Platform Packages Compromised](https://daily.dev/posts/mass-npm-supply-chain-attack-20-leo-platform-packages-compromised-01l7qjya4) · StepSecurity · 3 upvotes · 2 comments

---

Tags: [#cyber](https://daily.dev/tags/cyber), [#malware](https://daily.dev/tags/malware), [#mcp](https://daily.dev/tags/mcp), [#github-actions](https://daily.dev/tags/github-actions), [#npm](https://daily.dev/tags/npm)

[View this post on daily.dev](https://daily.dev/posts/npm-supply-chain-attack-abuses-trusted-publishing-to-ship-ghappier-loader-tmozfaksl)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"npm Supply-Chain Attack Abuses Trusted Publishing to Ship GHAPPIER Loader","url":"https://daily.dev/posts/npm-supply-chain-attack-abuses-trusted-publishing-to-ship-ghappier-loader-tmozfaksl","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/npm-supply-chain-attack-abuses-trusted-publishing-to-ship-ghappier-loader-tmozfaksl"},"datePublished":"2026-09-22T17:35:20.485Z","dateModified":"2026-09-22T17:35:53.827Z","description":"Attackers compromised a maintainer account for the npm package @dforge-core/dforge-mcp and abused GitHub Actions OIDC trusted publishing to ship version 0.2.21...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/bae9906e19f0cbc3869aa55413b2e870?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/bae9906e19f0cbc3869aa55413b2e870?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Orca Security Blog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Orca Security Blog","logo":"https://media.daily.dev/image/upload/s--kkQFNboJ--/f_auto,q_auto/v1780213281/logos/orca-security-blog?_a=BAMAMiWQ0","url":"https://daily.dev/sources/orca-security-blog"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/npm-supply-chain-attack-abuses-trusted-publishing-to-ship-ghappier-loader-tmozfaksl","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"cyber,malware,mcp,github-actions,npm","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Orca Security Blog","item":"https://daily.dev/sources/orca-security-blog"},{"@type":"ListItem","position":3,"name":"npm Supply-Chain Attack Abuses Trusted Publishing to Ship GHAPPIER Loader"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/npm-supply-chain-attack-abuses-trusted-publishing-to-ship-ghappier-loader-tmozfaksl#faq","mainEntity":[{"@type":"Question","name":"What is the GHAPPIER loader and how did it get into the @dforge-core/dforge-mcp npm package?","acceptedAnswer":{"@type":"Answer","text":"GHAPPIER is a remote-shell implant delivered through version 0.2.21 of the @dforge-core/dforge-mcp npm package after attackers compromised the maintainer's account on September 9, 2026, and modified the GitHub Actions release workflow so any push to main triggered an automated publish via OIDC trusted publishing. The malicious line was hidden at line 3320 of a 99KB config file, and the release carried valid provenance signatures recorded in Sigstore's public log. Teams relying on npm provenance for trust should track incidents like this on daily.dev before assuming a signed package is safe."}},{"@type":"Question","name":"Which version of @dforge-core/dforge-mcp is compromised and what should I do about it?","acceptedAnswer":{"@type":"Answer","text":"Version 0.2.21 contains the GHAPPIER loader and should be treated as an indicator of compromise if found in any lockfile; version 0.2.20 was a failed malicious attempt that broke installation. Organizations should pin to 0.2.22 or later, audit whether CI/CD systems executed 0.2.21, rotate credentials on any system that ran it, and search for intermediate payload artifacts since the final implant self-deletes and leaves no disk trace. Developers pinning dependency versions after an incident like this can follow remediation guidance on daily.dev."}},{"@type":"Question","name":"How does the PolinRider malware use Ethereum for command-and-control?","acceptedAnswer":{"@type":"Answer","text":"PolinRider, a DPRK-linked campaign tracked since March 2026 and found alongside GHAPPIER in one victim's repository, writes C2 configuration into the twenty bytes of a recipient address on empty Ethereum transactions. This creates a command-and-control channel with no domain to suspend, no host to seize, and no account to disable, making it highly resistant to takedown efforts. Security researchers studying blockchain-based C2 techniques can find writeups like this through daily.dev."}}]}
```

