Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
github.com/maxmind/mm-geofeed-verifier/v3
mm-geofeed-verifier attempts to validate that a given file follows the format suggested at https://datatracker.ietf.org/doc/html/rfc8805, and makes some comparisons to a given MMDB, typically the latest available GeoIP2-City.mmdb
By default strict mode requires exact ISO-3166-2 format compliance for region codes:
mm-geofeed-verifier -gf /path/to/geofeed-formatted-file -db /path/to/Database.mmdb
Use --lax
mode to allow region codes to be provided without ISO-3166 country code prefix:
mm-geofeed-verifier --lax -gf /path/to/geofeed-formatted-file -db /path/to/Database.mmdb
Find a suitable archive for your system on the Releases
tab. Extract the
archive. Inside is the mm-geofeed-verifier
binary.
You need the Go compiler (Go 1.21+). You can get it at the Go website.
The easiest way is via go install
:
$ go install github.com/maxmind/mm-geofeed-verifier/v2@latest
The program will be installed to $GOPATH/bin/mm-geofeed-verifier
.
Please report bugs by filing an issue with our GitHub issue tracker at https://github.com/maxmind/mm-geofeed-verifier/issues
This software is Copyright (c) 2019 - 2024 by MaxMind, Inc.
This is free software, licensed under the Apache License, Version 2.0 or the MIT License, at your option.
FAQs
Unknown package
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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.