
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
react-async-button
Advanced tools
React button component for handling async actions. Inspired from ember-async-button
$ npm install react-async-button --save
https://selvagsz.github.io/react-async-button/
import React from 'react';
import { render } from 'react-dom';
import AsyncButton from 'react-async-button';
export default App extends Component {
clickHandler() {
return new Promise((resolve, reject) => {
// some async stuff
setTimeout(resolve, 500);
})
}
render() {
return (
<AsyncButton
className="btn"
text="Save"
pendingText="Saving..."
fulFilledText="Saved Successfully!"
rejectedText="Failed! Try Again"
loadingClass="isSaving"
fulFilledClass="btn-primary"
rejectedClass="btn-danger"
onClick={this.clickHandler}
/>
)
}
}
render(<App/>, document.getElementById('root'));
Note clickHandler should return a promise for the pending state
FAQs
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
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.