oss-forensics

Correlate git history, GitHub APIs, archives, and enrichment sources to investigate repository compromise.

1|Updated Apr 10, 2026
One-click install
npx skills add https://github.com/zerwiz/wayofpi --skill oss-forensics-zerwiz
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: oss-forensics
Source: https://github.com/zerwiz/wayofpi/tree/main/.hermes/hermes-agent/optional-skills/security/oss-forensics
Command: npx skills add https://github.com/zerwiz/wayofpi --skill oss-forensics-zerwiz

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps you investigate open-source repositories for supply chain compromise, hidden history rewrites, deleted content, and suspicious contributor activity while keeping findings evidence-backed.

Core Features & Use Cases

  • Multi-source forensic investigation: Correlates local git history, GitHub API data, GitHub Archive events, and Wayback snapshots to reconstruct what happened.
  • Evidence-backed reporting: Captures findings in a structured evidence store and produces a forensic report with citations, timelines, and hypothesis validation.
  • Compromise scenarios: Useful for detecting force-push erasure, deleted commits, malicious releases, CI/CD abuse, dependency injection, and maintainer account takeover.

Quick Start

Use the oss-forensics skill to investigate the target GitHub repository for compromise and generate a validated forensic report with cited evidence.

Frequently Asked Questions about oss-forensics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I recover deleted commits from a GitHub repository after a force-push?▼

You can recover deleted commits after a force-push by correlating local git history with GitHub API data and archive snapshots. This cross-source validation reconstructs erased repository timelines to identify hidden content rewrites and supply chain compromise.

How does git history forensics help investigate open-source supply chain attacks?▼

Git history forensics investigates open-source supply chain attacks by collecting and correlating evidence from local history, GitHub APIs, and passive enrichment sources. It detects contributor anomalies, force-push erasure, and dependency injection to produce defensible findings.

What is the best way to extract IOCs from a compromised GitHub repository?▼

The best way to extract IOCs from a compromised GitHub repository is by using multi-source forensic investigation that captures structured evidence. This approach validates indicators of compromise against GitHub Archive events and local git history to ensure defensible reporting.

Can I detect maintainer account takeover using GitHub Archive events and local git history?▼

Yes, you can detect maintainer account takeover by correlating GitHub Archive events with local git history to identify contributor anomalies. Cross-source validation from these sources reconstructs suspicious activity timelines and validates takeover hypotheses.

Does supply chain compromise investigation require an evidence store for validated reporting?▼

Yes, supply chain compromise investigation requires an evidence store to capture findings and produce a structured forensic report. This enforces cross-source validation and citation-backed hypothesis analysis to generate defensible findings.

What are the limitations of investigating CI/CD abuse and malicious releases with git forensics?▼

Investigating CI/CD abuse and malicious releases with git forensics is limited by the availability of local git history, GitHub API data, and archive snapshots. Without passive enrichment sources and cross-source validation, producing defensible findings for deleted content becomes difficult.