
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
@kassellabs/corellia-api
Advanced tools
This module provides easy access to Corellia's API to render videos based on After Effects Templates.
npm i --save @corellia/api
First you should get your Corellia API Client ID and Client Secret, then you can start using this project by instantiating the main class
import CorelliaAPI from '@corellia/api';
const api = new CorelliaAPI({
host: 'https://my-own-api', // Defaults to the production server
clientId: '< your corellia client id >',
clientSecret: '< your corellia client secret >',
});
After that you can start calling the main methods:
Requests a new video to be rendered based on a custom JSON
const videoRequest = await api.requestNewVideo(customJSON);
// Example:
//
// {
// "lastModified":"2020-01-24T18:08:13.654Z",
// "userId":"XXXX",
// "actions":[
// ...,
// ],
// "templateId":"my-template-id",
// "customJSON":{
// "videoURL":"<my-video-url>",
// "timeToBeContinued":9.731636028610229,
// "videoStartAt":0,
// "videoEndAt":14.731636028610229
// },
// "renderJob":{
// "id":"WWWWWWWWWWW",
// "state":"started",
// "downloadURL":null
// },
// "id":"IIIIIIIIIIIIII"
// }
Retrieve a list of all requestd videos so far
const videoRequests = await api.getAllVideoRequests(customJSON);
// Example:
//
// [{
// "lastModified":"2020-01-24T18:08:13.654Z",
// "userId":"XXXX",
// "actions":[
// ...,
// ],
// "templateId":"my-template-id",
// "customJSON":{
// "videoURL":"<my-video-url>",
// "timeToBeContinued":9.731636028610229,
// "videoStartAt":0,
// "videoEndAt":14.731636028610229
// },
// "renderJob":{
// "id":"WWWWWWWWWWW",
// "state":"started",
// "downloadURL":null
// },
// "id":"IIIIIIIIIIIIII"
// }, ...]
Retrieve the status of a already created videoRequest
const videoRequest = await api.getVideoRequest('<your-video-request-id>');
// Example:
//
// {
// "lastModified":"2020-01-24T18:08:13.654Z",
// "userId":"XXXX",
// "actions":[
// ...,
// ],
// "templateId":"my-template-id",
// "customJSON":{
// "videoURL":"<my-video-url>",
// "timeToBeContinued":9.731636028610229,
// "videoStartAt":0,
// "videoEndAt":14.731636028610229
// },
// "renderJob":{
// "id":"WWWWWWWWWWW",
// "state":"started",
// "downloadURL":null
// },
// "id":"IIIIIIIIIIIIII"
// }
Remove a specific video request
const { success } = await api.deleteVideoRequest('<your-video-request-id>');
// success === true -> deleted
// success === false -> not deleted
FAQs
Corellia's External API to render After Effects Videos
The npm package @kassellabs/corellia-api receives a total of 1 weekly downloads. As such, @kassellabs/corellia-api popularity was classified as not popular.
We found that @kassellabs/corellia-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.