
Security News
Free Certified Patch for Critical Rails Active Storage Vulnerability
Socket has released a free Certified Patch for a critical Rails Active Storage vulnerability, giving developers time to upgrade to a secure Rails version.
Clean up before you exit.
# npm
npm install -s pre-exit
# yarn
yarn add pre-exit
This package will listen on
import preExit from 'pre-exit'
// If there's an HTTP(S) server listening (assume that's `httpServer`)
// then you probably want to close it down gracefully before shutting down the server
cleanup(function closeServer() {
return new Promise(resolve => {
httpServer.close(resolve)
})
})
FAQs
A utility package which allows you to clean up before node exits
We found that pre-exit 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.

Security News
Socket has released a free Certified Patch for a critical Rails Active Storage vulnerability, giving developers time to upgrade to a secure Rails version.

Security News
/Threat Research
A malicious Ruby gem runs a credential-stealing worm during installation, poisons AI coding tools, and can wipe files when a stolen GitHub token is revoked.

Security News
GitHub is tightening GitHub Actions security with new restrictions on privileged pull request workflows. Here's what changes and how maintainers are affected.