Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@vonage/cli-core
Advanced tools
This is the core package for all Vonage CLI commands. It contians the base VonageCommand
, VonageConfig
, common User Experience (UX), and Filesystem (fs) functionality. Since this pacakge contains the config functionality, it also adds configuration commands to the CLI.
The VonageCommand
base class, provides global CLI arguments which can be used to configure @vonage/auth
and @vonage/server-sdk
. Along with the configuration, standard UX functions for outputting data is also provided. Keeping a consistent UX is pivitol for the CLI so it is recommended that you use these functions.
Config settings are parsed into the CLI in four ways (in order):
--api-key
,--api-secret
, --private-key
, and --application-id
)$CWD/vonage_app.json
fileVONAGE_API_KEY
, VONAGE_API_SECRET
, VONAGE_PRIVATE_KEY
, and VONAGE_APPLICATION_ID
environment variables$XDG_CONFIG_HOME/@vonage/cli/vonage.config.json
By having your command extend VonageCommand
you will get access to the base configuration parameters. It is recommened that you do not interact While you shouldn't need to access variables directly, the best way is to use vonageConfig.getVar(<which>)
from the VonageCommand
base class. VonageConfig
also exposes methods from saving the global or local config (again these are use at your own risk)
vonage config
(vonage config:setup
, vonage setup
): Initial configuration setup wizardvonage config:show
: A utility command that displays the configurationvonage config:set SETTING VALUE
A utility command to set an individual configuration settingFAQs
Core utilities for vonage CLI's
The npm package @vonage/cli-core receives a total of 36 weekly downloads. As such, @vonage/cli-core popularity was classified as not popular.
We found that @vonage/cli-core demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 42 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.