
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.
Web Server that provides a simple API for IP address information
MAXMIND_LICENSE_KEY
(required) - Set this to the key you got from Maxmind aboveIPAPI_PORT
(optional) - The server port. Defaults to 3334.git clone git@github.com:guyellis/ipapi.git
npm install
npm start
From a browser or your client code call http://<your-domain>/ip/<x.x.x.x>
For example, if you're running the server locally then opening http://localhost:3334/ip/1.2.3.4
in your browser will return some JSON that looks something like this:
{
"city": {
"geoname_id": 2077456,
"names": {
"en": ""
}
},
"continent": {
"code": "OC",
"geoname_id": 0,
"names": {
"en": "Oceania"
}
},
"country": {
"geoname_id": 0,
"iso_code": "AU",
"names": {
"en": "Australia"
}
},
"location": {
"latitude": 0,
"longitude": 0,
"metro_code": 0,
"time_zone": "Australia/Sydney"
},
"postal": {
"code": ""
},
"registered_country": {
"geoname_id": 0,
"iso_code": "AU",
"names": {
"en": "Australia"
}
},
"subdivisions": [
{
"geoname_id": 0,
"iso_code": "",
"names": {
"en": ""
}
}
]
}
The data for the server comes from the GeoLite2 DB provided by maxmind.com.
4.0.0
FAQs
Web Server that provides a simple API for IP address information
We found that ipapi 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.