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.
@ones-open/cli-tools
Advanced tools
$ npm install -g @ones-open/cli-tools
$ opt COMMAND
running command...
$ opt (--version)
@ones-open/cli-tools/2.1.2 darwin-arm64 node-v18.12.1
$ opt --help [COMMAND]
USAGE
$ opt COMMAND
...
opt check OPKS
check if OPK packages contain incompatible ONES APIs, modules or abilities by configuration in op.config.mjs
USAGE
$ opt check OPKS [--ones-version <value>] [--scan-apis <value>] [--enable-api-hijack] [--json]
[--output-path <value>] [-h]
ARGUMENTS
OPKS the OPK files or directories to check
FLAGS
-h, --help Show CLI help.
--enable-api-hijack enable API hijack which will override `enableApiHijack` in `op.config.mjs`
--json output the result with JSON format
--ones-version=<value> the target ONES version which will override `onesVersion` in `op.config.mjs`
--output-path=<value> the file path to save the result
--scan-apis=<value> the ONES APIs to scan which will override `scan.apis` in `op.config.mjs`, multiple apis
should be separated by comma
DESCRIPTION
check if OPK packages contain incompatible ONES APIs, modules or abilities by configuration in `op.config.mjs`
EXAMPLES
$ opt check demo.opk
$ opt check /path/to/opk/dirs
$ opt check /path/to/opk/dirs,demo.opk
$ opt check demo.opk --ones-version="3.15.0" --scan-apis="/project/api/1,/project/api/2"
opt help [COMMANDS]
Display help for opt.
USAGE
$ opt help [COMMANDS...] [-n]
ARGUMENTS
COMMANDS... Command to show help for.
FLAGS
-n, --nested-commands Include all nested commands in the output.
DESCRIPTION
Display help for opt.
See code: @oclif/plugin-help
FAQs
helping tools to check opk
We found that @ones-open/cli-tools 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.