
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
stg-cli is a powerful Node.js command-line interface (CLI) tool designed to simplify the initialization and management of applications within a defined pipeline configuration. It seamlessly integrates with GitHub Actions workflows locally and Docker, streamlining your development processes.
To use stg-cli, install it globally using npm:
npm install -g stg-cli
Commands
Initialization: Initialize the stg-cli npm package for your project to set up the required configuration files.
bash
$ stg-cli init
Start/Stop Applications: Manage the lifecycle of configured applications by starting or stopping them.
bash
$ stg-cli start <appid>
$ stg-cli stop <appid>
List Configured Applications: View a table of configured applications, displaying their IDs, names, statuses, paths, and UUIDs.
bash
$ stg-cli apps
Show Available Commands: Display a list of available commands and their usage.
bash
$ stg-cli -help
Docker Integration: Execute Docker commands as part of the workflow.
Usage
application.json
A filename CreateApplication.json is automatically create in inside the package in which we Define the properties of our applications.
Example:
{
"applications": [
{
"id": "123",
"name": "MyApp",
"path": "/path/to/app",
"uuid": "abc123def456"
},
// Add more applications as needed
]
}
onetab-pipeline.yml
Create a file named onetab-pipeline.yml in the root of your project. Define the GitHub Actions workflow for stg-cli.
Example:
yaml
Copy code
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
# Add more steps as needed
FAQs
The only Cli you will need
We found that stgk 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.