// security workers
Repositories
A repository Red Team run points a security agent at your codebase. The agent clones the repo into an isolated sandbox, chains findings together the way an attacker builds a kill chain, and records exploit paths with repro steps in the red-team report. Because the run uses the full repo as context, this is the gray-box option: it sees your code, not just your public surface.
When the repository exposes a Web or network service that can run in the sandbox, Prime can use the upstream FuzzingLabs Nuclei MCP server against that live service. Nuclei results remain candidates until Prime reproduces them and connects them to repository evidence.
Start a repository run
- Open Red team and select New report, or go to
/app/reports/new. - Choose Repository.
- Select one or more repositories from the repos where Superagent Security is installed.
- Optionally add a goal prompt to focus the engagement, then submit.
Private repositories require the security app with repository contents access. Beyond manual creation, repository runs can trigger automatically on a GitHub release, a tag, or a schedule.
Configure recurring runs
- Open Repository and select a connected repository.
- Enable Red teaming in its settings.
- Choose releases, prereleases, release tags, or a daily, weekly, or monthly schedule.
- Add a repository-specific goal when the campaign needs a narrower scope.
- Select New run once to confirm repository access and the goal before relying on the trigger.
The report detail page
Repository red-team reports open at /app/reports/repository/[id]. The detail view includes:
- Run status and the live agent event feed
- Linked findings discovered during the run, each with repro context
- Assignees and status updates for your team's review workflow
- Cost and timing for the engagement
Findings
Discovered issues land in the Findings queue as repository_red_team findings. From there you can run automated triage to verify exploitability and turn confirmed issues into fix PRs.
Relationship to PR scans
Repository Red Team uses the same GitHub App installation as PR Security. PR scans check every pull request before merge; Red Team runs are deeper engagements you start on demand or on a trigger.