Back to Home
fsmiamoto icon

reagent

by fsmiamoto

Overview

Facilitates interactive, GitHub-style code reviews for AI agents directly in the browser, supporting various Git contexts and local files.

Installation

Run Command
npx @fsmiamoto/reagent@latest

Environment Variables

  • REAGENT_PORT
  • REAGENT_MAX_ATTEMPTS

Security Notes

CRITICAL VULNERABILITY: The `src/utils/git.ts` file uses `child_process.execSync` to run Git commands, directly interpolating user-provided inputs like `commitHash`, `base`, `head`, and `filePath` into the shell command string without sufficient sanitization. This creates a severe command injection vulnerability, allowing a malicious agent or user to execute arbitrary shell commands on the host system. For example, a crafted `commitHash` could be `'; rm -rf / ;'`. This is an extremely dangerous pattern.

Similar Servers

Stats

Interest Score0
Security Score1
Cost ClassLow
Avg Tokens200
Stars0
Forks0
Last Update2025-12-03

Tags

Code ReviewAI AgentDeveloper ToolGitWeb UI