
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).
@osaas/client-transcode
Advanced tools
SDK for transcoding with Encore in Open Source Cloud and transfer result to S3 bucket
Prerequisites
npm install --save @osaas/client-transcode
Example code to setup a VOD pipeline and create a VOD
import { Context, Log } from '@osaas/client-core';
import { createVod, createVodPipeline } from '@osaas/client-transcode';
async function main() {
const ctx = new Context();
try {
const ctx = new Context({ environment });
Log().info('Creating VOD pipeline');
const pipeline = await createVodPipeline(name, ctx);
Log().info('VOD pipeline created, starting job to create VOD');
const job = await createVod(pipeline, source, ctx);
if (job) {
Log().info('Created VOD will be available at: ' + job.vodUrl);
}
} catch (err) {
Log().error(err);
}
}
main();
import { Context } from '@osaas/client-core';
import { transcode } from '@osaas/client-transcode';
async function main() {
const ctx = new Context();
try {
const job = await transcode(ctx, {
encoreInstanceName: 'tutorial',
externalId: 'example',
outputUrl: new URL('s3://output/tutorial/'),
inputUrl: new URL('s3://input/VINN.mp4'),
injectIDRKeyFrames: [{ smpteTimeCode: '00:10:00:00' }],
frameRate: 25
});
console.log(job);
} catch (err) {
console.error(err);
}
}
main();
Open Source Cloud reduces the barrier to get started with open source without having to host it on your own infrastructure.
Start building software solutions based on open and detachable ready-to-run cloud components with Open Source Cloud. Full code transparency, never locked in and a business model that contributes back to the open source community. Offering a wide range of components from media and more to help you build the best solution for you and your users.
FAQs
Open Source Cloud Client SDK transcode library
The npm package @osaas/client-transcode receives a total of 456 weekly downloads. As such, @osaas/client-transcode popularity was classified as not popular.
We found that @osaas/client-transcode demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 11 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.