GitHub App

The Rorix GitHub App scans the repositories you connect and adds pull request checks when dependency files change. It works without a GitHub Actions workflow file.

Required GitHub Permissions

The V1 app uses a minimal read-first permission set:

| Permission | Access | Purpose | | --- | --- | --- | | Metadata | Read | Identify selected repositories | | Contents | Read | Fetch dependency manifests at branch and PR refs | | Pull requests | Read | List changed files and PR metadata | | Checks | Write | Create and update the Rorix Supply Chain check | | Issues | Write | Create or update one PR summary comment |

Scanning uses read access to repository contents. The gated automatic security PR feature additionally requires Contents: Read and write and Pull requests: Read and write. Existing installations must approve the added permissions and sync before a project can opt in. Checks and Issues permissions stay as listed above.

Install Flow

  1. Start from Connect a GitHub repository and choose or create a Rorix workspace.
  2. Choose a repository. If you need to install the app, select the GitHub account that owns the repository and use Only select repositories to grant access to it. Your GitHub organization may require owner approval.
  3. Rorix opens the connected project, starts its first scan, and enables pull request checks. If GitHub grants access to several repositories, choose one in Rorix to continue.

Pull Request Checks

When a pull request is opened, synchronized, reopened, or marked ready for review, Rorix:

  • Lists changed files in the PR
  • Skips with a passing check if no supported dependency files changed
  • Scans the head SHA and compares it with a baseline of the base SHA: a recent scan of that exact commit when Rorix already has one, otherwise a fresh scan of the base. If the base cannot be scanned, the latest default-branch scan is used and the check marks it as approximate. The check summary names the baseline commit and its source.
  • Compares new vulnerabilities and packages
  • Lists new advisories with the dependency path and suggested update where the scan has that evidence. The check links to GitHub's live CI results for the pull request.
  • Evaluates .rorix.yml from the PR head, against both the head and the baseline
  • Fails the check only on policy violations the baseline does not already have, or on new critical/high advisories. Violations already on the base are listed but do not block. A package at a new version counts as new, and a count or score rule blocks when the head is worse than the base. Without any baseline the whole head is judged.
  • Updates one PR comment instead of creating duplicates

Dependency files include .csproj, .sln, packages.config, Directory.Packages.props, nuget.config, global.json, .deps.json, packages.lock.json, package.json, package-lock.json, npm-shrinkwrap.json, and pnpm-lock.yaml.

Reproduce a transitive NuGet check

Use a disposable GitHub repository and the .NET 10 SDK. The sample builds a class library with a pinned dependency graph. Keep the historical package version on the test branch and inspect the check before applying the fix.

  1. Create a project and commit the project file and lockfile to the default branch.

    dotnet new classlib --framework net10.0 --output NuGetPrDemo --no-restore
    cd NuGetPrDemo
    dotnet package add Microsoft.AspNetCore.Mvc.NewtonsoftJson --version 10.0.12 --no-restore
    dotnet restore --use-lock-file
    dotnet build --no-restore
  2. Connect the repository to Rorix. On a branch, set the direct package to its historical 3.1.0 release, regenerate the lockfile, and open a PR containing the two changed files.

    dotnet package add Microsoft.AspNetCore.Mvc.NewtonsoftJson --version 3.1.0 --no-restore
    dotnet restore --use-lock-file --force-evaluate

    The historical release resolves Newtonsoft.Json 12.0.2 transitively. Look for CVE-2024-21907 under New advisories in this pull request and verify the dependency path from Microsoft.AspNetCore.Mvc.NewtonsoftJson.

  3. Upgrade the direct package to 10.0.13, regenerate the lockfile, and run the build. After pushing the update, open the same PR's Checks tab to compare the Rorix result and your repository CI at the new commit.

    dotnet package add Microsoft.AspNetCore.Mvc.NewtonsoftJson --version 10.0.13 --no-restore
    dotnet restore --use-lock-file --force-evaluate
    dotnet build --no-restore

Default Branch Scans

For active repositories connected through the GitHub App, pushes to the default branch trigger a project scan with the GitHub App installation token. Results update the project dashboard and the app check run for that commit.

Scheduled Reminders and Security Fixes

When activated by your Rorix administrator, Settings → Slack connects the existing Rorix Slack app and selects a channel for daily or eight-hour open vulnerability reminders. Enable repository monitoring to include a project. Digests repeat unsuppressed findings, flag stale coverage and link to existing fix PRs.

Project settings → Automatic security pull requests opts a repository into one regular PR per owning dependency. Rorix resolves NuGet, npm, pnpm or Yarn dependencies in an isolated sandbox, updates supported manifests and lockfiles, and checks that targeted advisories are removed without introducing new advisories or violating repository policy. Major upgrades need your approval, including major upgrades of transitive dependencies. Open Project → Fixes to see which packages require approval, why a pull request stayed in draft, and the latest remediation status. Rorix merges a fix on its own only when Merge fixes automatically is on, the PR changes nothing but manifests and lockfiles, and its isolated checks and the repository's CI pass. Branch protection and required reviews still apply.

GitHub App vs GitHub Actions

Use the GitHub App when you want repository protection without maintaining workflow files. The public GitHub Actions integration is intended for custom runners, explicit SARIF upload, branch-specific workflow logic, or CI-owned security gates.