Is w002yardprobe safe?
Versions 0.0.4 and 0.0.5 of w002yardprobe are confirmed malicious. If one of them was installed, remove it and rotate credentials.
Malicious versions on record
CRITICALMalicious releases. Added to CyberXYZ 2026-11-04, OSV malicious-package feed (Google / OpenSSF).
The gem ships a .yardopts file containing --load./script.rb, which causes YARD to execute script.rb whenever documentation is generated for the gem (locally via yard doc, in CI, or on doc-hosting services such as RubyDoc.info). script.rb collects host identifiers — Socket.gethostname, current working directory, UID, and RUBY_VERSION — and POSTs them via Net::HTTP.post_form to the hardcoded third-party collector https://webhook.site/97fa3c6a-3fad-4d2d-8312-15dc37e41e66. The same script also rewrites lib/w002yardprobe.rb in place (substituting a MARKSLOT token with a runtime stamp) and drops sentinel files W002SCRIPT_RAN.txt and W002EGRESS_OK.txt in the detected build directory (e.g. /build), indicating the gem is instrumented to probe a documentation-build sandbox. The package self-identifies as a probe; the exfiltration and build-environment mutation are the gem's purpose. The trigger is YARD doc generation rather than gem install or require, so the harm materializes against whichever host (developer workstation, CI runner, or doc-hosting pipeline) processes the gem's documentation.
Reported by Amazon Inspector via OSV.
- Malicious
- 0.0.4, 0.0.5
If one of these versions was installed, remove it and treat the credentials, tokens and SSH keys on that machine as exposed: rotate them. Check CI runners and container images that installed it too.
We could not check this record against the registry's release list, so this report does not say whether other versions are affected.
0 direct dependencies
none carry a known advisory
0 packages depend on it
dependents not yet indexed for this ecosystem
Tracked for PyPI packages. HuggingFace models declare Python dependencies, so rubygems packages are not covered.
Checked 2026-11-08 at 12:07 UTC. Updated continuously from NVD, GHSA, OSV and CNA feeds.