
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
@webiny/api-wcp
Advanced tools
@webiny/api-wcp
A set of backend Webiny Control Panel (WCP)-related features.
npm install --save @webiny/api-wcp
Or if you prefer yarn:
yarn add @webiny/api-wcp
The @webiny/api-wcp
package contains essential backend Webiny Control Panel (WCP)-related utilities.
Example | Description |
---|---|
Registering Plugins | Shows how to register relevant plugins in a handler function. |
createWcpContext
export declare const createWcpContext: () => ContextPlugin<WcpContext>;
Creates the WCP context API.
import { createHandler } from "@webiny/handler-aws";
import { createWcpContext } from "@webiny/api-wcp";
export const handler = createHandler({
plugins: [
// Registers WCP context API.
createWcpContext(),
// ...
]
});
createWcpGraphQL
export declare const createWcpGraphQL: () => GraphQLSchemaPlugin<WcpContext>;
Returns WCP API URL. The default URL can be overridden via the WCP_API_URL
environment variable.
import { createHandler } from "@webiny/handler-aws";
import { createWcpGraphQL } from "@webiny/api-wcp";
export const handler = createHandler({
plugins: [
// Registers WCP context API.
createWcpGraphQL(),
// ...
]
});
FAQs
A set of backend Webiny Control Panel (WCP)-related features.
The npm package @webiny/api-wcp receives a total of 2,715 weekly downloads. As such, @webiny/api-wcp popularity was classified as popular.
We found that @webiny/api-wcp 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.
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
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.