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.
@useoptic/cli
Advanced tools
API automation for the modern team
$ npm install -g @useoptic/cli
$ optic COMMAND
running command...
$ optic (-v|--version|version)
@useoptic/cli/2.0.3 darwin-x64 node-v8.12.0
$ optic --help [COMMAND]
USAGE
$ optic COMMAND
...
optic api:document
optic api:publish
optic config:check
optic credentials:add-token
optic help [COMMAND]
optic api:document
document your API contract
USAGE
$ optic api:document
See code: src/commands/api/document.ts
optic api:publish
publish your API contract to Optic
USAGE
$ optic api:publish
OPTIONS
-d, --draft
See code: src/commands/api/publish.ts
optic config:check
validate your optic.yml
USAGE
$ optic config:check
See code: src/commands/config/check.ts
optic credentials:add-token
authenticate the CLI
USAGE
$ optic credentials:add-token
See code: src/commands/credentials/add-token.ts
optic help [COMMAND]
display help for optic
USAGE
$ optic help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
FAQs
API CLI from Optic. Document and test your APIs as you build them.
The npm package @useoptic/cli receives a total of 9 weekly downloads. As such, @useoptic/cli popularity was classified as not popular.
We found that @useoptic/cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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.