
Research
/Security News
Toptal’s GitHub Organization Hijacked: 10 Malicious Packages Published
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
github.com/MelihYanalak/weather-api
This repository contains a simple Go project that provides information about weather conditions inside a given Market.
These instructions will guide you through setting up and running this project on your local machine or docker.
Before you begin, ensure you have Go installed on your system. You can download it from golang.org.
You should have tile38 server running on your system and define environment variable TILE38_HOST such as TILE38_HOST=localhost:9851. You can download it from tile38.com
You should have Redis server running on your system and define environment variable REDIS_HOST such as TILE38_HOST=localhost:6379. You can download it from redis.io
Before you begin, ensure you have Docker installed on your system. You can download it from docker.com.
docker-compose up --build
Before you begin, ensure you have Python installed on your system. You can download it from python.org.
In order to initialize tile38 database by populating with example data, you can run the python script in path scripts/import_data_tile38.py while tile38 server is running on your environment.
Before running the script make sure you have installed Redis for python.
pip install Redis
python import_data_tile38.py
After running the program on your system, you can send request to server with required parameters. If you have curl installed on your system (Curl) :
curl -X GET -H "Content-Type: application/json" -d "{\"lat\": 41.13, \"long\": -74.18}" http://localhost:8080/weather
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
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Research
/Security News
Socket researchers investigate 4 malicious npm and PyPI packages with 56,000+ downloads that install surveillance malware.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.