
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
worldcerts-verifier
Advanced tools
Library to verify any Opencerts document. This library extends @govtechsg/oa-verify.
npm install @govtechsg/opencerts-verify
import { documentMainnetValidWithCertificateStore } from "./test/fixtures/v2/document";
import { verify, isValid } from "@govtechsg/opencerts-verify";
const fragments = await verify(documentMainnetValidWithCertificateStore, { network: "ropsten" });
console.log(fragments); // see below
console.log(isValid(fragments)); // display true
[
{
"data": true,
"status": "VALID",
"name": "OpenAttestationHash",
"type": "DOCUMENT_INTEGRITY"
},
{
"data": {
"details": [
{
"address": "0x007d40224f6562461633ccfbaffd359ebb2fc9ba",
"issued": true
}
],
"issuedOnAll": true
},
"status": "VALID",
"name": "OpenAttestationEthereumDocumentStoreIssued",
"type": "DOCUMENT_STATUS"
},
{
"message": "Document issuers doesn't have \"tokenRegistry\" property or TOKEN_REGISTRY method",
"name": "OpenAttestationEthereumTokenRegistryMinted",
"status": "SKIPPED",
"type": "DOCUMENT_STATUS"
},
{
"data": {
"details": [
{
"address": "0x007d40224f6562461633ccfbaffd359ebb2fc9ba",
"revoked": false
}
],
"revokedOnAny": false
},
"status": "VALID",
"name": "OpenAttestationEthereumDocumentStoreRevoked",
"type": "DOCUMENT_STATUS"
},
{
"message": "Document issuers doesn't have \"documentStore\" / \"tokenRegistry\" property or doesn't use DNS-TXT type",
"status": "SKIPPED",
"name": "OpenAttestationDnsTxt",
"type": "ISSUER_IDENTITY"
},
{
"data": [
{
"status": "VALID",
"value": "0x007d40224f6562461633ccfbaffd359ebb2fc9ba",
"name": "Government Technology Agency of Singapore (GovTech)",
"displayCard": true,
"website": "https://www.tech.gov.sg",
"email": "info@tech.gov.sg",
"phone": "+65 6211 2100",
"logo": "/static/images/GOVTECH_logo.png",
"id": "govtech-registry"
}
],
"name": "OpencertsRegistryVerifier",
"status": "VALID",
"type": "ISSUER_IDENTITY"
}
]
OpencertsRegistryVerifier
is a new verifier specific to Opencerts documents:
ISSUER_IDENTITY
and works closely with OpenAttestationDnsTxt
verifier (see isValid
below)VALID
fragment if at least one of the issuer is in Opencerts registrySKIPPED
fragment if none of the issuers is in the registry.With the addition of OpencertsRegistryVerifier
verifier, different rules apply for ISSUER_IDENTITY
type verifiers:
ISSUER_IDENTITY
is valid if at least one issuer is in the registry, i.e. if OpencertsRegistryVerifier
has status VALID
OpencertsRegistryVerifier
doesn't have VALID
status then all issuers must have valid DNS-TXT record.FAQs
Library to verify any opencerts document
We found that worldcerts-verifier demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.