TGViewer
Linux / Линукс Linux / Линукс @linux_gram · 13.8K subscribers
Post #11913 2.79K
Атакующие внедрили вредоносный червь mini-shai-hulud в 32 NPM-пакета Red Hat

В результате компрометации процесса формирования релизов на базе GitHub Actions в репозиториях RedHatInsights злоумышленники опубликовали в NPM 64 вредоносные версии (по две на каждый из 32 пакетов Red Hat Cloud Services). В пакеты был интегрирован червь mini-shai-hulud, размещённый в index.js и активируемый через preinstall-обработчик при установке пакета.

После активации червь искал токены к NPM, PyPI, CircleCI, AWS, GCP, Docker, Azure, HashiCorp, Kubernetes и закрытые ключи SSH, отправляя найденные данные злоумышленникам. Если находился токен к NPM, червь автоматически публиковал новые вредоносные релизы для пакетов в текущем окружении, поражая дерево зависимостей.

Доступ к GitHub Actions был получен через компрометацию учётной записи сотрудника Red Hat. Атакующие напрямую отправили коммиты в репозитории javascript-clients, frontend-components и platform-frontend-ai-toolkit, минуя рецензирование. В ci.yaml подставлялся скрипт _index.js, который через полномочие "id-token: write" запрашивал у GitHub токен OIDC и использовал его для аутентификации в NPM через механизм "trusted publishing".

NPM-пакеты, содержащие вредоносный код:
@redhat-cloud-services/chrome (2.3.1, 2.3.2)
@redhat-cloud-services/compliance-client (4.0.3, 4.0.4)
@redhat-cloud-services/config-manager-client (5.0.4, 5.0.5)
@redhat-cloud-services/entitlements-client (4.0.11, 4.0.12)
@redhat-cloud-services/eslint-config-redhat-cloud-services (3.2.1, 3.2.2)
@redhat-cloud-services/frontend-components (7.7.2, 7.7.3)
@redhat-cloud-services/frontend-components-advisor-components (3.8.2)
@redhat-cloud-services/frontend-components-config (6.11.3, 6.11.4)
@redhat-cloud-services/frontend-components-config-utilities (4.11.2, 4.11.3)
@redhat-cloud-services/frontend-components-notifications (6.9.2, 6.9.3)
@redhat-cloud-services/frontend-components-remediations (4.9.2, 4.9.3)
@redhat-cloud-services/frontend-components-testing (1.2.1, 1.2.2)
@redhat-cloud-services/frontend-components-translations (4.4.1, 4.4.2)
@redhat-cloud-services/frontend-components-utilities (7.4.1, 7.4.2)
@redhat-cloud-services/hcc-feo-mcp (0.3.1, 0.3.2)
@redhat-cloud-services/hcc-kessel-mcp (0.3.1, 0.3.2)
@redhat-cloud-services/hcc-pf-mcp (0.6.1, 0.6.2)
@redhat-cloud-services/host-inventory-client (5.0.3, 5.0.4)
@redhat-cloud-services/insights-client (4.0.4, 4.0.5)
@redhat-cloud-services/integrations-client (6.0.4, 6.0.5)
@redhat-cloud-services/javascript-clients-shared (2.0.8, 2.0.9)
@redhat-cloud-services/notifications-client (6.1.4, 6.1.5)
@redhat-cloud-services/patch-client (4.0.4, 4.0.5)
@redhat-cloud-services/quickstarts-client (4.0.11, 4.0.12)
@redhat-cloud-services/rbac-client (9.0.3, 9.0.4)
@redhat-cloud-services/remediations-client (4.0.4, 4.0.5)
@redhat-cloud-services/rule-components (4.7.2, 4.7.3)
@redhat-cloud-services/sources-client (3.0.10, 3.0.11)
@redhat-cloud-services/topological-inventory-client (3.0.10, 3.0.11)
@redhat-cloud-services/tsc-transform-imports (1.2.2)
@redhat-cloud-services/types (3.6.1, 3.6.2, 3.6.4)
@redhat-cloud-services/vulnerabilities-client (2.1.8, 2.1.9)


Linux / Линукс 🥸
  • 👍 12
  • 😈 5
  • 😁 4
  • ❤ 2
  • 🔥 2
More from @linux_gram
  1. Oct 16, 2026Linux / Линукс 🥸
  2. Oct 16, 2026Вышел Ubuntu 26.10 "Stonking Stingray" Вышел промежуточный релиз Ubuntu 26.10, в котором C…
  3. Oct 15, 2026Linux / Линукс 🥸
  4. Oct 15, 2026Epic Games выкатила тестовую версию нативного Epic Games Launcher для Linux и объявила о п…
  5. Oct 15, 2026Linux / Линукс 🥸
  6. Oct 15, 2026Выпуск QLinuxDeviceManager 1.3, диспетчера устройств для Linux с расширенной диагностикой…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →