
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
@trace4eu/verifiable-presentation
Advanced tools
It is a library designed to provide validation functionality for JSON Web Tokens (JWTs) verifiable presentations.
It exposes a method to validate verifiable presentations.
This library supports did:ebsi method and it makes use of the EBSI library https://www.npmjs.com/package/@cef-ebsi/verifiable-presentation
You can install @trace4eu/verifiable-presentation via npm:
npm install @trace4eu/verifiable-presentation
import {
validateJwtVP,
} from '@trace4eu/verifiable-presentation';
const validationResult = await validateJwtVP(jwtPresentation, audience, options);
interface PresentationValidationOptions {
presentationSubmission?: PresentationSubmission;
presentationDefinition?: PresentationDefinition;
didRegistry?: string;
ebsiAuthority?: string;
}
The response object will follow the interface:
interface ValidationResult {
valid: boolean;
messages?: string[];
vpData?: VPTokenData;
}
{
"decodedVerifiablePresentation": {
...
},
"descriptorMapIds": [
"urn:did:123456"
],
"verifiableCredentials": [
{
"format": "jwt",
"verifiableCredential": "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpX..."
}
],
"verifiableCredentialsDecoded": [
{
...
}
],
"vpToken": "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImRpZ...",
"vpTokenIssuer": "did:key:z2dmzD81cgPx..."
}
FAQs
Verifiable Presentation validator library
We found that @trace4eu/verifiable-presentation demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.