Critical (AgentArmorHQ estimate)Supply chain

Malicious code in azure-langchain-example (PyPI)

Product
azure-langchain-example
Affected
azure-langchain-example 0.1.0
Fixed in
No fix yet

Last verified against sources: October 26, 2026

Am I affected?

azure-langchain-example: affected azure-langchain-example 0.1.0. No fix has been reported yet.

  • Check your version: run pip show azure-langchain-example. Versions = 0.1.0 of azure-langchain-example are affected. [1]

What to do now

  1. Remove the package if it is installed: run pip uninstall azure-langchain-example. [1]
  2. There is no fixed version to upgrade to yet. [1]

General practice, not from the source: if the affected software could read tokens or credentials, rotate them after upgrading; pin versions and review changes before updating tools your agents run.

Discuss this incident

What happened

  • The PyPI package azure-langchain-example contains malicious code. [1]
  • Installing the package or importing the module sends basic information about the host to someone else. [1]
  • The package overrides the install command in setup.py so malicious code runs during installation. [1]
  • The source says the package has no other purpose. [1]

Impact

  • An attacker could get basic information about the machine, such as its IP address or username. [1]

What was done

  • No patched version of azure-langchain-example is available. [1]

Sources

  1. GHSA-h82v-pqpv-jr3r — GitHub Advisory Database

Every statement above was checked against these sources before publishing. Spotted an error? Tell us and we will correct it with a dated note.

Share advisory brief with your team

Copy a plain-text summary for Slack, GitHub issues, or team security channels.

Brief
Malicious code in azure-langchain-example (PyPI)
Product: azure-langchain-example | Affected: azure-langchain-example 0.1.0 | Fixed in: No fix yet
Summary: The PyPI package azure-langchain-example contains malicious code.
Source & remediation on AgentArmorHQ: https://agentarmorhq.com/incidents/2026/09/ghsa-h82v-pqpv-jr3r-azure-langchain-example
Was this page useful?

Corrections

Report an error or request a correction. We review requests within 5 business days and add a dated correction note.

10 to 2,000 characters. A link to a source helps. Stored as plain text.

Discussions for azure-langchain-example

Ask questions or share configuration tips. Governed by our Community Rules & Terms.

No posts match this filter yet.

Be the first to ask a question or share a working tip.

Check before you install

Paste a package name or a GitHub link and get a clear answer in seconds: Block, Review or No known issues. No account needed.

Check a package

Questions? Contact us