
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.
find-ip-location
Advanced tools
参考maxmind实现的纯javascript地址库;基于ipb提供的付费ip地址库实现ip地址解析,中国国内的地址精确到省市,国外的精确到国家。需要使用配套工具将提供的ip地址库文件,转换成工具需要的二进制格式文件。该地址库主要针对中国国内的ip地址解析。
$ npm install --save find-ip-location
var ipQuery = require("find-ip-location")
var sampleFilePath = 'db path'
// Sync
var ipFinder = ipQuery.loadDBSync(sampleFilePath)
ipFinder.find('66.6.44.4')
// Async
ipQuery.loadDB(sampleFilePath, (err, ipFinder) => {
if(err){
console.log(err.message)
}else{
ipFinder.find('66.6.44.4')
}
})
返回的参数包含:["startIP", "endIP", "code", "province", "hanCity", "city", "isoCode", 'provinceCode', 'cityCode', 'countryCode', 'country']
FAQs
query ip location using ipb ip databases
The npm package find-ip-location receives a total of 0 weekly downloads. As such, find-ip-location popularity was classified as not popular.
We found that find-ip-location 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.