szz-bug-introducing-commit-identifier — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited szz-bug-introducing-commit-identifier (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
This skill performs SZZ (Śliwerski-Zimmermann-Zeller) algorithm analysis to identify bug-introducing commits in git repositories. Given a bug-fixing commit, it traces modified lines back through version history using git blame to find candidate commits that originally introduced the buggy code.
Start by identifying the commit that fixes the bug. This can be obtained from:
Use the provided script to perform the analysis:
python scripts/szz_analyzer.py <fix-commit-hash>Options:
--repo <path>: Specify repository path (default: current directory)--json: Output results in JSON format for programmatic processing--top <n>: Number of top candidates to show (default: 10)Example:
python scripts/szz_analyzer.py abc123def --repo /path/to/repo --top 5The script outputs a ranked list of candidate bug-introducing commits with:
Always manually review the top candidates:
High Confidence (0.8-1.0):
Medium Confidence (0.5-0.8):
Low Confidence (0.0-0.5):
The script automatically filters common false positives:
Automatically Filtered Lines:
Reduced Confidence for:
User: "Find which commit introduced the bug fixed in commit abc123"
→ Run: python scripts/szz_analyzer.py abc123
→ Review top candidates and examine their changesUser: "Who introduced the authentication bug?"
→ First identify the fix commit
→ Run SZZ analysis
→ Check the author field of top candidatesUser: "Analyze all bug-introducing commits from the last release"
→ Identify all bug-fix commits
→ Run SZZ analysis on each
→ Aggregate results to find patternsUser: "Generate dataset of bug-introducing commits for analysis"
→ Run SZZ analysis with --json flag
→ Process JSON output for statistical analysisUse JSON output for integration with other tools:
import subprocess
import json
result = subprocess.run(
['python', 'scripts/szz_analyzer.py', 'abc123', '--json'],
capture_output=True,
text=True
)
candidates = json.loads(result.stdout)
for candidate in candidates:
print(f"{candidate['commit_hash']}: {candidate['confidence_score']}")Analyze multiple bug fixes:
for commit in $(git log --grep="fix:" --format="%H"); do
echo "Analyzing fix: $commit"
python scripts/szz_analyzer.py $commit --top 3
doneThe main analysis script that performs SZZ algorithm implementation. It:
Comprehensive documentation on the SZZ algorithm including:
Read this reference when you need deeper understanding of the algorithm, want to customize filtering heuristics, or need to explain the methodology to users.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.