pypi package report

Is guardrails-ai safe?

Version 0.10.1 of guardrails-ai was compromised; other versions are not flagged as malicious. CyberXYZ Proxy blocks the affected versions. It also has 4 known vulnerabilities, the worst rated CRITICAL.

Do not install guardrails-ai 0.10.1

CRITICAL

Compromised releases. Added to CyberXYZ 2026-05-12, OSV malicious-package feed (Google / OpenSSF).

// what we observed

This package was compromised as part of the "Mini Shai-Hulud is back" worm by the TeamPCP threat actor. The package will steal credentials and then propogate it to every package it has access to. The package also attempts to remain persistent.

Reported by Google Open Source Security via OSV.

// versions and what to do
Malicious
0.10.1
Move to
0.11.0 newest 0.x release, no known advisory

If one of these versions was installed, remove it and treat the credentials, tokens and SSH keys on that machine as exposed: rotate them. Check CI runners and container images that installed it too.

pip install "guardrails-ai==0.11.0"

OSV recordreferencereferencereferencereferencereference

// reach

55 direct dependencies

16 carry known advisories, worst CRITICAL

1 packages depend on it

an advisory here reaches each of them

Create a free accountfor every dependency path, dependent and what to upgrade
// ai model usage

No published models are known to use this package.


cvss
9.6
critical

CVSS v3.1 base score out of 10

epss
0.28%
low

chance of exploitation in 30 days, 20th percentile of all CVEs

xyz score
4.5
medium

CyberXYZ composite out of 10

fig. 01 — GHSA-xmpw-2vmm-p4p6, the advisory selected below

// 4 advisories

On May 11, 2026 at approximately 6:00 PM Pacific, an attacker published a malicious version of guardrails-ai (0.10.1) to PyPI.

Full advisory text at GitHub advisory or NVD.

// cvss v3.1 vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
// questions
Is guardrails-ai safe to install?

Version 0.10.1 of guardrails-ai was compromised. Other versions are not flagged as malicious.

Does guardrails-ai have known vulnerabilities?

Yes. CyberXYZ records 4 known vulnerabilities for guardrails-ai (pypi), the worst rated CRITICAL. They are GHSA-xmpw-2vmm-p4p6, GHSA-r6hf-g5x6-7pv9, GHSA-w392-75q8-vr67, GHSA-f8hx-f4xw-c646.

Which version of guardrails-ai should I use?

Use 0.11.0 or a later release that is not named as malicious. Versions named on this report as malicious must not be installed.

How do I check guardrails-ai before installing?

Search guardrails-ai in CyberXYZ Check at https://cyberxyz.io/check?q=guardrails-ai. The xyz Scanner checks a project's dependencies, and CyberXYZ Proxy checks each package as it is installed.


Checked 2026-11-24 at 07:10 UTC. The most recent advisory here was published 2026-05-19. Updated continuously from NVD, GHSA, OSV and CNA feeds.

Think a verdict here is wrong? Tell us — we respond within 2 business days.