
Research
Malicious npm Package Brand-Squats TanStack to Exfiltrate Environment Variables
A brand-squatted TanStack npm package used postinstall scripts to steal .env files and exfiltrate developer secrets to an attacker-controlled endpoint.
lambda-error-handler
Advanced tools
Error handling decorator for AWS Lambda functions when used with the Serverless framework
Error handling decorator for AWS Lambda functions when used with the Serverless framework
This library exposes a decorator function that is used to wrap an async AWS Lambda function in node.js to provide error handling for that lambda. This allows you to leave the catching of an error and the correct formatting of the response in that situation to this decorator.
First you need to install this library:
yarn add lambda-error-handler
Then you can use it like so:
"use strict";
const withErrorHandling = require("lambda-error-handler");
async function handler(event) {
// some real content here
return { body: "some result" };
}
module.exports.handler = withErrorHandling(handler);
FAQs
Error handling decorator for AWS Lambda functions when used with the Serverless framework
The npm package lambda-error-handler receives a total of 9 weekly downloads. As such, lambda-error-handler popularity was classified as not popular.
We found that lambda-error-handler demonstrated a not healthy version release cadence and project activity because the last version was released 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
A brand-squatted TanStack npm package used postinstall scripts to steal .env files and exfiltrate developer secrets to an attacker-controlled endpoint.

Research
Compromised SAP CAP npm packages download and execute unverified binaries, creating urgent supply chain risk for affected developers and CI/CD environments.

Company News
Socket has acquired Secure Annex to expand extension security across browsers, IDEs, and AI tools.