
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.
LaunchPod is a lightweight and flexible Node.js module which aims to ease the development process. Think Nodemon + REPL.
LaunchPod is a lightweight and flexible Node.js module which aims to ease the development process. Think Nodemon + REPL.
npm install launchpod
and
node node_modules/launchpod your-app.js
or
node node_modules/launchpod your-app your-config-file
this
and see which properties and methods are exposed at your app.util.inspect
.beforeShutdownCmd
function can be set to run before quitting or restarting the app.Type .help
while in REPL to list available commands.
.command | action |
---|---|
.quitApp | Quit application |
.qa | Quit application (alias) |
.restart | Restart application |
.rs | Restart application (alias) |
.watcherOff | Disable restart on file changes |
.wof | Disable restart on file changes (alias) |
.watcherOn | Enable restart on file changes |
.won | Enable restart on file changes (alias) |
A configuration can be specified as follows: node node_modules/launchpod your-app your-config-file
Config files are simple JSON files.
property | effect |
---|---|
welcomeMessage | String - Sets the welcome message displayed when an user connects on REPL. Eg.: "We have liftoff!" |
promptSymbol | String - Sets a custom prompt symbol. Eg.: "⚡️ " . Default: '_ ' |
beepOnUncaughtException | Bool - Enable terminal bell on Uncaught Exceptions. Default: false |
beforeShutdownCmd | String - Sets a script to be evaluated before the app's shutdown. Eg.: beforeShutdown(); bye(); |
watchFileChange | Bool - Enables app restart on file changes. Default: false |
watcherThrottleTime | Number - Delay of app restart in milliseconds |
While in the app directory, use NetCat: nc -U ./socket-ctl
Type .exit
to quit remote REPL.
echo ".restart" | nc -U ./socket-ctl
{
"shell_cmd": "echo \".restart\" | nc -U ./socket-ctl",
"working_dir": "${project_path:${folder}}"
}
Command+B
or Control+B
will trigger the build system, restarting your app. ;-)nc -U ./socket-ctl
.load your-script
The REPL scope is restricted to you app, there is no access to any of Node's globals.
If you wish any of this, expose it in your app's module.
var app = {
console,
require,
beforeShutdown: () => {
console.log("beforeShutdown stuff is being done ...");
},
}
module.exports = app;
Set true
for the key watchFileChange
at your configuration file. Don't forget to use the config file:
node node_modules/launchpod your-app your-config-file
Icon designed by Freepik
FAQs
LaunchPod is a lightweight and flexible Node.js module which aims to ease the development process. Think Nodemon + REPL.
The npm package launchpod receives a total of 2 weekly downloads. As such, launchpod popularity was classified as not popular.
We found that launchpod 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.