Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
github.com/wbrefvem/weather-api
This tool is a web server that fetches data from OpenWeather and reports on the weather accordingly. Send it a request with the lattitude & longitude of a particular place, and you will receive a simple weather report in return.
To use, clone this repo, set the env var OPENWEATHER_API_KEY
to your API key and run the code:
$ OPENWEATHER_API_KEY=<key> go run main.go
This will lunch a web server that binds to port 8080 by default. This can be overridden with the env var OW_HTTP_PORT
.
Requests must be directed to /weather
, and query params for lat
and long
must be provided for lattitude and longitude, respectively, e.g.:
$ curl localhost:8080/weather\?lat=40.7128\&long=-74.0060
The weather in New York is mist, and the temperature is cold.
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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.