
Research
Shai-Hulud Descends to Hades: Miasma Worm Campaign Spreads with New PyPI Wave
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.
@tanker/file-reader
Advanced tools
A promisified FileReader implementation very similar to the browser's FileReader API, with a few differences:
readAs... methods don't take a Blob or File instance as first argument anymore;readAs... methods return a Promise that can be awaited;import { FileReader } from '@tanker/file-reader';
// Retrieve a file or blob somehow
const file = new File(
['The quick brown fox jumps over the lazy dog'],
'fox.txt',
{ type: 'plain/text' }
);
// Create your file reader
const reader = new FileReader(file);
// Read the whole file
const text = await reader.readAsText('UTF-8');
const dataUrl = await reader.readAsDataURL();
const arrayBuffer = await reader.readAsArrayBuffer();
// Or read binary chunks (ArrayBuffer)
const chunkSize = 8; // bytes
let chunk;
do {
chunk = await reader.readAsArrayBuffer(chunkSize);
// do something with the chunk
} while (chunk.byteLength > 0);
This package is a dependency of the Tanker client SDKs for end-to-end encryption:
Read the documentation to get started.
FAQs
A promisified FileReader for browsers
We found that @tanker/file-reader demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.

Security News
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.