---
title: "How we're using Sourcegraph and a Slack bot to detect vulnerabilities and react quickly"
description: "Sourcegraph built a Slack bot that polls the GitHub Advisory Database every 15 minutes, triages advisories with CVSS, Hacker News buzz and a high-reach package list plus supply-chain keywords, and on a single 🚀 reaction generates detection queries, a blog scaffold, social drafts and an auto-edited Deep Search demo video."
url: "https://swe.quest/articles/how-we-re-using-sourcegraph-and-a-slack-bot-to-detect-vulnerabilities-and-react-bfb7cc0f6f98e463"
canonical: "https://sourcegraph.com/blog/slack-bot-supply-chain-incident-response"
source: "Sourcegraph"
published: "2026-05-13"
difficulty: "medium"
kind: "Case study"
reading_minutes: 12
tags: ["supply-chain-security","developer-tools","video-media","search"]
---

# How we're using Sourcegraph and a Slack bot to detect vulnerabilities and react quickly

A post on [Sourcegraph](https://swe.quest/sources/sourcegraph.md), published 2026-05-13, 12 min read, Case study. Original: [https://sourcegraph.com/blog/slack-bot-supply-chain-incident-response](https://sourcegraph.com/blog/slack-bot-supply-chain-incident-response)

## Summary

Sourcegraph built a Slack bot that polls the GitHub Advisory Database every 15 minutes, triages advisories with CVSS, Hacker News buzz and a high-reach package list plus supply-chain keywords, and on a single 🚀 reaction generates detection queries, a blog scaffold, social drafts and an auto-edited Deep Search demo video. The design avoids an orchestrator. It uses JSON incident descriptors and one-shot Node scripts, auto-commits inert manifests to a private indexed demo repo through a narrowly scoped PAT, and parks borderline advisories for 12 hours to prevent alert fatigue. An ffmpeg scene-detection, burst-clustering and anchor-filtering pipeline cut a 210-second capture to 19 seconds of content. Putting a 'DO NOT INSTALL' note in the manifest made Deep Search discard the match as synthetic, so the disclosure was moved to the repo README.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Supply chain security](https://swe.quest/tags/supply-chain-security.md) (Security)
- [Developer tools](https://swe.quest/tags/developer-tools.md) (Engineering practices)
- [Video & media](https://swe.quest/tags/video-media.md) (Domains)
- [Search](https://swe.quest/tags/search.md) (Backend & APIs)

## Prerequisites

- npm package manifests
- software supply chain attacks ([easy posts on Supply chain security](https://swe.quest/tags/supply-chain-security.md?difficulty=easy))
- ffmpeg basics

## Keywords

Sourcegraph, Deep Search, GitHub Advisory Database, Slack, ffmpeg, TanStack, Shai-Hulud, CVE-2026-45321

## Related posts

- [Automating Security Triage with HackerOne and Deep Search](https://swe.quest/articles/automating-security-triage-with-hackerone-and-deep-search-ce50e70d2f61dc6d.md): Sourcegraph · 2026-06-05 · Easy · 4 min read · Security, AI agents, LLMs
  Sourcegraph's security team built a small service that receives signed HackerOne webhooks for new bug bounty reports, verifies the signature, and sends the report to the Deep Search API to investigate it against the relevant codebase.
- [How we use Dependabot to secure GitHub](https://swe.quest/articles/how-we-use-dependabot-to-secure-github-a37d347bd1917fad.md): GitHub Engineering · 2022-05-25 · Medium · 7 min read · Supply chain security, Engineering management
  GitHub's Product Security Engineering team rolled Dependabot out across several thousand internal repositories in three stages: measuring alerts org-wide through the GraphQL API, a staged enablement (200 repos, then 1,000 at 30 days, then the whole org at 45 days), and remediation.
- [When an AI agent came knocking: Catching malicious contributions in Datadog’s open source repos](https://swe.quest/articles/when-an-ai-agent-came-knocking-catching-malicious-contributions-in-datadog-s-efd5d1e84be0c443.md): Datadog Engineering · 2026-03-09 · Medium · 16 min read · Supply chain security, CI/CD, Threat detection, AI agents, Open source
  An AI agent called hackerbot-claw targeted Datadog's public repositories in late February 2026.
- [Detecting malicious pull requests at scale with LLMs](https://swe.quest/articles/detecting-malicious-pull-requests-at-scale-with-llms-18b7d45442154d44.md): Datadog Engineering · 2025-10-21 · Medium · 12 min read · Supply chain security, Threat detection, LLMs, Code review, Evaluation
  Datadog's SDLC Security team built BewAIre, an LLM-based reviewer that classifies the diff of every merged PR (nearly 10,000 a week) as benign or malicious, with a written rationale emitted as a security signal for real-time triage.
- [4M Models Scanned: Protect AI + Hugging Face 6 Months In](https://swe.quest/articles/4m-models-scanned-protect-ai-hugging-face-6-months-in-5f51101feb9d865e.md): Hugging Face · 2025-04-14 · Easy · 7 min read · Supply chain security, Vulnerability research, Machine learning, Security
  Six months into the Hugging Face partnership, Protect AI's Guardian has scanned 4.47 million model versions across 1.41 million Hub repositories and flagged 352,000 unsafe or suspicious issues in 51,700 models.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
