Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@based/cli
Advanced tools
- There should be two main modes: interactive and non-interactive.
- Items that should be clearly visible when the command runs:
- cli version
- cluster, org, project, env
- command being run
- Different steps in the command should be clear with some kind of separator.
- When needed should authenticate the user first.
- Main arguments should be confirmed with inputs, and prepopulated in case they exist.
`based [...global arguments] command [...command arguments]`
- `--non-interactive`: Run in non interactive mode. Also infered from isTTY.
- `--org <org>`: Org
- `-p, --project <project>`: Project
- `-e, --env <env>`
- `--cluster <cluster>`: Cluster
- `-b, --based-file <basedFile>: Path to based config file. Defualts to `based.json` in the current folder
- `-d, --debug`: Show debug information
- `-o, --output-type <output-type>`: Output type: `fancy` (default), `json`
envs <action>
Manage environments in the cluster.
Actions:
- `ls`: List envs
- `add`: Add and environment
- `remove`: Remove an environment
ls
actionFlow:
- get cluster
- authenticate user
- list existing envs
add
actionFlow:
- get cluster, org, project, env from file or arguments
- ask for env name if not in based file or arguments
- create env
- (?)
FAQs
## call
The npm package @based/cli receives a total of 302 weekly downloads. As such, @based/cli popularity was classified as not popular.
We found that @based/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.