NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Malicious package

shoaib-unityRubyGems

Advisory published Updated

shoaib-unity is a confirmed malicious RubyGems package (MAL-2026-18461) that steals credentials and exfiltrates sensitive data (malicious version 1.0.1). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in shoaib-unity (RubyGems)

MAL-2026-18461
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
gem uninstall shoaib-unity

What this malware does

The gem declares an extension script (mkrf_conf.rb) that runs automatically during gem install. On execution, it collects installer host identifiers (current working directory, home directory, hostname, username) and reads the contents of /etc/resolv.conf, /etc/passwd, and /etc/hosts, serializes them as JSON, and transmits them over a TLS TCPSocket POST to the hardcoded host d8mjdyfukgwrvkth4n83toa0xr3lrgf5.oastify.com. Prior to the HTTP POST, the script performs a DNS resolution of the same oastify.com subdomain, providing a secondary out-of-band beacon via the attacker's DNS logs. oastify.com is PortSwigger Burp Collaborator infrastructure; a hardcoded unique subdomain in a published gem is a dedicated exfiltration channel to the publisher, not a legitimate telemetry sink.

The OpenSSF Package Analysis project identified 'shoaib-unity' @ 1.0.1 (rubygems) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.

Malicious versions

1 flagged
1.0.1

Indicators of compromise (SHA-256)

ba322db91ecd6b863e8b06aa24b804a27f29cf2c8e2954bc1e77d7dc45e2fd52
01fd98b807f4f85a6e016b143dec086ea16de731fb1de0cd84763dbf5d8f6919

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for shoaib-unity (version 1.0.1).

  2. If you installed it — respond

    shoaib-unity is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If shoaib-unity was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. shoaib-unity on RubyGems has been identified as a malicious package (version 1.0.1 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-022483

References

Credits

  • Amazon Inspector · finder
  • OpenSSF: Package Analysis · finder

Detect & block this

O3 blocks shoaib-unity-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

Explore

shoaib-unity (RubyGems) malicious package — MAL-2026-18461 | O3 Security