
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/vctrl/social-media-network/api
// USERS
GET /me
response: user
POST /register
request: { login, password, name, surname, age, sex, interests, city }
response: user, 201
POST /login
request: { login, password }
response: {user_id, token}
GET /users/{id1,id2,id3...}
PUT /users/{id}
response user
DELETE /users/{id}
response: 200 ok
POST /logout
// FRIENDS
// список друзей
GET /friends/
response {[ user ]}
// исходящие заявки
GET /friends/requests/sent
response [user_id1, user_id2 ...]
// входящие заявки
GET /friends/requests
response [user_id1, user_id2 ...]
// отправить заявку в друзья
POST /friends/{user_id}
response 200
// принять заявку в друзья
POST /friends/{id}/accept
response 200
// удалить друга
DELETE /friends/{user_id}
// отменить заявку
DELETE /friends/requests/{id}
user {id, login, name, surname, age, sex, interests, city }
friend_request {}
FAQs
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.