
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/core
Advanced tools
Creates pubsub to listen changes on cuser network
+ new ClientCorePubSub(node: IPFSAPI | Promise<IPFSAPI>, opts: CuserClientPubSubOptions): ClientCorePubSub
Defined in pubsub.js:72
| Name | Type |
|---|---|
node | IPFSAPI | Promise<IPFSAPI> |
opts | CuserClientPubSubOptions |
Returns: ClientCorePubSub
▸ broadcast(payload: any): void
Defined in pubsub.js:101
| Name | Type | Description |
|---|---|---|
payload | any |
Returns: void
▸ subscribe(subscriber: (payload: Object) => void): (Anonymous function)
Defined in pubsub.js:107
| Name | Type | Description |
|---|---|---|
subscriber | (payload: Object) => void |
Returns: (Anonymous function)
Core logic to manage the dag tree and specify the dag format, this will wraps ipfs.dag in order to normalize the mainly used methods and allows future replacements.
+ new CuserCore(node: IPFSAPI | Promise<IPFSAPI>, opts: CuserCoreOptions): CuserCore
Defined in core.js:28
| Name | Type |
|---|---|
node | IPFSAPI | Promise<IPFSAPI> |
opts | CuserCoreOptions |
Returns: CuserCore
▸ get(cid: string, opts: AbortOptions): Promise<any>
Defined in core.js:91
| Name | Type |
|---|---|
cid | string |
opts | AbortOptions |
Returns: Promise<any>
▸ peerId(): Promise<string>
Defined in core.js:119
Gets the node peerId
Returns: Promise<string>
▸ publish(cid: string, opts: AbortOptions): Promise<PublishResult>
Defined in core.js:56
Publish using ipns to link the current cid to a fixed entry
| Name | Type |
|---|---|
cid | string |
opts | AbortOptions |
Returns: Promise<PublishResult>
▸ pubsub(opts: CuserClientPubSubOptions): ClientCorePubSub
Defined in core.js:128
| Name | Type |
|---|---|
opts | CuserClientPubSubOptions |
Returns: ClientCorePubSub
▸ put(value: any, opts: AbortOptions & PutOptions): Promise<string>
Defined in core.js:75
| Name | Type |
|---|---|
value | any |
opts | AbortOptions & PutOptions |
Returns: Promise<string>
▸ resolve(cid: string | Promise<string>): Promise<string>
Defined in core.js:106
Resolve the linked dag cid
| Name | Type |
|---|---|
cid | string | Promise<string> |
Returns: Promise<string>
FAQs
Core ipfs wrapper
We found that @cuser/core 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.