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/albertyw/localtimezone/v2
LatLong conversion to time zone. This is a fork of github.com/ugjka/go-tz.
import localtimezone "github.com/albertyw/localtimezone/v2"
// Loading Zone for Line Islands, Kiritimati
tz, err := localtimezone.NewLocalTimeZone()
if err != nil {
panic(err)
}
zone, err := tz.GetZone(localtimezone.Point{
Lon: -157.21328, Lat: 1.74294,
})
if err != nil {
panic(err)
}
fmt.Println(zone[0])
Uses simplified shapefile from timezone-boundary-builder
GeoJson Simplification done with orb.
Get the most current timezone release version at https://github.com/evansiroky/timezone-boundary-builder/tags
go run tzshapefilegen/main.go
The code used to lookup the timezone for a location is licensed under the MIT License.
The data in timezone shapefile is licensed under the Open Data Commons Open Database License (ODbL).
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.