<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Trivy — CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/tags/trivy/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata — refreshed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Wed, 25 Mar 2026 12:00:00 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/tags/trivy/feed.xml" rel="self" type="application/rss+xml"/><item><title>LiteLLM Package Compromised with Credential-Stealing Code via Trivy</title><link>https://feed.craftedsignal.io/briefs/2026-03-litellm-credential-theft/</link><pubDate>Wed, 25 Mar 2026 12:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-03-litellm-credential-theft/</guid><description>The LiteLLM package was compromised and infected with credential-stealing code through a supply chain attack leveraging the Trivy vulnerability scanner.</description><content:encoded><![CDATA[<p>On March 24, 2026, reports surfaced indicating that the LiteLLM package, a library designed to provide a unified interface for interacting with various large language models, was compromised and injected with malicious code. This compromise occurred through a vulnerability in Trivy, a widely-used open-source vulnerability scanner. The malicious code was designed to steal credentials, potentially including API keys and other sensitive information used to access and manage language models. The scope of the compromise is currently unknown, but given the popularity of both LiteLLM and Trivy, the potential impact could be significant across various sectors using LLMs. This incident highlights the risks associated with supply chain vulnerabilities and the importance of thorough security audits of third-party dependencies.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>A vulnerability is exploited within Trivy, potentially during its build or update process.</li>
<li>The attacker leverages this vulnerability to inject malicious code into the LiteLLM package during its build or release process.</li>
<li>Users download and install the compromised LiteLLM package from the official repository (e.g., PyPI).</li>
<li>Upon execution of the infected LiteLLM package, the malicious code is triggered.</li>
<li>The malicious code collects credentials, such as API keys, environment variables, or configuration files, from the user&rsquo;s system or environment.</li>
<li>The stolen credentials are exfiltrated to a remote server controlled by the attacker using network protocols like HTTP/S.</li>
<li>The attacker uses the stolen credentials to access and control the victim&rsquo;s accounts, resources, and data related to language model services.</li>
<li>The attacker may further exploit the compromised systems for lateral movement, data exfiltration, or other malicious activities.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>The successful compromise of the LiteLLM package can lead to significant damage, including unauthorized access to language model APIs, data breaches, and financial losses. The number of affected users and organizations is currently unknown. Sectors relying heavily on LLMs, such as AI development, research, and various industries integrating AI-powered applications, are particularly vulnerable. If successful, the attack can result in the exposure of sensitive data, disruption of services, and reputational damage.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Implement integrity checks on all downloaded packages to verify their authenticity and prevent the installation of compromised versions (reference: overview).</li>
<li>Monitor network traffic for suspicious outbound connections originating from processes associated with the LiteLLM package, looking for connections to unknown or malicious IPs (reference: Attack Chain, step 6).</li>
<li>Deploy the Sigma rules provided below to detect potential credential theft and exfiltration attempts (reference: rules).</li>
<li>Implement strict access controls and least privilege principles to limit the impact of compromised credentials (reference: Impact).</li>
<li>Conduct regular security audits of all third-party dependencies and use software composition analysis tools to identify and remediate vulnerabilities (reference: Overview).</li>
</ul>
]]></content:encoded><category domain="severity">critical</category><category domain="type">advisory</category><category>supply-chain</category><category>credential-theft</category><category>llm</category><category>trivy</category></item><item><title>Trivy Scanner Compromised in Supply Chain Attack</title><link>https://feed.craftedsignal.io/briefs/2026-03-trivy-supply-chain/</link><pubDate>Sun, 22 Mar 2026 00:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-03-trivy-supply-chain/</guid><description>The widely used Trivy scanner has been compromised in an ongoing supply chain attack, potentially impacting numerous organizations using the tool for vulnerability management.</description><content:encoded><![CDATA[<p>On March 21, 2026, reports emerged indicating that the Trivy scanner, a popular open-source vulnerability scanner used extensively in software development and deployment pipelines, has been compromised in a supply chain attack. The specifics of the initial compromise vector remain under investigation, but the impact could be widespread due to Trivy&rsquo;s integration into numerous CI/CD systems and container registries. Organizations utilizing affected versions of Trivy risk deploying vulnerable or malicious containers and software builds, creating a significant security risk. The attackers&rsquo; goals are currently unknown, but possibilities include injecting malware, stealing credentials, or gaining persistent access to compromised systems.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker gains unauthorized access to the Trivy project&rsquo;s build or distribution infrastructure (potentially via compromised credentials or a software vulnerability in the build process).</li>
<li>The attacker injects malicious code into a release of the Trivy scanner. This could involve modifying existing binaries or libraries, or adding new malicious components.</li>
<li>The compromised Trivy release is distributed to users through official channels, such as package managers or container registries.</li>
<li>Developers and system administrators download and install the compromised Trivy scanner as part of their regular vulnerability scanning process.</li>
<li>The malicious code within Trivy executes during scans, potentially allowing the attacker to gain initial access to the target system.</li>
<li>The attacker uses the compromised Trivy scanner to establish a reverse shell connection to a command and control (C2) server.</li>
<li>The attacker performs reconnaissance on the compromised system to identify sensitive data and potential targets.</li>
<li>The attacker exfiltrates sensitive data, deploys ransomware, or performs other malicious activities depending on their objectives.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>The compromise of the Trivy scanner represents a significant supply chain risk. Given Trivy&rsquo;s widespread adoption, a successful attack could impact thousands of organizations across various sectors. The impact ranges from data breaches and financial losses due to ransomware to reputational damage and disruption of critical services. The exact number of affected organizations is currently unknown, but the potential scope is substantial.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Implement network connection monitoring and deploy the Sigma rule &ldquo;Detect Suspicious Outbound Connection from Trivy&rdquo; to identify potentially compromised Trivy instances attempting to communicate with malicious C2 servers.</li>
<li>Monitor process creations and deploy the Sigma rule &ldquo;Detect Suspicious Trivy Execution&rdquo; to identify anomalies in Trivy execution behavior.</li>
<li>Implement integrity monitoring for Trivy binaries and configuration files to detect unauthorized modifications.</li>
<li>Conduct thorough security audits of your CI/CD pipelines and software supply chain to identify and mitigate potential vulnerabilities.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>supply-chain</category><category>vulnerability-scanner</category><category>trivy</category></item></channel></rss>