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.
@fusebit/everyauth-cli
Advanced tools
The EveryAuth CLI is a command-line tool for the [EveryAuth Express middleware](https://github.com/fusebit/everyauth-express/), allowing for the management of services, tokens, and more.
The EveryAuth CLI is a command-line tool for the EveryAuth Express middleware, allowing for the management of services, tokens, and more.
The EveryAuth CLI is built on node.js, which is a pre-requisite you need to install first. Then, run the following command:
npm install -g @fusebit/everyauth-cli
To start using the CLI against your deployment, create a new profile and integration environment:
everyauth init
After the command completes, a local profile is created and stored on your machine under ~/.fusebit
. The profile contains private connection information that enables the CLI to communicate with the EveryAuth service, and should not be shared.
The EveryAuth CLI supports the following top-level commands. Each command displays further information when invoked with no parameters:
Performs one-time initialization of EveryAuth on a developer machine. This command will create a free Fusebit account and store the credentials necessary to access it in your home directory's ~/.fusebit/settings.json
file. Keep this file secret. You can also move the .fusebit
directory to a new machine from which you want to access your EveryAuth configuration, like a CI/CD box or a second development machine.
Exports to stdout
a JSON-encoded profile object which can be used with everyauth profile import
, or
set in the environment after base64 encoding within EVERYAUTH_PROFILE_JSON
to support generating keys in
production to authenticate to the EveryAuth backend.
Example: Encode the profile to generate short-lived JWT keys dynamically in production, and store it in a
.env
file.
echo EVERYAUTH_PROFILE_JSON=`everyauth profile export | base64` >> .env
Supports importing, from stdin
or a file, a previously existing profile.
Generates a JSON-encoded JWT that, once base64-encoded, can be placed within the EVERYAUTH_TOKEN
environment variable to
be automatically used by the middleware to communicate with the EveryAuth backend.
Supports a --expires
parameter that allows for a custom expiration time specified via standard
ms interval encoding. The default expiration interval is 2h
(two hours).
Example: Generate a token valid for 12 weeks, and store it in a .env
file.
echo EVERYAUTH_TOKEN=`everyauth token --expires 12w | base64` >> .env
Lists services available to use from your app. See the Supported services section for details on the usage of individual services.
Configures a specific service. This can be used to specify your custom OAuth client ID or secret or a custom set of scopes you want to request the authorization for. See the Supported services section for details on the usage of individual services.
Get the current configuration of a specific service and the OAuth callback URL necessary to set up a custom OAuth application with that service.
Add a new service.
Remove existing service.
Get logs of an existing service.
List existing identities for a specific service (users who authorized your app to use the service on their behalf).
Get details of a specific identity of a particular service.
Remove a specific identity of a particular service.
Display CLI version.
To update the EveryAuth CLI to the latest version, use:
npm install -g @fusebit/everyauth-cli
To uninstall the EveryAuth CLI, use the following command:
npm uninstall -g @fusebit/everyauth-cli
For security reasons, you may also choose to remove any profiles that were stored locally:
rm -r ~/.fusebit
FAQs
The EveryAuth CLI is a command-line tool for the [EveryAuth Express middleware](https://github.com/fusebit/everyauth-express/), allowing for the management of services, tokens, and more.
The npm package @fusebit/everyauth-cli receives a total of 2 weekly downloads. As such, @fusebit/everyauth-cli popularity was classified as not popular.
We found that @fusebit/everyauth-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.