
Research
TeamPCP-Linked Supply Chain Attack Hits SAP CAP and Cloud MTA npm Packages
Compromised SAP CAP npm packages download and execute unverified binaries, creating urgent supply chain risk for affected developers and CI/CD environments.
next-rsc-error-handler
Advanced tools
Webpack plugin that allow to handle RSC errors on the server side
Webpack plugin that allow to handle RSC errors on the server side.
This plugin does not allow to use dual client and server components
npm i next-rsc-error-handlerimport { rscErrorHandler } from "next-rsc-error-handler";
const withRscErrorHandler = rscErrorHandler({
componentName: /^_?[A-Z]/, // optional, defaults to /^[A-Z]/
});
export default withRscErrorHandler({
// next config here
});
global-server-error.js in your root folder with following content:/** @type {import('next-rsc-error-handler').GlobalServerError} */
export default function onGlobalServerError(err, ctx) {
// handling here
}
Alternatively, you can use global-server-error.ts with:
import { type GlobalServerErrorContext } from 'next-rsc-error-handler';
export default function onGlobalServerError(err: unknown, ctx: GlobalServerErrorContext) {
// handling here
}
FAQs
Webpack plugin that allow to handle RSC errors on the server side
The npm package next-rsc-error-handler receives a total of 43 weekly downloads. As such, next-rsc-error-handler popularity was classified as not popular.
We found that next-rsc-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
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.

Research
/Security News
Socket is tracking cloned Open VSX extensions tied to GlassWorm, with several updated from benign-looking sleepers into malware delivery vehicles.