The newest Python resources are on the Python page. For a reading order instead of a date order, see the Python learning path.
| Date Added | Link | Excerpt |
|---|---|---|
| 2026-10-26 2026 | Breaking the AWS MCP Python Sandbox advanced 10 min read AI RCE | Breaking the AWS MCP Python sandbox allows for system command execution by exploiting a flaw in how structural pattern matching handles attribute reads. The sandbox's AST validator and restricted builtins block direct access to sensitive attributes or the use of `getattr()`. However, by reassigning `__match_args__` on a `namedtuple` subclass and using structural pattern matching with attribute names constructed via `chr()`, an attacker can bypass these protections and access internal Python objects like `__class__` and ultimately achieve code execution within the Lambda environment. |
| 2026-10-24 2026 | Evolving Threat: http2shell is an RCE in Node, Python, and more news RCE | The "http2shell" vulnerability is a critical remote code execution (RCE) flaw affecting Node.js, Python, and other programming environments. This exploit allows attackers to gain unauthorized control of affected systems by manipulating HTTP/2 requests. The discovery highlights a significant evolving threat landscape, emphasizing the need for developers and organizations to promptly patch their applications and servers to mitigate the risk of compromise. |
| 2026-09-09 2026 | Compromised Flutter package on pub.dev contains XCSSET malware news 7 min read Supply Chain | XCSSET malware infected the universal_file_viewer Flutter package on pub.dev, marking the first compromised package on the official Dart and Flutter repository. The XCSSET macOS worm spreads by injecting malicious build hooks into Android Gradle projects, Xcode projects, and git repositories on infected machines. While the malicious code resides in the package's example directory and is not compiled during standard dependency usage, it poses a risk to users who clone and build the example app, or to developers whose machines are infected and push compromised projects. → aikido.dev |
| 2026-08-19 2026 | Benchmarking Secure-and-Functional Remediation and How Snyk Agent Fix Lifts Frontier-Model Fix Rates by over 14% news 9 min read | Snyk Agent Fix, enhanced with Snyk Intelligence, significantly improves the success rate of secure and functional code vulnerability remediation compared to out-of-the-box frontier AI models. Benchmarking across JavaScript, Java, and Python revealed that while leading models achieve a 72-75% fix rate on their own, Snyk Intelligence boosts this to over 85%, demonstrating that security context, not just model size, is the key differentiator for effective automated remediation. → snyk.io |
| 2026-08-11 2026 | Python Software Foundation - Python 3.11.0a3 to 3.15.0b2 news 12 min read RCE | Python versions 3.11.0a3 to 3.15.0b2 are affected by an insecure input validation vulnerability (CWE-427, CVE-2026-12003) on Windows systems. This flaw allows low-privilege users to escalate privileges by manipulating file paths, leading to arbitrary code execution within privileged user or service account contexts when the vulnerable Python interpreter is launched. Mitigation involves using per-user Python installations or migrating to patched versions. → bishopfox.com |
| 2026-08-08 2026 | Flaws in Google APK for Python Unlock Agent-to-Agent Attack intermediate 4 min read | Flaws in Google's open-source Agent Development Kit (ADK) for Python allowed agent-to-agent exploitation via prompt injection, potentially compromising the software supply chain. Researchers discovered that a low-privileged, public-facing AI agent could be manipulated by untrusted text, such as in a pull request, to trigger commands executed by a high-privileged agent. This created a pathway for malicious code execution in CI/CD workflows, demonstrating a new attack vector where one AI agent can be used to compromise another. Google has since patched these vulnerabilities. → darkreading.com |
| 2026-07-30 2026 | How I Found a High-Severity Directory Traversal in Flask-Admin intermediate 4 min read RCE | A high-severity directory traversal vulnerability was found in Flask-Admin's FileAdmin functionality. The issue stems from an improper path validation using `startswith()`, which incorrectly assumes that a path beginning with the configured base directory is necessarily contained within it. This allows attackers to bypass intended filesystem boundaries and perform unauthorized file operations such as reading, uploading, renaming, deleting, and creating directories outside the restricted scope. → infosecwriteups.com |
| 2026-07-22 2026 | Leaking internal headers in Flask Ninja with deserialization intermediate 5 min read Deser | Flask Ninja's HttpBearer class has a vulnerability that allows for the leakage of internal headers. By providing a pickled or Pydantic-deserialized `BearerAuth` object with manipulated `header` and `openapi_scheme` attributes, an attacker can trick the framework into reading a custom header instead of the standard `Authorization` header. This, when combined with a developer's pattern of reflecting rejected tokens back in the response, enables the exfiltration of sensitive internal headers. |
| 2026-07-16 2026 | HN Security - My Semgrep C/C++ ruleset is ready for prime time again intermediate 5 min read Secrets | Semgrep C/C++ ruleset v2.0.0, now in the official Semgrep registry, offers 50+ rules for vulnerability research, focusing on reducing false positives without sacrificing coverage. This updated ruleset enhances detection of dangerous API calls like `str*`, `mem*`, and `*printf` family functions, improves pattern matching for array declarations and memory allocations, and optimizes performance. The rules are designed to assist developers and security researchers by highlighting potential vulnerability hotspots for further analysis, rather than direct CI/CD integration. |
| 2026-07-01 2026 | Shipping post-quantum cryptography to Python intermediate 4 min read | Post-quantum cryptography is now available for Python applications via the `pyca/cryptography` library, enabling support for NIST-standard ML-KEM and ML-DSA primitives. This integration, funded by the Sovereign Tech Agency, allows Python developers to prepare for the U.S. government's mandated migration to quantum-resistant cryptography by 2030 and 2031. While these new primitives offer quantum resistance, their larger data sizes and performance characteristics require careful consideration for protocol integration beyond a simple primitive swap. → blog.trailofbits.com |
| 2026-06-27 2026 | BadHost - One character and your AI agent switches sides intermediate 3 min read | BadHost (CVE-2026-48710) is a critical vulnerability in the Starlette Python framework, which underpins FastAPI, vLLM, and LiteLLM. Injecting a single character, like a question mark, into the "Host" HTTP header bypasses path-based access controls, allowing unauthorized access to sensitive endpoints and potentially exposing tokens and credentials for AI agents. This affects numerous AI agent deployments, with proof-of-concept exploits demonstrating successful bypasses. Updating to Starlette 1.0.1 or higher and replacing `request.url.path` with `request.scope["path"]` are recommended fixes. Infrastructure using reverse proxies should also be tested with scanners like Nemesis. |
| 2026-06-25 2026 | Taming our Python dependencies at Microsoft with AI intermediate 9 min read | Tool, the Python Dependency Remediation extension for Visual Studio Code, uses AI to automatically analyze and update Python dependencies, significantly reducing remediation time and complexity for developers. This solution addresses the challenge of deeply interconnected dependency chains and the accumulation of vulnerabilities that arise from developers avoiding manual updates due to the intricate web of library relationships. → microsoft.com |
| 2026-06-25 2026 | Hunting Leaked PyPI Tokens: 62 Live, 125 Packages Exposed intermediate 4 min read Secrets Supply Chain | Analysis of leaked PyPI tokens reveals 62 live credentials, impacting 125 packages with approximately 25,000 monthly downloads. Using the `pypitoken` Python module, researchers decoded macaroons to identify token restrictions, such as `UserIDRestriction` and `ProjectIDsRestriction`. A method mimicking the `twine upload` command was employed to test token validity, with a 400 HTTP response indicating a live token. Despite GitHub's automated scanning, numerous tokens, many first leaked in 2024, remained active, suggesting gaps in automated detection. Responsible disclosure to the PyPI security team led to token revocation and improvements in their disclosure process. → blog.gitguardian.com |
| 2026-06-23 2026 | File encryption in Python: An in-depth exploration of symmetric and asymmetric techniques intermediate 7 min read | Python file encryption, utilizing symmetric and asymmetric techniques, is explored with examples using Amazon KMS and PyNaCl's SecretBox for symmetric encryption, and PyNaCl's public/private box for asymmetric encryption, demonstrating how to secure sensitive data by transforming it into an unreadable format. → snyk.io |
| 2026-06-22 2026 | Code injection in Python: examples and prevention intermediate 7 min read RCE | Python code injection, a dangerous attack where malicious code is inserted and executed, can be prevented by understanding common vulnerabilities and implementing secure coding practices. These vulnerabilities often arise from insecure handling of user input, especially with functions like `eval()`, lack of input validation and sanitization, dynamic code construction, and insecure deserialization. Developers can mitigate these risks by safeguarding user inputs, using safer alternatives to `eval()`, rigorously validating and sanitizing all inputs, employing parameterized queries, deserializing only trusted data, and enforcing strong access controls. Utilizing developer security tools can further enhance code security. → snyk.io |
| 2026-06-21 2026 | Command injection in Python: examples and prevention intermediate 10 min read RCE | Command injection in Python applications arises when untrusted user input is passed to system shells or executed via insecurely configured system commands. Vulnerabilities can manifest through direct execution of unsanitized user data with methods like `os.system()` or `subprocess.run(shell=True)`, dynamic command string construction, or the insecure use of `eval()`. Mitigating these risks involves rigorous input validation, sanitization, and employing parameterized queries to ensure data is treated as data, not executable code. → snyk.io |
| 2026-06-21 2026 | Mastering Python virtual environments: A complete guide to venv, Docker, and securing your code intermediate 6 min read | Library for managing Python virtual environments using `venv`, `virtualenv`, and `pipenv`, and securing Dockerized Python applications with Snyk. It details the creation, activation, and usage of isolated Python environments to prevent dependency conflicts, ensuring reproducible development workflows. The library also covers containerizing Python applications with Docker, including Dockerfile creation and execution, and vulnerability scanning with Snyk to enhance application security. → snyk.io |
| 2026-06-21 2026 | Understanding and mitigating the Jinja2 XSS vulnerability (CVE-2024-22195) intermediate 3 min read XSS | CVE-2024-22195 in Jinja2, a popular Python templating library, is a cross-site scripting (XSS) vulnerability affecting versions prior to 3.1.3. This flaw allows attackers to inject arbitrary HTML attributes by exploiting the `xmlattr` filter with keys containing spaces, bypassing auto-escaping. Developers should upgrade to Jinja2 version 3.1.3 or newer. Tools like Snyk can help detect vulnerable Jinja2 versions in projects and containerized applications, aiding in continuous security monitoring. → snyk.io |
| 2026-06-19 2026 | The ultimate guide to creating a secure Python package beginner 14 min read | Guide to creating secure Python packages, this tutorial details package structure, naming conventions, and configuration using `pyproject.toml`. It covers importing, installing from PyPI and private indexes with TLS recommendations, and specifying dependencies like NumPy. Modern packaging practices using `setuptools` as a build backend are emphasized over older `setup.py` methods. → snyk.io |
| 2026-06-19 2026 | Symmetric vs. asymmetric encryption: Practical Python examples beginner 14 min read | Symmetric and asymmetric encryption are fundamental cryptographic methods for securing data, with practical Python examples demonstrating their implementation. Symmetric encryption uses a single key for both encryption and decryption, offering speed and efficiency for large datasets, while asymmetric encryption employs a public and private key pair, crucial for secure key exchange and initial handshakes in protocols like TLS/SSL. The article delves into algorithms like AES and techniques such as envelope encryption, showcasing how to leverage AWS KMS and the AWS Encryption SDK in Python for robust data protection. → snyk.io |
| 2026-06-19 2026 | How to secure Python Flask applications intermediate 14 min read API Sec | Flask application security best practices are detailed, covering common vulnerabilities like XSS, CSRF, and SQL injection. The guide highlights insecure configurations such as secret key exposure and enabled debug mode in production, offering solutions like using environment variables for sensitive data and disabling debug mode. It also shows how to leverage tools like Snyk for detecting and mitigating these issues within Python Flask applications. → snyk.io |
| 2026-06-18 2026 | Ultralytics AI Library Hacked via GitHub for Cryptomining intermediate 4 min read Supply Chain | Ultralytics AI Library versions 8.3.41 and 8.3.42 were compromised via a supply chain attack that leveraged GitHub Actions. Attackers exploited a vulnerability in the CI/CD workflow by crafting malicious branch names to inject arbitrary code, ultimately bundling the XMRig cryptocurrency miner into the PyPI packages. The compromise targeted a popular AI image prediction library, affecting users of dependent packages like ComfyUI Impact Pack, highlighting the risks of external malicious actors compromising release pipelines. → wiz.io |
| 2026-06-10 2026 | Three’s a Crowd: TeamPCP trojanizes LiteLLM in Continuation of Campaign news 3 min read Secrets Supply Chain | TeamPCP trojanized LiteLLM versions 1.82.7 and 1.82.8, abusing Python's `.pth` mechanism for stealthy persistence. These malicious packages exfiltrate cloud credentials, CI/CD secrets, and various keys to attacker-controlled domains, impacting a significant percentage of cloud environments. → wiz.io |
| 2026-06-09 2026 | Snyk and uv, Better Together intermediate 3 min read AI | uv, a high-performance Python package manager and resolver, now integrates with Snyk's security platform to provide robust supply chain visibility. This partnership enables developers to generate CycloneDX SBOMs directly from uv and scan them with Snyk for vulnerabilities and license compliance. Native uv support within Snyk's CLI and IDE integrations further streamlines security for Python AI-native applications, ensuring speed and security are not mutually exclusive. → snyk.io |
| 2026-06-08 2026 | durabletask: TeamPCP's Latest PyPi Compromise news 2 min read Supply Chain | Analysis of the TeamPCP supply chain attack details the compromise of Microsoft's official Python client, durabletask, specifically versions 1.4.1, 1.4.2, and 1.4.3. The attack leveraged compromised GitHub credentials to exfiltrate PyPI tokens and publish malicious code, targeting Microsoft's `durabletask-python` repository. Remediation steps include identifying exposure via lockfiles and CI logs, checking for persistence markers like `~/.cache/.sys-update-check`, rotating all credentials, auditing AWS SSM and Kubernetes activity, reviewing password manager sessions, and blocking C2 infrastructure. → wiz.io |
| 2026-06-05 2026 | Type Level Security for Secure AI Code Generation advanced 6 min read | Type-level security for secure AI code generation leverages type systems to eliminate entire classes of vulnerabilities, preventing insecure code from compiling or passing type checks. This approach, demonstrated with Python and Rust examples, codifies system invariants and data properties, much like Rust's memory safety or the Trusted Types web API for DOM XSS. By creating opaque wrapper classes and enforcing their use, developers can mitigate risks like Insecure Direct Object Reference (IDOR), SQL injection, and command injection, ensuring that sensitive operations require explicit authorization before data can be accessed or manipulated, even when code is generated by AI. → snyk.io |
| 2026-05-20 2026 | Microsoft's durabletask package on PyPi Compromised. Mini Shai Hulud attacks again... again! news 8 min read | Compromised versions of the Python package `durabletask`, specifically 1.4.1, 1.4.2, and 1.4.3, have been found on PyPI, containing a dropper that fetches and executes an infostealer and worm. This payload targets cloud credentials from various providers, password managers, and developer tools, encrypting and exfiltrating the data. It also includes propagation mechanisms for AWS and Kubernetes environments and a destructive payload triggered by specific system settings. → aikido.dev |
| 2026-05-12 2026 | What AI 'fingerprints' helped expose the 1st AI-made zero-day exploit? | The exploit was a Python script beginner | Researchers discovered the first zero-day exploit generated by AI. The exploit was written as a Python script. The article's title suggests that unique "AI fingerprints" were crucial in identifying this novel threat, distinguishing it from human-crafted exploits. This marks a significant development in cybersecurity, highlighting AI's potential for both creating and detecting sophisticated attacks. The specific details of these "fingerprints" and how they led to the exposure of the exploit are likely discussed within the linked content. |
| 2026-05-10 2026 | JDownloader Website Supply Chain Attack: Installers Replaced with Python RAT Malware (May 2026) news 5 min read | JDownloader website supply chain attack: Installers replaced with Python RAT malware between May 6-7, 2026, due to an unpatched CMS vulnerability. Attackers altered download links for Windows and Linux installers, delivering an obfuscated Python RAT and ELF binaries with root persistence. The compromise did not affect in-app updates or other distribution channels. Affected users may face arbitrary code execution and credential theft, necessitating OS reinstallation and credential resets. → rescana.com |
| 2026-05-08 2026 | Linux Kernel Elevation of Privilege Vulnerability news 1 min read | CVE-2026-31431, a logic bug in the Linux kernel's authencesn cryptographic template known as "Copy Fail," allows unprivileged local users to elevate privileges. This vulnerability enables a controlled 4-byte write into the page cache of any readable file, which can be exploited by a small Python script to modify setuid binaries and gain root access on most Linux distributions released since 2017. → hkcert.org |
| 2026-05-05 2026 | Bootstrap script exposes PyPI to domain takeover attacks news 8 min read Supply Chain | Legacy Python packages can expose the Python Package Index (PyPI) to domain takeover attacks through vulnerable bootstrap scripts that attempt to download and execute installation code from the now-available `python-distribute[.]org` domain. This vulnerability, present in packages like tornado and pypiserver, stems from outdated build processes that haven't been fully migrated away from the `distribute` package, leaving an exploitable attack surface if developers manually run these bootstrap scripts or if they are triggered via Makefiles. → reversinglabs.com |
| 2026-05-02 2026 | Script Injection and Data Theft: Python Data Analysis Tool Compromised intermediate 2 min read RCE | Script injection in elementary-data's GitHub Actions led to the compromise of version 0.23.3 on PyPI, allowing attackers to steal sensitive data including SSH keys, AWS credentials, API tokens, and cryptocurrency wallet files. The malicious package was available for nearly half a day before being removed, and affected users are advised to upgrade to version 0.23.4 and rotate credentials. The incident, cataloged as MAL-2026-3083 in OSV, highlights ongoing risks in the open-source supply chain. |
| 2026-05-01 2026 | "Copy Fail": Linux root in all major distributions with 732 bytes of Python intermediate 2 min read RCE | "Copy Fail" (CVE-2026-31431) is a Linux kernel vulnerability allowing local users to gain root privileges by manipulating the page cache with a 732-byte Python script. This logic error enables controlled 4-byte writes to any readable filesystem's page cache, affecting most Linux distributions since 2017, including Ubuntu, Amazon Linux, RHEL, and SUSE. The exploit bypasses checksums by not marking pages as "dirty" and can break container boundaries. A fix is available, with temporary workarounds including blocking AF_ALG socket creation or blacklisting the algif_aead module. |
| 2026-04-30 2026 | New Linux 'Copy Fail' Vulnerability Enables Root Access on Major Distributions news 2 min read RCE | Linux 'Copy Fail' vulnerability, tracked as CVE-2026-31431 with a CVSS score of 7.8, allows unprivileged local users to gain root access. This flaw in the kernel's cryptographic subsystem, specifically the algif_aead module, enables modification of a setuid binary's page cache via a simple Python script, affecting major Linux distributions since 2017. The exploit, described as portable, tiny, stealthy, and cross-container, leverages a logic error to overwrite file data within the kernel's page cache, echoing primitives seen in the Dirty Pipe vulnerability. → thehackernews.com |
| 2026-04-23 2026 | wapiti-scanner/wapiti: Web vulnerability scanner written in Python3 beginner 5 min read API Sec | Library for "black-box" web vulnerability scanning in Python3, acting as a fuzzer to detect issues like SQL Injections, XSS, File Disclosure, Command Execution, XXE, CRLF Injection, Shellshock, SSRF, and Log4Shell (CVE-2021-44228) by attacking scripts and forms. It supports various reporting formats, session management for resuming scans, proxy integration, authenticated scans, URL scope limitation, cookie import from browsers, and includes modules for CMS enumeration, subdomain takeover detection, and security header checks. |
| 2026-04-22 2026 | CVE-2025-68664: Critical LangChain Flaw Enables Secret Extraction news 4 min read | CVE-2025-68664, a critical serialization injection vulnerability in LangChain Core, allows attackers to extract secrets and instantiate unintended objects by manipulating the "lc" marker during deserialization. This affects applications that deserialize untrusted input, particularly LLM outputs or metadata. Developers should prioritize upgrading affected Python (langchain-core) and JavaScript (LangChain.js) packages and audit serialization/deserialization code paths. → socradar.io |
| 2026-04-22 2026 | Bandit Python: Free SAST in 10 Seconds (2026 Review) beginner 3 min read | Bandit is a free, open-source SAST tool for Python, leveraging Abstract Syntax Tree analysis to identify common security vulnerabilities like hardcoded passwords, weak cryptography, and shell injection. It offers flexible configuration, multiple output formats, and baseline comparisons, making it an effective pre-commit hook or a Python-specific layer alongside broader security tools for projects running Python 3.10–3.14. → appsecsanta.com |
| 2026-04-22 2026 | CVE-2026-22607: Fickling Python RCE Vulnerability news 4 min read | CVE-2026-22607 in Fickling versions up to 0.1.6 allows arbitrary code execution. This insecure deserialization vulnerability arises from Fickling's failure to classify Python's `cProfile` module as overtly malicious. Attackers can craft malicious pickle files leveraging `cProfile.run()` to bypass Fickling's analysis, which misclassifies these payloads as merely suspicious, leading to unchecked deserialization and code execution. → sentinelone.com |
| 2026-04-22 2026 | CVE-2026-21226: Azure Core Python Library RCE Vulnerability news 4 min read | CVE-2026-21226 is a high-severity insecure deserialization vulnerability in the Azure Core shared client library for Python, enabling remote code execution by authorized attackers. This weakness, categorized as CWE-502, arises from insufficient validation of untrusted data during deserialization, allowing for the injection of malicious serialized payloads. Exploitation requires network access and low-level privileges, potentially impacting numerous Azure-integrated applications and cloud services. Mitigation involves updating the Azure Core library to the latest patched version and implementing strict input validation. → sentinelone.com |
| 2026-04-22 2026 | SGLang CVE-2026-5760 (CVSS 9.8) Enables RCE via Malicious GGUF Model Files news 2 min read RCE | SGLang CVE-2026-5760, a critical command injection vulnerability with a CVSS score of 9.8, allows remote code execution through specially crafted GPT-Generated Unified Format (GGUF) model files. Attackers can exploit the reranking endpoint by embedding Jinja2 server-side template injection payloads within a model's `tokenizer.chat_template`. When a user loads and uses this malicious model in SGLang, the payload executes arbitrary Python code on the server, similar to the "Llama Drama" vulnerability. → thehackernews.com |
| 2026-04-22 2026 | Marimo RCE Flaw CVE-2026-39987 Exploited Within 10 Hours of Disclosure news 3 min read RCE | CVE-2026-39987, a critical pre-authenticated remote code execution vulnerability in the Marimo data science notebook, was exploited within 10 hours of its disclosure. Attackers leverage the unauthenticated terminal WebSocket endpoint to gain a full PTY shell, execute arbitrary system commands, and deploy NKAbuse malware variants. This flaw, impacting Marimo versions prior to 0.20.4, has been added to CISA's Known Exploited Vulnerabilities catalog, highlighting the rapid weaponization of newly disclosed vulnerabilities. → thehackernews.com |
| 2026-04-22 2026 | Critical SQL Injection Vulnerability in Django (CVE-2025-64459) news 4 min read | CVE-2025-64459 in Django allows critical SQL injection by manipulating internal query parameters `_connector` and `_negated` when user input is passed directly into `filter()`, `exclude()`, or `get()` calls. This vulnerability, affecting supported Django versions, can lead to unauthorized data access, authentication bypass, and privilege escalation with a CVSS score of 9.1. Immediate upgrades to patched versions (5.2.8, 5.1.14, 4.2.26) are crucial. → endorlabs.com |
| 2026-04-22 2026 | Malicious PyPI Packages Deliver SilentSync RAT news 7 min read | Malicious PyPI packages `sisaws` and `secmeasure` deliver the SilentSync Remote Access Trojan (RAT) to Windows systems. These packages, created by the same author, mimic legitimate libraries but contain backdoors that fetch and execute a Python script from Pastebin. SilentSync is capable of remote command execution, file exfiltration, screen capturing, and stealing sensitive data from web browsers like Chrome, Brave, Edge, and Firefox, communicating with its command-and-control server via HTTP. |
| 2026-04-22 2026 | Bearer: SAST Tool to Discover, Filter, and Prioritize Security and Privacy Risks beginner 8 min read | Tool for static application security testing (SAST), Bearer scans source code to identify, filter, and prioritize security and privacy risks. It supports multiple languages including Go, Java, JavaScript, TypeScript, PHP, Python, and Ruby, with advanced cross-file analysis and additional languages available in its commercial version. Bearer CLI detects vulnerabilities based on OWASP Top 10 and CWE Top 25, such as Path Traversal (CWE-22), SQL Injection (CWE-89), and Cross-Site Scripting (CWE-79), and also identifies PII and PHI data flows for privacy compliance reporting. |
| 2026-04-19 2026 | PyPI Supply Chain Attack: Colorama and Colorizr Name Confusion news 5 min read | Python and NPM users faced a sophisticated supply chain attack through name confusion, targeting popular libraries like Colorama and Colorizr. Malicious packages mimicked these legitimate names on PyPI and NPM, aiming to deliver persistent remote access, data exfiltration, and advanced evasion techniques across Windows and Linux platforms. The attack's cross-ecosystem approach and complex payloads indicate coordinated adversarial activity. → checkmarx.com |
| 2026-04-19 2026 | Compromised LiteLLM PyPI Package Delivers Credential Stealer news 6 min read Supply Chain | Compromised `litellm` PyPI package versions (1.82.7 and 1.82.8) delivered a multi-stage credential stealer and dropper, impacting millions of daily downloads. The malicious code harvested sensitive data including API keys, cloud credentials, and configuration files, establishing persistence and allowing further remote control. Sonatype's tooling detected and blocked the malicious versions, highlighting the growing risk to AI supply chains and the need for automated defenses against compromised dependencies. Affected systems require immediate removal of the package, credential rotation, and thorough system investigation. → sonatype.com |
| 2026-04-19 2026 | LiteLLM PyPI Package Compromised in TeamPCP Supply Chain Attack news 3 min read | LiteLLM PyPI package compromised in a supply-chain attack by the TeamPCP hacking group, introducing malicious versions 1.82.7 and 1.82.8 that deploy an infostealer capable of harvesting system credentials, cloud tokens, Kubernetes secrets, and cryptocurrency wallet data. The payload also establishes persistence through systemd services and attempts lateral movement within Kubernetes clusters. → bleepingcomputer.com |
| 2026-04-19 2026 | Malicious PyPI Package — LiteLLM Supply Chain Compromise news 1 min read | LiteLLM supply chain compromise exploited Python's `.pth` file execution for implicit, unnoticed credential exfiltration. Version 1.82.8 and possibly 1.82.7 are affected, with the attack in the wild attributed to TeamPCP. The payload, double base64-encoded, targets environment variables, SSH keys, and cloud credentials, sending them to an attacker-controlled server. PyPI has quarantined the project, but users should check for `litellm_init.pth` and rotate all credentials. |
| 2026-04-19 2026 | The PyPI Supply Chain Attacks of 2025 news Supply Chain | The PyPI Supply Chain Attacks of 2025 |
| 2026-04-16 2026 | PYPI Security: How to Prevent Supply Chain Attacks in Python Projects beginner | PYPI Security: How to Prevent Supply Chain Attacks in Python Projects |