
Security News
/Research
Popular node-ipc npm Package Infected with Credential Stealer
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.
@lovable.dev/webhooks-js
Advanced tools
Webhook signature utilities for Lovable integrations.
npm install @lovable.dev/webhooks-js
import {
verifyWebhookRequest,
verifyWebhookSignature,
type EmailWebhookPayload,
} from "@lovable.dev/webhooks-js";
const body = await req.text();
const signature = req.headers.get("x-lovable-signature");
const timestamp = req.headers.get("x-lovable-timestamp") ?? "";
const isValid = await verifyWebhookSignature({
signedPayload: `${timestamp}.${body}`,
signature,
secret: Deno.env.get("LOVABLE_API_KEY") ?? "",
});
if (!isValid) {
throw new Error("Invalid signature");
}
// Or verify the request and parse JSON in one step
const { payload } = await verifyWebhookRequest<EmailWebhookPayload>({
req,
secret: Deno.env.get("LOVABLE_API_KEY") ?? "",
});
// Or pass a custom parser
const { payload: rawPayload } = await verifyWebhookRequest({
req,
secret: Deno.env.get("LOVABLE_API_KEY") ?? "",
parser: (body) => ({ raw: body }),
});
FAQs
Lovable Webhooks JS
The npm package @lovable.dev/webhooks-js receives a total of 45,654 weekly downloads. As such, @lovable.dev/webhooks-js popularity was classified as popular.
We found that @lovable.dev/webhooks-js demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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.

Security News
/Research
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.

Security News
TeamPCP and BreachForums are promoting a Shai-Hulud supply chain attack contest with a $1,000 prize for the biggest package compromise.

Security News
Packagist urges PHP projects to update Composer after a GitHub token format change exposed some GitHub Actions tokens in CI logs.