
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/tyktechnologies/tyk-oauth-flow-example
This is a quick project that shows the Tyk OAuth request cycle from start to finish.
To try this project out:
oauth2
http://localhost:8000/login
http://localhost:8000/final
Now edit the tmpl/index.html
file:
redirect_uri
value to the one of your clientclient_id
element to the value of your client IDNow edit config.go
:
APIlistenPath
to oauth2
(or whatever the listen path is for your OAuth API)orgID
to be your Org ID (Go to users -> select your user, it is under RPC credentials)policyID
to be your policy IDGatewayHost
to be the host path to your gateway e.g. http://domain.com:port (note no trailing slash)AdminSecret
to your the secret in your tyk.conf
Now run the app:
go run *.go
Then visit:
If you've set everything up correctly, you should be taken throguh a full OAuth flow.
This app emulates two parties:
We make use of the Tyk REST API Authorization endpoint to complete the request cycle, you can see an API client in the util.go
file.
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.