Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
nyks provide a set of "missing" stuffs in nodejs basic api. All those functions will eventually end up in the official API :-).
child_process.exec equivalent for windowed applications.
require('fs').deleteFolderRecursive(path); Recursive folder deletion
require('fs').md5File(file_path, callback)
require('fs').md5FileSync(file_path) Return md5 checksum of a file
require('fs').filesizeSync(path); Filesize sync
require('fs').tmppath (ext) Return a unique file path in OS temp dir
require('fs').renameCross(src, dest, callback) Rename src to dest (even on cross devices)
require('http').downloadFile(url, file_path, callback) Download a remote file to a local file
require('http').json(url, callback) Fetch a remote JSON object
String.prototype.startsWith(str) Return boolean
String.prototype.endsWith(str) Return boolean
String.prototype.replaces(dict) Replace key => value in current string
String.prototype.rreplaces(dict) Recursive (iterative) replaces
String.prototype.stripEnd(str) Return trimmed string of "str" if present (else, leave untouched)
bool(val) Return boolean value of *val with "f", "false", "n" and "no" casted as "false" (case insensitive)
guid() Return a guid
FAQs
nodejs exupery style
The npm package nyks receives a total of 724 weekly downloads. As such, nyks popularity was classified as not popular.
We found that nyks demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.