
Research
TeamPCP Compromises Telnyx Python SDK to Deliver Credential-Stealing Malware
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.
@eggjs/scripts
Advanced tools
deploy tool for egg project.
Note: Windows is partially supported, see #22
npm i @eggjs/scripts --save
Add eggctl to package.json scripts:
{
"scripts": {
"start": "eggctl start --daemon",
"stop": "eggctl stop"
}
}
Then run as:
npm startnpm stopNote: egg-scripts is not recommended to install global, you should install and use it as npm scripts.
Start egg at prod mode.
$ eggctl start [options] [baseDir]
# Usage
# eggctl start --port=7001
# eggctl start ./server
baseDir - directory of application, default to process.cwd().port - listening port, default to process.env.PORT, if unset, egg will use 7001 as default.title - process title description, use for kill grep, default to egg-server-${APP_NAME}.workers - numbers of app workers, default to process.env.EGG_WORKERS, if unset, egg will use os.cpus().length as default.daemon - whether run at background daemon mode, don't use it if in docker mode.framework - specify framework that can be absolute path or npm package, default to auto detect.env - server env, default to process.env.EGG_SERVER_ENV, recommended to keep empty then use framwork default env.stdout - customize stdout file, default to $HOME/logs/master-stdout.log.stderr - customize stderr file, default to $HOME/logs/master-stderr.log.timeout - the maximum timeout when app starts, default to 300s.ignore-stderr - whether ignore stderr when app starts.sourcemap / typescript / ts - provides source map support for stack traces.node - customize node command path, default will find node from $PATHStop egg gracefull.
Note: if exec without --title, it will kill all egg process.
$ eggctl stop [options]
# Usage
# eggctl stop --title=example
title - process title description, use for kill grep.timeout - the maximum timeout when app stop, default to 5s.package.jsonIn addition to the command line specification, options can also be specified in package.json. However, the command line designation takes precedence.
{
"eggScriptsConfig": {
"port": 1234,
"ignore-stderr": true,
// will pass as `node --max-http-header-size=20000`
"node-options--max-http-header-size": "20000",
// will pass as `node --allow-wasi`
"node-options--allow-wasi": true
}
}
Please open an issue here.
Made with contributors-img.
FAQs
deploy tool for egg project
The npm package @eggjs/scripts receives a total of 228 weekly downloads. As such, @eggjs/scripts popularity was classified as not popular.
We found that @eggjs/scripts demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 13 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
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.

Security News
/Research
Widespread GitHub phishing campaign uses fake Visual Studio Code security alerts in Discussions to trick developers into visiting malicious website.