
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@rainder/geo-tz
Advanced tools
It takes some time to load and preprocess shapefile, but once it's loaded it's super fast.
Note: both *.shp
and *.dbf
source files are required.
npm install @rainder/geo-tz
options object
{
//uses polygon minification algorithm
//by dropping points in the polygon.
//WARNING: loses geometry precision if used
minify: { //defaults to false
//defines maximum amount of points in the polygon
max_polygon_size: 150,
//precision step in meters
precision_step: 100,
},
//defines geo indexing precision.
//increasing value allows to find timezone faster, but uses more memory
index_precision: 1,
}
$ wget http://efele.net/maps/tz/world/tz_world.zip
const geoTimezone = require('@rainder/geo-tz')
geoTimezone.loadShapefile('./tz_world.shp').then((tz) => {
const point = {
type: 'Point',
coordinates: [-0.15, 51.5]
};
tz(point); //Europe/London
})
FAQs
Returns a precise timezone at the specific gps coordinates
We found that @rainder/geo-tz 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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.