Verify the build
hammerhead-core versionHAMMERHEAD CORE 0.2.0-core.1 · Core prerelease · Unsigned
Six native filesystem checks for sensitive filenames, large files, supported secret patterns, project hygiene and runtime manifests. The root .gitignore check is textual only. Terminal and JSON reports expose scope, coverage and incomplete work.
Experimental, unsigned and unnotarized. Gatekeeper acceptance and downloaded/quarantined first launch are unqualified. Tested only on macOS 27.0.1 (26A434) ARM64. The executable has an ad hoc linker signature only, with no Developer ID signature. macOS or device policy may block execution.
GIT-002: NOT EVALUATED. Native Git execution is absent. Advanced Git health, branch/worktree status, tracking/history analysis and Git metadata collection are excluded; no flag or fallback enables them. GIT-001 inspects text only and does not evaluate effective Git ignore behavior. This distinct Core product does not qualify the original full-Git v0.2 release or establish complete repository security.
0.2.0-core.1 · Experimental unsigned prerelease · Apple Silicon only
hammerhead audit ./demo-repository --quiet
stdout / findings
[HIGH] [FILE-001] certs/demo.key Potential private key file [HIGH] [SEC-001] certs/demo.key:1 Supported private-key header detected [LOW] [PROJ-001] LICENSE Missing project LICENSE [INFO] [PROJ-002] go.mod Project runtime: Go
stderr / status and coverage (excerpt)
[STATUS] COMPLETED [COVERAGE] Coverage: examined 5 entries; files 4; directories 2 [COVERAGE] Inventory complete: true; root listing complete: true [COVERAGE] Findings retained: 4; truncated: false; diagnostic examples omitted: 0
hammerhead audit ./demo-repository --output json
{
"schema": "hammerhead/v0.2",
"version": "0.2.0-dev",
"status": "completed",
"threshold": {
"fail_on": "high",
"exceeded": true
},
"summary": {
"findings_count": 4,
"class_counts": {
"hygiene": 1,
"info": 1,
"security": 2
},
"highest_security_severity": "high",
"checks_attempted": 7
},
"coverage": {
"traversal": {
"examined_entries": 5,
"discovered_files": 4,
"discovered_directories": 2,
"inventory_complete": true,
"root_listing_complete": true
},
"findings_retained": 4,
"findings_truncated": false
}
}
REPOSITORY AUDITING
Hammerhead Core inspects local files without running build scripts, package managers or native Git. Readable terminal output and structured JSON fit manual reviews and your own automation.
Run the CLI against a local working tree.
Security, Hygiene, and Info remain separate.
Read the terminal output or process JSON in your tools.
SIX INCLUDED CORE RULES
Security, Hygiene, and Info findings stay separate. Only Security findings affect the finding threshold. Patterns indicate things to review; they do not establish compromise.
| Rule | Checks for | Class |
|---|---|---|
| FILE-001 | Supported sensitive filename patterns | Security |
| FILE-002 | Files above the configured size threshold (50 MiB default) | Hygiene |
| SEC-001 | Supported private-key headers and AWS-shaped IDs/assignments in eligible text files up to 5 MiB; redacted evidence | Security |
| PROJ-001 | Recognized root README and license filename presence | Hygiene |
| PROJ-002 | Runtime/ecosystem manifest filename detection | Info |
| GIT-001 | Supported textual patterns in the root .gitignore | Hygiene |
GIT-002: NOT EVALUATED. Native Git execution is absent. Advanced Git health, branch/worktree status, tracking/history analysis and Git metadata collection are excluded; no flag or fallback enables them. GIT-001 inspects text only and does not evaluate effective Git ignore behavior.
Filename and pattern matches do not verify usable credentials, exposure, or license suitability. Read the limits →
GET STARTED
Download the experimental Core prerelease, verify its checksum and follow the unsigned installation instructions. Start with controlled local files and review scope and coverage in every report.
Core downloads and installationhammerhead-core versionhammerhead-core audit .hammerhead-core audit ./demo-repository --output json > ./audit.jsonKeep reports outside the audited directory. Exit 1 means a completed scan reached the Security threshold; incomplete scans and output failures exit 2, even with --fail-on none.
THE SECURITY MODEL
SafeWalker uses guarded reads and symlink containment checks. These are defense-in-depth measures, not a sandbox or a guarantee of safety.
Read the security modelThe current working tree, supported sensitive filenames and credential patterns, repository hygiene, and project context.
Native Git execution and GIT-002 are absent. Core does not collect Git metadata, branch/worktree status or tracking/history. It does not validate active credentials, scan CVE databases or perform semantic SAST analysis.
Read status, policy, per-check coverage, and diagnostics with every report. Completed means within the declared scope. Partial, failed, and cancelled scans exit 2. Exit 0 does not establish safety.
HISTORICAL REFERENCE
Preserved as a historical capture. Neither this capture nor the separate 0.2.0-dev capture describes Core output. Read the versioned Core documentation for current behavior.
hammerhead audit ./demo-repository --quiet
[HIGH] [FILE-001] certs/demo.key Private key file [HIGH] [SEC-001] certs/demo.key:1 Cryptographic private key in file content [LOW] [PROJ-001] LICENSE Missing project LICENSE [INFO] [PROJ-002] go.mod Project runtime: Go
hammerhead audit ./demo-repository --output json
{
"schema": "hammerhead/v0.1",
"version": "0.1.0",
"summary": {
"total_findings": 4,
"checks_run": 7,
"security_risk": "high",
"max_severity": "high",
"security_findings_count": 2,
"hygiene_findings_count": 1,
"info_findings_count": 1,
"by_severity": {
"high": 2,
"info": 1,
"low": 1
},
"by_class": {
"hygiene": 1,
"info": 1,
"security": 2
}
}
}