
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
strong-service-install
Advanced tools
Create/install system service for a given app.
Currently only supports Upstart, via strong-service-upstart.
npm install strong-service-install
var installer = require('strong-service-install');
var opts = {
name: 'my-app',
author: require('package.json').author,
user: process.env.USER,
command: 'my-app --with args --that work',
cwd: process.env.HOME,
};
installer(opts, function(err, result) {
if (err) {
console.error('Failed to install "my-app" service:', err.message);
process.exit(1);
} else {
console.log('Successfully installed "my-app" service:', result);
process.exit(0);
}
});
There is a minimal CLI that exposes the API options as arguments:
usage: sl-svc-install [options] -- <app and args>
Options:
-h,--help Print this message and exit.
--name NAME Name to use for service (default derived from app)
--user USER User to run service as.
--group GROUP Group to run service as.
--jobFile PATH Upstart file to create (default /etc/init/<name>.conf)
--cwd PATH Directory to run the service from.
--upstart [VER] Generate Upstart job for VER: 0.6 or 1.4 (default)
--systemd Generate systemd service
FAQs
Install a module as an OS service
The npm package strong-service-install receives a total of 135 weekly downloads. As such, strong-service-install popularity was classified as not popular.
We found that strong-service-install demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 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
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.