<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/trivy-vulnerability-scanner-backdoored-with-credential-stealer-in-supply-chain-attack-efcfm67bt" -->

---
title: Trivy vulnerability scanner backdoored with credential...
description: The open-source Trivy vulnerability scanner was backdoored in a supply chain attack that injected credential-stealing malware into official releases and GitHub...
canonical: https://daily.dev/posts/trivy-vulnerability-scanner-backdoored-with-credential-stealer-in-supply-chain-attack-efcfm67bt
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Trivy vulnerability scanner backdoored with credential stealer in supply chain attack | daily.dev
og:description: The open-source Trivy vulnerability scanner was backdoored in a supply chain attack that injected credential-stealing malware into official releases and GitHub...
og:url: https://daily.dev/posts/trivy-vulnerability-scanner-backdoored-with-credential-stealer-in-supply-chain-attack-efcfm67bt
og:image: https://api.daily.dev/og/posts/EFcFm67bT.png
og:image:alt: Trivy vulnerability scanner backdoored with credential stealer in supply chain attack
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.

# Trivy vulnerability scanner backdoored with credential stealer in supply chain attack

**[CSO Online](https://daily.dev/sources/csoonline)** · 5 min read · 0 upvotes · 0 comments

## Summary

The open-source Trivy vulnerability scanner was backdoored in a supply chain attack that injected credential-stealing malware into official releases and GitHub Actions. Attackers compromised three components — trivy-action, setup-trivy, and the Trivy binary itself — overwriting 75 of 76 version tags with malicious code. The malware steals SSH keys, cloud credentials, Kubernetes tokens, and other secrets from CI/CD runners, exfiltrating them to attacker-controlled infrastructure. The attack exploited a misconfigured GitHub Actions workflow and used force-pushed tag manipulation to avoid detection, cloning original commit metadata to disguise malicious commits. Organizations are advised to rotate all pipeline secrets immediately, pin actions to full commit SHA hashes, and upgrade to safe versions (Trivy v0.69.3, trivy-action 0.35.0, setup-trivy 0.2.6).

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.csoonline.com/article/4148317/trivy-vulnerability-scanner-backdoored-with-credential-stealer-in-supply-chain-attack.html>

## Similar posts on daily.dev

- [Trivy Scanner Compromise Explained and What it Means For Your SaaS and CI/CD Security](https://daily.dev/posts/trivy-scanner-compromise-explained-and-what-it-means-for-your-saas-and-ci-cd-security-mphhq7ti6) · Security Boulevard · 0 upvotes · 0 comments
- [1K\+ cloud environments infected via Trivy attack](https://daily.dev/posts/1k-cloud-environments-infected-via-trivy-attack-i6q0a8ukt) · The Register · 0 upvotes · 0 comments
- [Trivy’s March Supply Chain Attack Shows Where Secret Exposure Hurts Most](https://daily.dev/posts/trivy-s-march-supply-chain-attack-shows-where-secret-exposure-hurts-most-cgwyukonm) · GitGuardian · 0 upvotes · 0 comments
- [How TeamPCP turned Aqua Security’s own Trivy scanner into a weapon against millions of developers](https://daily.dev/posts/how-teampcp-turned-aqua-security-s-own-trivy-scanner-into-a-weapon-against-millions-of-developers-eeezo06er) · The New Stack · 0 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#cicd](https://daily.dev/tags/cicd), [#github-actions](https://daily.dev/tags/github-actions)

[View this post on daily.dev](https://daily.dev/posts/trivy-vulnerability-scanner-backdoored-with-credential-stealer-in-supply-chain-attack-efcfm67bt)

```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":"Trivy vulnerability scanner backdoored with credential stealer in supply chain attack","url":"https://daily.dev/posts/trivy-vulnerability-scanner-backdoored-with-credential-stealer-in-supply-chain-attack-efcfm67bt","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/trivy-vulnerability-scanner-backdoored-with-credential-stealer-in-supply-chain-attack-efcfm67bt"},"datePublished":"2026-03-21T05:39:25.747Z","dateModified":"2026-03-23T00:10:28.487Z","description":"The open-source Trivy vulnerability scanner was backdoored in a supply chain attack that injected credential-stealing malware into official releases and GitHub...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/28048e9c14a6df2ca19fcc83752859c7?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/28048e9c14a6df2ca19fcc83752859c7?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"CSO Online","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":"CSO Online","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/98667e4b5cac46cf9c470819c6cf71cd","url":"https://daily.dev/sources/csoonline"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/trivy-vulnerability-scanner-backdoored-with-credential-stealer-in-supply-chain-attack-efcfm67bt","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,cicd,github-actions","timeRequired":"PT5M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"CSO Online","item":"https://daily.dev/sources/csoonline"},{"@type":"ListItem","position":3,"name":"Trivy vulnerability scanner backdoored with credential stealer in supply chain attack"}]}
```

