
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.
asdf
npm install lazy-await
given
class A {
constructor() {
this.self = this;
}
async b(val) {
console.log(val);
return new Promise((resolve, reject) => {
setTimeout(() => {
resolve(new B);
}, 100);
});
}
}
class B {
constructor() {
this.primitive = 'primitive';
this.promiseThis = Promise.resolve(this);
}
async a(val) {
console.log(val);
return new Promise((resolve, reject) => {
setTimeout(() => {
resolve(new A);
}, 100);
});
}
}
const a = new A;
const ra = (await (await (await (await a.self.b(1)).a(2)).self.b(3)).promiseThis).primitive;
console.log(ra);
// expected output: 'primitive'
now becomes
import proxy from 'lazy-await';
const pa = proxy(new A);
const rpa = await pa.self.b(1).a(2).self.b(3).promiseThis.primitive;
console.log(rpa);
// expected output: 'primitive'
FAQs
asdf
The npm package lazy-await receives a total of 1 weekly downloads. As such, lazy-await popularity was classified as not popular.
We found that lazy-await 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.

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.