Skip to content
Security
Command

/notify-slack

Post the latest /audit results to a Slack channel via incoming webhook.

From plugin
rugproof
945 skills23 agents45 commands4 hooks
Install
> /plugin marketplace add omermaksutii/RugProof
> /plugin install rugproof@rugproof

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/notify-slack

Context preview

What this command does when you run it.

Post the latest /audit results to a Slack channel via incoming webhook.

Command definition

notify-slack.md
description: Post the latest /audit results to a Slack channel via incoming webhook.
argument-hint: "[--webhook-url <url>] [--severity-filter critical|high|medium]"
allowed-tools: Read, Bash

/notify-slack — push findings to Slack

Sends a compact summary of the most recent audit to a Slack channel. Use after `/audit` when collaborating with a team.

Setup

Create an incoming webhook in your Slack workspace: https://api.slack.com/messaging/webhooks

Then either:

  • Pass `--webhook-url` to this command, or
  • Set `SLACK_WEBHOOK_URL` in `.env`, or
  • Add to `.rugproof.yml`:
  notifications:
    slack:
      webhook_url: "https://hooks.slack.com/services/T..../B..../...."

Procedure

1. Locate the latest findings JSON (default `rugproof-reports/findings.json`). 2. Filter by `--severity-filter` (default: critical + high). 3. Build a Slack Block Kit payload:

   {
     "blocks": [
       { "type": "header", "text": { "type": "plain_text", "text": "🛡 Rugproof — VulnerableVault.sol" } },
       { "type": "section", "fields": [
           { "type": "mrkdwn", "text": "*Critical:* 2" },
           { "type": "mrkdwn", "text": "*High:* 4" },
           { "type": "mrkdwn", "text": "*Grade:* F" },
           { "type": "mrkdwn", "text": "*Top:* Reentrancy in withdraw()" }
       ]}
     ]
   }

4. POST to webhook via `curl`. Bash command pattern:

   curl -X POST -H 'content-type: application/json' \
        --data @payload.json \
        "$SLACK_WEBHOOK_URL"

5. Confirm 200 response or report the failure.

Output

✓ posted 6 findings to Slack
  channel: #security
  permalink: https://acme.slack.com/archives/...

Notes

  • Don't paste contract source into Slack. Findings + IDs only.
  • For Critical findings, prefix the message with `<!channel>` to ping the security on-call (configurable).
  • Webhook URLs are secrets — never commit to a repo. Use `.env` or `.rugproof.local.yml`.
Read more
Ships withrugproof

Rugproof your code before someone else does. 🌐 Live site: omermaksutii.github.io/RugProof 📦 Latest: v1.0.0 — 45 commands · 23 agents · 45 skills · 13 MCP servers · tested, offline-first, with rule packs, a benchmark, non-EVM coverage, and post-deploy

Get the whole plugin

Other commands on rugproof.