
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
@open_social_protocol/osp-client
Advanced tools
osp-client-js is a osp clent js sdk.
Use the package manager [pnpm] or [npm] to install osp-client-js.
pnpm add @open_social_protocol/osp-client
or
npm i @open_social_protocol/osp-client
import { OspClient, Environment } from "@open_social_protocol/osp-client";
import { ethers } from "ethers";
const env: Environment = Environment.dev;
const client = OspClient.create({
env,
storage: localStorage,
app_id: "<APP_ID>",
guest_id_marketing: "<GUEST_ID_MARKETING>",
});
const provider = new ethers.providers.Web3Provider(window.ethereum);
await provider.send("eth_requestAccounts", []);
await client.authentication.login(provider.getSigner());
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
FAQs
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
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.