
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
@cedra-labs/cedra-client
Advanced tools
This package implements a client with which you can interact with the Cedra network. It can be used standalone, and it is the client package used by the Cedra TypeScript SDK.
The @cedra-labs/cedra-client package supports http2 protocol and implements 2 clients environment based:
index.browser.ts to use in browser environment (in a browser env it is up to the browser and the server to negotiate http2 connection)index.node.ts to use in node environment (to support http2 in node environment, still the server must support http2 also)async function cedraClient<Res>(
requestOptions: CedraClientRequest,
): Promise<CedraClientResponse<Res>>;
type CedraClientResponse<Res> = {
status: number;
statusText: string;
data: Res;
config?: any;
request?: any;
response?: any;
headers?: any;
};
type CedraClientRequest = {
url: string;
method: "GET" | "POST";
body?: any;
params?: any;
headers?: any;
overrides?: any;
};
import cedraClient from "@cedra-labs/cedra-client";
const response = await cedraClient<Res>({
url,
method,
body,
params,
headers,
overrides,
});
return response;
FAQs
Client package for accessing the Cedra network API.
We found that @cedra-labs/cedra-client 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
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.