
Research
/Security News
npm Author Qix Compromised via Phishing Email in Major Supply Chain Attack
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
Automated analysis with Stackspot AI offers capabilities such as code review generation, documentation creation, and much more.
This CLI tool is designed to interact with StackSpot AI for code review and analysis. It is built using Python and managed with Poetry.
Python 3.8+
Stackspot AI Account
Quick command remote
pip install reviewer_stk_ai
You can use the CLI tool by running the cli.py script. The general command structure is:
reviewer_stk_ai [OPTIONS] COMMAND [ARGS]...
Command Options The CLI provides several options that can be passed globally or for specific commands:
--quick-command-id <string>
: Remote quick command identifier on the STK AI portal (required).
--client-id <string>
: Client ID generated on the StackSpot AI platform (required).
--client-secret <string>
: Client secret generated on the StackSpot AI platform (required).
--realm <string>
: Domain where the token will be generated (default: "zup").
--retry-timeout <int>
: Set the wait time (in seconds) between response checks (default: 10 seconds).
--retry-max-attempts <int>
: Set the number of retries to wait for the callback (default: 10).
--host-stk-ai <string>
: Host of the STK AI API (default: https://genai-code-buddy-api.stackspot.com).
--host-token-stk-ai <string>
: Host of the token API (default: https://idm.stackspot.com).
--https-proxy <string>
: Set the HTTPS proxy for requests.
--http-proxy <string>
: Set the HTTP proxy for requests.
--report-filename <string>
: Name of the report file (default: "report.txt").
--report-directory <string>
: Directory where the report will be saved (default: "reports").
--ignored-directories <string>
: List of directories to ignore.
--ignored-files <string>
: List of files to ignore.
--extension <string>
: File extension to be reviewed (default: ".py").
--directory <string>
: Path to the directory where the files are located (default: ".").
--debug/--no-debug
: Enable or disable debug mode.
This command reviews changes between two branches in a Git repository. It compares the specified branches and analyzes the modified files.
--base-branch <string>
: The branch that should be the base for comparison (default: "main").--compare-branch <string>
: The branch to compare against the base (default: "develop").reviewer_stk_ai review_changes --base-branch main --compare-branch feature-branch
This command reviews all files in a specified directory.
reviewer_stk_ai review_dir --directory ./src
Reviewing all files in the current directory:
reviewer_stk_ai review_dir
Comparing changes between branches and generating a report:
reviewer_stk_ai review_changes --base-branch main --compare-branch feature-branch --report-filename diff_report.txt
Ignoring specific directories and files during review:
reviewer_stk_ai review_dir --ignored-directories .git --ignored-files config.py
You can configure environment variables to set default values for the options:
HTTPS_PROXY
, HTTP_PROXY
: Proxies for requests.CR_STK_AI_RETRY_TIMEOUT
, CR_STK_AI_MAX_ATTEMPTS
: Retry settings.CR_STK_AI_REALM
, CR_STK_AI_HOST
, CR_STK_AI_HOST_TOKEN
: API configuration.CR_STK_AI_CLIENT_ID
, CR_STK_AI_CLIENT_SECRET
, CR_STK_AI_ID_QUICK_COMMAND
: Authentication credentials.This project is licensed under the MIT License. See the LICENSE file for details.
FAQs
Automated analysis with Stackspot AI offers capabilities such as code review generation, documentation creation, and much more.
We found that reviewer-stk-ai demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.