From f2b339366976e03845b170ca77f4f1650b1068ea Mon Sep 17 00:00:00 2001 From: anti Date: Fri, 22 May 2026 21:04:16 -0400 Subject: [PATCH] chore: relicense to AGPL-3.0-or-later and add SPDX headers Replaces LICENSE (GPLv3 -> AGPLv3) and prepends `SPDX-License-Identifier: AGPL-3.0-or-later` to every source file across decnet/, decnet_web/, tests/, scripts/, and tools/. Rationale: closes the GPLv3 ASP loophole so any party operating a modified DECNET as a network service must offer their modified source. Personal copyright (Samuel Paschuan) + inbound=outbound contributions make a future unilateral relicense infeasible. - LICENSE: full AGPL-3.0 text (gnu.org/licenses/agpl-3.0.txt) - COPYRIGHT: project copyright notice - tools/add_spdx_headers.py: idempotent header injector (shebang- and PEP 263-aware) Touches 1565 source files (.py, .ts, .tsx, .js, .jsx, .css, .sh). No behavior change; comments only. --- COPYRIGHT | 17 ++ LICENSE | 141 +++++++-------- decnet/__init__.py | 1 + decnet/agent/__init__.py | 1 + decnet/agent/app.py | 1 + decnet/agent/executor.py | 1 + decnet/agent/heartbeat.py | 1 + decnet/agent/server.py | 1 + decnet/agent/topology_ops.py | 1 + decnet/agent/topology_store.py | 1 + decnet/archetypes.py | 1 + decnet/asn/__init__.py | 1 + decnet/asn/base.py | 1 + decnet/asn/factory.py | 1 + decnet/asn/iptoasn/__init__.py | 1 + decnet/asn/iptoasn/fetch.py | 1 + decnet/asn/iptoasn/parse.py | 1 + decnet/asn/iptoasn/provider.py | 1 + decnet/asn/lookup.py | 1 + decnet/asn/paths.py | 1 + decnet/bus/__init__.py | 1 + decnet/bus/app.py | 1 + decnet/bus/base.py | 1 + decnet/bus/factory.py | 1 + decnet/bus/fake.py | 1 + decnet/bus/protocol.py | 1 + decnet/bus/publish.py | 1 + decnet/bus/topics.py | 1 + decnet/bus/unix_client.py | 1 + decnet/bus/unix_server.py | 1 + decnet/bus/worker.py | 1 + decnet/canary/__init__.py | 1 + decnet/canary/_obfuscate_helper.js | 1 + decnet/canary/base.py | 1 + decnet/canary/cultivator.py | 1 + decnet/canary/dns_server.py | 1 + decnet/canary/factory.py | 1 + decnet/canary/fingerprint_payload.js | 1 + decnet/canary/generators/__init__.py | 1 + decnet/canary/generators/aws_creds.py | 1 + decnet/canary/generators/env_file.py | 1 + decnet/canary/generators/fingerprint_html.py | 1 + decnet/canary/generators/fingerprint_svg.py | 1 + decnet/canary/generators/git_config.py | 1 + decnet/canary/generators/honeydoc.py | 1 + decnet/canary/generators/honeydoc_docx.py | 1 + decnet/canary/generators/honeydoc_pdf.py | 1 + decnet/canary/generators/mysql_dump.py | 1 + decnet/canary/generators/ssh_key.py | 1 + decnet/canary/instrumenters/__init__.py | 1 + decnet/canary/instrumenters/docx.py | 1 + decnet/canary/instrumenters/html.py | 1 + decnet/canary/instrumenters/image.py | 1 + decnet/canary/instrumenters/passthrough.py | 1 + decnet/canary/instrumenters/pdf.py | 1 + decnet/canary/instrumenters/plain.py | 1 + decnet/canary/instrumenters/xlsx.py | 1 + decnet/canary/obfuscator.py | 1 + decnet/canary/paths.py | 1 + decnet/canary/planter.py | 1 + decnet/canary/storage.py | 1 + decnet/canary/worker.py | 1 + decnet/cli/__init__.py | 1 + decnet/cli/agent.py | 1 + decnet/cli/api.py | 1 + decnet/cli/bus.py | 1 + decnet/cli/canary.py | 1 + decnet/cli/db.py | 1 + decnet/cli/deploy.py | 1 + decnet/cli/forwarder.py | 1 + decnet/cli/gating.py | 1 + decnet/cli/geoip.py | 1 + decnet/cli/init.py | 1 + decnet/cli/inventory.py | 1 + decnet/cli/lifecycle.py | 1 + decnet/cli/listener.py | 1 + decnet/cli/orchestrator.py | 1 + decnet/cli/profiler.py | 1 + decnet/cli/realism.py | 1 + decnet/cli/reconciler.py | 1 + decnet/cli/sniffer.py | 1 + decnet/cli/swarm.py | 1 + decnet/cli/swarmctl.py | 1 + decnet/cli/topology.py | 1 + decnet/cli/ttp.py | 1 + decnet/cli/updater.py | 1 + decnet/cli/utils.py | 1 + decnet/cli/web.py | 1 + decnet/cli/webhook.py | 1 + decnet/cli/workers.py | 1 + decnet/clustering/__init__.py | 1 + decnet/clustering/base.py | 1 + decnet/clustering/campaign/__init__.py | 1 + decnet/clustering/campaign/base.py | 1 + decnet/clustering/campaign/factory.py | 1 + decnet/clustering/campaign/impl/__init__.py | 1 + .../campaign/impl/connected_components.py | 1 + decnet/clustering/campaign/impl/similarity.py | 1 + decnet/clustering/campaign/worker.py | 1 + decnet/clustering/factory.py | 1 + decnet/clustering/impl/__init__.py | 1 + .../clustering/impl/connected_components.py | 1 + decnet/clustering/impl/similarity.py | 1 + decnet/clustering/ukc.py | 1 + decnet/clustering/worker.py | 1 + decnet/collector/__init__.py | 1 + decnet/collector/worker.py | 1 + decnet/composer.py | 1 + decnet/config.py | 1 + decnet/config_ini.py | 1 + decnet/correlation/__init__.py | 1 + decnet/correlation/attribution/__init__.py | 1 + decnet/correlation/attribution/_thresholds.py | 1 + decnet/correlation/attribution/aggregate.py | 1 + decnet/correlation/attribution_worker.py | 1 + decnet/correlation/engine.py | 1 + decnet/correlation/event_kinds.py | 1 + decnet/correlation/fingerprint_rotation.py | 1 + decnet/correlation/graph.py | 1 + decnet/correlation/parser.py | 1 + decnet/correlation/reuse_worker.py | 1 + decnet/custom_service.py | 1 + decnet/decky_io/__init__.py | 1 + decnet/decky_io/resolve.py | 1 + decnet/decky_io/write.py | 1 + decnet/distros.py | 1 + decnet/engine/__init__.py | 1 + decnet/engine/deployer.py | 1 + decnet/engine/reaper.py | 1 + decnet/engine/services_live.py | 1 + decnet/env.py | 1 + decnet/fleet/__init__.py | 1 + decnet/fleet/reconciler.py | 1 + decnet/fleet/reconciler_worker.py | 1 + decnet/geoip/__init__.py | 1 + decnet/geoip/base.py | 1 + decnet/geoip/factory.py | 1 + decnet/geoip/lookup.py | 1 + decnet/geoip/paths.py | 1 + decnet/geoip/ptr.py | 1 + decnet/geoip/rir/__init__.py | 1 + decnet/geoip/rir/fetch.py | 1 + decnet/geoip/rir/parse.py | 1 + decnet/geoip/rir/provider.py | 1 + decnet/ini_loader.py | 1 + decnet/intel/__init__.py | 1 + decnet/intel/abuseipdb.py | 1 + decnet/intel/base.py | 1 + decnet/intel/factory.py | 1 + decnet/intel/feodo.py | 1 + decnet/intel/greynoise.py | 1 + decnet/intel/mal_hash.py | 1 + decnet/intel/threatfox.py | 1 + decnet/intel/worker.py | 1 + decnet/lifecycle/__init__.py | 1 + decnet/lifecycle/events.py | 1 + decnet/lifecycle/runner.py | 1 + decnet/lifecycle/strategies.py | 1 + decnet/logging/__init__.py | 1 + decnet/logging/file_handler.py | 1 + decnet/logging/forwarder.py | 1 + decnet/logging/inode_aware_handler.py | 1 + decnet/logging/syslog_formatter.py | 1 + decnet/models.py | 1 + decnet/mutator/__init__.py | 1 + decnet/mutator/engine.py | 1 + decnet/mutator/events.py | 1 + decnet/mutator/ops.py | 1 + decnet/net/__init__.py | 1 + decnet/net/http.py | 1 + decnet/network.py | 1 + decnet/orchestrator/__init__.py | 1 + decnet/orchestrator/drivers/__init__.py | 1 + decnet/orchestrator/drivers/base.py | 1 + decnet/orchestrator/drivers/email.py | 1 + decnet/orchestrator/drivers/smtp_relay.py | 1 + decnet/orchestrator/drivers/ssh.py | 1 + decnet/orchestrator/emailgen/__init__.py | 1 + decnet/orchestrator/emailgen/events.py | 1 + decnet/orchestrator/emailgen/scheduler.py | 1 + decnet/orchestrator/emailgen/threads.py | 1 + decnet/orchestrator/events.py | 1 + decnet/orchestrator/scheduler.py | 1 + decnet/orchestrator/worker.py | 1 + decnet/os_fingerprint.py | 1 + decnet/privdrop.py | 1 + decnet/prober/__init__.py | 1 + decnet/prober/base.py | 1 + decnet/prober/hassh.py | 1 + decnet/prober/icmp6_error.py | 1 + decnet/prober/icmp_error.py | 1 + decnet/prober/ipv6_leak.py | 1 + decnet/prober/jarm.py | 1 + decnet/prober/osfp/__init__.py | 1 + decnet/prober/osfp/base.py | 1 + decnet/prober/osfp/factory.py | 1 + decnet/prober/osfp/p0f/__init__.py | 1 + decnet/prober/osfp/p0f/format.py | 1 + decnet/prober/osfp/p0f/provider.py | 1 + decnet/prober/osfp/p0f/signature.py | 1 + decnet/prober/probes/__init__.py | 1 + decnet/prober/probes/hassh.py | 1 + decnet/prober/probes/icmp6_error_probe.py | 1 + decnet/prober/probes/icmp_error_probe.py | 1 + decnet/prober/probes/ipv6_leak_probe.py | 1 + decnet/prober/probes/jarm.py | 1 + decnet/prober/probes/tcpfp.py | 1 + decnet/prober/probes/tlscert_probe.py | 1 + decnet/prober/tcpfp.py | 1 + decnet/prober/tlscert.py | 1 + decnet/prober/worker.py | 1 + decnet/profiler/__init__.py | 1 + decnet/profiler/behave_shell/__init__.py | 1 + decnet/profiler/behave_shell/_ctx.py | 1 + .../behave_shell/_features/__init__.py | 1 + .../profiler/behave_shell/_features/_emit.py | 1 + .../behave_shell/_features/cognitive.py | 1 + .../_features/emotional_valence.py | 1 + .../behave_shell/_features/environmental.py | 1 + .../profiler/behave_shell/_features/motor.py | 1 + .../behave_shell/_features/operational.py | 1 + .../behave_shell/_features/temporal.py | 1 + decnet/profiler/behave_shell/_handler.py | 1 + decnet/profiler/behave_shell/_intent.py | 1 + decnet/profiler/behave_shell/_parse.py | 1 + decnet/profiler/behave_shell/_thresholds.py | 1 + decnet/profiler/behave_shell/extract.py | 1 + decnet/profiler/behavioral.py | 1 + decnet/profiler/classify.py | 1 + decnet/profiler/fingerprint.py | 1 + decnet/profiler/identity_rollup.py | 1 + decnet/profiler/phases.py | 1 + decnet/profiler/timing.py | 1 + decnet/profiler/tools.py | 1 + decnet/profiler/worker.py | 1 + decnet/realism/__init__.py | 1 + decnet/realism/bodies.py | 1 + decnet/realism/diurnal.py | 1 + decnet/realism/llm/__init__.py | 1 + decnet/realism/llm/base.py | 1 + decnet/realism/llm/circuit.py | 1 + decnet/realism/llm/config.py | 1 + decnet/realism/llm/factory.py | 1 + decnet/realism/llm/impl/__init__.py | 1 + decnet/realism/llm/impl/fake.py | 1 + decnet/realism/llm/impl/ollama.py | 1 + decnet/realism/naming.py | 1 + decnet/realism/personas.py | 1 + decnet/realism/personas_pool.py | 1 + decnet/realism/planner.py | 1 + decnet/realism/prompts/__init__.py | 1 + decnet/realism/prompts/_style.py | 1 + decnet/realism/prompts/email.py | 1 + decnet/realism/prompts/filebody.py | 1 + decnet/realism/taxonomy.py | 1 + decnet/rpki/__init__.py | 1 + decnet/rpki/base.py | 1 + decnet/rpki/cache.py | 1 + decnet/rpki/factory.py | 1 + decnet/rpki/paths.py | 1 + decnet/rpki/ripestat/__init__.py | 1 + decnet/rpki/ripestat/validator.py | 1 + decnet/services/__init__.py | 1 + decnet/services/base.py | 1 + decnet/services/conpot.py | 1 + decnet/services/dns.py | 1 + decnet/services/docker_api.py | 1 + decnet/services/elasticsearch.py | 1 + decnet/services/ftp.py | 1 + decnet/services/http.py | 1 + decnet/services/https.py | 1 + decnet/services/imap.py | 1 + decnet/services/k8s.py | 1 + decnet/services/ldap.py | 1 + decnet/services/llmnr.py | 1 + decnet/services/mongodb.py | 1 + decnet/services/mqtt.py | 1 + decnet/services/mssql.py | 1 + decnet/services/mysql.py | 1 + decnet/services/pop3.py | 1 + decnet/services/postgres.py | 1 + decnet/services/rdp.py | 1 + decnet/services/redis.py | 1 + decnet/services/registry.py | 1 + decnet/services/sip.py | 1 + decnet/services/smb.py | 1 + decnet/services/smtp.py | 1 + decnet/services/smtp_relay.py | 1 + decnet/services/sniffer.py | 1 + decnet/services/snmp.py | 1 + decnet/services/ssh.py | 1 + decnet/services/telnet.py | 1 + decnet/services/tftp.py | 1 + decnet/services/vnc.py | 1 + decnet/sniffer/__init__.py | 1 + decnet/sniffer/fingerprint.py | 1 + decnet/sniffer/p0f.py | 1 + decnet/sniffer/seq_class.py | 1 + decnet/sniffer/syslog.py | 1 + decnet/sniffer/worker.py | 1 + decnet/swarm/__init__.py | 1 + decnet/swarm/bundle_builder.py | 1 + decnet/swarm/client.py | 1 + decnet/swarm/log_forwarder.py | 1 + decnet/swarm/log_listener.py | 1 + decnet/swarm/pki.py | 1 + decnet/swarm/tar_tree.py | 1 + decnet/swarm/updater_client.py | 1 + decnet/tarpit/__init__.py | 1 + decnet/tarpit/worker.py | 1 + decnet/telemetry.py | 1 + decnet/templates/_shared/ntlmssp.py | 1 + decnet/templates/conpot/entrypoint.py | 1 + decnet/templates/conpot/instance_seed.py | 1 + decnet/templates/conpot/syslog_bridge.py | 1 + decnet/templates/cowrie/entrypoint.sh | 1 + decnet/templates/dns/entrypoint.sh | 1 + decnet/templates/dns/instance_seed.py | 1 + decnet/templates/dns/server.py | 1 + decnet/templates/dns/syslog_bridge.py | 1 + decnet/templates/docker_api/entrypoint.sh | 1 + decnet/templates/docker_api/instance_seed.py | 1 + decnet/templates/docker_api/server.py | 1 + decnet/templates/docker_api/syslog_bridge.py | 1 + decnet/templates/elasticsearch/entrypoint.sh | 1 + .../templates/elasticsearch/instance_seed.py | 1 + decnet/templates/elasticsearch/server.py | 1 + .../templates/elasticsearch/syslog_bridge.py | 1 + decnet/templates/ftp/entrypoint.sh | 1 + decnet/templates/ftp/instance_seed.py | 1 + decnet/templates/ftp/server.py | 1 + decnet/templates/ftp/syslog_bridge.py | 1 + decnet/templates/http/entrypoint.sh | 1 + decnet/templates/http/instance_seed.py | 1 + decnet/templates/http/server.py | 1 + decnet/templates/http/syslog_bridge.py | 1 + decnet/templates/https/entrypoint.sh | 1 + decnet/templates/https/instance_seed.py | 1 + decnet/templates/https/server.py | 1 + decnet/templates/https/syslog_bridge.py | 1 + decnet/templates/imap/entrypoint.sh | 1 + decnet/templates/imap/instance_seed.py | 1 + decnet/templates/imap/server.py | 1 + decnet/templates/imap/syslog_bridge.py | 1 + decnet/templates/instance_seed.py | 1 + decnet/templates/k8s/entrypoint.sh | 1 + decnet/templates/k8s/instance_seed.py | 1 + decnet/templates/k8s/server.py | 1 + decnet/templates/k8s/syslog_bridge.py | 1 + decnet/templates/ldap/entrypoint.sh | 1 + decnet/templates/ldap/instance_seed.py | 1 + decnet/templates/ldap/server.py | 1 + decnet/templates/ldap/syslog_bridge.py | 1 + decnet/templates/llmnr/entrypoint.sh | 1 + decnet/templates/llmnr/instance_seed.py | 1 + decnet/templates/llmnr/server.py | 1 + decnet/templates/llmnr/syslog_bridge.py | 1 + decnet/templates/mongodb/entrypoint.sh | 1 + decnet/templates/mongodb/instance_seed.py | 1 + decnet/templates/mongodb/server.py | 1 + decnet/templates/mongodb/syslog_bridge.py | 1 + decnet/templates/mqtt/entrypoint.sh | 1 + decnet/templates/mqtt/instance_seed.py | 1 + decnet/templates/mqtt/server.py | 1 + decnet/templates/mqtt/syslog_bridge.py | 1 + decnet/templates/mssql/entrypoint.sh | 1 + decnet/templates/mssql/instance_seed.py | 1 + decnet/templates/mssql/server.py | 1 + decnet/templates/mssql/syslog_bridge.py | 1 + decnet/templates/mysql/entrypoint.sh | 1 + decnet/templates/mysql/instance_seed.py | 1 + decnet/templates/mysql/server.py | 1 + decnet/templates/mysql/syslog_bridge.py | 1 + decnet/templates/pop3/entrypoint.sh | 1 + decnet/templates/pop3/instance_seed.py | 1 + decnet/templates/pop3/server.py | 1 + decnet/templates/pop3/syslog_bridge.py | 1 + decnet/templates/postgres/entrypoint.sh | 1 + decnet/templates/postgres/instance_seed.py | 1 + decnet/templates/postgres/server.py | 1 + decnet/templates/postgres/syslog_bridge.py | 1 + decnet/templates/rdp/entrypoint.sh | 1 + decnet/templates/rdp/instance_seed.py | 1 + decnet/templates/rdp/ntlmssp.py | 1 + decnet/templates/rdp/server.py | 1 + decnet/templates/rdp/syslog_bridge.py | 1 + decnet/templates/redis/entrypoint.sh | 1 + decnet/templates/redis/instance_seed.py | 1 + decnet/templates/redis/server.py | 1 + decnet/templates/redis/syslog_bridge.py | 1 + decnet/templates/sip/entrypoint.sh | 1 + decnet/templates/sip/instance_seed.py | 1 + decnet/templates/sip/server.py | 1 + decnet/templates/sip/syslog_bridge.py | 1 + decnet/templates/smb/entrypoint.sh | 1 + decnet/templates/smb/instance_seed.py | 1 + decnet/templates/smb/ntlmssp.py | 1 + decnet/templates/smb/server.py | 1 + decnet/templates/smb/syslog_bridge.py | 1 + decnet/templates/smtp/entrypoint.sh | 1 + decnet/templates/smtp/instance_seed.py | 1 + decnet/templates/smtp/server.py | 1 + decnet/templates/smtp/syslog_bridge.py | 1 + decnet/templates/sniffer/server.py | 1 + decnet/templates/sniffer/syslog_bridge.py | 1 + decnet/templates/snmp/entrypoint.sh | 1 + decnet/templates/snmp/instance_seed.py | 1 + decnet/templates/snmp/server.py | 1 + decnet/templates/snmp/syslog_bridge.py | 1 + decnet/templates/ssh/_build_stealth.py | 1 + decnet/templates/ssh/capture.sh | 1 + decnet/templates/ssh/emit_capture.py | 1 + decnet/templates/ssh/entrypoint.sh | 1 + decnet/templates/ssh/instance_seed.py | 1 + decnet/templates/ssh/syslog_bridge.py | 1 + decnet/templates/syslog_bridge.py | 1 + decnet/templates/telnet/entrypoint.sh | 1 + decnet/templates/telnet/instance_seed.py | 1 + decnet/templates/telnet/syslog_bridge.py | 1 + decnet/templates/tftp/entrypoint.sh | 1 + decnet/templates/tftp/instance_seed.py | 1 + decnet/templates/tftp/server.py | 1 + decnet/templates/tftp/syslog_bridge.py | 1 + decnet/templates/vnc/entrypoint.sh | 1 + decnet/templates/vnc/instance_seed.py | 1 + decnet/templates/vnc/server.py | 1 + decnet/templates/vnc/syslog_bridge.py | 1 + decnet/topology/__init__.py | 1 + decnet/topology/allocator.py | 1 + decnet/topology/compose.py | 1 + decnet/topology/config.py | 1 + decnet/topology/generator.py | 1 + decnet/topology/hashing.py | 1 + decnet/topology/persistence.py | 1 + decnet/topology/repository.py | 1 + decnet/topology/status.py | 1 + decnet/topology/validate.py | 1 + decnet/ttp/__init__.py | 1 + decnet/ttp/attack_catalog.py | 1 + decnet/ttp/attack_stix.py | 1 + decnet/ttp/attack_version.py | 1 + decnet/ttp/base.py | 1 + decnet/ttp/data/__init__.py | 1 + decnet/ttp/data/intel/__init__.py | 1 + decnet/ttp/data/intel_loader.py | 1 + decnet/ttp/factory.py | 1 + decnet/ttp/impl/__init__.py | 1 + decnet/ttp/impl/_emit.py | 1 + decnet/ttp/impl/_rule_index.py | 1 + decnet/ttp/impl/_state.py | 1 + decnet/ttp/impl/behavioral_lifter.py | 1 + decnet/ttp/impl/canary_fingerprint_lifter.py | 1 + decnet/ttp/impl/credential_lifter.py | 1 + decnet/ttp/impl/email_lifter.py | 1 + decnet/ttp/impl/http_fingerprint_lifter.py | 1 + decnet/ttp/impl/identity_lifter.py | 1 + decnet/ttp/impl/intel_lifter.py | 1 + decnet/ttp/impl/ipv6_leak_lifter.py | 1 + decnet/ttp/impl/rule_engine.py | 1 + decnet/ttp/misp_export.py | 1 + decnet/ttp/stix_custom.py | 1 + decnet/ttp/stix_export.py | 1 + decnet/ttp/store/__init__.py | 1 + decnet/ttp/store/base.py | 1 + decnet/ttp/store/factory.py | 1 + decnet/ttp/store/impl/__init__.py | 1 + decnet/ttp/store/impl/database.py | 1 + decnet/ttp/store/impl/filesystem.py | 1 + decnet/ttp/worker.py | 1 + decnet/updater/__init__.py | 1 + decnet/updater/app.py | 1 + decnet/updater/executor.py | 1 + decnet/updater/server.py | 1 + decnet/vectorstore/__init__.py | 1 + decnet/vectorstore/base.py | 1 + decnet/vectorstore/factory.py | 1 + decnet/vectorstore/fake.py | 1 + decnet/vectorstore/sqlite_vec.py | 1 + decnet/web/_uvicorn_tls_scope.py | 1 + decnet/web/api.py | 1 + decnet/web/auth.py | 1 + decnet/web/db/factory.py | 1 + decnet/web/db/models/__init__.py | 1 + decnet/web/db/models/_base.py | 1 + decnet/web/db/models/attachments.py | 1 + decnet/web/db/models/attacker_intel.py | 1 + decnet/web/db/models/attackers.py | 1 + decnet/web/db/models/attribution_state.py | 1 + decnet/web/db/models/auth.py | 1 + decnet/web/db/models/campaigns.py | 1 + decnet/web/db/models/canary.py | 1 + decnet/web/db/models/common.py | 1 + decnet/web/db/models/decky.py | 1 + decnet/web/db/models/decky_lifecycle.py | 1 + decnet/web/db/models/deploy.py | 1 + decnet/web/db/models/fleet.py | 1 + decnet/web/db/models/health.py | 1 + decnet/web/db/models/logs.py | 1 + decnet/web/db/models/observations.py | 1 + decnet/web/db/models/orchestrator.py | 1 + decnet/web/db/models/realism.py | 1 + decnet/web/db/models/swarm.py | 1 + decnet/web/db/models/tarpit.py | 1 + decnet/web/db/models/topology.py | 1 + decnet/web/db/models/ttp.py | 1 + decnet/web/db/models/updater.py | 1 + decnet/web/db/models/webhooks.py | 1 + decnet/web/db/models/workers.py | 1 + decnet/web/db/mysql/__init__.py | 1 + decnet/web/db/mysql/database.py | 1 + decnet/web/db/mysql/repository.py | 1 + decnet/web/db/repository.py | 1 + decnet/web/db/secrets.py | 1 + decnet/web/db/sqlite/database.py | 1 + decnet/web/db/sqlite/repository.py | 1 + decnet/web/db/sqlmodel_repo/__init__.py | 1 + decnet/web/db/sqlmodel_repo/_helpers.py | 1 + decnet/web/db/sqlmodel_repo/attacker_intel.py | 1 + .../db/sqlmodel_repo/attackers/__init__.py | 1 + .../web/db/sqlmodel_repo/attackers/_core.py | 1 + .../db/sqlmodel_repo/attackers/activity.py | 1 + .../db/sqlmodel_repo/attackers/behavior.py | 1 + decnet/web/db/sqlmodel_repo/attackers/smtp.py | 1 + decnet/web/db/sqlmodel_repo/attribution.py | 1 + decnet/web/db/sqlmodel_repo/auth.py | 1 + decnet/web/db/sqlmodel_repo/bounties.py | 1 + decnet/web/db/sqlmodel_repo/campaigns.py | 1 + decnet/web/db/sqlmodel_repo/canary.py | 1 + .../db/sqlmodel_repo/credentials/__init__.py | 1 + .../web/db/sqlmodel_repo/credentials/_core.py | 1 + .../web/db/sqlmodel_repo/credentials/reuse.py | 1 + decnet/web/db/sqlmodel_repo/deckies.py | 1 + .../web/db/sqlmodel_repo/decky_lifecycle.py | 1 + decnet/web/db/sqlmodel_repo/fleet.py | 1 + decnet/web/db/sqlmodel_repo/identities.py | 1 + decnet/web/db/sqlmodel_repo/logs.py | 1 + decnet/web/db/sqlmodel_repo/observations.py | 1 + .../db/sqlmodel_repo/observed_attachments.py | 1 + decnet/web/db/sqlmodel_repo/orchestrator.py | 1 + decnet/web/db/sqlmodel_repo/realism.py | 1 + decnet/web/db/sqlmodel_repo/swarm.py | 1 + decnet/web/db/sqlmodel_repo/tarpit.py | 1 + .../web/db/sqlmodel_repo/topology/__init__.py | 1 + decnet/web/db/sqlmodel_repo/topology/_core.py | 1 + .../web/db/sqlmodel_repo/topology/deckies.py | 1 + decnet/web/db/sqlmodel_repo/topology/edges.py | 1 + decnet/web/db/sqlmodel_repo/topology/lans.py | 1 + .../db/sqlmodel_repo/topology/mutations.py | 1 + decnet/web/db/sqlmodel_repo/ttp.py | 1 + decnet/web/db/sqlmodel_repo/webhooks.py | 1 + decnet/web/dependencies.py | 1 + decnet/web/ingester.py | 1 + decnet/web/limiter.py | 1 + decnet/web/router/__init__.py | 1 + decnet/web/router/attackers/__init__.py | 1 + decnet/web/router/attackers/_guards.py | 1 + decnet/web/router/attackers/api_events.py | 1 + .../attackers/api_export_attacker_misp.py | 1 + .../attackers/api_export_attacker_stix.py | 1 + .../router/attackers/api_export_attackers.py | 1 + .../attackers/api_export_attackers_misp.py | 1 + .../attackers/api_export_attackers_stix.py | 1 + .../attackers/api_get_attacker_artifacts.py | 1 + .../attackers/api_get_attacker_attribution.py | 1 + .../attackers/api_get_attacker_commands.py | 1 + .../attackers/api_get_attacker_detail.py | 1 + .../attackers/api_get_attacker_intel.py | 1 + .../router/attackers/api_get_attacker_mail.py | 1 + .../api_get_attacker_smtp_targets.py | 1 + .../attackers/api_get_attacker_transcripts.py | 1 + .../web/router/attackers/api_get_attackers.py | 1 + decnet/web/router/auth/api_change_pass.py | 1 + decnet/web/router/auth/api_login.py | 1 + decnet/web/router/bounty/api_get_bounties.py | 1 + decnet/web/router/campaigns/__init__.py | 1 + decnet/web/router/campaigns/api_events.py | 1 + .../campaigns/api_get_campaign_detail.py | 1 + .../campaigns/api_list_campaign_identities.py | 1 + .../router/campaigns/api_list_campaigns.py | 1 + decnet/web/router/canary/__init__.py | 1 + decnet/web/router/canary/api_blobs.py | 1 + decnet/web/router/canary/api_tokens.py | 1 + decnet/web/router/config/__init__.py | 1 + decnet/web/router/config/api_get_config.py | 1 + decnet/web/router/config/api_manage_users.py | 1 + decnet/web/router/config/api_reinit.py | 1 + decnet/web/router/config/api_update_config.py | 1 + .../web/router/credential_reuse/__init__.py | 1 + .../api_get_credential_reuse.py | 1 + decnet/web/router/credentials/__init__.py | 1 + .../router/credentials/api_get_credentials.py | 1 + decnet/web/router/deckies/__init__.py | 1 + decnet/web/router/deckies/api_file_drop.py | 1 + decnet/web/router/deckies/api_services.py | 1 + decnet/web/router/deckies/api_tarpit.py | 1 + decnet/web/router/fleet/api_deploy_deckies.py | 1 + decnet/web/router/fleet/api_get_deckies.py | 1 + decnet/web/router/fleet/api_lifecycle.py | 1 + decnet/web/router/fleet/api_mutate_decky.py | 1 + .../web/router/fleet/api_mutate_interval.py | 1 + decnet/web/router/health/__init__.py | 1 + decnet/web/router/health/api_get_health.py | 1 + decnet/web/router/identities/__init__.py | 1 + decnet/web/router/identities/api_events.py | 1 + .../identities/api_get_identity_detail.py | 1 + .../router/identities/api_list_identities.py | 1 + .../api_list_identity_observations.py | 1 + decnet/web/router/logs/api_get_histogram.py | 1 + decnet/web/router/logs/api_get_logs.py | 1 + decnet/web/router/orchestrator/__init__.py | 1 + .../router/orchestrator/api_event_stats.py | 1 + decnet/web/router/orchestrator/api_events.py | 1 + .../router/orchestrator/api_list_events.py | 1 + decnet/web/router/realism/__init__.py | 1 + decnet/web/router/realism/api_config.py | 1 + decnet/web/router/realism/api_llm.py | 1 + decnet/web/router/realism/api_personas.py | 1 + .../web/router/realism/api_synthetic_files.py | 1 + decnet/web/router/stats/api_get_stats.py | 1 + decnet/web/router/stream/api_stream_events.py | 1 + decnet/web/router/swarm/__init__.py | 1 + decnet/web/router/swarm/api_check_hosts.py | 1 + .../web/router/swarm/api_decommission_host.py | 1 + decnet/web/router/swarm/api_deploy_swarm.py | 1 + decnet/web/router/swarm/api_enroll_host.py | 1 + decnet/web/router/swarm/api_get_host.py | 1 + .../web/router/swarm/api_get_swarm_health.py | 1 + decnet/web/router/swarm/api_heartbeat.py | 1 + decnet/web/router/swarm/api_list_deckies.py | 1 + decnet/web/router/swarm/api_list_hosts.py | 1 + decnet/web/router/swarm/api_teardown_swarm.py | 1 + decnet/web/router/swarm_mgmt/__init__.py | 1 + .../swarm_mgmt/api_decommission_host.py | 1 + .../router/swarm_mgmt/api_enroll_bundle.py | 1 + .../web/router/swarm_mgmt/api_list_deckies.py | 1 + .../web/router/swarm_mgmt/api_list_hosts.py | 1 + .../router/swarm_mgmt/api_teardown_host.py | 1 + decnet/web/router/swarm_updates/__init__.py | 1 + .../swarm_updates/api_list_host_releases.py | 1 + .../router/swarm_updates/api_push_update.py | 1 + .../swarm_updates/api_push_update_self.py | 1 + .../router/swarm_updates/api_rollback_host.py | 1 + decnet/web/router/system/__init__.py | 1 + .../web/router/system/api_deployment_mode.py | 1 + decnet/web/router/topology/__init__.py | 1 + decnet/web/router/topology/_guards.py | 1 + decnet/web/router/topology/_target_host.py | 1 + decnet/web/router/topology/api_catalog.py | 1 + .../topology/api_create_blank_topology.py | 1 + .../router/topology/api_create_topology.py | 1 + decnet/web/router/topology/api_decky_crud.py | 1 + .../router/topology/api_delete_topology.py | 1 + .../router/topology/api_deploy_topology.py | 1 + decnet/web/router/topology/api_edge_crud.py | 1 + decnet/web/router/topology/api_events.py | 1 + .../web/router/topology/api_get_topology.py | 1 + decnet/web/router/topology/api_lan_crud.py | 1 + .../router/topology/api_list_topologies.py | 1 + decnet/web/router/topology/api_mutations.py | 1 + decnet/web/router/topology/api_personas.py | 1 + .../web/router/topology/api_reap_orphans.py | 1 + decnet/web/router/topology/api_tarpit.py | 1 + .../router/topology/api_teardown_topology.py | 1 + decnet/web/router/transcripts/__init__.py | 1 + .../router/transcripts/api_get_transcript.py | 1 + decnet/web/router/ttp/__init__.py | 1 + decnet/web/router/ttp/api_export_navigator.py | 1 + decnet/web/router/ttp/api_get_by_attacker.py | 1 + decnet/web/router/ttp/api_get_by_campaign.py | 1 + decnet/web/router/ttp/api_get_by_identity.py | 1 + decnet/web/router/ttp/api_get_by_session.py | 1 + .../ttp/api_get_groups_for_technique.py | 1 + decnet/web/router/ttp/api_get_rules.py | 1 + decnet/web/router/ttp/api_get_tag_details.py | 1 + decnet/web/router/ttp/api_get_techniques.py | 1 + decnet/web/router/webhooks/__init__.py | 1 + .../router/webhooks/api_manage_webhooks.py | 1 + .../web/router/webhooks/api_test_webhook.py | 1 + decnet/web/router/workers/__init__.py | 1 + .../web/router/workers/api_control_worker.py | 1 + decnet/web/router/workers/api_list_workers.py | 1 + .../router/workers/api_start_all_workers.py | 1 + decnet/web/router/workers/api_start_worker.py | 1 + decnet/web/services/__init__.py | 1 + decnet/web/services/systemd_control.py | 1 + decnet/web/sse_limits.py | 1 + decnet/web/swarm_api.py | 1 + decnet/web/worker_registry.py | 1 + decnet/webhook/__init__.py | 1 + decnet/webhook/client.py | 1 + decnet/webhook/enums.py | 1 + decnet/webhook/worker.py | 1 + decnet_web/eslint.config.js | 1 + decnet_web/src/App.css | 1 + decnet_web/src/App.tsx | 1 + .../src/components/AddServiceConfigModal.tsx | 1 + decnet_web/src/components/ArtifactDrawer.tsx | 1 + decnet_web/src/components/AttackerDetail.tsx | 1 + .../IntelPanel/IntelPanel.test.tsx | 1 + .../AttackerDetail/IntelPanel/IntelPanel.tsx | 1 + .../AttackerDetail/IntelPanel/helpers.ts | 1 + .../AttackerDetail/IntelPanel/index.ts | 1 + .../AttackerDetail/IntelPanel/types.ts | 1 + .../BehaviouralPrimitivesPanel.test.tsx | 1 + .../behaviour/BehaviouralPrimitivesPanel.tsx | 1 + .../AttackerDetail/behaviour/index.ts | 1 + .../AttackerDetail/behaviour/lookups.ts | 1 + .../AttackerDetail/behaviour/pieces.tsx | 1 + .../fingerprints/fingerprints.test.tsx | 1 + .../AttackerDetail/fingerprints/helpers.tsx | 1 + .../AttackerDetail/fingerprints/index.tsx | 1 + .../AttackerDetail/fingerprints/renderers.tsx | 1 + .../sections/ArtifactsPanel.test.tsx | 1 + .../sections/ArtifactsPanel.tsx | 1 + .../sections/AttackerHeader.test.tsx | 1 + .../sections/AttackerHeader.tsx | 1 + .../sections/AttackerStats.test.tsx | 1 + .../AttackerDetail/sections/AttackerStats.tsx | 1 + .../sections/CommandsViewer.test.tsx | 1 + .../sections/CommandsViewer.tsx | 1 + .../sections/MailLogPanel.test.tsx | 1 + .../AttackerDetail/sections/MailLogPanel.tsx | 1 + .../sections/ServicesTargeted.test.tsx | 1 + .../sections/ServicesTargeted.tsx | 1 + .../sections/TimelineSection.test.tsx | 1 + .../sections/TimelineSection.tsx | 1 + .../src/components/AttackerDetail/types.ts | 1 + .../src/components/AttackerDetail/ui.tsx | 1 + .../AttackerDetail/useAttackerDetail.test.ts | 1 + .../AttackerDetail/useAttackerDetail.ts | 1 + decnet_web/src/components/Attackers.css | 1 + decnet_web/src/components/Attackers.tsx | 1 + decnet_web/src/components/Bounty.css | 1 + decnet_web/src/components/Bounty.tsx | 1 + decnet_web/src/components/BountyInspector.tsx | 1 + decnet_web/src/components/CampaignDetail.tsx | 1 + decnet_web/src/components/Campaigns.tsx | 1 + .../src/components/CanaryTokenDrawer.tsx | 1 + decnet_web/src/components/CanaryTokens.tsx | 1 + .../CanaryTokens/BlobListView.test.tsx | 1 + .../components/CanaryTokens/BlobListView.tsx | 1 + .../CanaryTokens/CreateTokenModal.test.tsx | 1 + .../CanaryTokens/CreateTokenModal.tsx | 1 + .../CanaryTokens/FileDropListView.test.tsx | 1 + .../CanaryTokens/FileDropListView.tsx | 1 + .../CanaryTokens/FileDropModal.test.tsx | 1 + .../components/CanaryTokens/FileDropModal.tsx | 1 + .../CanaryTokens/TokenListView.test.tsx | 1 + .../components/CanaryTokens/TokenListView.tsx | 1 + .../CanaryTokens/UploadModal.test.tsx | 1 + .../components/CanaryTokens/UploadModal.tsx | 1 + .../src/components/CanaryTokens/helpers.ts | 1 + .../src/components/CanaryTokens/types.ts | 1 + decnet_web/src/components/CanaryTokens/ui.tsx | 1 + .../CanaryTokens/useCanaryTokens.test.ts | 1 + .../CanaryTokens/useCanaryTokens.ts | 1 + .../CommandPalette/CommandPalette.css | 1 + .../CommandPalette/CommandPalette.tsx | 1 + decnet_web/src/components/Config.css | 1 + decnet_web/src/components/Config.tsx | 1 + .../components/Config/WorkersPanel.test.tsx | 1 + .../src/components/Config/WorkersPanel.tsx | 1 + .../Config/tabs/AppearanceTab.test.tsx | 1 + .../components/Config/tabs/AppearanceTab.tsx | 1 + .../Config/tabs/GlobalsTab.test.tsx | 1 + .../src/components/Config/tabs/GlobalsTab.tsx | 1 + .../src/components/Config/tabs/LLMTab.css | 1 + .../components/Config/tabs/LLMTab.test.tsx | 1 + .../src/components/Config/tabs/LLMTab.tsx | 1 + .../components/Config/tabs/LimitsTab.test.tsx | 1 + .../src/components/Config/tabs/LimitsTab.tsx | 1 + .../components/Config/tabs/UsersTab.test.tsx | 1 + .../src/components/Config/tabs/UsersTab.tsx | 1 + decnet_web/src/components/Config/types.ts | 1 + .../src/components/Config/useConfig.test.ts | 1 + decnet_web/src/components/Config/useConfig.ts | 1 + .../components/CredentialReuseInspector.tsx | 1 + decnet_web/src/components/Credentials.css | 1 + decnet_web/src/components/Credentials.tsx | 1 + .../src/components/Credentials/CredsTable.tsx | 1 + .../src/components/Credentials/ReuseTable.tsx | 1 + .../src/components/Credentials/SortTh.tsx | 1 + .../components/Credentials/helpers.test.ts | 1 + .../src/components/Credentials/helpers.ts | 1 + .../src/components/Credentials/types.ts | 1 + .../Credentials/useCredentials.test.ts | 1 + .../components/Credentials/useCredentials.ts | 1 + .../src/components/CredentialsInspector.tsx | 1 + decnet_web/src/components/Dashboard.css | 1 + decnet_web/src/components/Dashboard.tsx | 1 + decnet_web/src/components/DeckyFleet.css | 1 + decnet_web/src/components/DeckyFleet.tsx | 1 + .../components/DeckyFleet/DeckyCard.test.tsx | 1 + .../src/components/DeckyFleet/DeckyCard.tsx | 1 + .../DeckyFleet/DeckyFilters.test.tsx | 1 + .../components/DeckyFleet/DeckyFilters.tsx | 1 + .../DeckyFleet/DeckyGridEmpty.test.tsx | 1 + .../components/DeckyFleet/DeckyGridEmpty.tsx | 1 + .../DeckyFleet/DeckyInspectPanel.test.tsx | 1 + .../DeckyFleet/DeckyInspectPanel.tsx | 1 + .../DeckyFleet/DeployWizard.test.tsx | 1 + .../components/DeckyFleet/DeployWizard.tsx | 1 + .../DeckyFleet/IntervalEditor.test.tsx | 1 + .../components/DeckyFleet/IntervalEditor.tsx | 1 + .../src/components/DeckyFleet/helpers.tsx | 1 + decnet_web/src/components/DeckyFleet/types.ts | 1 + .../DeckyFleet/useDeckyFleet.test.ts | 1 + .../components/DeckyFleet/useDeckyFleet.ts | 1 + .../src/components/EmptyState/EmptyState.css | 1 + .../src/components/EmptyState/EmptyState.tsx | 1 + decnet_web/src/components/Identities.tsx | 1 + decnet_web/src/components/IdentityDetail.tsx | 1 + decnet_web/src/components/Layout.css | 1 + decnet_web/src/components/Layout.tsx | 1 + decnet_web/src/components/LiveLogs.css | 1 + decnet_web/src/components/LiveLogs.tsx | 1 + decnet_web/src/components/Login.css | 1 + decnet_web/src/components/Login.tsx | 1 + decnet_web/src/components/MailDrawer.tsx | 1 + decnet_web/src/components/MazeNET/Canvas.tsx | 1 + .../src/components/MazeNET/ContextMenu.tsx | 1 + .../MazeNET/Inspector/EdgeInspector.tsx | 1 + .../MazeNET/Inspector/Inspector.test.tsx | 1 + .../MazeNET/Inspector/NetInspector.tsx | 1 + .../MazeNET/Inspector/NodeInspector.tsx | 1 + .../MazeNET/Inspector/ServiceInspector.tsx | 1 + .../components/MazeNET/Inspector/index.tsx | 1 + .../src/components/MazeNET/Inspector/types.ts | 1 + decnet_web/src/components/MazeNET/MazeNET.css | 1 + decnet_web/src/components/MazeNET/MazeNET.tsx | 1 + decnet_web/src/components/MazeNET/NetBox.tsx | 1 + .../src/components/MazeNET/NodeCard.tsx | 1 + decnet_web/src/components/MazeNET/Palette.tsx | 1 + decnet_web/src/components/MazeNET/data.ts | 1 + decnet_web/src/components/MazeNET/types.ts | 1 + .../MazeNET/useFullscreenMode.test.ts | 1 + .../components/MazeNET/useFullscreenMode.ts | 1 + .../src/components/MazeNET/useMazeApi.ts | 1 + .../MazeNET/useMazeContextMenu.test.ts | 1 + .../components/MazeNET/useMazeContextMenu.tsx | 1 + .../components/MazeNET/useMazeInteraction.ts | 1 + .../components/MazeNET/useMazeLayoutStore.ts | 1 + .../MazeNET/useTopologyData.test.ts | 1 + .../src/components/MazeNET/useTopologyData.ts | 1 + .../components/MazeNET/useTopologyEditor.ts | 1 + .../components/MazeNET/useTopologyStream.ts | 1 + decnet_web/src/components/Modal/Modal.css | 1 + decnet_web/src/components/Modal/Modal.tsx | 1 + decnet_web/src/components/Orchestrator.css | 1 + .../src/components/Orchestrator.test.tsx | 1 + decnet_web/src/components/Orchestrator.tsx | 1 + .../src/components/OrchestratorInspector.tsx | 1 + .../src/components/PersonaGeneration.css | 1 + .../src/components/PersonaGeneration.tsx | 1 + .../PersonaGeneration/PersonaCard.test.tsx | 1 + .../PersonaGeneration/PersonaCard.tsx | 1 + .../PersonaGeneration/PersonaEditor.tsx | 1 + .../PersonaGeneration/helpers.test.ts | 1 + .../components/PersonaGeneration/helpers.ts | 1 + .../src/components/PersonaGeneration/types.ts | 1 + .../usePersonaGeneration.test.ts | 1 + .../PersonaGeneration/usePersonaGeneration.ts | 1 + .../RealismConfig/RealismConfig.css | 1 + .../RealismConfig/RealismConfig.tsx | 1 + decnet_web/src/components/RemoteUpdates.tsx | 1 + .../src/components/RuleStateControls.tsx | 1 + .../src/components/ServiceConfigFields.tsx | 1 + .../src/components/ServiceConfigForm.css | 1 + .../src/components/ServiceConfigForm.tsx | 1 + decnet_web/src/components/SessionDrawer.tsx | 1 + .../ShortcutsHelp/ShortcutsHelp.css | 1 + .../ShortcutsHelp/ShortcutsHelp.tsx | 1 + decnet_web/src/components/Swarm.css | 1 + decnet_web/src/components/SwarmHosts.tsx | 1 + .../SwarmHosts/EnrollmentWizard.test.tsx | 1 + .../SwarmHosts/EnrollmentWizard.tsx | 1 + .../src/components/SwarmHosts/helpers.test.ts | 1 + .../src/components/SwarmHosts/helpers.ts | 1 + decnet_web/src/components/SwarmHosts/types.ts | 1 + .../SwarmHosts/useSwarmHosts.test.ts | 1 + .../components/SwarmHosts/useSwarmHosts.ts | 1 + .../SyntheticFiles/SyntheticFiles.css | 1 + .../SyntheticFiles/SyntheticFiles.tsx | 1 + decnet_web/src/components/TTPInspector.css | 1 + decnet_web/src/components/TTPInspector.tsx | 1 + .../src/components/TTPsObservedSection.tsx | 1 + .../src/components/ThemeLab/ThemeLab.css | 1 + .../src/components/ThemeLab/ThemeLab.tsx | 1 + .../src/components/ThemeLab/ThemeToggle.tsx | 1 + .../ThemeLab/__tests__/ThemeLab.test.tsx | 1 + .../ThemeLab/__tests__/ThemeToggle.test.tsx | 1 + .../src/components/Toasts/ToastProvider.tsx | 1 + decnet_web/src/components/Toasts/Toasts.css | 1 + decnet_web/src/components/Toasts/Toasts.tsx | 1 + .../src/components/Toasts/toast-context.ts | 1 + decnet_web/src/components/Toasts/useToast.ts | 1 + .../TopologyList/CreateTopologyWizard.css | 1 + .../TopologyList/CreateTopologyWizard.tsx | 1 + .../components/TopologyList/TopologyList.css | 1 + .../components/TopologyList/TopologyList.tsx | 1 + decnet_web/src/components/Webhooks.css | 1 + decnet_web/src/components/Webhooks.tsx | 1 + .../src/components/Webhooks/FormRow.tsx | 1 + .../components/Webhooks/SecretModal.test.tsx | 1 + .../src/components/Webhooks/SecretModal.tsx | 1 + .../src/components/Webhooks/helpers.test.ts | 1 + decnet_web/src/components/Webhooks/helpers.ts | 1 + decnet_web/src/components/Webhooks/types.ts | 1 + .../components/Webhooks/useWebhooks.test.ts | 1 + .../src/components/Webhooks/useWebhooks.ts | 1 + .../src/components/useAttackerStream.ts | 1 + .../src/components/useCampaignStream.ts | 1 + .../src/components/useIdentityStream.ts | 1 + .../src/components/useOrchestratorStream.ts | 1 + decnet_web/src/hooks/useEscapeKey.ts | 1 + decnet_web/src/hooks/useFocusSearch.ts | 1 + decnet_web/src/hooks/useFocusTrap.ts | 1 + decnet_web/src/hooks/useGlobalHotkeys.ts | 1 + .../src/hooks/useLifecyclePolling.test.ts | 1 + decnet_web/src/hooks/useLifecyclePolling.ts | 1 + decnet_web/src/hooks/useServiceRegistry.ts | 1 + decnet_web/src/hooks/useSwarmHosts.ts | 1 + decnet_web/src/icons.ts | 1 + decnet_web/src/index.css | 1 + decnet_web/src/lib/__tests__/devGate.test.ts | 1 + .../src/lib/__tests__/useThemeToggle.test.ts | 1 + decnet_web/src/lib/devGate.ts | 1 + decnet_web/src/lib/useThemeToggle.ts | 1 + decnet_web/src/lucide-icons.d.ts | 1 + decnet_web/src/main.tsx | 1 + decnet_web/src/realism/labels.ts | 1 + decnet_web/src/routePrefetch.ts | 1 + decnet_web/src/test/fixtures/attacker.ts | 1 + decnet_web/src/test/fixtures/canary.ts | 1 + decnet_web/src/test/fixtures/decky.ts | 1 + decnet_web/src/test/fixtures/index.ts | 1 + decnet_web/src/test/fixtures/topology.ts | 1 + decnet_web/src/test/renderWithRouter.tsx | 1 + decnet_web/src/test/server.ts | 1 + decnet_web/src/test/setup.ts | 1 + decnet_web/src/types/ttp.ts | 1 + decnet_web/src/utils/api.ts | 1 + decnet_web/src/utils/parseEventBody.ts | 1 + decnet_web/src/utils/ttpApi.ts | 1 + decnet_web/vite.config.ts | 1 + scripts/behave_shell/replay_calibration.py | 1 + scripts/behave_shell/smoke.sh | 1 + scripts/bus/pub.py | 1 + scripts/bus/smoke-mutator.sh | 1 + scripts/bus/smoke.sh | 1 + scripts/bus/start.sh | 1 + scripts/bus/sub.py | 1 + scripts/decnet-init.sh | 1 + scripts/mock-webhook-receiver.py | 1 + scripts/profile/aggregate_requests.py | 1 + scripts/profile/classify_usage.py | 1 + scripts/profile/cprofile-cli.sh | 1 + scripts/profile/memray-api.sh | 1 + scripts/profile/pyspy-attach.sh | 1 + scripts/profile/view.sh | 1 + scripts/vulture_whitelist.py | 1 + tests/__init__.py | 1 + tests/agent/__init__.py | 1 + .../test_topology_apply_recreate_deps.py | 1 + tests/api/__init__.py | 1 + tests/api/attackers/__init__.py | 1 + .../attackers/test_attribution_endpoint.py | 1 + tests/api/attackers/test_events_stream.py | 1 + tests/api/auth/__init__.py | 1 + tests/api/auth/test_change_pass.py | 1 + tests/api/auth/test_login.py | 1 + tests/api/bounty/__init__.py | 1 + tests/api/bounty/test_get_bounties.py | 1 + tests/api/campaigns/__init__.py | 1 + tests/api/campaigns/test_events_stream.py | 1 + tests/api/canary/__init__.py | 1 + tests/api/canary/test_canary_tokens_api.py | 1 + tests/api/config/__init__.py | 1 + tests/api/config/conftest.py | 1 + tests/api/config/test_deploy_limit.py | 1 + tests/api/config/test_get_config.py | 1 + tests/api/config/test_reinit.py | 1 + tests/api/config/test_update_config.py | 1 + tests/api/config/test_user_management.py | 1 + tests/api/conftest.py | 1 + tests/api/credential_reuse/__init__.py | 1 + .../test_get_credential_reuse.py | 1 + tests/api/credentials/__init__.py | 1 + tests/api/credentials/test_get_credentials.py | 1 + tests/api/deckies/__init__.py | 1 + tests/api/deckies/test_file_drop_api.py | 1 + tests/api/deckies/test_service_config_api.py | 1 + tests/api/deckies/test_services_api.py | 1 + tests/api/fleet/__init__.py | 1 + tests/api/fleet/test_deploy_additive.py | 1 + tests/api/fleet/test_deploy_automode.py | 1 + tests/api/fleet/test_get_deckies.py | 1 + tests/api/fleet/test_lifecycle_endpoint.py | 1 + tests/api/fleet/test_mutate_decky.py | 1 + tests/api/fleet/test_mutate_interval.py | 1 + tests/api/health/__init__.py | 1 + tests/api/health/test_get_health.py | 1 + tests/api/identities/__init__.py | 1 + tests/api/identities/test_events_stream.py | 1 + tests/api/logs/__init__.py | 1 + tests/api/logs/test_get_logs.py | 1 + tests/api/logs/test_histogram.py | 1 + tests/api/orchestrator/__init__.py | 1 + tests/api/orchestrator/test_event_stats.py | 1 + tests/api/orchestrator/test_events_stream.py | 1 + tests/api/realism/__init__.py | 1 + tests/api/realism/test_config_api.py | 1 + tests/api/realism/test_personas_api.py | 1 + tests/api/realism/test_synthetic_files_api.py | 1 + tests/api/stats/__init__.py | 1 + tests/api/stats/test_get_stats.py | 1 + tests/api/stream/__init__.py | 1 + tests/api/stream/test_stream_events.py | 1 + tests/api/swarm_mgmt/__init__.py | 1 + tests/api/swarm_mgmt/test_enroll_bundle.py | 1 + tests/api/swarm_mgmt/test_teardown_host.py | 1 + tests/api/swarm_updates/__init__.py | 1 + tests/api/swarm_updates/conftest.py | 1 + .../swarm_updates/test_list_host_releases.py | 1 + tests/api/swarm_updates/test_push_update.py | 1 + .../swarm_updates/test_push_update_self.py | 1 + tests/api/swarm_updates/test_rollback_host.py | 1 + tests/api/test_error_handler.py | 1 + tests/api/test_rbac.py | 1 + tests/api/test_rbac_contract.py | 1 + tests/api/test_repository.py | 1 + tests/api/test_schemathesis.py | 1 + tests/api/test_schemathesis_agent.py | 1 + tests/api/test_schemathesis_swarm.py | 1 + tests/api/test_schemathesis_ttp.py | 1 + tests/api/test_sse_limits.py | 1 + tests/api/topology/__init__.py | 1 + tests/api/topology/test_child_crud.py | 1 + tests/api/topology/test_events_stream.py | 1 + tests/api/topology/test_models.py | 1 + tests/api/topology/test_mutations.py | 1 + tests/api/topology/test_personas_api.py | 1 + tests/api/topology/test_reads.py | 1 + tests/api/topology/test_writes.py | 1 + tests/api/transcripts/__init__.py | 1 + tests/api/transcripts/test_get_transcript.py | 1 + tests/api/ttp/__init__.py | 1 + tests/api/ttp/conftest.py | 1 + tests/api/ttp/test_get_endpoints.py | 1 + tests/api/ttp/test_response_schemas.py | 1 + tests/api/ttp/test_rules_catalogue.py | 1 + tests/api/ttp/test_rules_state.py | 1 + tests/api/ttp/test_tag_details.py | 1 + tests/api/webhooks/__init__.py | 1 + tests/api/webhooks/test_crud.py | 1 + tests/api/workers/__init__.py | 1 + tests/api/workers/test_start_workers.py | 1 + tests/api/workers/test_workers_api.py | 1 + tests/asn/__init__.py | 1 + tests/asn/conftest.py | 1 + tests/asn/test_lookup.py | 1 + tests/asn/test_parse.py | 1 + tests/asn/test_profiler_integration.py | 1 + tests/asn/test_provider.py | 1 + tests/bus/__init__.py | 1 + tests/bus/conftest.py | 1 + tests/bus/test_app_singleton.py | 1 + tests/bus/test_base.py | 1 + tests/bus/test_closed_publish.py | 1 + tests/bus/test_control_listener.py | 1 + tests/bus/test_factory.py | 1 + tests/bus/test_fake_bus.py | 1 + tests/bus/test_heartbeat.py | 1 + tests/bus/test_protocol.py | 1 + tests/bus/test_publish.py | 1 + tests/bus/test_topics.py | 1 + tests/bus/test_ttp_topics.py | 1 + tests/bus/test_unix_socket_bus.py | 1 + tests/bus/test_worker.py | 1 + tests/canary/__init__.py | 1 + tests/canary/conftest.py | 1 + tests/canary/test_cli.py | 1 + tests/canary/test_cultivator.py | 1 + tests/canary/test_deploy_hook.py | 1 + tests/canary/test_factory.py | 1 + tests/canary/test_fingerprint_generators.py | 1 + tests/canary/test_generators.py | 1 + tests/canary/test_instrumenters.py | 1 + tests/canary/test_models.py | 1 + tests/canary/test_obfuscator.py | 1 + tests/canary/test_paths.py | 1 + tests/canary/test_planter.py | 1 + tests/canary/test_repository.py | 1 + tests/canary/test_storage.py | 1 + tests/canary/test_systemd_unit.py | 1 + tests/canary/test_topics.py | 1 + tests/canary/test_worker_dns.py | 1 + tests/canary/test_worker_http.py | 1 + tests/cli/__init__.py | 1 + tests/cli/test_cli.py | 1 + tests/cli/test_cli_db_reset.py | 1 + tests/cli/test_cli_service_pool.py | 1 + tests/cli/test_embedded_workers.py | 1 + tests/cli/test_gating_ttp_agent.py | 1 + tests/cli/test_init.py | 1 + tests/cli/test_mode_gating.py | 1 + tests/cli/test_realism_gating.py | 1 + tests/cli/test_realism_import_personas.py | 1 + tests/cli/test_web_proxy_target.py | 1 + tests/clustering/__init__.py | 1 + tests/clustering/fixture_harness.py | 1 + tests/clustering/metrics.py | 1 + tests/clustering/test_campaign_factory.py | 1 + tests/clustering/test_campaign_similarity.py | 1 + tests/clustering/test_campaign_worker.py | 1 + tests/clustering/test_clusterer_factory.py | 1 + tests/clustering/test_clusterer_worker.py | 1 + tests/clustering/test_connected_components.py | 1 + .../test_fixtures_campaign_clusterer.py | 1 + tests/clustering/test_lone_wolf_fixture.py | 1 + tests/clustering/test_metrics.py | 1 + .../clustering/test_multi_operator_fixture.py | 1 + tests/clustering/test_noise_floor_fixture.py | 1 + .../test_paused_campaign_fixture.py | 1 + .../test_shared_wordlist_fixture.py | 1 + tests/clustering/test_similarity.py | 1 + tests/clustering/test_slow_burn_fixture.py | 1 + tests/clustering/test_ttp_phase_handoff.py | 1 + tests/clustering/test_ukc_bridge.py | 1 + tests/clustering/test_vpn_hopping_fixture.py | 1 + tests/clustering/test_worker_publish.py | 1 + tests/collector/__init__.py | 1 + tests/collector/test_collector.py | 1 + tests/collector/test_collector_bus.py | 1 + tests/collector/test_collector_thread_pool.py | 1 + .../test_parse_rfc5424_double_wrap.py | 1 + tests/collector/test_session_aggregator.py | 1 + tests/collector/test_session_ended_publish.py | 1 + tests/config/__init__.py | 1 + tests/config/test_config.py | 1 + tests/config/test_config_ini.py | 1 + tests/config/test_ini_loader.py | 1 + tests/config/test_ini_spaces.py | 1 + tests/config/test_ini_validation.py | 1 + tests/conftest.py | 1 + tests/core/__init__.py | 1 + tests/core/test_build.py | 1 + tests/core/test_fingerprinting.py | 1 + tests/core/test_network.py | 1 + tests/core/test_os_fingerprint.py | 1 + tests/core/test_privdrop.py | 1 + tests/correlation/__init__.py | 1 + tests/correlation/attribution/__init__.py | 1 + .../attribution/test_aggregate_categorical.py | 1 + .../test_aggregate_numeric_hash.py | 1 + .../test_attribution_worker_phase1.py | 1 + .../test_attribution_worker_phase4.py | 1 + .../attribution/test_calibration_scenarios.py | 1 + .../test_multi_actor_correlator.py | 1 + tests/correlation/test_bounty_dedup.py | 1 + tests/correlation/test_correlation.py | 1 + tests/correlation/test_correlation_bus.py | 1 + tests/correlation/test_credential_reuse.py | 1 + tests/correlation/test_event_kinds.py | 1 + .../correlation/test_fingerprint_rotation.py | 1 + tests/correlation/test_parser_double_wrap.py | 1 + .../correlation/test_reuse_worker_publish.py | 1 + tests/db/__init__.py | 1 + tests/db/mysql/__init__.py | 1 + tests/db/mysql/test_mysql_histogram_sql.py | 1 + tests/db/mysql/test_mysql_migration.py | 1 + tests/db/mysql/test_mysql_url_builder.py | 1 + tests/db/test_attribution_state.py | 1 + tests/db/test_base_repo.py | 1 + tests/db/test_campaign_repo.py | 1 + tests/db/test_credential_reuse.py | 1 + tests/db/test_credentials.py | 1 + tests/db/test_decky_lifecycle.py | 1 + tests/db/test_factory.py | 1 + tests/db/test_identity_schema.py | 1 + tests/db/test_observations.py | 1 + tests/decky_io/__init__.py | 1 + tests/decky_io/test_resolve.py | 1 + tests/decky_io/test_write.py | 1 + tests/deploy/__init__.py | 1 + tests/deploy/test_orchestrator_unit.py | 1 + tests/docker/__init__.py | 1 + tests/docker/conftest.py | 1 + tests/docker/test_ssh_stealth_image.py | 1 + tests/engine/__init__.py | 1 + tests/engine/test_service_config_live.py | 1 + tests/engine/test_services_live.py | 1 + tests/engine/test_services_live_swarm.py | 1 + tests/factories/__init__.py | 1 + tests/factories/campaign_factory.py | 1 + tests/fleet/__init__.py | 1 + tests/fleet/test_archetypes.py | 1 + tests/fleet/test_auto_spawn.py | 1 + tests/fleet/test_composer.py | 1 + tests/fleet/test_deployer.py | 1 + tests/fleet/test_fleet.py | 1 + tests/fleet/test_fleet_singleton.py | 1 + tests/fleet/test_reconciler.py | 1 + tests/fleet/test_reconciler_worker.py | 1 + tests/geoip/__init__.py | 1 + tests/geoip/conftest.py | 1 + tests/geoip/test_lookup.py | 1 + tests/geoip/test_parse.py | 1 + tests/geoip/test_profiler_integration.py | 1 + tests/geoip/test_provider.py | 1 + tests/geoip/test_ptr.py | 1 + tests/intel/__init__.py | 1 + tests/intel/test_abuseipdb.py | 1 + tests/intel/test_attacker_intel_repo.py | 1 + tests/intel/test_factory.py | 1 + tests/intel/test_feodo.py | 1 + tests/intel/test_greynoise.py | 1 + tests/intel/test_mal_hash.py | 1 + tests/intel/test_stealth_http.py | 1 + tests/intel/test_threatfox.py | 1 + tests/intel/test_worker.py | 1 + tests/intel/test_worker_publish.py | 1 + tests/lifecycle/__init__.py | 1 + tests/lifecycle/test_runner.py | 1 + tests/live/__init__.py | 1 + tests/live/conftest.py | 1 + tests/live/test_ftp_live.py | 1 + tests/live/test_health_live.py | 1 + tests/live/test_http_live.py | 1 + tests/live/test_https_live.py | 1 + tests/live/test_imap_live.py | 1 + tests/live/test_mongodb_live.py | 1 + tests/live/test_mqtt_live.py | 1 + tests/live/test_mysql_backend_live.py | 1 + tests/live/test_mysql_live.py | 1 + tests/live/test_pop3_live.py | 1 + tests/live/test_postgres_live.py | 1 + tests/live/test_redis_live.py | 1 + tests/live/test_service_isolation_live.py | 1 + tests/live/test_smtp_live.py | 1 + tests/logging/__init__.py | 1 + tests/logging/test_file_handler.py | 1 + tests/logging/test_inode_aware_handler.py | 1 + tests/logging/test_log_file_mount.py | 1 + tests/logging/test_logging.py | 1 + tests/logging/test_logging_forwarder.py | 1 + tests/logging/test_syslog_formatter.py | 1 + tests/mutator/__init__.py | 1 + tests/mutator/test_mutator.py | 1 + tests/mutator/test_ops_materialisation.py | 1 + tests/mysql_spinup.sh | 1 + tests/orchestrator/__init__.py | 1 + tests/orchestrator/emailgen/__init__.py | 1 + tests/orchestrator/emailgen/test_driver.py | 1 + tests/orchestrator/emailgen/test_events.py | 1 + tests/orchestrator/emailgen/test_repo.py | 1 + tests/orchestrator/emailgen/test_scheduler.py | 1 + tests/orchestrator/emailgen/test_threads.py | 1 + .../test_realism_config_refresh.py | 1 + .../test_realism_health_snapshot.py | 1 + tests/orchestrator/test_repo_pagination.py | 1 + tests/orchestrator/test_scheduler.py | 1 + tests/orchestrator/test_ssh_driver.py | 1 + tests/orchestrator/test_worker_integration.py | 1 + tests/perf/__init__.py | 1 + tests/perf/conftest.py | 1 + tests/perf/test_repo_bench.py | 1 + tests/prober/__init__.py | 1 + tests/prober/osfp/__init__.py | 1 + tests/prober/osfp/test_format.py | 1 + tests/prober/osfp/test_provider.py | 1 + tests/prober/osfp/test_signature.py | 1 + tests/prober/test_active_probe_registry.py | 1 + tests/prober/test_ipv6_leak.py | 1 + tests/prober/test_prober_bounty.py | 1 + tests/prober/test_prober_bus.py | 1 + tests/prober/test_prober_hassh.py | 1 + tests/prober/test_prober_icmp6_error.py | 1 + tests/prober/test_prober_icmp_error.py | 1 + tests/prober/test_prober_jarm.py | 1 + tests/prober/test_prober_rotation.py | 1 + tests/prober/test_prober_tcpfp.py | 1 + tests/prober/test_prober_tlscert.py | 1 + tests/prober/test_prober_worker.py | 1 + tests/prober/test_run_probe_driver.py | 1 + tests/profiler/__init__.py | 1 + tests/profiler/behave_shell/__init__.py | 1 + .../behave_shell/test_calibration_grid.py | 1 + .../test_cognitive_cognitive_load.py | 1 + ...test_cognitive_command_branch_diversity.py | 1 + ...nitive_error_resilience_fallback_to_man.py | 1 + ...ive_error_resilience_frustration_typing.py | 1 + ...cognitive_error_resilience_retry_tactic.py | 1 + .../test_cognitive_exploration_style.py | 1 + ...test_cognitive_feedback_loop_engagement.py | 1 + ...est_cognitive_inter_command_consistency.py | 1 + ...t_cognitive_inter_command_latency_class.py | 1 + .../test_cognitive_planning_depth.py | 1 + .../test_cognitive_tool_vocabulary.py | 1 + .../test_command_error_detection.py | 1 + .../behave_shell/test_command_segmentation.py | 1 + .../test_emotional_valence_arousal.py | 1 + ...t_emotional_valence_frustration_venting.py | 1 + .../test_emotional_valence_stress_response.py | 1 + .../test_emotional_valence_valence.py | 1 + .../test_environmental_keyboard_layout.py | 1 + .../behave_shell/test_environmental_locale.py | 1 + .../test_environmental_numpad_usage.py | 1 + .../test_environmental_shell_type.py | 1 + ...test_environmental_terminal_multiplexer.py | 1 + .../behave_shell/test_extract_smoke.py | 1 + .../test_handler_session_ended.py | 1 + .../behave_shell/test_intent_lexicon.py | 1 + .../test_motor_command_chunking.py | 1 + .../test_motor_error_correction.py | 1 + .../behave_shell/test_motor_input_modality.py | 1 + .../test_motor_keystroke_cadence.py | 1 + .../test_motor_motor_stability.py | 1 + .../test_motor_paste_burst_rate.py | 1 + .../test_motor_pipe_chaining_depth.py | 1 + .../behave_shell/test_motor_shortcut_usage.py | 1 + .../behave_shell/test_motor_tab_completion.py | 1 + .../test_operational_cleanup_behavior.py | 1 + .../test_operational_multi_actor.py | 1 + .../test_operational_objective.py | 1 + .../test_operational_opsec_discipline.py | 1 + .../behave_shell/test_parse_and_bursts.py | 1 + tests/profiler/behave_shell/test_pin_smoke.py | 1 + .../test_prompt_line_detection.py | 1 + .../behave_shell/test_registry_coverage.py | 1 + .../test_temporal_escalation_pattern.py | 1 + .../test_temporal_exit_behavior.py | 1 + .../test_temporal_landing_ritual.py | 1 + .../test_temporal_session_duration.py | 1 + .../behave_shell/test_version_marker.py | 1 + .../behave_shell/test_worker_behave_drain.py | 1 + .../behave_shell/test_worker_behave_poll.py | 1 + tests/profiler/test_attacker_worker.py | 1 + tests/profiler/test_identity_rollup.py | 1 + tests/profiler/test_profiler_behavioral.py | 1 + tests/profiler/test_profiler_bus.py | 1 + tests/realism/__init__.py | 1 + tests/realism/llm/__init__.py | 1 + tests/realism/llm/test_config.py | 1 + tests/realism/test_bodies.py | 1 + tests/realism/test_bodies_llm.py | 1 + tests/realism/test_circuit_breaker.py | 1 + tests/realism/test_diurnal.py | 1 + tests/realism/test_edit.py | 1 + tests/realism/test_email_prompt.py | 1 + tests/realism/test_llm.py | 1 + tests/realism/test_naming.py | 1 + tests/realism/test_personas.py | 1 + tests/realism/test_personas_pool.py | 1 + tests/realism/test_planner.py | 1 + tests/realism/test_planner_config.py | 1 + tests/realism/test_synthetic_files_repo.py | 1 + .../test_synthetic_files_truncation.py | 1 + tests/realism/test_taxonomy.py | 1 + tests/rpki/__init__.py | 1 + tests/rpki/conftest.py | 1 + tests/rpki/test_cache.py | 1 + tests/rpki/test_profiler_integration.py | 1 + tests/rpki/test_provider.py | 1 + tests/rpki/test_validator.py | 1 + tests/service_testing/__init__.py | 1 + tests/service_testing/conftest.py | 1 + tests/service_testing/test_dns.py | 1 + tests/service_testing/test_imap.py | 1 + tests/service_testing/test_imap_spool.py | 1 + tests/service_testing/test_instance_seed.py | 1 + tests/service_testing/test_mongodb.py | 1 + tests/service_testing/test_mqtt.py | 1 + tests/service_testing/test_mqtt_fuzz.py | 1 + tests/service_testing/test_mssql.py | 1 + tests/service_testing/test_mysql.py | 1 + tests/service_testing/test_pop3.py | 1 + tests/service_testing/test_pop3_spool.py | 1 + tests/service_testing/test_postgres.py | 1 + tests/service_testing/test_rdp_basic.py | 1 + tests/service_testing/test_rdp_nla.py | 1 + tests/service_testing/test_redis.py | 1 + tests/service_testing/test_smb_server.py | 1 + tests/service_testing/test_smtp.py | 1 + tests/service_testing/test_snmp.py | 1 + tests/services/__init__.py | 1 + tests/services/test_caddyfile_render.py | 1 + tests/services/test_config_schema.py | 1 + tests/services/test_cred_emitters.py | 1 + tests/services/test_custom_service.py | 1 + tests/services/test_http_https_versions.py | 1 + tests/services/test_https_compose_h3_app.py | 1 + tests/services/test_mongodb_scram.py | 1 + tests/services/test_ntlmssp_parser.py | 1 + tests/services/test_service_isolation.py | 1 + tests/services/test_services.py | 1 + tests/services/test_smtp_relay.py | 1 + tests/services/test_smtp_targets.py | 1 + tests/services/test_ssh.py | 1 + tests/services/test_ssh_capture_emit.py | 1 + tests/services/test_ssh_stealth.py | 1 + tests/services/test_syslog_bridge_helpers.py | 1 + tests/sniffer/__init__.py | 1 + tests/sniffer/test_ipv6_leak.py | 1 + tests/sniffer/test_ja4h.py | 1 + tests/sniffer/test_ja4h_with_real_order.py | 1 + tests/sniffer/test_quic_initial.py | 1 + tests/sniffer/test_sniffer_bus.py | 1 + tests/sniffer/test_sniffer_ja3.py | 1 + tests/sniffer/test_sniffer_p0f.py | 1 + tests/sniffer/test_sniffer_retransmit.py | 1 + tests/sniffer/test_sniffer_seq_class.py | 1 + tests/sniffer/test_sniffer_tcp_fingerprint.py | 1 + tests/sniffer/test_sniffer_worker.py | 1 + tests/stress/__init__.py | 1 + tests/stress/conftest.py | 1 + tests/stress/locustfile.py | 1 + tests/stress/test_stress.py | 1 + tests/swarm/__init__.py | 1 + tests/swarm/test_agent_app.py | 1 + tests/swarm/test_agent_heartbeat.py | 1 + tests/swarm/test_agent_no_auto_restore.py | 1 + tests/swarm/test_agent_relocalize.py | 1 + tests/swarm/test_agent_topology_endpoints.py | 1 + tests/swarm/test_agent_topology_store.py | 1 + tests/swarm/test_cli_forwarder.py | 1 + tests/swarm/test_cli_swarm.py | 1 + tests/swarm/test_cli_swarm_update.py | 1 + tests/swarm/test_client_agent_roundtrip.py | 1 + tests/swarm/test_client_mutate.py | 1 + tests/swarm/test_client_topology.py | 1 + tests/swarm/test_forwarder_resilience.py | 1 + tests/swarm/test_heartbeat.py | 1 + tests/swarm/test_heartbeat_lifecycle.py | 1 + tests/swarm/test_heartbeat_topology_resync.py | 1 + tests/swarm/test_log_forwarder.py | 1 + tests/swarm/test_pki.py | 1 + tests/swarm/test_state_schema.py | 1 + tests/swarm/test_swarm_api.py | 1 + tests/swarm/test_tar_tree.py | 1 + tests/swarm/test_uvicorn_tls_scope.py | 1 + tests/telemetry/__init__.py | 1 + tests/telemetry/test_telemetry.py | 1 + tests/topology/__init__.py | 1 + tests/topology/test_allocator.py | 1 + tests/topology/test_compose.py | 1 + .../test_compose_project_isolation.py | 1 + tests/topology/test_concurrency.py | 1 + tests/topology/test_deploy.py | 1 + tests/topology/test_deploy_agent_branch.py | 1 + tests/topology/test_editing.py | 1 + tests/topology/test_generator.py | 1 + tests/topology/test_hashing.py | 1 + tests/topology/test_layout.py | 1 + tests/topology/test_mutator.py | 1 + tests/topology/test_persistence.py | 1 + tests/topology/test_reaper.py | 1 + tests/topology/test_repo.py | 1 + tests/topology/test_repository_protocol.py | 1 + tests/topology/test_resync_reconcile.py | 1 + tests/topology/test_service_config.py | 1 + tests/topology/test_status.py | 1 + tests/topology/test_validate.py | 1 + tests/ttp/__init__.py | 1 + tests/ttp/_stub_store.py | 1 + tests/ttp/conftest.py | 1 + tests/ttp/rule_precision/__init__.py | 1 + tests/ttp/rule_precision/_build_corpus.py | 1 + tests/ttp/rule_precision/conftest.py | 1 + .../rule_precision/test_behavioral_rules.py | 1 + tests/ttp/rule_precision/test_canary_rules.py | 1 + .../ttp/rule_precision/test_command_rules.py | 1 + tests/ttp/rule_precision/test_corpus_loads.py | 1 + tests/ttp/rule_precision/test_email_rules.py | 1 + tests/ttp/rule_precision/test_intel_rules.py | 1 + tests/ttp/store/__init__.py | 1 + tests/ttp/store/conftest.py | 1 + tests/ttp/store/test_conformance.py | 1 + tests/ttp/store/test_database.py | 1 + tests/ttp/store/test_filesystem.py | 1 + tests/ttp/test_attack_bundle_validation.py | 1 + tests/ttp/test_attack_catalog.py | 1 + tests/ttp/test_attack_license.py | 1 + tests/ttp/test_attack_url.py | 1 + tests/ttp/test_backfill.py | 1 + tests/ttp/test_base.py | 1 + tests/ttp/test_behavioral_lifter.py | 1 + tests/ttp/test_canary_fingerprint_lifter.py | 1 + tests/ttp/test_confidence.py | 1 + tests/ttp/test_credential_lifter.py | 1 + tests/ttp/test_decoupling.py | 1 + tests/ttp/test_email_lifter.py | 1 + tests/ttp/test_email_lifter_disk_reach.py | 1 + tests/ttp/test_emit_attaches_mitre_url.py | 1 + tests/ttp/test_evidence_shape.py | 1 + tests/ttp/test_factory.py | 1 + tests/ttp/test_groups_for_technique.py | 1 + tests/ttp/test_http_fingerprint_lifter.py | 1 + tests/ttp/test_idempotency.py | 1 + tests/ttp/test_identity_lifter.py | 1 + tests/ttp/test_intel_lifter.py | 1 + tests/ttp/test_intel_mappings.py | 1 + tests/ttp/test_lifter_absence.py | 1 + tests/ttp/test_lifters.py | 1 + tests/ttp/test_multi_mapping.py | 1 + tests/ttp/test_rule_engine.py | 1 + tests/ttp/test_rule_engine_tagger.py | 1 + tests/ttp/test_rule_index.py | 1 + tests/ttp/test_schema.py | 1 + tests/ttp/test_stix_custom.py | 1 + ...est_stix_export_threat_actor_extensions.py | 1 + tests/ttp/test_tracing.py | 1 + tests/ttp/test_worker.py | 1 + tests/ttp/test_worker_bus.py | 1 + tests/ttp/test_worker_command_fanout.py | 1 + tests/ttp/test_worker_resolve_attacker.py | 1 + tests/ttp/test_worker_watch_loop.py | 1 + tests/updater/__init__.py | 1 + tests/updater/test_updater_app.py | 1 + tests/updater/test_updater_executor.py | 1 + tests/vectorstore/__init__.py | 1 + tests/vectorstore/test_factory.py | 1 + tests/vectorstore/test_fake.py | 1 + tests/web/__init__.py | 1 + tests/web/db/__init__.py | 1 + tests/web/db/conftest.py | 1 + tests/web/db/test_secrets.py | 1 + tests/web/db/test_ttp_repo.py | 1 + tests/web/services/__init__.py | 1 + tests/web/services/test_systemd_control.py | 1 + tests/web/test_admin_seed.py | 1 + tests/web/test_api_attacker_intel.py | 1 + tests/web/test_api_attackers.py | 1 + tests/web/test_api_campaigns.py | 1 + tests/web/test_api_export_attacker_misp.py | 1 + tests/web/test_api_export_attacker_stix.py | 1 + tests/web/test_api_export_attackers_misp.py | 1 + tests/web/test_api_export_attackers_stix.py | 1 + tests/web/test_api_identities.py | 1 + tests/web/test_api_llm.py | 1 + tests/web/test_api_startup_guards.py | 1 + .../web/test_attackers_fingerprint_columns.py | 1 + tests/web/test_attackers_ipv6_leak.py | 1 + tests/web/test_auth_async.py | 1 + tests/web/test_env_lazy_jwt.py | 1 + tests/web/test_health_config_cache.py | 1 + tests/web/test_ingester.py | 1 + tests/web/test_ingester_bus.py | 1 + .../test_ingester_http_fingerprint_compat.py | 1 + tests/web/test_ingester_http_quirks.py | 1 + tests/web/test_ingester_mal_hash.py | 1 + tests/web/test_ingester_ua_classify.py | 1 + tests/web/test_ingester_xff.py | 1 + tests/web/test_observed_attachments_repo.py | 1 + tests/web/test_router_cache.py | 1 + tests/web/test_validate_public_binding.py | 1 + tests/web/test_web_api.py | 1 + tests/webhook/__init__.py | 1 + tests/webhook/conftest.py | 1 + tests/webhook/test_client.py | 1 + tests/webhook/test_enums.py | 1 + tests/webhook/test_worker.py | 1 + tools/add_spdx_headers.py | 169 ++++++++++++++++++ 1563 files changed, 1810 insertions(+), 77 deletions(-) create mode 100644 COPYRIGHT create mode 100644 tools/add_spdx_headers.py diff --git a/COPYRIGHT b/COPYRIGHT new file mode 100644 index 00000000..0d770e15 --- /dev/null +++ b/COPYRIGHT @@ -0,0 +1,17 @@ +DECNET - Deception Network +Copyright (C) 2026 Samuel Paschuan + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as +published by the Free Software Foundation, either version 3 of the +License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public +License along with this program. If not, see . + +SPDX-License-Identifier: AGPL-3.0-or-later diff --git a/LICENSE b/LICENSE index f288702d..be3f7b28 100644 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,5 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 + GNU AFFERO GENERAL PUBLIC LICENSE + Version 3, 19 November 2007 Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies @@ -7,17 +7,15 @@ Preamble - The GNU General Public License is a free, copyleft license for -software and other kinds of works. + The GNU Affero General Public License is a free, copyleft license for +software and other kinds of works, specifically designed to ensure +cooperation with the community in the case of network server software. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to +our General Public Licenses are intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. +software for all its users. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you @@ -26,44 +24,34 @@ them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. + Developers that use our General Public Licenses protect your rights +with two steps: (1) assert copyright on the software, and (2) offer +you this License which gives you legal permission to copy, distribute +and/or modify the software. - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. + A secondary benefit of defending all users' freedom is that +improvements made in alternate versions of the program, if they +receive widespread use, become available for other developers to +incorporate. Many developers of free software are heartened and +encouraged by the resulting cooperation. However, in the case of +software used on network servers, this result may fail to come about. +The GNU General Public License permits making a modified version and +letting the public access it on a server without ever releasing its +source code to the public. - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. + The GNU Affero General Public License is designed specifically to +ensure that, in such cases, the modified source code becomes available +to the community. It requires the operator of a network server to +provide the source code of the modified version running there to the +users of that server. Therefore, public use of a modified version, on +a publicly accessible server, gives the public access to the source +code of the modified version. - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. + An older license, called the Affero General Public License and +published by Affero, was designed to accomplish similar goals. This is +a different license, not a version of the Affero GPL, but Affero has +released a new version of the Affero GPL which permits relicensing under +this license. The precise terms and conditions for copying, distribution and modification follow. @@ -72,7 +60,7 @@ modification follow. 0. Definitions. - "This License" refers to version 3 of the GNU General Public License. + "This License" refers to version 3 of the GNU Affero General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. @@ -549,35 +537,45 @@ to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. - 13. Use with the GNU Affero General Public License. + 13. Remote Network Interaction; Use with the GNU General Public License. + + Notwithstanding any other provision of this License, if you modify the +Program, your modified version must prominently offer all users +interacting with it remotely through a computer network (if your version +supports such interaction) an opportunity to receive the Corresponding +Source of your version by providing access to the Corresponding Source +from a network server at no charge, through some standard or customary +means of facilitating copying of software. This Corresponding Source +shall include the Corresponding Source for any work covered by version 3 +of the GNU General Public License that is incorporated pursuant to the +following paragraph. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single +under version 3 of the GNU General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. +but the work with which it is combined will remain governed by version +3 of the GNU General Public License. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to +the GNU Affero General Public License from time to time. Such new versions +will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General +Program specifies that a certain numbered version of the GNU Affero General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published +GNU Affero General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's +versions of the GNU Affero General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. @@ -635,40 +633,29 @@ the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by + it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. + GNU Affero General Public License for more details. - You should have received a copy of the GNU General Public License + You should have received a copy of the GNU Affero General Public License along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - Copyright (C) - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". + If your software can interact with users remotely through a computer +network, you should also make sure that it provides a way for users to +get its source. For example, if your program is a web application, its +interface could display a "Source" link that leads users to an archive +of the code. There are many ways you could offer source, and different +solutions will be better for different programs; see section 13 for the +specific requirements. You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see +For more information on this, and how to apply and follow the GNU AGPL, see . - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -. diff --git a/decnet/__init__.py b/decnet/__init__.py index 999a57b7..a6030a27 100644 --- a/decnet/__init__.py +++ b/decnet/__init__.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later """DECNET — honeypot deception-network framework. This __init__ runs once, on the first `import decnet.*`. It seeds diff --git a/decnet/agent/__init__.py b/decnet/agent/__init__.py index 6d65c0f4..85e59e18 100644 --- a/decnet/agent/__init__.py +++ b/decnet/agent/__init__.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later """DECNET worker agent — runs on every SWARM worker host. Exposes an mTLS-protected FastAPI service the master's SWARM controller diff --git a/decnet/agent/app.py b/decnet/agent/app.py index 9af23ba3..fd0c3184 100644 --- a/decnet/agent/app.py +++ b/decnet/agent/app.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later """Worker-side FastAPI app. Protected by mTLS at the ASGI/uvicorn transport layer: uvicorn is started diff --git a/decnet/agent/executor.py b/decnet/agent/executor.py index 32b5221c..2e3a9796 100644 --- a/decnet/agent/executor.py +++ b/decnet/agent/executor.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later """Thin adapter between the agent's HTTP endpoints and the existing ``decnet.engine.deployer`` code path. diff --git a/decnet/agent/heartbeat.py b/decnet/agent/heartbeat.py index dbd731f8..6603d19f 100644 --- a/decnet/agent/heartbeat.py +++ b/decnet/agent/heartbeat.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later """Agent → master liveness heartbeat loop. Every ``INTERVAL_S`` seconds the worker posts ``executor.status()`` to diff --git a/decnet/agent/server.py b/decnet/agent/server.py index 663bc353..acadfcfd 100644 --- a/decnet/agent/server.py +++ b/decnet/agent/server.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later """Worker-agent uvicorn launcher. Starts ``decnet.agent.app:app`` over HTTPS with mTLS enforcement. The diff --git a/decnet/agent/topology_ops.py b/decnet/agent/topology_ops.py index f83c6ddd..933acfce 100644 --- a/decnet/agent/topology_ops.py +++ b/decnet/agent/topology_ops.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later """Agent-side topology apply/teardown/state primitives. Wraps the compose + bridge machinery from :mod:`decnet.engine.deployer` diff --git a/decnet/agent/topology_store.py b/decnet/agent/topology_store.py index 86427597..916d3b22 100644 --- a/decnet/agent/topology_store.py +++ b/decnet/agent/topology_store.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later """Agent-side sqlite cache of the currently-applied topology. **This is a cache, not a source of truth.** The master is the only diff --git a/decnet/archetypes.py b/decnet/archetypes.py index 00f9c41d..2ccc6830 100644 --- a/decnet/archetypes.py +++ b/decnet/archetypes.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later """ Machine archetype profiles for DECNET deckies. diff --git a/decnet/asn/__init__.py b/decnet/asn/__init__.py index 32385609..4dcd5fcc 100644 --- a/decnet/asn/__init__.py +++ b/decnet/asn/__init__.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later """ IP-to-ASN enrichment — maps attacker IPs to BGP-announced AS numbers and org names for attacker intelligence. diff --git a/decnet/asn/base.py b/decnet/asn/base.py index 418d6529..8cbc14e3 100644 --- a/decnet/asn/base.py +++ b/decnet/asn/base.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later """ASN provider protocol — mirror of :mod:`decnet.geoip.base`. Concrete providers (e.g. :mod:`decnet.asn.iptoasn`) implement this. diff --git a/decnet/asn/factory.py b/decnet/asn/factory.py index c1a63f8f..eb156b49 100644 --- a/decnet/asn/factory.py +++ b/decnet/asn/factory.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later """ASN provider factory — mirror of :mod:`decnet.geoip.factory`. Dispatch key: ``DECNET_ASN_PROVIDER`` (default ``iptoasn``). Lazy diff --git a/decnet/asn/iptoasn/__init__.py b/decnet/asn/iptoasn/__init__.py index 081f216b..163b5596 100644 --- a/decnet/asn/iptoasn/__init__.py +++ b/decnet/asn/iptoasn/__init__.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later """iptoasn.com IP→ASN provider. Daily-refreshed gzipped TSV dump of the global BGP table, derived from diff --git a/decnet/asn/iptoasn/fetch.py b/decnet/asn/iptoasn/fetch.py index c087da22..b4e05ace 100644 --- a/decnet/asn/iptoasn/fetch.py +++ b/decnet/asn/iptoasn/fetch.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later """iptoasn.com bulk dump download. One file: ``ip2asn-v4.tsv.gz``, ~5 MB compressed, refreshed daily. diff --git a/decnet/asn/iptoasn/parse.py b/decnet/asn/iptoasn/parse.py index 47db413d..468ab0ed 100644 --- a/decnet/asn/iptoasn/parse.py +++ b/decnet/asn/iptoasn/parse.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later """Parser for the iptoasn.com ``ip2asn-v4.tsv`` dump. Line shape (gzipped, one row per BGP-announced prefix):: diff --git a/decnet/asn/iptoasn/provider.py b/decnet/asn/iptoasn/provider.py index 024c83a3..f2323ea0 100644 --- a/decnet/asn/iptoasn/provider.py +++ b/decnet/asn/iptoasn/provider.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later """iptoasn provider — orchestrates fetch + parse into an :class:`AsnLookup`. Mirrors :class:`decnet.geoip.rir.provider.RirProvider` exactly: fetch, diff --git a/decnet/asn/lookup.py b/decnet/asn/lookup.py index fdf5087d..a43a6f59 100644 --- a/decnet/asn/lookup.py +++ b/decnet/asn/lookup.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later """Provider-agnostic IP→ASN lookup. A :class:`AsnLookup` is a frozen, sorted array of ``(start_ip, diff --git a/decnet/asn/paths.py b/decnet/asn/paths.py index b78c665d..79ffa730 100644 --- a/decnet/asn/paths.py +++ b/decnet/asn/paths.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later """Filesystem layout for ASN data — mirror of :mod:`decnet.geoip.paths`. ``ASN_ROOT`` is where providers drop their raw files and cache indexes. diff --git a/decnet/bus/__init__.py b/decnet/bus/__init__.py index 1fc4d87f..3dd4e19f 100644 --- a/decnet/bus/__init__.py +++ b/decnet/bus/__init__.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later """DECNET ServiceBus — pub/sub notification substrate. The bus is the notification layer for DECNET's worker constellation. The DB diff --git a/decnet/bus/app.py b/decnet/bus/app.py index 129bf3c6..1bd533d8 100644 --- a/decnet/bus/app.py +++ b/decnet/bus/app.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later """Process-wide bus singleton for request-serving workers (API, SSE routes). A single connected :class:`~decnet.bus.base.BaseBus` shared across request diff --git a/decnet/bus/base.py b/decnet/bus/base.py index 8edd1724..8158a271 100644 --- a/decnet/bus/base.py +++ b/decnet/bus/base.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later """Bus abstractions: the :class:`Event` envelope and the :class:`BaseBus` ABC. Every transport (NATS, in-process fake, null) speaks this contract. The diff --git a/decnet/bus/factory.py b/decnet/bus/factory.py index 6743da1c..45c3745f 100644 --- a/decnet/bus/factory.py +++ b/decnet/bus/factory.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later """Bus factory — selects a :class:`~decnet.bus.base.BaseBus` implementation. Dispatch key: the ``DECNET_BUS_TYPE`` environment variable. diff --git a/decnet/bus/fake.py b/decnet/bus/fake.py index 9f6a26a9..c12d5ef9 100644 --- a/decnet/bus/fake.py +++ b/decnet/bus/fake.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later """In-process bus transports. * :class:`FakeBus` — real pub/sub semantics without touching a socket. Used diff --git a/decnet/bus/protocol.py b/decnet/bus/protocol.py index a0f2f2eb..2ff6e68c 100644 --- a/decnet/bus/protocol.py +++ b/decnet/bus/protocol.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later """Wire protocol for the DECNET bus UNIX-socket transport. Frame layout: diff --git a/decnet/bus/publish.py b/decnet/bus/publish.py index b1b5a362..8bc96763 100644 --- a/decnet/bus/publish.py +++ b/decnet/bus/publish.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later """Fire-and-forget publish helpers shared across every worker. Lifted out of ``decnet/mutator/engine.py`` once a second caller showed up diff --git a/decnet/bus/topics.py b/decnet/bus/topics.py index 6fdfa03b..3163b614 100644 --- a/decnet/bus/topics.py +++ b/decnet/bus/topics.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later """Canonical topic hierarchy for the DECNET ServiceBus. Locked early so consumers can subscribe with stable wildcard patterns. diff --git a/decnet/bus/unix_client.py b/decnet/bus/unix_client.py index 226b296a..e8d9fd79 100644 --- a/decnet/bus/unix_client.py +++ b/decnet/bus/unix_client.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later """UNIX-socket client — :class:`UnixSocketBus` implementation of :class:`BaseBus`. Holds one open socket to the local :class:`~decnet.bus.unix_server.BusServer`. diff --git a/decnet/bus/unix_server.py b/decnet/bus/unix_server.py index 502a8dcf..d01cad25 100644 --- a/decnet/bus/unix_server.py +++ b/decnet/bus/unix_server.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later """UNIX-socket server for the DECNET bus. One :class:`BusServer` per host. Accepts local connections on a UNIX-domain diff --git a/decnet/bus/worker.py b/decnet/bus/worker.py index bbefaf65..4cc3b61f 100644 --- a/decnet/bus/worker.py +++ b/decnet/bus/worker.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later """``decnet bus`` worker entrypoint. Starts a :class:`~decnet.bus.unix_server.BusServer` on the configured UNIX diff --git a/decnet/canary/__init__.py b/decnet/canary/__init__.py index 8a250514..916befbb 100644 --- a/decnet/canary/__init__.py +++ b/decnet/canary/__init__.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later """Canary tokens — decoy artifacts planted in decky filesystems. Public surface is exported here so callers can ``from decnet.canary diff --git a/decnet/canary/_obfuscate_helper.js b/decnet/canary/_obfuscate_helper.js index a1dbc067..19786cd4 100644 --- a/decnet/canary/_obfuscate_helper.js +++ b/decnet/canary/_obfuscate_helper.js @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-or-later // Node helper invoked by decnet.canary.obfuscator. // Reads {code, options} JSON from stdin, writes obfuscated JS to stdout. // Kept dependency-light on purpose: only javascript-obfuscator. diff --git a/decnet/canary/base.py b/decnet/canary/base.py index d9e05552..a3789714 100644 --- a/decnet/canary/base.py +++ b/decnet/canary/base.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later """Canary generator / instrumenter ABCs and the artifact dataclass. Two flavors of producer share the same return shape: diff --git a/decnet/canary/cultivator.py b/decnet/canary/cultivator.py index a71d2290..67ab48de 100644 --- a/decnet/canary/cultivator.py +++ b/decnet/canary/cultivator.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later """Realism contract adapter for canary generators. Stage 7 of the realism migration. The orchestrator's planner picks a diff --git a/decnet/canary/dns_server.py b/decnet/canary/dns_server.py index 26c52e31..0a26add4 100644 --- a/decnet/canary/dns_server.py +++ b/decnet/canary/dns_server.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later """Minimal authoritative DNS server for canary tokens (stdlib only). We don't need a full resolver — only enough to: diff --git a/decnet/canary/factory.py b/decnet/canary/factory.py index 149327a6..38ad1b87 100644 --- a/decnet/canary/factory.py +++ b/decnet/canary/factory.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later """Generator and instrumenter factories. Same lazy-import pattern as :mod:`decnet.intel.factory` — concrete diff --git a/decnet/canary/fingerprint_payload.js b/decnet/canary/fingerprint_payload.js index 3c15aa95..c5e1ed60 100644 --- a/decnet/canary/fingerprint_payload.js +++ b/decnet/canary/fingerprint_payload.js @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-or-later // Canary fingerprint payload — the JS that runs inside an opened HTML/SVG // canary, harvests browser primitives, and beacons the result back to the // canary worker. Ported from canary-self-test.html with the rendering UI diff --git a/decnet/canary/generators/__init__.py b/decnet/canary/generators/__init__.py index cb06c181..d42c0b34 100644 --- a/decnet/canary/generators/__init__.py +++ b/decnet/canary/generators/__init__.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later """Built-in canary generators (synthesised fake artifacts). Concrete classes live in sibling modules and are imported lazily by diff --git a/decnet/canary/generators/aws_creds.py b/decnet/canary/generators/aws_creds.py index f02c201d..9508f128 100644 --- a/decnet/canary/generators/aws_creds.py +++ b/decnet/canary/generators/aws_creds.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later """Fake ``~/.aws/credentials`` block (passive bait). This is the **passive** variant — no callback wiring. An attacker diff --git a/decnet/canary/generators/env_file.py b/decnet/canary/generators/env_file.py index 979b1dfd..32226d81 100644 --- a/decnet/canary/generators/env_file.py +++ b/decnet/canary/generators/env_file.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later """Fake ``.env`` with embedded callback URLs. Modern web stacks read environment variables for everything from diff --git a/decnet/canary/generators/fingerprint_html.py b/decnet/canary/generators/fingerprint_html.py index 122264cf..c240b080 100644 --- a/decnet/canary/generators/fingerprint_html.py +++ b/decnet/canary/generators/fingerprint_html.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later """HTML fingerprint canary — plausible-looking page with an obfuscated browser-fingerprinting payload inlined at the bottom of ````. diff --git a/decnet/canary/generators/fingerprint_svg.py b/decnet/canary/generators/fingerprint_svg.py index 78fda748..3dfdcf68 100644 --- a/decnet/canary/generators/fingerprint_svg.py +++ b/decnet/canary/generators/fingerprint_svg.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later """SVG fingerprint canary — standalone SVG with an embedded ``