
Research
/Security News
TensorLake npm SDK Compromised in ChainDrop Shai-Hulud Credential-Stealing Attack
Tensorlake npm SDK version 0.5.144 was compromised in a ChainDrop / Shai-Hulud attack, delivering credential-stealing malware.
billingsdk-react
Advanced tools
React bindings for Billing SDK. Provides context provider and hooks for using billing in React applications.
npm install billingsdk-core billingsdk-react
import { BillingProvider } from "billingsdk-react";
import { createBilling, definePlans } from "billingsdk-core";
import { stripe } from "billingsdk-stripe";
const billing = createBilling({
adapter: stripe({ secretKey: process.env.NEXT_PUBLIC_STRIPE_KEY! }),
plans,
});
function App({ children }) {
return (
<BillingProvider billing={billing} customerId="cus_123">
{children}
</BillingProvider>
);
}
import { useEntitlement } from "billingsdk-react";
function AIGenerations() {
const { allowed, remaining, loading } = useEntitlement("ai_generations");
if (loading) return <div>Loading...</div>;
return (
<div>
{allowed ? `${remaining} generations remaining` : "Upgrade required"}
</div>
);
}
import { useBilling } from "billingsdk-react";
function SubscriptionStatus() {
const { subscription, entitlements, loading, refresh } = useBilling();
return <div>{subscription?.status ?? "No subscription"}</div>;
}
BillingProvider — React context provideruseBilling() — Access billing client, subscription, and entitlementsuseEntitlement(feature) — Check a single feature entitlementFAQs
React bindings for Billing SDK
The npm package billingsdk-react receives a total of 3 weekly downloads. As such, billingsdk-react popularity was classified as not popular.
We found that billingsdk-react 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.

Research
/Security News
Tensorlake npm SDK version 0.5.144 was compromised in a ChainDrop / Shai-Hulud attack, delivering credential-stealing malware.

Research
/Security News
Socket found 16 malicious Firefox extensions designed to steal crypto wallet recovery phrases and private keys using cloned Rabby and OKX interfaces.

Product
Socket now scans VS Code extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.