IonRift

Security Agent

Risky changes, stopped before merge.

The Security Agent scans each pull request's diff for leaked secrets, risky workflow changes and vulnerable dependencies.

Warden, the Security Agent ship

acme/api · PR #223

Blocked: 2 to fix

security11s

2 blocking · 1 warning

Security Agent11s · $0.012

Secret: an AWS key in config/dev.ts:7.

Fix: read it from the environment, then rotate it.

  • pull_request_targetdeploy.yml:3 · write access
  • Unpinned actiondeploy-action@main

securityafter fix · passed

Sample data

01How it works

Three steps, start to finish.

  1. 1It reads the diffCode, workflows, lockfiles and config.
  2. 2It checks what attackers useLeaked secrets, unsafe triggers, unpinned actions.
  3. 3It blocks or commentsEach finding on its line, with the fix.

02Proof

Findings, on their lines

IonRift Security Agenton #223

  • Secret: an AWS access key in config/dev.ts:7. Rotate it and read it from the environment.
  • Workflow: pull_request_target checks out the PR's head with write permissions.
  • Unpinned: some-org/deploy-action@main. Pin it to a commit SHA.

Sample output