<?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>Software-Supply-Chain-Security - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/tags/software-supply-chain-security/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Mon, 27 Jul 2026 18:05:49 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/tags/software-supply-chain-security/feed.xml" rel="self" type="application/rss+xml"/><item><title>Detection of Typosquatted Python Package Installation</title><link>https://feed.craftedsignal.io/briefs/2026-07-typosquatted-python-package/</link><pubDate>Mon, 27 Jul 2026 18:05:49 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-07-typosquatted-python-package/</guid><description>A detection identifies suspicious installations of Python packages, leveraging Cisco NVM flow telemetry to monitor `pip` or `poetry` commands making outbound connections to public repositories for package names resembling known typosquats, indicating potential malicious software supply chain compromise.</description><content:encoded><![CDATA[<p>This threat brief details the detection of typosquatted Python package installations, a common technique employed by attackers to compromise software supply chains. Attackers create and publish malicious Python packages with names deliberately misspelled or slightly altered to resemble popular legitimate libraries (e.g., <code>reqeusts</code> instead of <code>requests</code>). These malicious packages are uploaded to public repositories like PyPI, where unsuspecting developers might inadvertently install them. The detection leverages Cisco Network Visibility Module (NVM) flow telemetry, monitoring for <code>pip</code> or <code>poetry</code> package manager commands with &quot;install&quot; or &quot;add&quot; flags that make outbound connections to legitimate package repositories (such as <code>pypi.org</code>, <code>pythonhosted.org</code>, <code>python-poetry.org</code>), specifically when the package name matches known or suspected typosquatted identifiers. This analytic was created on 2025-07-01 and last modified on 2026-07-14, highlighting an ongoing risk.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li><strong>Attacker Creates Malicious Package</strong>: Threat actors develop a malicious Python package containing payloads for data exfiltration, system compromise, or other illicit activities.</li>
<li><strong>Typosquatting</strong>: The attacker names the malicious package with a slight variation of a popular, legitimate Python library (e.g., <code>djanga</code> instead of <code>django</code>, <code>coloramaa</code> instead of <code>colorama</code>).</li>
<li><strong>Publication to Public Repository</strong>: The typosquatted malicious package is uploaded to public Python package indexes such as PyPI (Python Package Index).</li>
<li><strong>Victim Lured to Install</strong>: A developer or automated system is tricked, perhaps through social engineering, a typo in a development script, or a compromised upstream dependency, into attempting to install the malicious package.</li>
<li><strong>Execution of Installation Command</strong>: The victim executes a package manager command, such as <code>pip install &lt;typosquatted_package_name&gt;</code> or <code>poetry add &lt;typosquatted_package_name&gt;</code>.</li>
<li><strong>Package Manager Fetches Malicious Code</strong>: The package manager initiates an outbound network connection to a public Python package repository to download the package corresponding to the typosquatted name.</li>
<li><strong>Malicious Code Execution</strong>: Upon download, the malicious package's setup scripts (e.g., <code>setup.py</code>) are automatically executed, leading to the attacker achieving initial code execution, persistence, data exfiltration, or further system compromise on the victim's machine.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful installation of a typosquatted Python package can lead to severe consequences, including full system compromise, remote code execution, sensitive data exfiltration, credential theft, or the establishment of persistent backdoors. Attackers frequently use such methods to gain initial access or escalate privileges within development environments, potentially affecting entire software projects and their downstream users. Multiple malicious typosquatting campaigns have been observed targeting the Python Package Index, indicating a widespread and active threat to developers and organizations utilizing Python. The specific impact depends on the payload within the malicious package, but it consistently results in a breach of system integrity and confidentiality.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the provided Sigma rules to your SIEM and augment the <code>CommandLine</code> selections with an up-to-date list of known typosquatted Python package names.</li>
<li>Ensure Cisco Network Visibility Module (NVM) flow data is being collected and ingested into your SIEM, including <code>process_arguments</code>, <code>dest_hostname</code>, and <code>dest_port</code> for accurate correlation.</li>
<li>Configure the <code>typo_squatted_python_packages</code> lookup table in your environment, referencing external threat intelligence feeds for new typosquatting campaigns, to enhance the effectiveness of detection.</li>
<li>Monitor for process creation events related to <code>pip</code> and <code>poetry</code> commands on both Windows and Linux endpoints, especially those involving outbound network connections to package repositories.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>typosquatting</category><category>python</category><category>package-manager</category><category>supply-chain</category><category>endpoint</category><category>network</category><category>cisco-nvm</category><category>software-supply-chain-security</category></item></channel></rss>