Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
@extrimian/kms-core
Advanced tools
This package exposes interfaces to be implemented by KMS concrete implementations like Extrimian KMS Client.
This package exposes interfaces to be implemented by KMS concrete implementations like Extrimian KMS Client.
export interface KMSStorage {
add(key: string, data: any): Promise<void>;
get(key: string): Promise<any>;
getAll(): Promise<Map<string, any>>;
update(key: string, data: any);
remove(key: string);
}
export interface IKeyPair {
readonly privateKey: string;
readonly publicKey: string;
}
export interface IKMS {
create(suite: Suite): Promise<{ publicKeyJWK: IJWK }>;
sign(suite: Suite, publicKeyJWK: IJWK, content: any): Promise<string>;
signVC(suite: Suite,
publicKeyJWK: IJWK,
vc: any,
did: string,
verificationMethodId: string,
purpose: Purpose): Promise<VerifiableCredential>;
pack(publicKeyJWK: IJWK, toHexPublicKeys: string[], contentToSign: string): Promise<string>;
unpack(publicKeyJWK: IJWK, packedContent: string): Promise<string>;
export(publicKeyJWK: IJWK): Promise<any>;
getPublicKeysBySuiteType(suite: Suite): Promise<IJWK[]>;
getAllPublicKeys(): Promise<IJWK[]>;
}
export enum LANG {
en = 'en',
es = 'es',
fr = 'fr',
it = 'it',
}
export enum Suite {
ES256k = "es256k",
DIDComm = "didcomm",
Bbsbls2020 = "bbsbls2020"
}
This package does not add functionality or features, it just exposes interfaces to be used by other packages.
FAQs
This package exposes interfaces to be implemented by KMS concrete implementations like Extrimian KMS Client.
The npm package @extrimian/kms-core receives a total of 21 weekly downloads. As such, @extrimian/kms-core popularity was classified as not popular.
We found that @extrimian/kms-core demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.