
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Launch an editor in your Node.js application.
(A promised-based interface for
editor
).
npm i editor2
const editor = require('editor2')
async function main (file) {
await editor(file)
console.log('Done editing')
}
main('/tmp/editor2.txt')
.catch(err => {
console.error(err)
if (err.code) process.exit(err.code)
if (err.signal) process.kill(err.signal)
})
editor(file, opts={})
Open file in an editor. editor
uses this ordering to select the
editor:
opts.editor
process.env.VISUAL
process.env.EDITOR
notepad
on Windows, vim
on all other operating systemsIf the editor exists with a non-zero exit code, editor
throws an
Error
with .code
set to the exit code.
If a signal terminates the editor, editor
throws an Error
with
.signal
set to the signal.
FAQs
Launch an editor in your Node.js application.
The npm package editor2 receives a total of 0 weekly downloads. As such, editor2 popularity was classified as not popular.
We found that editor2 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.