
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.
party-popper
Advanced tools
Install the module :
npm i party-popper
Import in any of your scripts:
import PartyPopper from 'party-popper'
You can import some SVGs aswell:
import customconfetti1 from './assets/confettis/1.svg'
import PartyPopper from 'party-popper'
import confetti1 from './assets/confettis/1.svg'
document.addEventListener('DOMContentLoaded', () => {
const opts = {
// Use either an already-configured array of confettis...
confettis: [
{ model: confetti1, x: -50, y:-10, width: 40, height: 40, originX: 0 },
{ model: confetti1, x: -20, y:-10, width: 15, height: 20 },
],
// ... Or set some seeds and bias for random generation
originX: 20,
originY: 20,
spreadDistance: { min: 20, max: 140 },
spreadAngles: [[-30,30], [50,80]],
confettiModels: [...svg1, svg2],
confettiCount: 10
}
// Create your instance
const pp = new PartyPopper(document.querySelector('.popper'), opts)
// Set your confettis visible
pp.render()
// use PartyPopper.fire() to animate !
// Here, wait 1s between render and fire
window.setTimeout(() => { pp.fire() }, 1000)
})
FAQs
Make a party popper blowing confetti.
We found that party-popper 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
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.