HoneypotWriter that wraps the existing output writer pipeline, intercepting result events to count unique template matches per host--honeypot-detection (-hpd), --honeypot-threshold (-hpt, default 100), and --honeypot-exclude (-hpe)Many hosts on Shodan are configured as honeypots that deliberately return responses matching many nuclei vulnerability templates. This creates noise in scan results and can mislead users. This feature detects such hosts by observing unusually high match rates and warns the user (or optionally drops the results).
HoneypotWriter covering detection, exclusion, multiple hosts, duplicate template deduplication, and close behaviorgo build ./... passesgo test ./pkg/output/ -run TestHoneypot passes (6/6 tests)-hpd flag against a known honeypot target and verify warning is printed-hpd -hpe to verify results from honeypot hosts are excluded# Enable honeypot detection with default threshold (100 unique template matches)
nuclei -u target.com -hpd
# Custom threshold
nuclei -u target.com -hpd -hpt 50
# Exclude honeypot results from output
nuclei -u target.com -hpd -hpe
/claim #6403
🤖 Generated with Claude Code
New Features
honeypot-detection, honeypot-threshold (default 100), honeypot-exclude to optionally drop results from detected hosts.Tests
285729101
@285729101
ProjectDiscovery
@projectdiscovery