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.
openfin-cli
Advanced tools
The OpenFin Cli tool will allow you to launch the OpenFin runtime given a url or a configuration file, it will also allow you to create configuration files by giving only name and url.
You will need Node.js to use the tool and creating configs will work cross platform, but launching the OpenFin runtime is restricted to Windows at the moment.
$ npm install -g openfin-cli
$ npm install --global openfin-cli
$ openfin --help
##Examples
####Launching an application
$ openfin --launch --url http://www.openfin.co
Shorthand
$ openfin -l -u http://www.openfin.co
####Creating a config file
$ openfin --config myconfig.json --name myAppName --url http://www.openfin.co
Shorthand
$ openfin -c myconfig.json -n myAppName -u http://www.openfin.co
####Launching a given config file
$ openfin --launch --config myconfig.json
$ openfin --launch --config http://goo.gl/w2747v
Shorthand
$ openfin -l -c myconfig.json
$opengin -l -c http://goo.gl/w2747v
####Generate installer URL
Will print a url to the console with the name proivided via the -n
flag and the hosted confg
file url provided via the -c
flag
$ openfin -n OpenFinPOC -c http://goo.gl/w2747v -h
####Download an installer zip locally
Use the -d
or --destination
flag to specify the directory of the download. To download to the current directory use -d .
or --destination .
$ openfin --destination my-dist-directory --installer http://goo.gl/w2747v
Shorthand
$ openfin -d my-dist-directory -i http://goo.gl/w2747v
####Installer config options
--no-ext If set “true”, the file is extention-less'
--rvm-config URL that points to the RVM config. Must be a full URL.'
'--support-email The email address to display in the installer when an error occurs. Default value = support@openfin.co"'
--dnl Installs an application without launching it. Set value to true [dnl=true]'
MIT
FAQs
Supports command line development in the OpenFin environment.
The npm package openfin-cli receives a total of 582 weekly downloads. As such, openfin-cli popularity was classified as not popular.
We found that openfin-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 53 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.