macOS
brew install sha1dclocal Homebrew formula metadata
brew / rank 20096
Tool to detect SHA-1 collisions in files, including SHAttered. Version 1.0.3 via Homebrew; verified 2026-09-14.
install
brew install sha1dclocal Homebrew formula metadata
overview
Tool to detect SHA-1 collisions in files, including SHAttered
history
SHA-1 Collision Detection is an MIT-licensed C library and command-line tool by Marc Stevens and Dan Shumow. It computes SHA-1 digests while detecting files produced with known cryptanalytic SHA-1 collision techniques.
Marc Stevens and Dan Shumow published the implementation in 2017 in the context of practical SHA-1 collision attacks. Its detection method builds on Stevens's counter-cryptanalysis research and explicitly recognizes files produced by attacks such as SHAttered; later support also references SHA-mbles.
The project was designed as a near drop-in replacement for common SHA-1 implementations and sha1sum, lowering the cost of adding collision detection to existing software. The input confirms packaging as the Homebrew formula sha1dc.
sha1dcsum hashes files and warns when a full SHA-1 collision attack is detected; sha1dcsum_partialcoll also checks reduced-round collision examples. Developers can integrate the library through its SHA1DC API and use safe-hash mode so colliding inputs receive different defensive hashes.
sha1dc lets package and release engineers continue verifying legacy SHA-1 material while detecting known cryptanalytic collision constructions. It is particularly relevant to archives and software-distribution systems that cannot immediately remove every SHA-1 dependency.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
sha1dcsum | cli | global executable | |
sha1dcsum_partialcoll | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/cr-marcstevens/sha1collisiondetection
install metadata
| Package key | brew:sha1dc |
|---|---|
| Version | 1.0.3 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/sha1dc |
| Homepage | https://github.com/cr-marcstevens/sha1collisiondetection |
| Repository | https://github.com/cr-marcstevens/sha1collisiondetection |
| License | MIT |
| Source archive | https://github.com/cr-marcstevens/sha1collisiondetection/archive/refs/tags/stable-v1.0.3.tar.gz |
| Last updated | 2026-09-14T12:20:13+02:00 |
| Pulse | updated |
| Build dependencies | coreutils, libtool |
| Bottle | available (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | sha1dc |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.