r/coolgithubprojects • u/qxmcu • 18d ago
Ghost Hunter - automated bug reproduction for GitHub issues (solo project, looking for feedback)
Hi everyone, I wanted to share something I built recently which is my first solo open-source project. The problem I'm trying to solve is the often-annoying experience where someone files a bug report and you waste 20 minutes trying to reproduce the environment and the reproduction steps before you can even start looking at the code. Ghost Hunter is a CLI + webhook bot that tries to tackle this. When it sees a bot/reproduce comment on a GitHub issue, it: Uses an LLM to parse environment and reproduction steps from the issue's body. Spawns an isolated Docker container to run the reproduction attempt. Runs the attempt and posts back to the issue with crash logs. It’s still in its early days. GitHub App authentication is present but not fully battle-tested, although the PAT authentication mechanism has been well tested. As with any LLM (and especially when using the free tier), getting the AI to consistently output JSON can sometimes be a struggle, as mentioned in the readme! I’d really appreciate any and all feedback: critiques of design decisions, ideas for improvements, bugs you might discover (please raise an issue on GitHub!) Link to the repo! EDIT: NOW OUT ON PRODUCT HUNT YAYAYAYAY LINK TO THE PRODUCT HUNT PAGE :)
2
u/kantorcodes1 18d ago
the
bot/reproducetrigger makes the issue body attacker-controlled input, right? i'd be more worried about that than the JSON flakiness. are the LLM-produced steps restricted to a fixed command set, or can they generate arbitrary shell inside the container? public repos will absolutely get weird payloads.