
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
keycloak-request-token
Advanced tools
A simple module to request an Access Token from a Keycloak Server
http://bucharest-gold.github.io/keycloak-request-token/
'use strict';
const tokenRequester = require('keycloak-request-token');
const baseUrl = 'http://127.0.0.1:8080/auth';
const settings = {
username: 'admin',
password: 'admi',
grant_type: 'password',
client_id: 'admin-cli'
};
tokenRequester(baseUrl, settings)
.then((token) => {
console.log(token);
}).catch((err) => {
console.log('err', err);
});
To run the tests, you'll need to have a keycloak server running. No worries!
This is all taken care of for you. Just run ./build/start-server.sh
.
If you don't already have a server downloaded, this script will download one
for you, start it, initialize the admin user, and then restart.
Then just run the tests.
make test
To stop the server, run ./build/stop-server.sh
.
FAQs
Simple utility to request a token from a Keycloak Server
The npm package keycloak-request-token receives a total of 1,678 weekly downloads. As such, keycloak-request-token popularity was classified as popular.
We found that keycloak-request-token demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.