
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@sho-js/analytics
Advanced tools
npm i --save @sho-js/analytics
Create instance of WeareshoAnalytics.Service with following params:
import * as WeareshoAnalytics from "@sho-js/analytics";
const axiosInstance = Axios.create({baseURL: "https://wearesho.public.api.com/"});
const token = ""; // your way to receive unique fingerprint value
const components = {
resolution: "1920,1080",
offset: 3,
// ... other key/value pairs
};
const fingerPrint: FingerPrint = { token, components }
const analytics = await WeareshoAnalytics.Service.create(axiosInstance, fingerPrint);
where
axiosInstance
- instance of Axios. Required.fingerPrint
- fingerprint data. Required.analytics.action("some unique action name");
analytics.input("fieldName", ["valuePrev", "valueNext"]);
analytics.user(1 /* UserId */);
const actionHandler = analytics.handler(analytics.action, "some unique action name");
const inputHandler = analytics.handler(analytics.input, "fieldName", ["valuePrev", "valueNext"]);
const userHandler = analytics.handler(analytics.input, 1);
<button onClick={actionHandler}/>
<button onClick={inputHandler}/>
<button onClick={userHandler}/>
FAQs
## Installation
The npm package @sho-js/analytics receives a total of 3 weekly downloads. As such, @sho-js/analytics popularity was classified as not popular.
We found that @sho-js/analytics demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.