Skip to content

shardeum/argus-agent

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Argus - helps you to run security code review with LLM

Argus provides two main tools for security code review:

agent.py - Pull Request Security Reviewer

usage: agent.py [-h] [--pull-request PULL_REQUESTS] [--slack-channel SLACK_CHANNEL] [--summary SUMMARY] [--linear-ticket LINEAR_TICKET] [--debug]
                [--open-vs-code]

Argus llm code reviewer

options:
  -h, --help            show this help message and exit
  --pull-request PULL_REQUESTS
                        URL to the GitHub pull request (can be specified multiple times)
  --slack-channel SLACK_CHANNEL
                        Slack channel id to fetch review requests from
  --summary SUMMARY     Path to file with project summary
  --linear-ticket LINEAR_TICKET
                        Linear ticket to review
  --debug               Enable debug mode for llm
  --open-vs-code        Clone repo, checkout branch and open vscode

    Environment variables:
      GITHUB_ACCESS_TOKEN - Your GitHub API token
      SLACK_BOT_TOKEN - Your Slack API token
      LINEAR_API_KEY - Linear API token (optional)
      
    Note: Token environment variables are required for API access.

commit.py - Single Commit Security Analyzer

usage: commit.py [-h] [--summary SUMMARY] [--debug] [--output OUTPUT] commit_url

Argus commit security analyzer - analyzes a single Git commit for security vulnerabilities

positional arguments:
  commit_url       URL to the GitHub commit (e.g., https://github.com/owner/repo/commit/hash)

options:
  -h, --help       show this help message and exit
  --summary SUMMARY
                   Path to file with project summary for additional context
  --debug          Enable debug mode for LLM interactions
  --output OUTPUT  Path to save the security report (if not specified, prints to console)

    Environment variables:
      GITHUB_ACCESS_TOKEN - Your GitHub API token (required)
      
    Example usage:
      python commit.py https://github.com/owner/repo/commit/abc123
      python commit.py https://github.com/owner/repo/commit/abc123 --summary project_summary.txt
      python commit.py https://github.com/owner/repo/commit/abc123 --output report.md

About

security code review with LLM

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%