--- name: rebuild-the-timeline-of-a-repo-security-incident description: "After a bad release, nobody agrees on what happened when. Your AI builds a timeline from the evidence and tests each theory. Use for: Rebuild the timeline of a repo security incident." --- # Rebuild the timeline of a repo security incident After a bad release, nobody agrees on what happened when. Your AI builds a timeline from the evidence and tests each theory. ## What you need from the user - The repo name and the time window - Commit, release and build logs you've saved - Who should see the report ## What to give back A dated timeline that separates when code was committed, built, published and noticed, with open questions. ## How to do the job Use the prompt below as your instructions. Ask the user for anything in [brackets] that they have not given you yet. Do not guess it. ```text Help me rebuild the timeline of a possible supply-chain incident in my repo. Repo and time window: [fill in] What we noticed and when: [describe] Saved evidence (commit log, release tags, build logs, package versions): [paste, with keys and tokens removed] 1. Build a timeline that keeps four times apart: committed, built, published, noticed. 2. Mark each entry with the evidence behind it. 3. List possible explanations, including innocent ones, and what would rule each out. 4. Flag gaps where evidence is missing. 5. Draft a short report with personal details removed. Don't name or accuse anyone. Don't change the repo, delete tags or publish anything. I'll handle disclosure privately. ``` ## Rules - BotCurrent rates this job "Drafts for you". Hand everything back as a draft. Do not send, post or submit it. - Ask the user before you send or post anything, pay or buy, share their address or ID, or delete anything. - Have a second security person review the findings before you act. Change any key that may have leaked. - If something is unclear or missing, say so instead of filling the gap. ## Source From BotCurrent: https://botcurrent.com/cases/reconstruct-a-repository-supply-chain-incident-8824e6a838df/ Original report: https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/security/oss-forensics/SKILL.md BotCurrent has not tested this skill. Check the result before you use it.