
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.
@lanetix/make-token
Advanced tools
Module to simplify interating with the auth service to get a token. Up to ~150MB of tokens are cached for slightly less than the time they take to expire (one day), at which point the least recently used are removed.
Ensure that you are are logged in as the lanetix npm user via npm login
or
use a .npmrc
file with a token for the lanetix user.
npm install --save @lanetix/make-token
To use this library,
var makeToken = require('@lanetix/make-token')(
'http://url.to.auth',
'private....key....',
'urn:issurer'
);
makeToken.forUser(1337) //user id
.then(function (token) {
//do stuff with token
});
makeToken.forSystemUser(42) //org id
.then(function (token) {
//do stuff with token
});
In order for auth to not 401, you'll need to register your service's public key here.
FAQs
make a jwt given an org or a user
The npm package @lanetix/make-token receives a total of 0 weekly downloads. As such, @lanetix/make-token popularity was classified as not popular.
We found that @lanetix/make-token demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 30 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.