
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).
payload-cloudinary-plugin
Advanced tools
Extends payloadcms
with Cloudinary integration
yarn add payload-cloudinary-plugin
import { mediaManagement } from "payload-cloudinary-plugin";
app.use(mediaManagement());
import cloudinaryPlugin from "payload-cloudinary-plugin/dist/plugins";
export default buildConfig({
....
plugins: [cloudinaryPlugin()]
....
})
function mediaManagement(
config?: ConfigOptions,
uploadApiOptions?: UploadApiOptions,
uploadResourceTypeHandler?: Function
)
The function may receive a ConfigOptions
and a UploadApiOptions
from cloudinary
package.
Additionally, you can specify a uploadResourceTypeHandler
to manage which resource_type
parameter must be passed to cloudinary.upload
(see here: https://cloudinary.com/documentation/image_upload_api_reference#upload_optional_parameters for additional information).
If the uploadResourceTypeHandler
is NOT specified, resource_type: auto
will be passed to upload method.
FAQs
Extends `payloadcms` with Cloudinary integration
The npm package payload-cloudinary-plugin receives a total of 12 weekly downloads. As such, payload-cloudinary-plugin popularity was classified as not popular.
We found that payload-cloudinary-plugin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
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.