What the Miasma Campaign Reveals About the New Supply Chain ...#312
Open
carlospolop wants to merge 1 commit into
Open
What the Miasma Campaign Reveals About the New Supply Chain ...#312carlospolop wants to merge 1 commit into
carlospolop wants to merge 1 commit into
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://tenable.com/blog/what-the-miasma-campaign-reveals-about-the-new-supply-chain-threat-model-and-the-underground Content Categories: Based on the analysis, this content was categorized under "Pentesting CI/CD -> Github Security -> Abusing Github Actions; possibly add a new page or subsection for npm supply-chain worm propagation, GitHub Actions OIDC package publishing abuse, SLSA provenance limitations, and Phantom Gyp binding.gyp execution". Repository Maintenance:
Review Notes:
Bot Version: HackTricks News Bot v1.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 Automated Content Update
This PR was automatically generated by the HackTricks News Bot based on a technical blog post.
📝 Source Information
🎯 Content Summary
Tenable analyzes the Miasma campaign, a self-propagating npm supply-chain worm derived from TeamPCP's Mini Shai-Hulud toolchain, which TeamPCP open-sourced on GitHub on May 12 under an MIT License with the message “Shai-Hulud: Open Sourcing The Carnage.” The release reportedly included CI cache-poisoning scripts, an OIDC token extractor, and a credential stealer with pro...
🔧 Technical Details
Credential-driven npm worm propagation: If an attacker obtains a developer identity with npm publishing rights, malware can query the npm registry for all packages that identity can publish to and automatically republish poisoned versions. This creates a self-propagating loop: compromise one identity, enumerate package access, publish malware, infect developers or CI/CD runners through
npm install, harvest more credentials, and repeat.Infostealer-to-supply-chain weaponization: Commodity infostealer logs can contain high-value developer session cookies, GitHub credentials, npm tokens, and API keys. An attacker does not need to breach the target directly if a valid developer credential already exists in underground markets. The practical chain is: acquire exposed developer credentials, authenticate as the developer, identify writable repositories or publishable packages, inject malicious package/workflow changes, harvest additional secrets from downst...
🤖 Agent Actions
Done.
Updated:
src/pentesting-ci-cd/github-security/abusing-github-actions/README.mdAdded:
binding.gyp/node-gyp(Phantom Gyp) install-time execution path.claude/settings.json,.cursor/rules,.gemini/)Validation:
mdbook buildcould not be run becausemdbookis not installed in this environment (/bin/bash: mdbook: command not found)This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.