
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
@asayer/asayer-cli
Advanced tools
Asayer CLI
npm i -g @asayer/asayer-cli
$ asayer --help
Usage: asayer [options] [command]
_ _ ____ _ ___
/ \ ___ __ _ _ _ ___ _ __(_) ___ / ___| | |_ _|
/ _ \ / __|/ _` | | | |/ _ \ '__| |/ _ \ | | | | | |
/ ___ \\__ \ (_| | |_| | __/ |_ | | (_) | | |___| |___ | |
/_/ \_\___/\__,_|\__, |\___|_(_)|_|\___/ \____|_____|___|
|___/
Options:
-V, --version output the version number
-t, --token <token> your user token from Asayer, override the configured token if present
-u, --url <url> custom test url
-T, --tests <test1,test2,...> a list containing test names or ids to be executed separated by comma ","
-r, --report <path> where to save your report (path to xml file)
-i, --interactive use interactive mode
-d, --debug debug console errors
-h, --help output usage information
Commands:
setup [options] Configure your Asayer CLI
local [options] Uses a local server for asayer onpremise
docker [options] Configure docker for local testing
Command's help:
$ asayer [command] --help
Examples:
$ asayer setup --help
$ asayer setup --help
Usage: setup [options]
Configure your Asayer CLI
Options:
-t, --token <token> your user token from Asayer
-h, --help output usage information
$ asayer local --help
Usage: local [options]
Uses a local server for asayer onpremise
Options:
-t, --token <token> your user token from Asayer
-T, --tests <test1,test2,...> a list containing test names or ids to be executed separated by comma ","
-u, --url <url> custom test url
-U, --update update images
-c, --clean clean residual containers
-S, --stop-all stop all running tests
-i, --interactive use interactive mode
-h, --help output usage information
$ asayer docker --help
Usage: docker [options]
Configure docker for local testing
Options:
-v, --verify verify if the current docker connection is valid
-h, --host <host> the docker host address (default: "127.0.0.1")
-p, --port <port> the docker host port (default: 2375)
-P, --protocol <protocol> the docker host protocol (default: "auto detect")
-c, --cert-dir <path> the docker host's certificate directory (default: "/etc/docker/certs.d/")
--cert <client cert> the path or name of the client's certificate file (default: "cert.pem")
--key <client key> the path or name of the client's key file (default: "key.pem")
--ca <certificate authority> the path or name of the certificate authority file (default: "ca.pem")
--no-check don't check the server identity
--docker-version <version> the docker version (default: "auto detect")
--show print the current configuration
-i, --interactive use interactive mode
-h, --help output usage information
To start you have to get your token from Preferences In order to configure your token with, use one of these steps:
asayer setup
asayer setup --token "MY_TOKEN..."
ASAYER_TOKEN
--token "MY_TOKEN..."
when executing each commandIf more than 1 method is used at the same time, the token value will be as follow:
--token "MY_TOKEN..."
asayer
asayer --tests "TEST_ID1,TEST_ID2"
asayer --url "https://asayer.io"
asayer -i
require docker
to be installed on the host
To start using asayer on premise you need to configure your cli in order to interact with docker, to configure your CLI/docker you can use one of the following steps:
asayer docker --verify
asayer docker -i
asayer docker --host "127.0.0.1" --port 3000 --protocol "https"
-h, --host <host>
: the docker host address (default: "127.0.0.1")-p, --port <port>
: the docker host port (default: 2375)-P, --protocol <protocol>
: the docker host protocol (default: "auto detect")-c, --cert-dir <path>
: the docker host's certificate directory (default: "/etc/docker/certs.d/")--cert <client cert>
: the path or name of the client's certificate file (default: "cert.pem")--key <client key>
: the path or name of the client's key file (default: "key.pem")--ca <certificate authority>
:the path or name of the certificate authority file (default: "ca.pem")--no-check
: don't check the server identity--docker-version <version>
:the docker version (default: "auto detect")
In order to check if your configuration is valid, run asayer docker --verify
To run your tests on premise:
asayer local
asayer local --tests "TEST_ID1,TEST_ID2"
asayer local --url "https://asayer.io"
asayer local -i
In case you have lost the connection to the terminal or started the asayer local
command in the background, the test containers will keep running until the end of the test, but you can use asayer local --stop-all
to stop all the running containers
FAQs
Asayer command line tool for running tests
The npm package @asayer/asayer-cli receives a total of 4 weekly downloads. As such, @asayer/asayer-cli popularity was classified as not popular.
We found that @asayer/asayer-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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 uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.