Some antivirus software may flag beads (bd or bd.exe) as malicious. This is a false positive - beads is a legitimate, open-source command-line tool for issue tracking.
Go binaries (including beads) are sometimes flagged by antivirus software due to:
- Heuristic detection: Some malware is written in Go, causing antivirus ML models to flag Go-specific binary patterns as suspicious
- Behavioral analysis: CLI tools that modify files and interact with git may trigger behavioral detection
- Unsigned binaries: Without code signing, new executables may be treated with suspicion
This is a known industry-wide problem affecting many legitimate Go projects. See the Go project issues for examples.
Detection: PDM:Trojan.Win32.Generic
Affected versions: bd.exe v0.23.1 and potentially others
Component: System Watcher (Proactive Defense Module)
Kaspersky's PDM (Proactive Defense Module) uses behavioral analysis that commonly triggers false positives on Go executables.
Add beads to your antivirus exclusion list:
Kaspersky:
- Open Kaspersky and go to Settings
- Navigate to Threats and Exclusions → Manage Exclusions
- Click Add → Add path to exclusion
- Add the directory containing
bd.exe(e.g.,C:\Users\YourName\AppData\Local\bd\) - Select which components the exclusion applies to (scan, monitoring, etc.)
Windows Defender:
- Open Windows Security
- Go to Virus & threat protection → Manage settings
- Scroll to Exclusions → Add or remove exclusions
- Add the beads installation directory or the specific
bd.exefile
Other antivirus software:
- Look for "Exclusions", "Whitelist", or "Trusted Applications" settings
- Add the beads installation directory or executable
Before adding an exclusion, verify the downloaded file is legitimate:
- Download beads from the official GitHub releases
- Verify the SHA256 checksum matches the
checksums.txtfile in the release - Check the file is signed (future releases will include code signing)
Verify checksum (Windows PowerShell):
Get-FileHash bd.exe -Algorithm SHA256Verify checksum (macOS/Linux):
shasum -a 256 bdCompare the output with the checksum in checksums.txt from the release page.
Help improve detection accuracy by reporting the false positive:
Kaspersky:
- Visit Kaspersky Threat Intelligence Portal
- Upload the
bd.exefile for analysis - Mark it as a false positive
- Reference: beads is open-source CLI tool (https://github.com/steveyegge/beads)
Windows Defender:
- Go to Microsoft Security Intelligence
- Submit the file as a false positive
- Provide details about the legitimate software
Other vendors:
- Check their website for false positive submission forms
- Most major vendors have a process for reviewing flagged files
If you're building beads from source or distributing it:
Beads releases are built with optimizations to reduce false positives:
ldflags:
- -s -w # Strip debug symbols and DWARF infoThese flags are already applied in the official builds.
Windows releases are signed with an Authenticode certificate when available. Code signing:
- Reduces false positive rates over time
- Builds reputation with SmartScreen/antivirus vendors
- Provides tamper verification
Verify a signed binary (Windows PowerShell):
# Check if the binary is signed
Get-AuthenticodeSignature .\bd.exe
# Expected output for signed binary:
# SignerCertificate: [Certificate details]
# Status: ValidVerify a signed binary (Linux/macOS with osslsigncode):
# Install osslsigncode if not available
# Ubuntu/Debian: apt-get install osslsigncode
# macOS: brew install osslsigncode
osslsigncode verify -in bd.exeNote: Code signing requires an EV (Extended Validation) certificate, which involves a verification process. If a release is not signed, it means the certificate was not available at build time. Follow the checksum verification steps above to verify authenticity.
Some users report success with:
go build -ldflags "-s -w" -o bd ./cmd/bdHowever, results vary by antivirus vendor and version.
Yes. Beads is:
- Open source (all code is auditable on GitHub)
- Signed releases include checksums for verification
- Used by developers worldwide
- A simple CLI tool for issue tracking
The issue isn't specific to beads' code - it's a characteristic of Go binaries in general. Changing code won't reliably prevent heuristic/behavioral detection. The proper solutions are:
- Code signing (builds trust over time)
- Whitelist applications with antivirus vendors
- User reports of false positives
We've implemented:
- Code signing infrastructure for Windows releases (requires EV certificate)
- Build optimizations to reduce heuristic triggers
- Documentation for users to add exclusions and report false positives
Still in progress:
- Acquiring an EV code signing certificate
- Submitting beads to antivirus vendor whitelists
False positives may still occur with new releases until the certificate builds reputation with antivirus vendors. This typically takes several months of consistent signed releases.
No. Instead:
- Add beads to your antivirus exclusions (safe and recommended)
- Keep your antivirus enabled for other threats
- Verify checksums of downloaded files before adding exclusions
If you encounter a new antivirus false positive:
- Open an issue on GitHub
- Include:
- Antivirus software name and version
- Detection/threat name
- Beads version (
bd version) - Operating system
This helps us track and address false positives across different antivirus vendors.