
Research
/Security News
DuckDB npm Account Compromised in Continuing Supply Chain Attack
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
credential-status
Advanced tools
A status method aggregator for verifiable credentials.
Given a JWT credential that embeds a status
property, it should call the appropriate status checking method and return
its result. This library is meant to be used with did-jwt
, as a status method aggregator called during the
verification step.
Example:
A JWT with a status field in the payload.vc field:
{
"credentialStatus": {
"id": "mainnet:0xStatusRegistryAddress",
"type": "EthrStatusRegistry2019"
},
"iss": "did:ethr:0x...",
"vc": {
//...
}
//...
}
import { EthrStatusRegistry } from 'ethr-status-registry'
import { Status } from 'credential-status'
//...other JWT verification inits
const status = new Status({
...new EthrStatusRegistry(config).asStatusMethod,
})
const verificationResult = await didJWT.verifyJWT(token, resolver)
const didDoc = verificationResult.doc
const result = await status.checkStatus(token, didDoc)
// result: { "revokedAt": "0x5348684" }
The individual methods used to check for the status need to implement a checkStatus
method and are expected to use the
provided issuer DID document to help generate a result.
There is no standard format for the result of a status check. It is up to the method implementer to provide their own, and ultimately up to verifiers of credentials to determine which methods they support or accept.
The only known implementation of a credential-status method is the ethr-status-registry which uses an ethereum smart contract to register revocations of credentials.
If you implement your own status check, feel free to submit a link to it here.
FAQs
credential status aggregator for did-jwt
The npm package credential-status receives a total of 6,456 weekly downloads. As such, credential-status popularity was classified as popular.
We found that credential-status demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.