# supply chain attacks

Cybersecurity attacks in which an adversary exploits vulnerabilities in a product or service supply network to access, disrupt, manipulate, or exfiltrate data from the intended target.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## We Will Not Sabotage Your Code

DevFeed: [We Will Not Sabotage Your Code](<https://devfeed.tech/articles/we-will-not-sabotage-your-code-19669.md>)

Original publisher: [Read original article](<https://www.codenameone.com/blog/we-will-not-sabotage-your-code/>)

Author: Shai Almog

Published: 2026-06-03T00:00:00Z

Content type: opinion

Language: en

Sources: [CodeName One](<https://devfeed.tech/sources/codename-one.md>)

Topics: [prompt injection](<https://devfeed.tech/topics/prompt-injection.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [supply chain attacks](<https://devfeed.tech/topics/supply-chain-attacks.md>), [Maintainers](<https://devfeed.tech/topics/maintainers.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>)

Tags: [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [maintainers](<https://devfeed.tech/tags/maintainers.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [prompt-injection](<https://devfeed.tech/tags/prompt-injection.md>), [supply-chain-attacks](<https://devfeed.tech/tags/supply-chain-attacks.md>), [trust](<https://devfeed.tech/tags/trust.md>)

### AI overview

This opinion argues that embedding a destructive prompt-injection payload targeting AI agents in an open-source framework is sabotage and a serious breach of maintainer trust. It rejects weaponizing dependencies against downstream users while acknowledging fears about AI's effects on developers and expressing optimism about AI's potential for open source.

### Source excerpt

A maintainer hid a destructive prompt-injection payload aimed at AI agents inside his own framework. That is a betrayal of the trust open source runs on. Here is where we stand, and why I think AI is the biggest opportunity small OSS players have ever had.

## Stytch & Latacora: A Security Partnership Retrospective

DevFeed: [Stytch & Latacora: A Security Partnership Retrospective](<https://devfeed.tech/articles/stytch-latacora-a-security-partnership-retrospective-29191.md>)

Original publisher: [Read original article](<https://www.latacora.com/blog/2026/05/22/stytch-latacora-security-partnership-retrospective/>)

Published: 2026-05-22T16:00:00Z

Content type: article

Language: en

Sources: [Latacora](<https://devfeed.tech/sources/latacora.md>)

Topics: [Security](<https://devfeed.tech/topics/security.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>), [Incident response](<https://devfeed.tech/topics/incident-response.md>), [SIEM, Security, Observability](<https://devfeed.tech/topics/siem-security-observability.md>), [supply chain attacks](<https://devfeed.tech/topics/supply-chain-attacks.md>), [MFA](<https://devfeed.tech/topics/mfa.md>)

Tags: [2025](<https://devfeed.tech/tags/2025.md>), [acquisition](<https://devfeed.tech/tags/acquisition.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [incident-response](<https://devfeed.tech/tags/incident-response.md>), [integration](<https://devfeed.tech/tags/integration.md>), [partnership](<https://devfeed.tech/tags/partnership.md>), [retrospective](<https://devfeed.tech/tags/retrospective.md>), [security](<https://devfeed.tech/tags/security.md>), [siem](<https://devfeed.tech/tags/siem.md>), [supply-chain-attacks](<https://devfeed.tech/tags/supply-chain-attacks.md>)

### AI overview

A retrospective on Stytch and Latacora's security partnership from 2021 through Stytch's acquisition by Twilio. It describes building security into passwordless authentication infrastructure, scaling detection and response, addressing SAML vulnerabilities and supply chain attacks, and maintaining monitoring during the acquisition.

### Source excerpt

From growing startup to Twilio integration # Stytch and Latacora worked side by side to ensure that the developers and end users relying on Stytch's platform benefited from a security program built for the sensitivity and criticality of the data involved. This journey, which began in February 2021, saw Stytch grow from an ambitious startup building passwordless authentication infrastructure into a mature platform, ultimately acquired by Twilio.

## Cyber resiliency in practice: Lessons from recent supply chain attacks

DevFeed: [Cyber resiliency in practice: Lessons from recent supply chain attacks](<https://devfeed.tech/articles/cyber-resiliency-in-practice-lessons-from-recent-supply-chain-attacks-13017.md>)

Original publisher: [Read original article](<https://www.chainguard.dev/unchained/cyber-resiliency-in-practice-lessons-from-recent-supply-chain-attacks>)

Published: 2026-05-08T00:00:00Z

Content type: article

Language: en

Sources: [Chainguard: Unchained](<https://devfeed.tech/sources/chainguard-unchained.md>)

Topics: [resiliency](<https://devfeed.tech/topics/resiliency.md>), [supply chain attacks](<https://devfeed.tech/topics/supply-chain-attacks.md>), [supply-chain-security](<https://devfeed.tech/topics/supply-chain-security.md>), [axios](<https://devfeed.tech/topics/axios.md>), [GitHub Actions](<https://devfeed.tech/topics/github-actions.md>), [litellm](<https://devfeed.tech/topics/litellm.md>), [trivy](<https://devfeed.tech/topics/trivy.md>), [npm](<https://devfeed.tech/topics/npm.md>), [PyPI](<https://devfeed.tech/topics/pypi.md>), [Python](<https://devfeed.tech/topics/python.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>)

Tags: [axios](<https://devfeed.tech/tags/axios.md>), [chainguard-libraries](<https://devfeed.tech/tags/chainguard-libraries.md>), [cyber-resiliency](<https://devfeed.tech/tags/cyber-resiliency.md>), [cybersecurity](<https://devfeed.tech/tags/cybersecurity.md>), [github-actions](<https://devfeed.tech/tags/github-actions.md>), [litellm](<https://devfeed.tech/tags/litellm.md>), [malware](<https://devfeed.tech/tags/malware.md>), [npm](<https://devfeed.tech/tags/npm.md>), [pypi](<https://devfeed.tech/tags/pypi.md>), [python](<https://devfeed.tech/tags/python.md>), [security](<https://devfeed.tech/tags/security.md>), [security-attacks](<https://devfeed.tech/tags/security-attacks.md>), [social-engineering](<https://devfeed.tech/tags/social-engineering.md>), [software-supply-chain-security](<https://devfeed.tech/tags/software-supply-chain-security.md>), [supply-chain-attacks](<https://devfeed.tech/tags/supply-chain-attacks.md>), [trivy](<https://devfeed.tech/tags/trivy.md>), [worm](<https://devfeed.tech/tags/worm.md>)

### AI overview

The article defines cyber resiliency as an integrated ability to anticipate, withstand, recover from, and adapt to attacks across the full Protect, Detect, Respond, and Recover lifecycle. It examines recent supply chain attacks involving Trivy, Axios, and LiteLLM, highlighting risks such as GitHub Actions misconfiguration, long-lived tokens, incomplete credential rotation, mutable Git tags, maintainer-account compromise, and malicious package releases.

### Source excerpt

Learn how modern cyber resiliency helps organizations prevent, detect, and recover from supply chain attacks like Trivy, Axios, and LiteLLM.

## Docusaurus 3.10

DevFeed: [Docusaurus 3.10](<https://devfeed.tech/articles/docusaurus-3-10-40942.md>)

Original publisher: [Read original article](<https://docusaurus.io/blog/releases/3.10>)

Author: Sébastien Lorber

Published: 2026-04-07T00:00:00Z

Content type: release

Language: en

Sources: [Docusaurus Blog](<https://devfeed.tech/sources/docusaurus-blog.md>)

Topics: [releases](<https://devfeed.tech/topics/releases.md>), [Documentation](<https://devfeed.tech/topics/documentation.md>), [Security](<https://devfeed.tech/topics/security.md>), [supply chain attacks](<https://devfeed.tech/topics/supply-chain-attacks.md>), [GitHub Actions](<https://devfeed.tech/topics/github-actions.md>), [MDX](<https://devfeed.tech/topics/mdx.md>), [npm](<https://devfeed.tech/topics/npm.md>), [OpenID connect (OIDC)](<https://devfeed.tech/topics/oidc.md>), [upgrade](<https://devfeed.tech/topics/upgrade.md>), [monorepo](<https://devfeed.tech/topics/monorepo.md>), [pnpm](<https://devfeed.tech/topics/pnpm.md>)

Tags: [github-actions](<https://devfeed.tech/tags/github-actions.md>), [mdx](<https://devfeed.tech/tags/mdx.md>), [monorepo](<https://devfeed.tech/tags/monorepo.md>), [npm](<https://devfeed.tech/tags/npm.md>), [oidc](<https://devfeed.tech/tags/oidc.md>), [pnpm](<https://devfeed.tech/tags/pnpm.md>), [release](<https://devfeed.tech/tags/release.md>), [security](<https://devfeed.tech/tags/security.md>), [supply-chain-attacks](<https://devfeed.tech/tags/supply-chain-attacks.md>), [upgrade](<https://devfeed.tech/tags/upgrade.md>)

### AI overview

Docusaurus 3.10 is the final release in the v3.x line and prepares sites for Docusaurus v4. It introduces future flags for upcoming breaking changes, makes Docusaurus Faster stable, and adds supply-chain security measures including npm Trusted Publishing, OIDC-based GitHub Actions releases, provenance records, and dependency checks.

### Source excerpt

We are happy to announce Docusaurus 3.10.

## Pinning GitHub Actions

DevFeed: [Pinning GitHub Actions](<https://devfeed.tech/articles/pinning-github-actions-37823.md>)

Original publisher: [Read original article](<https://carlosbecker.com/posts/pinning-github-actions/>)

Author: Carlos Alexandro Becker

Published: 2025-11-17T00:00:00Z

Content type: tutorial

Language: en

Sources: [Carlos Becker](<https://devfeed.tech/sources/carlos-becker.md>)

Topics: [GitHub Actions](<https://devfeed.tech/topics/github-actions.md>), [Security](<https://devfeed.tech/topics/security.md>), [supply chain attacks](<https://devfeed.tech/topics/supply-chain-attacks.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [Dependabot](<https://devfeed.tech/topics/dependabot.md>)

Tags: [also](<https://devfeed.tech/tags/also.md>), [ci-cd](<https://devfeed.tech/tags/ci-cd.md>), [commit](<https://devfeed.tech/tags/commit.md>), [dependabot](<https://devfeed.tech/tags/dependabot.md>), [github-actions](<https://devfeed.tech/tags/github-actions.md>), [security](<https://devfeed.tech/tags/security.md>), [supply-chain-attacks](<https://devfeed.tech/tags/supply-chain-attacks.md>), [workflow](<https://devfeed.tech/tags/workflow.md>)

### AI overview

This tutorial explains why GitHub Actions should be pinned to full commit SHAs instead of mutable tags or branches. It describes the security and auditability benefits and introduces caarlos0/pinata, a tool that automates pinning and creates pull requests for review.

### Source excerpt

If you're using GitHub Actions in your projects, you should be pinning your actions to specific commit SHAs instead of using tags or branches.

## Google introduces OSS Rebuild for reproducible open-source package artifacts

DevFeed: [Google introduces OSS Rebuild for reproducible open-source package artifacts](<https://devfeed.tech/articles/introducing-oss-rebuild-open-source-rebuilt-to-last-19798.md>)

Original publisher: [Read original article](<http://security.googleblog.com/2025/07/introducing-oss-rebuild-open-source.html>)

Author: Kimberly Samra (noreply@blogger.com)

Published: 2025-07-21T21:34:00Z

Content type: release

Language: en

Sources: [Google Online Security](<https://devfeed.tech/sources/google-online-security.md>)

Topics: [open-source-security](<https://devfeed.tech/topics/open-source-security.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [supply chain attacks](<https://devfeed.tech/topics/supply-chain-attacks.md>), [npm](<https://devfeed.tech/topics/npm.md>), [PyPI](<https://devfeed.tech/topics/pypi.md>), [Rust](<https://devfeed.tech/topics/rust.md>)

Tags: [announce](<https://devfeed.tech/tags/announce.md>), [none](<https://devfeed.tech/tags/none.md>), [npm](<https://devfeed.tech/tags/npm.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [open-source-security](<https://devfeed.tech/tags/open-source-security.md>), [pypi](<https://devfeed.tech/tags/pypi.md>), [rust](<https://devfeed.tech/tags/rust.md>), [slsa](<https://devfeed.tech/tags/slsa.md>), [supply-chain-attacks](<https://devfeed.tech/tags/supply-chain-attacks.md>)

### AI overview

Google announced OSS Rebuild, a project that reproduces upstream package artifacts to provide build definitions, SLSA provenance, and verification tools for PyPI, npm, and Crates.io packages.

### Source excerpt

Posted by Matthew Suozzo, Google Open Source Security Team (GOSST) Today we're excited to announce OSS Rebuild, a new project to strengthen trust in open source package ecosystems by reproducing upstream artifacts. As supply chain attacks continue to target widely-used dependencies, OSS Rebuild gives security teams powerful data to avoid compromise without burden on upstream maintainers. The project comprises: Automation to derive declarative build definitions for existing PyPI (Python), npm (JS/TS), and Crates.io (Rust) packages. SLSA Provenance for thousands of packages across our supported ecosystems, meeting SLSA Build Level 3 requirements with no publisher intervention. Build observability and verification tools that security teams can integrate into their existing vulnerability management workflows. Infrastructure definitions to allow organizations to easily run their own instances of OSS Rebuild to rebuild, generate, sign, and distribute provenance. Challenges Open source software has become the foundation of our digital world. From critical infrastructure to everyday applications, OSS components now account for 77% of modern applications. With an estimated value exceeding $12 trillion, open source software has never been more integral to the global economy. Yet this very ubiquity makes open source an attractive target: Recent high-profile supply chain attacks have demonstrated sophisticated methods for compromising widely-used packages. Each incident erodes trust in open ecosystems, creating hesitation among both contributors and consumers. The security community has responded with initiatives like OpenSSF Scorecard, pypi's Trusted Publishers, and npm's native SLSA support. However, there is no panacea: Each effort targets a certain aspect of the problem, often making tradeoffs like shifting work onto publishers and maintainers. Our Aim Our aim with OSS Rebuild is to empower the security community to deeply understand and control their supply chains by makin

## Blog: Detecting Supply Chain Attacks with Falco Actions

DevFeed: [Blog: Detecting Supply Chain Attacks with Falco Actions](<https://devfeed.tech/articles/blog-detecting-supply-chain-attacks-with-falco-actions-32479.md>)

Original publisher: [Read original article](<https://falco.org/blog/detecting-supplychain-attacks-with-falco-action/>)

Published: 2025-03-19T00:00:00Z

Content type: tutorial

Language: en

Sources: [Falco - Falco](<https://devfeed.tech/sources/falco-falco.md>), [Falco - The Falco blog](<https://devfeed.tech/sources/falco-the-falco-blog.md>)

Topics: [supply chain attacks](<https://devfeed.tech/topics/supply-chain-attacks.md>), [GitHub Actions](<https://devfeed.tech/topics/github-actions.md>), [Security](<https://devfeed.tech/topics/security.md>), [GitHub](<https://devfeed.tech/topics/github.md>), [Containers](<https://devfeed.tech/topics/containers.md>), [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [Linux Kernel](<https://devfeed.tech/topics/linux-kernel.md>)

Tags: [cicd](<https://devfeed.tech/tags/cicd.md>), [falco](<https://devfeed.tech/tags/falco.md>), [github-action](<https://devfeed.tech/tags/github-action.md>), [github-actions](<https://devfeed.tech/tags/github-actions.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [linux](<https://devfeed.tech/tags/linux.md>), [linux-kernel](<https://devfeed.tech/tags/linux-kernel.md>), [pull-request](<https://devfeed.tech/tags/pull-request.md>), [runtime-security](<https://devfeed.tech/tags/runtime-security.md>), [security](<https://devfeed.tech/tags/security.md>), [software-supply-chain](<https://devfeed.tech/tags/software-supply-chain.md>), [supply-chain-attacks](<https://devfeed.tech/tags/supply-chain-attacks.md>), [supplychain](<https://devfeed.tech/tags/supplychain.md>)

### AI overview

This tutorial explains how to use Falco Actions in GitHub Actions workflows to detect suspicious behavior and software supply chain attacks in CI/CD pipelines. It covers runtime monitoring, custom rules, workflow setup, findings, and generated reports.

### Source excerpt

The recently discovered CVE for the GitHub action tj-actions/changed-files brought to light a topic that is really critical for companies: supply chain attacks. With that, we want to discuss and show a bit about how Falco can help your organization detect this kind of attack and other suspect behaviors inside your CI/CD pipeline. What is Falco? Falco is a cloud native security tool that provides runtime security across hosts, containers, Kubernetes, and cloud environments. It leverages custom rules on Linux kernel events and other data sources through plugins, enriching event data with contextual metadata to deliver real-time alerts. Falco enables the detection of abnormal behavior, potential security threats, and compliance violations. What is Falco Actions? Falco Actions enable you to run Falco in GitHub Actions to detect suspicious behavior in your CI/CD workflows. If you run it in a pull request, the action will create a comment with the findings. Thanks to ad-hoc Falco rules specific to this use case, these GitHub actions can monitor your GitHub runner and detect software supply chain attacks. Using Falco Actions To have Falco inside your pipeline, you need to add these two actions: falcosecurity/falco-actions/start falcosecurity/falco-actions/stop Below you can see an example: name: CI on: push: pull_request: jobs: build: runs-on: ubuntu-latest permissions: contents: read actions: read steps: - uses: actions/checkout@v4 - name: Start Falco uses: falcosecurity/falco-actions/start@main with: mode: live falco-version: '0.40.0' verbose: true - name: My Custom Step run: | echo "This is my custom step" - name: Stop Falco uses: falcosecurity/falco-actions/start@main with: mode: live verbose: true OBS: main is being used here only to simplify how it works, you should always pin your dependencies to a specific commit SHA. After the execution, you will be able to see the results at the github action summary. If you want a more detailed report, you can use the action fal

## Mitigating software supply chain risks through faster vulnerability response and verified software images

DevFeed: [Mitigating software supply chain risks through faster vulnerability response and verified software images](<https://devfeed.tech/articles/if-xz-s-backdoors-are-inevitable-how-do-we-stay-secure-the-answer-is-move-faster-13100.md>)

Original publisher: [Read original article](<https://www.chainguard.dev/unchained/if-xzs-backdoors-are-inevitable-how-do-we-stay-secure-the-answer-is-move-faster>)

Published: 2024-04-16T00:00:00Z

Content type: article

Language: en

Sources: [Chainguard: Unchained](<https://devfeed.tech/sources/chainguard-unchained.md>)

Topics: [supply-chain-security](<https://devfeed.tech/topics/supply-chain-security.md>), [Vulnerabilities](<https://devfeed.tech/topics/vulnerabilities.md>), [open-source-security](<https://devfeed.tech/topics/open-source-security.md>), [chainguard images](<https://devfeed.tech/topics/chainguard-images.md>), [supply chain attacks](<https://devfeed.tech/topics/supply-chain-attacks.md>)

Tags: [auditability](<https://devfeed.tech/tags/auditability.md>), [chainguard-images](<https://devfeed.tech/tags/chainguard-images.md>), [cve-2024-3094](<https://devfeed.tech/tags/cve-2024-3094.md>), [golang](<https://devfeed.tech/tags/golang.md>), [liblzma](<https://devfeed.tech/tags/liblzma.md>), [sbom](<https://devfeed.tech/tags/sbom.md>), [software-bill-of-materials](<https://devfeed.tech/tags/software-bill-of-materials.md>), [software-supply-chain](<https://devfeed.tech/tags/software-supply-chain.md>), [supply-chain-attacks](<https://devfeed.tech/tags/supply-chain-attacks.md>), [supply-chain-integrity](<https://devfeed.tech/tags/supply-chain-integrity.md>), [supply-chain-security](<https://devfeed.tech/tags/supply-chain-security.md>), [vulnerabilities](<https://devfeed.tech/tags/vulnerabilities.md>), [xz](<https://devfeed.tech/tags/xz.md>), [xz-backdoor](<https://devfeed.tech/tags/xz-backdoor.md>), [zero-trust](<https://devfeed.tech/tags/zero-trust.md>)

### AI overview

The article discusses the xz vulnerability, the risk of future software supply chain attacks, and the importance of rapid patch propagation and software inventory auditability. It presents Chainguard Images as a continuously verified and auditable approach to mitigating these risks.

### Source excerpt

Software backdoors are a threat. Learn how to mitigate supply chain security risks by responding faster to vulnerabilities like the xz flaw.

## Securing Open Source Infrastructure

DevFeed: [Securing Open Source Infrastructure](<https://devfeed.tech/articles/securing-open-source-infrastructure-29833.md>)

Original publisher: [Read original article](<https://goteleport.com/blog/securing-oss-infrastructure/>)

Author: ben@goteleport.com (Ben Arent)

Published: 2021-05-25T00:00:00Z

Content type: opinion

Language: en

Sources: [Teleport](<https://devfeed.tech/sources/teleport.md>)

Topics: [Open Source](<https://devfeed.tech/topics/open-source.md>), [Cybersecurity](<https://devfeed.tech/topics/cybersecurity.md>), [open-source-security](<https://devfeed.tech/topics/open-source-security.md>), [supply chain attacks](<https://devfeed.tech/topics/supply-chain-attacks.md>), [GitHub](<https://devfeed.tech/topics/github.md>), [GitLab](<https://devfeed.tech/topics/gitlab.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [dashboards](<https://devfeed.tech/topics/dashboards.md>), [Databases](<https://devfeed.tech/topics/databases.md>)

Tags: [ci-cd](<https://devfeed.tech/tags/ci-cd.md>), [cybersecurity](<https://devfeed.tech/tags/cybersecurity.md>), [databases](<https://devfeed.tech/tags/databases.md>), [github](<https://devfeed.tech/tags/github.md>), [gitlab](<https://devfeed.tech/tags/gitlab.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [monitoring](<https://devfeed.tech/tags/monitoring.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [servers](<https://devfeed.tech/tags/servers.md>), [supply-chain-attacks](<https://devfeed.tech/tags/supply-chain-attacks.md>)

### AI overview

Teleport describes how open source projects can secure infrastructure access, including CI/CD systems, monitoring dashboards, databases, servers, and Kubernetes clusters. It promotes free Teleport Pro accounts, security audits, and collaboration features for open source projects.

### Source excerpt

Teleport is offering a free Teleport Pro account for Open Source Projects. Helping teams and projects secure and collaborate at scale.

## How I gained commit access to Homebrew in 30 minutes

DevFeed: [How I gained commit access to Homebrew in 30 minutes](<https://devfeed.tech/articles/how-i-gained-commit-access-to-homebrew-in-30-minutes-31927.md>)

Original publisher: [Read original article](<http://engineering.remind.com/how-I-gained-commit-access-to-homebrew/>)

Author: Remind

Published: 2018-08-07T00:00:00Z

Content type: article

Language: en

Sources: [Remind](<https://devfeed.tech/sources/remind.md>)

Topics: [Homebrew](<https://devfeed.tech/topics/homebrew.md>), [Security](<https://devfeed.tech/topics/security.md>), [supply chain attacks](<https://devfeed.tech/topics/supply-chain-attacks.md>), [Jenkins](<https://devfeed.tech/topics/jenkins.md>), [GitHub](<https://devfeed.tech/topics/github.md>), [Environment Variables](<https://devfeed.tech/topics/environment-variables.md>), [OAuth](<https://devfeed.tech/topics/oauth.md>), [GitHub API](<https://devfeed.tech/topics/github-api.md>), [incident](<https://devfeed.tech/topics/incident.md>)

Tags: [backdoor](<https://devfeed.tech/tags/backdoor.md>), [credential-theft](<https://devfeed.tech/tags/credential-theft.md>), [curl](<https://devfeed.tech/tags/curl.md>), [environment-variables](<https://devfeed.tech/tags/environment-variables.md>), [github](<https://devfeed.tech/tags/github.md>), [homebrew](<https://devfeed.tech/tags/homebrew.md>), [incident](<https://devfeed.tech/tags/incident.md>), [jenkins](<https://devfeed.tech/tags/jenkins.md>), [npm](<https://devfeed.tech/tags/npm.md>), [permissions](<https://devfeed.tech/tags/permissions.md>), [rubygems](<https://devfeed.tech/tags/rubygems.md>), [security](<https://devfeed.tech/tags/security.md>), [supply-chain-attacks](<https://devfeed.tech/tags/supply-chain-attacks.md>)

### AI overview

A security researcher describes gaining commit access to Homebrew repositories through a GitHub API token exposed in a publicly accessible Jenkins environment. The access was tested and then reported to Homebrew maintainers, highlighting risks to package-manager infrastructure and software supply chains.

### Source excerpt

This issue was publicly disclosed on the Homebrew blog at https://brew.sh/2018/08/05/security-incident-disclosure/ Since the recent NPM, RubyGems, and Gentoo incidents, I've become increasingly interested, and concerned, with the potential for package managers to be used in supply chain attacks to distribute malicious software. Specifically with how the maintainers and infrastructure of these projects can be targeted as an attack vector. On Jun 31st, I went in with the intention of seeing if I could gain access to Homebrew's GitHub repositories. About 30 minutes later, I made my first commit to Homebrew/homebrew-core. Let's get leaky My initial strategy going in was based on credential theft; find if there were any credentials leaked by members of the Homebrew GitHub org. An OSSINT tool from Michael Henriksen called gitrob makes automating this search really easy. I ran it across the Homebrew organization, but ultimately didn't come up with anything interesting. Next, I took a look at previously disclosed issues on https://hackerone.com/Homebrew. From there, I found that Homebrew runs a Jenkins instance that's (intentionally) publicly exposed at https://jenkins.brew.sh. After some digging, I noticed something interesting; builds in the "Homebrew Bottles" project were making authenticated pushes to the BrewTestBot/homebrew-core repo: This got me thinking, "where are the credentials stored?". I noticed the "Environment Variables" link on the left, which led to an exposed GitHub API token: I tested it locally to see what scopes the token had: $ curl https://api.github.com/user/repos -u $GITHUB_API_TOKEN:x-oauth-basic | jq '.[] | {repo: .full_name, permissions: .permissions}' { "repo": "BrewTestBot/homebrew-core", "permissions": { "admin": true, "push": true, "pull": true } } { "repo": "Homebrew/brew", "permissions": { "admin": false, "push": true, "pull": true } } { "repo": "Homebrew/formulae.brew.sh", "permissions": { "admin": false, "push": true, "pull": true } } { "