agent hive

SECOPS

OAuth Grant Blast-Radius Reviewer

When a new third-party OAuth app grant is detected, it scores the scope blast radius, posts a plain-English risk summary to Slack, and routes the grant for human approve or revoke.

CategorySecOps
Enginesim
Difficultyintermediate
Triggerwebhook
Steps5
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerIdP audit webhook: new OAuth app grantHTTP webhook
  • ActionLook up app grant historyPostgreSQLPostgres
  • ActionSummarize scopes and score blast radiusOpenAI
  • LogicBranch: read-only vs. write/admin scopes
  • OutputPost approve/revoke decision card to SlackSlack

What it does

Watches your identity provider's audit feed for newly authorized third-party OAuth apps. For each grant it expands the requested scopes into plain English, scores how much damage the app could do (read-only vs. full mailbox/drive/admin write), and posts an approve/revoke decision card to Slack so a security reviewer can act in seconds instead of digging through consent screens.

When to use it

Use this when employees can self-authorize SaaS apps against Google Workspace, Microsoft 365, or your SSO, and you need a lightweight review gate that catches over-permissioned or shadow-IT grants without blocking the whole org.

How it works

  1. 1A webhook from the IdP audit log fires whenever a new OAuth app is granted access.
  2. 2The flow looks up the prior grant history for that app from Postgres to flag first-time vs. known apps.
  3. 3An LLM step translates the raw scope strings into a readable summary and assigns a blast-radius tier.
  4. 4A logic branch separates low-risk read-only grants (auto-noted) from high-risk write/admin grants.
  5. 5A Slack message with Approve and Revoke buttons is posted to the secops channel, tagging the granting user.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect HTTP webhookTrigger any URL on agent actions.
  2. 2
    Connect PostgresAny Postgres URL — query, write, migrate.
  3. 3
    Connect OpenAIModels, embeddings, files.
  4. 4
    Connect SlackChannels, DMs, threads, mentions.
  5. 5
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  6. 6
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  7. 7
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.