A new open‑source agent called DejaVu stores every resolved outage and security breach in a shared Hindsight memory bank, letting engineers query a single record for any file that has caused trouble or attracted attackers.
One bank, two incident types
DejaVu’s core design treats outages and attacks as interchangeable records. Each entry logs the service, affected files, attacker ASN (if any), recent code changes, and the remediation verdict. Because the schema is identical, the same scoring routine can compare a new alert against both kinds of history, awarding points for matching type, service, shared files and network identifiers.
The GitHub README confirms that the tool is built for teams that lack a dedicated SOC or SRE rotation, consolidating knowledge that would otherwise live in separate post‑mortems.

Scoring and actionable hints
When an alert arrives, DejaVu runs a simple Python scorer that adds weight for matching incident type (2 points), service (2 points), each shared filename (3 points per file) and matching ASN (3 points). A recall bonus (+4) is applied if the incident was previously marked as recalled. The resulting score and a list of reasons are shown to the engineer, for example “shared files: auth/login.py, same ASN (AS14061)”.
The README shows that the agent surfaces two kinds of advice: a “Do first” recommendation based on a success rate ≥ 0.5 and a “We tried this before and it failed” warning when past attempts repeatedly failed, both citing the underlying incident IDs.
Cross‑team visibility in pull requests
DejaVu also runs as a GitHub Action that comments on pull requests. It lists every incident a changed file participated in, regardless of whether the incident was an outage or a breach. In the example for middleware/jwt_verify.py, the comment shows two outages and one security incident, letting the next developer see that the same file both broke logins and accepted forged JWTs on the same day.
The repository documentation states that this PR warning is triggered by the action defined in .github/workflows/dejavu-pr.yml, and that it works without any external secrets, reinforcing that the feature is usable out‑of‑the‑box for small to mid‑size teams.
Two cooperating agents
DejaVu launches two Band agents – SecurityAgent and ReliabilityAgent – that share the same Hindsight memory. Each agent only replies to alerts of its domain; if an alert falls outside its scope it hands the request to the other agent. The hand‑off is explicit, preventing loops, and the receiving agent can immediately leverage any prior verdict recorded by its counterpart.
The GitHub guide notes that the agents rely on band‑sdk 8.1.0 and use a simple adapter subclass, confirming that the integration is lightweight and can be reproduced with the provided configuration files.
Current limitations
The author points out three practical gaps. First, the cross‑check that triggers a hand‑off from SecurityAgent to ReliabilityAgent only activates for specific auth files that have both outage and attack history, so it rarely fires in the current seed data. Second, linking relies solely on file paths and ASN; renames or network changes break the connection unless the Hindsight recall mechanism happens to match the textual description. Third, all detection runs on simulated telemetry rather than live logs, meaning the presented success rates are based on generated data, not production traffic.
The repository README acknowledges that the demo uses mock memory when HINDSIGHT_BASE_URL is unset, reinforcing that the tool can operate in offline mode but also highlighting that real‑world deployments will need proper Hindsight credentials.
Why a unified memory matters
Bringing outage and security knowledge together addresses a common operational blind spot: teams often treat reliability and security as separate silos, each maintaining its own post‑mortem archive. DejaVu’s single Hindsight bank forces a shared vocabulary – service, file, ASN – and makes that data instantly searchable by any alert type. For engineers, this means that the moment a file is touched, they see a concise list of past failures, whether they manifested as a 500 error or an exploited vulnerability. The scoring logic highlights the strongest correlations, while the explicit “why” strings give context without forcing the user to dig through separate tickets. In practice, the tool can prevent duplicated effort, such as repeatedly trying per‑IP rate limits that have historically failed, and can surface hidden dependencies, like a JWT verification module that both crashed under load and accepted forged tokens on the same day. Small to mid‑size teams that lack a dedicated SOC can thus inherit some of the cross‑functional insight that larger organizations gain from integrated incident platforms, all while keeping the stack open‑source and configurable. The trade‑off is the reliance on simulated data and the current inability to track file renames or network migrations automatically, but the baseline capability offers a pragmatic step toward breaking down the incident silos that many companies still endure.
Editorial graphic and headline text by Signal Titans.
Source: One memory for security and engineering: linking attackers to our own code · GitHub – cybersleuth25/Deja-Vu · GitHub

Leave a Reply