
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
is-mongodb-running
Advanced tools
Is MongoDB running? What port is it using?
npm install -g is-mongodb-running;
is-mongodb-running;
>>> ✔ Yep! 1 MongoDB instance(s) running:
>>> 1. port 27017 with pid 22873
kill 22873;
is-mongodb-running;
>>> ☹ No MongoDB instances running
You also might enjoy kill-mongodb.
Usage: is-mongodb-running [--port=<n> --pid=<pid>]
Is MongoDB running? What port is it using?
Usage:
is-mongodb-running
# I know the port but I don't know the pid...
is-mongodb-running --port=27017
# I know the pid but I don't know the port...
is-mongodb-running --pid=987
Options:
--port=<n> Port you think MongoDB is running on.
--pid=<pid> Pid you think MongoDB is running on.
--json Ouput results as json [Default: `false`].
--debug Enable debug messages.
-h --help Show this screen.
--version Show version.
require('is-mongodb-running')(function(err, res){
if(err) return console.error(err);
console.log(res);
// >>> [{pid: <12345>, port: 27017}]
});
or, with promises:
require('is-mongodb-running/promise').then(function(res) {
console.log(res);
// >>> [{pid: <12345>, port: 27017}]
}).catch(function(err){
return console.error(err);
});
Apache 2
FAQs
Is MongoDB running? What port is it using?
The npm package is-mongodb-running receives a total of 367 weekly downloads. As such, is-mongodb-running popularity was classified as not popular.
We found that is-mongodb-running demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 28 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.

Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.

Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.