
Research
/Security News
jscrambler npm Package Compromised in Supply Chain Attack
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.
@cuser/crypto
Advanced tools
• pki: any
Defined in keygen.js:6
▸ ConstcreateBearer(secret: string, opts: any): CoreCryptoBearer
Defined in bearer.js:45
| Name | Type | Description |
|---|---|---|
secret | string | |
opts | any |
Returns: CoreCryptoBearer
▸ ConstcreateHash(secret: string, encoding?: string): Buffer & string
Defined in hash.js:9
Returns a 32 bytes fixed length hash from a secret word
| Name | Type | Default value |
|---|---|---|
secret | string | - |
encoding | string | "buffer" |
Returns: Buffer & string
▸ ConstcreateKeygen(node: IPFSAPI | Promise<IPFSAPI>, secret: string, opts: CuserCryptoKeygenOptions): CuserCryptoKeygen
Defined in keygen.js:55
| Name | Type |
|---|---|
node | IPFSAPI | Promise<IPFSAPI> |
secret | string |
opts | CuserCryptoKeygenOptions |
Returns: CuserCryptoKeygen
+ new CoreCryptoBearer(secret: string, opts: any): CoreCryptoBearer
Defined in bearer.js:14
| Name | Type | Description |
|---|---|---|
secret | string | |
opts | any |
Returns: CoreCryptoBearer
Generate rsa pair keys from ipfs
+ new CuserCryptoKeygen(node: IPFSAPI | Promise<IPFSAPI>, secret: string, opts: CuserCryptoKeygenOptions): CuserCryptoKeygen
Defined in keygen.js:16
| Name | Type | Description |
|---|---|---|
node | IPFSAPI | Promise<IPFSAPI> | |
secret | string | |
opts | CuserCryptoKeygenOptions |
Returns: CuserCryptoKeygen
▸ generateKeys(key: string): Promise<{ privateKey: any ; publicKey: any }>
Defined in keygen.js:34
| Name | Type |
|---|---|
key | string |
Returns: Promise<{ privateKey: any ; publicKey: any }>
FAQs
cuser crypto utilities
The npm package @cuser/crypto receives a total of 10 weekly downloads. As such, @cuser/crypto popularity was classified as not popular.
We found that @cuser/crypto 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.

Research
/Security News
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.

Research
/Security News
A malicious .NET package is typosquatting the Braintree SDK to steal live payment card data, merchant API keys, and host secrets from production apps.

Security News
/Research
Compromised Injective SDK npm version 1.20.21 exfiltrates wallet private keys and mnemonics through fake telemetry functionality.