decnet/canary/cultivator wrote kind="http" for every cultivated token, even DNS-trip ones (ssh_key, mysql_dump) and passive bait (aws_creds). The canary worker uses kind to route attacker callbacks to the right token; a misaligned kind means a real DNS resolution of ssh_key or mysql_dump never attributes to the planted slug. Add _GENERATOR_TO_KIND aligned with CanaryKind in models/canary.py and look it up at create_canary_token time.
5.7 KiB
5.7 KiB