
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.
@solid/access-token-verifier
Advanced tools
Verifies Solid OIDC access tokens via their webid claim, and thus asserts ownership of a WebID.
This library verifies Solid OIDC access tokens via their webid
claim, and thus asserts ownership of a WebID.
It conforms to the Solid OIDC specification.
See also: Solid OIDC Primer Request Flow
Verify Solid Access Tokens with a simple function:
import type { RequestMethod, SolidTokenVerifierFunction } from '@solid/access-token-verifier';
import { createSolidTokenVerifier } from '@solid/access-token-verifier';
const solidOidcAccessTokenVerifier: SolidTokenVerifierFunction = createSolidTokenVerifier();
try {
const { client_id: clientId, webid: webId } = await solidOidcAccessTokenVerifier(
authorizationHeader as string,
{
header: dpopHeader as string,
method: requestMethod as RequestMethod,
url: requestURL as string
}
);
console.log(`Verified Access Token via WebID: ${webId} and for client: ${clientId}`);
return { webId, clientId };
} catch (error: unknown) {
const message = `Error verifying Access Token via WebID: ${(error as Error).message}`;
console.log(message);
throw new Error(message);
}
The solidOidcAccessTokenVerifier
function takes an authorization header which can be an encoded Bearer or DPoP bound access token and optional DPoP parameters.
azp
claim in the next library which should target ID tokens as opposed to Access tokens as per the updated Solid-OIDC specFAQs
Verifies Solid OIDC access tokens via their webid claim, and thus asserts ownership of a WebID.
The npm package @solid/access-token-verifier receives a total of 549 weekly downloads. As such, @solid/access-token-verifier popularity was classified as not popular.
We found that @solid/access-token-verifier demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 17 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.