Malicious code in tdesign-vue-mono (RubyGems)
Description
--- -= Per source details. Do not edit below this line.=-
Source: amazon-inspector (a698c4c20872ce571e4fe441fa194fdde22864ee1080a2a09192bd20aa3169bf)
The gem declares ext/mkrf_conf.rb as a native extension, which causes RubyGems to execute it during gem install. The script performs no native build activity (no mkmf calls, no Rakefile emission, no C/C++ sources are shipped). Instead it collects the installer's hostname, username, current working directory, home directory, and the contents of /etc/passwd, /etc/hosts, and /etc/resolv.conf, serializes them as JSON, and transmits them over a TLS TCP socket to geymj1lxqj2u1nzkaqe6zrg33u9yxold.oastify.com:443 (a Burp Collaborator subdomain), with a DNS probe to the same host. The package name mimics the legitimate TDesign Vue component family, but the shipped code is purely an install-time reconnaissance and exfiltration payload.
Source: ossf-package-analysis (b0cfa1af4f0cec458d6f289661f3d1791a2b8a484169b83ce9ec1ca78697f6e9)
The OpenSSF Package Analysis project identified 'tdesign-vue-mono' @ 1.0.1 (rubygems) as malicious.
It is considered malicious because:
- The package communicates with a domain associated with malicious activity.