notify-slack

notify-slack is a command for coding agents from omermaksutii/RugProof. It costs 14 tokens per session (535 once invoked), scanned A, original, MIT.

A command that posts the latest security-audit results to a Slack channel, a shared team chat. It sends a compact summary through a Slack incoming webhook, which is a special URL that accepts messages.

In plain words
What is it for?
Use it after an audit to share counts, the grade, and the most important findings with a team channel.
Why use it?
It avoids copying audit results into Slack manually and can limit the message to selected severity levels.

Command

Part of the rugproof plugin — 35 commands, 23 agents shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/omermaksutii/rugproof/notify-slack
Clone the repo
git clone --depth 1 https://github.com/omermaksutii/RugProof

Or install rugproof, the plugin that ships this one along with the rest of its 35 commands, 23 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for notify-slack

README.md
[![agentmods](https://agentmods.dev/badge/commands/omermaksutii/rugproof/notify-slack.svg)](https://agentmods.dev/commands/omermaksutii/rugproof/notify-slack)
Your own site
<a href="https://agentmods.dev/commands/omermaksutii/rugproof/notify-slack"><img src="https://agentmods.dev/badge/commands/omermaksutii/rugproof/notify-slack.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 535 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00014 $0.00535
Opus 5 $0.00007 $0.00267
Sonnet 5 $0.00003 $0.00107
Haiku 4.5 $0.00001 $0.00053

Measured 5d ago against content hash f80484116752, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

notify-slack scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

4. POST to webhook via `curl`. Bash command pattern:
commands/notify-slack.md · 64 lines

What it actually says

/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.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 64 lines · 14 tokens per session scan A f80484116752

Subscribe to this mod's changes

notify-slack is a command published in the GitHub repository omermaksutii/RugProof (9 stars, last pushed 1mo ago), licensed MIT. It adds 14 tokens to every session and 535 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.