
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
github.com/chitranshubisht/weather-tracker-api
Welcome to the Weather Tracker API project! This API fetches weather data from OpenWeatherMap and provides temperature information in Kelvin, Celsius, and Fahrenheit for a given city.
Before running the project, ensure you have the following installed:
Follow these steps to set up and run the Weather Tracker API:
git clone git@github.com:chitranshubisht/weather-tracker-api.git
cd weather-tracker-api
Create a .apiConfig
file in the root directory with your OpenWeatherMap API key:
{
"OpenWeatherMapApiKey": "your_api_key_here"
}
Run the following command to build and start the API locally at http://localhost:8080:
go run main.go
To access weather data for a specific city, make a GET request to:
http://localhost:8080/weather/{city_name}
Replace {city_name}
with the name of the city you want weather data for. For example:
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 flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.