
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
twitch-oauth-authorization-code-express
Advanced tools
Small library to get a Twitch OAuth code using the OAuth authorization code flow.
This module has code that provides an easily configurable method to set up an OAuth endpoint, as described here.
This module also provides a method to refresh using the refresh token.
See src/test.ts for an example of how to use this library.
To run the test code, first clone this repo.
Install TypeScript (npm i -g typescript
).
Copy config.example.env; fill it with the required details (secret, client id, and the session secret, and redirect uri).
Install required packages (npm install
).
Build the test script, as well as the library (npm run build-test
)
Run the test script (npm run test
).
Connect on localhost:3000 to test the authentication flow.
After you get an access token, you can connect to localhost:3000/refresh to refresh the OAuth token.
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
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.