oss-forensics
Investigate open-source repository compromise, deleted commits, force-pushes, suspicious releases, and supply-chain indicators with evidence IDs.
от metaspartan★ 41 звезда на GitHub
Установить oss-forensics в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
OSS Forensics
Use this for defensive supply-chain investigations: suspicious commits, force-pushes, deleted releases, maintainer takeover concerns, leaked secrets, or package compromise.
Guardrails
- Evidence first. Every claim needs an evidence ID such as
EV-0001. - Separate fact from hypothesis. Prefix unverified inferences with
[HYPOTHESIS]. - Do not run code from the investigated repository.
- Redact secrets in chat and reports.
- Double-check SHAs, URLs, package versions, and actor names against more than one source when possible.
Evidence Store
Create a working directory outside the target repo:
INVESTIGATION="oss-forensics-$(date +%Y%m%d-%H%M%S)"
mkdir -p "$INVESTIGATION"/{evidence,reports}
cd "$INVESTIGATION"
printf "# Evidence\n\n" > evidence/index.md
Evidence entry shape:
EV-0001
Source: local git log
Time collected: <ISO timestamp>
Claim supported: <short claim>
Artifact: evidence/git-log.txt
Notes: <why it matters>
Collection Plan
- Extract targets:
- repo, package names, SHAs, actors, date range, releases, domains, URLs.
- Local git source:
git clone --mirroror normal clone.git log --all --full-history --stat --format="%H|%ae|%an|%ai|%s".git fsck --lost-found --unreachable.git branch -a -v, tags, release branches, suspicious binaries.
- GitHub/API source:
- commits, PRs, issues, releases, events, tags.
- Use
GITHUB_TOKENif available to avoid low rate limits.
- Archive sources:
- Wayback CDX for deleted PRs/issues/releases.
- GH Archive or public event datasets when date windows matter.
- Package registries:
- npm/PyPI/crates/GitHub Releases metadata, checksums, publish dates.
- IOC extraction:
- domains, IPs, package names, hashes, suspicious scripts, workflow edits.
Analysis
Create hypotheses, then validate:
- Force-push hide: evidence from local unreachable commits plus public events.
- Maintainer takeover: unusual actor timing, permissions, workflow changes, signed commit drift.
- Release/package swap: tag/release/package timestamps disagree or artifacts changed.
- Secret leak: secret-like material existed in a reachable/dangling commit and was pushed externally.
Report
Include:
- Scope and timeline.
- Evidence table.
- Findings with severity and supporting evidence IDs.
- Hypotheses ruled out and why.
- Recommended containment, rotation, and hardening steps.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл oss-forensics?
Investigate open-source repository compromise, deleted commits, force-pushes, suspicious releases, and supply-chain indicators with evidence IDs.
Как установить скилл oss-forensics?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл oss-forensics запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
agent-skill-stack
GitHubFind, evaluate, and assemble the smallest compatible set of AI Agent Skills for an end-to-end natural-language goal. Use when a user wants Skills for a…
build-evidence-map
GitHubBuild an auditable evidence map for a contested technical choice, research synthesis, proposal review, or consequential decision. Use when Copilot must…
pinecone-rag
GitHubBuild production RAG pipelines and persistent agent memory using Pinecone as the vector database backend. ALWAYS USE THIS SKILL when the user mentions…
qdrant-monitoring-debugging
GitHubDiagnoses Qdrant production issues using metrics and observability tools. Use when someone reports 'optimizer stuck', 'indexing too slow', 'memory too high'…