
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@framekit/webm-writer-esm
Advanced tools
This project is a fork of webm-writer-js. The library can convert browser canvas frames into WebM movies. This project adds support for native ESModule exports, WebCodec's EncodedVideoChunks, and the VP9 video codec (with WebCodecs).
Canvas frames are converted to WebM frames by using canvas.toDataUrl('image/webp')
which currently only Firefox and Chromium-based browsers support.
WebM Writer ESM can be included through a script tag in browser through a CDN:
<script src="https://unpkg.com/@framekit/webm-writer-esm/"></script>
Or if locally downloaded:
<script src="path/to/dist/webm-writer.js"></script>
The library is exported to the WebMWriter
object.
From the command-line:
npm install @framekit/webm-writer-esm
Then in your files:
import { WebMWriter } from '@framekit/webm-writer-esm';
As an Encoder:
var writer = new WebMWriter({
quality: 0.95, // (Encoder Only) Image Quality from 0.0 to 0.99999, 1 is not supported
frameRate: 60 // Frames Per Second
});
async function run() {
for (let i = 0; i < 300; i++) {
writer.addFrame(canvas);
}
var blob = await writer.complete();
// do something with `blob`;
}
run();
addChunk
that can take EncodedVideoChunks provided by the WebCodecs APIThis project is licensed under the BSD 3-Clause License. The project this is forked from was licensed under WTFPLv2.
FAQs
WebM Encoder for Canvas Frames
We found that @framekit/webm-writer-esm 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.