
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
attachshadow
Advanced tools
An iframe based Shadow DOM poorlyfill
element.attachShadow(mode) method out of the boxopen and closed are available. open is set to the shadowRoot property as expected:host CSS declarations<slot> element (under consideration)shadowRoot.innerHTML = "<p onclick='console.log(0)'></p>" DOM Level 0 events won't ever propagate (inconsistent with real Shadow DOM, just don't do that or simply use hyperHTML instead that will use addEventListener)hyperHTML(el.shadowRoot)
`<p onclick=${() => console.log('🎉')}></p>`;
attachShadow method.You can use https://unpkg.com/attachshadow as CDN for this library.
Please visit the test page and click on the button to see in console the propagated event in IE9 or any other browser.
You can also test more modern browsers in this good old CSS Tricks demo.
FAQs
An iframe based Shadow DOM poorlyfill
The npm package attachshadow receives a total of 55 weekly downloads. As such, attachshadow popularity was classified as not popular.
We found that attachshadow 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
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.