// products
Repositories
A repository Red Teaming 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.
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 Teaming uses the same GitHub App installation as PR Scanning. PR scans check every pull request before merge; Red Teaming runs are deeper engagements you start on demand or on a trigger.
Next steps
Attack scenarios
Choose Attack scenario in red-team settings or when creating a report. General assessment keeps the full methodology. Each target category has 15 built-in scenarios covering concrete outcomes such as cross-user reads, tenant isolation, privilege escalation, revocation and execution boundaries.
A selected scenario focuses the assessment on that objective. Review its required capabilities and setup, and supply authorized identities, policy and disposable fixtures. Keep passwords and tokens in the encrypted credential fields; use the specific prompt for non-secret fixture references and expected policy. Missing prerequisites are reported as blocked, and unsupported capabilities require a not-applicable explanation. Unselected scenarios are outside the assessment. For Agents, unrelated framework entries are marked outside_selected_assessment.
Search the scenario dropdown by name, objective, or ID. Organization owners can choose Add new scenario in the dropdown to open the creation modal, or Edit scenario for a selected custom scenario. The modal only requires a Name and What should we test? in plain language. Selecting a preset first prefills the instructions with its objective. Superagent discovers the relevant capabilities and determines the testing approach, evidence, and finding classification; missing required setup remains blocked. The Custom scenarios section in the Red teaming tab lists reusable scenarios for this target category. Owners can add, edit, or delete them there. Deleting removes a scenario from the library; existing reports and saved run settings retain their pinned version. Saving creates a revision. Settings apply the selected revision to manual and scheduled runs; existing reports and reruns preserve their resolved definition.
The report labels the selected scenario. Scenario coverage is tracked separately from findings: verified vulnerability, blocked, not applicable, inconclusive, or not tested. Runner-reported negative results remain inconclusive until independently verified outside the target environment, even when baseline, denied-control and attack-variant evidence is supplied. Zero findings alone is not a pass. Scope, verification, peer review and remediation requirements still apply. Proposed control relationships are scoped evidence references and do not establish certification or full compliance.