strutil-core
- Type
- Worm
- Capabilities
- Credential theftExfiltrationPersistenceLateral movementDefense evasionReconnaissance
- Platforms
- LinuxmacOS
strutil-core is a malicious RubyGems package that delivers a credential-stealing worm targeting developer workstations and CI environments. Malicious version 1.0.1, published in November 2026, masqueraded as a lightweight string-manipulation library. Its native-extension installation hook downloads the Bun runtime and executes a bundled JavaScript payload on Linux and macOS without requiring an application to import the package.
The payload collects cloud credentials, package-registry tokens, Git credentials, SSH keys, Kubernetes and Vault secrets, password-manager data, cryptocurrency wallet data, and AI coding-tool secrets. It can retrieve AWS Secrets Manager secrets and Systems Manager parameters across multiple regions and extract secrets from GitHub Actions worker-process memory. Stolen information is encrypted for exfiltration, with public GitHub repositories and GitLab available as fallback channels. The worm contains routines for republishing infected packages across multiple registries, modifying repositories and CI workflows, and spreading through SSH.
Persistence mechanisms include systemd user services, macOS LaunchAgents, a Python backdoor that retrieves commands through public GitHub commits, and poisoned AI coding-tool configurations, MCP server settings, session hooks, and repository instructions. The payload also uses obfuscation, encrypted embedded components, locale-based execution exclusions, and attempts to disable security tooling. After successful use of a stolen GitHub token through its GitHub exfiltration path, it can install a persistent monitor that checks token validity every 45 seconds for up to 48 hours and deletes the user's home directory if access is rejected.
Shared code links the payload to the testmetest worm and Miasma family, derived from the publicly available Shai-Hulud toolkit; this does not establish common operators. Installation-time execution and credential-store access were confirmed in a sandbox, but no victims or successful downstream propagation were confirmed.
Recent activity
6 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.