
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Any available API in the world deserves a wrapper gem right?
Add this line to your application's Gemfile:
gem 'ipaddresslabs'
And then execute:
$ bundle
Or install it yourself as:
$ gem install ipaddresslabs
You can call locate
method like this:
Ipaddresslabs.locate("177.142.170.45")
And it will return a JSON object like this:
{
"query_status" : {
"query_status_code" : "OK",
"query_status_description" : "Query successfully performed."
},
"ip_address" : "177.142.170.45",
"geolocation_data" : {
"continent_code" : "SA",
"continent_name" : "South America",
"country_code_iso3166alpha3" : "BRA",
"country_code_iso3166alpha2" : "BR",
"country_code_iso3166numeric" : "76",
"country_code_fips10-4" : "BR",
"country_name" : "Brazil",
"region_code" : "BR21",
"region_name" : "Rio de Janeiro",
"city" : "Rio De Janeiro",
"postal_code" : "-",
"metro_code" : "-",
"area_code" : "-",
"latitude" : -22.9,
"longitude" : -43.2333,
"isp" : "Virtua",
"organization" : "Virtua"
}
}
You need to set an environment variable to get this work:
ENV["IPADDRESSLABS_KEY"] = "your_ipaddresslabs_key"
Or set in secrets.yml file
development:
ipaddresslabs_key: your_ipaddresslabs_key
test:
ipaddresslabs_key: your_ipaddresslabs_key
production:
ipaddresslabs_key: your_ipaddresslabs_key
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that ipaddresslabs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.