Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
memory-erasure
Advanced tools
Node.js package intended to replace the deleted file content with random numbers.
npm i memory-erasure
Node.js package intended to replace the deleted file content with random numbers. It fills the whole free disk space with 1MB of data on each iteration. This package is useful when you want to completely erase the sensitive data from the disk sectors after you delete the file(s) that contain this sensitive data.
import { eraseMemory } from 'memory-erasure'
eraseMemory((err, status) => {
if (err) console.error(err)
else if (status)
console.log(`erased ${status.erasedMemoryByteLength / 1e6 / 1e3} GB`)
})
type Callback = (err: any, data: null | IStatus) => void
interface IStatus {
erasedMemoryByteLength: number
finished: boolean
}
cb: Callback
IStatus
FAQs
Node.js package intended to replace the deleted file content with random numbers.
The npm package memory-erasure receives a total of 3 weekly downloads. As such, memory-erasure popularity was classified as not popular.
We found that memory-erasure 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.