[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fVyMMY2B4UbNVsNUaA2EocttsAqrNraQhsfQ7jNsSY10":3},{"lesson":4},{"id":5,"slug":6,"article_id":7,"title":8,"body":9,"prevention":10,"framework_refs":11,"framework_notes":17,"status":23,"created_at":24,"published_at":25,"article":26,"tags":30,"podcasts":43,"controls":44},"e1c3eb86-c95f-4afe-a90a-dff219305499","malware-force-pushed-into-open-source-pull-requests-to-steal-developer-credentials","1024f07a-1607-4895-8e92-7e8fc2ced347","Malware Force-Pushed Into Open Source Pull Requests to Steal Developer Credentials","Attackers injected PolinRider malware into open pull requests for multiple high-profile open source projects by hiding malicious JavaScript inside build configuration files and fake font files. Because CI\u002FCD pipelines automatically executed code from these pull requests, the malware ran in a release workflow and published 40 malicious installers before being caught. This attack demonstrates how open source contribution workflows can be weaponized to compromise not just one project, but cascade into developer credential theft and further repository compromise. The trust placed in pull requests and automated build systems without sufficient code review and pipeline controls creates a critical attack surface in modern software supply chains.","**Immediate actions:**\n- Audit all open pull requests for unexpected changes to build configuration files, CI\u002FCD workflows, and static assets such as font files.\n- Restrict CI\u002FCD pipelines so that workflows triggered by external pull requests run with minimal permissions and cannot publish releases or access secrets without explicit approval.\n- Rotate any credentials and tokens that may have been exposed in affected CI\u002FCD environments.\n\n**Long-term improvements:**\n- Require mandatory human code review and approval before any pull request from an external contributor can trigger a release or deployment workflow.\n- Enforce code signing and provenance attestation (e.g., SLSA, Sigstore) for all build artifacts so unauthorized or tampered releases can be detected.\n- Apply least-privilege principles to repository secrets, ensuring CI\u002FCD jobs initiated by untrusted contributors cannot access sensitive tokens.\n\n**Detection measures:**\n- Implement automated scanning of pull request diffs for obfuscated or encoded scripts hidden in non-code assets and configuration files.\n- Monitor CI\u002FCD pipeline logs for unexpected artifact publications or permission escalations and alert on anomalies in real time.\n- Subscribe to dependency and repository integrity monitoring services that flag unauthorized changes to build toolchains.",[12,13,14,15,16],"MITRE ATT&CK T1195.001: Compromise Software Dependencies and Development Tools","NIST SP 800-53 SA-12: Supply Chain Protection","CIS Control 16: Application Software Security (v8)","NIS2 Article 21(2)(d)","NIST CSF 2.0 DE.CM-03: Personnel activity and technology usage are monitored to find potentially adverse events",{"NIS2 Article 21(2)(d)":18,"NIST SP 800-53 SA-12: Supply Chain Protection":19,"CIS Control 16: Application Software Security (v8)":20,"MITRE ATT&CK T1195.001: Compromise Software Dependencies and Development Tools":21,"NIST CSF 2.0 DE.CM-03: Personnel activity and technology usage are monitored to find potentially adverse events":22},"This point specifically requires security in supply chain relationships, including controls over the software and services contributed by third parties, which applies directly to the lack of controls over external pull request contributions.","This control requires organizations to protect against supply chain threats in the acquisition and development of software, which would have prompted controls preventing untrusted pull request code from executing in privileged release workflows.","CIS Control 16 calls for securing the software development lifecycle, including code review processes, which would have caught malicious content hidden in build configuration files before pipeline execution.","The attackers injected malicious code into open source pull requests to compromise the build pipeline and distribute trojanized installers, directly matching this technique's description of poisoning software supply chain dependencies.","Continuous monitoring of CI\u002FCD pipeline activity and artifact publication events would have detected the unauthorized release of 40 malicious installers far sooner than manual discovery allowed.","published","2026-11-25T22:20:24.03246+00:00","2026-11-25T22:20:24.007+00:00",{"id":7,"url":27,"slug":28,"title":29},"https:\u002F\u002Fwww.stepsecurity.io\u002Fblog\u002Fpolinrider-malware-open-source-pull-requests","polinrider-malware-force-pushed-into-asyncapi-circuitverse-and-open-food-facts-p-5d3b81","PolinRider Malware Force-Pushed Into AsyncAPI, CircuitVerse and Open Food Facts Pull Requests",[31,37],{"id":32,"name":33,"slug":34,"description":35,"color":36},"859cf0ad-a7e9-42bb-a75d-bac6511fa5d5","Configuration Management","configuration-management","Misconfigs, default credentials, exposed services","#eab308",{"id":38,"name":39,"slug":40,"description":41,"color":42},"f0c2a0af-58aa-4128-87c9-6acd30f2dc48","Supply Chain","supply-chain","Third-party risk, compromised dependencies","#8b5cf6",[],[45,49,53],{"slug":46,"name":47,"problem":48},"identity-threat-detection","Identity threat detection and response (ITDR)","Attackers who log in with real, stolen credentials get noticed.",{"slug":50,"name":51,"problem":52},"threat-intelligence","Threat intelligence","Attack campaigns reach your sector, suppliers or software before your team hears about them.",{"slug":54,"name":55,"problem":56},"software-supply-chain","Software supply chain security","Malicious and vulnerable open-source packages are caught before they ship."]