Skip to content

Your lightweight open-source personal agent.

fix(security): pin litellm and add supply chain advisory note

Xubin Ren38ce054b31ee
diff --git a/README.md b/README.md
index 797a5bcf2..c9d19a1ca 100644
--- a/README.md
+++ b/README.md
@@ -20,6 +20,9 @@
## πŸ“’ News
+> [!IMPORTANT]
+> **Security note:** Due to `litellm` supply chain poisoning, **please check your Python environment ASAP** and refer to this [advisory](https://github.com/HKUDS/nanobot/discussions/2445) for details. We are also urgently replacing `litellm` and preparing mitigations.
+
- **2026-03-16** πŸš€ Released **v0.1.4.post5** β€” a refinement-focused release with stronger reliability and channel support, and a more dependable day-to-day experience. Please see [release notes](https://github.com/HKUDS/nanobot/releases/tag/v0.1.4.post5) for details.
- **2026-03-15** 🧩 DingTalk rich media, smarter built-in skills, and cleaner model compatibility.
- **2026-03-14** πŸ’¬ Channel plugins, Feishu replies, and steadier MCP, QQ, and media handling.
diff --git a/pyproject.toml b/pyproject.toml
index be367a473..246ca3074 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -19,7 +19,7 @@ classifiers = [
dependencies = [
"typer>=0.20.0,<1.0.0",
- "litellm>=1.82.1,<2.0.0",
+ "litellm>=1.82.1,<=1.82.6",
"pydantic>=2.12.0,<3.0.0",
"pydantic-settings>=2.12.0,<3.0.0",
"websockets>=16.0,<17.0",