Agent GOTCHAS - grisuno/LazyOwn GitHub Wiki
Gotchas
God Nodes (high connectivity)
These files have the most connections. Changes here have high blast radius.
core/logging.py(score: 267.20, imported by 133 files)utils.py(score: 216.40, imported by 90 files)skills/lazyown_mcp.py(score: 194.20, imported by 8 files)cli/commands/_base.py(score: 184.70, imported by 90 files)modules/lazy_loop.py(score: 175.60, imported by 44 files)lazyc2.py(score: 126.80)lazyown.py(score: 118.90, imported by 9 files)core/config.py(score: 103.80, imported by 49 files)core/console.py(score: 103.10, imported by 51 files)skills/autonomous_daemon.py(score: 101.00, imported by 15 files)
Blast Radius (change impact)
Editing these files can break the listed number of dependents. Run their tests after any change.
core/logging.py-- 50 direct, 133 total dependentsmodules/backdoor/server.c-- 12 direct, 108 total dependentsskills/claude_md_orchestrator/models.py-- 11 direct, 106 total dependentsskills/claude_md_orchestrator/config.py-- 10 direct, 104 total dependentscore/safe_subprocess.py-- 6 direct, 102 total dependentscli/banner_config.py-- 6 direct, 101 total dependentscore/parsers.py-- 9 direct, 101 total dependentscore/validators.py-- 12 direct, 99 total dependentscore/dependencies.py-- 3 direct, 95 total dependentsmodules/lazyencoder_decoder.py-- 5 direct, 95 total dependents
Hotspots (complexity + centrality)
static/js/html2pdf.bundle.min.js-- complexity: 1.0, centrality: 0.6, combined: 0.8static/js/3d-force-graph-1.73.4.min.js-- complexity: 0.2, centrality: 1.0, combined: 0.7skills/mcp_generated_tools.py-- complexity: 0.9, centrality: 0.0, combined: 0.3static/js/vis-network-9.1.2.min.js-- complexity: 0.2, centrality: 0.4, combined: 0.3static/js/vis-network.min.js-- complexity: 0.2, centrality: 0.4, combined: 0.3static/js/xterm.js-- complexity: 0.1, centrality: 0.5, combined: 0.3static/js/quill-2.0.3.js-- complexity: 0.2, centrality: 0.4, combined: 0.3modules/lazy_loop.py-- complexity: 0.6, centrality: 0.0, combined: 0.3static/js/chart.min.js-- complexity: 0.1, centrality: 0.3, combined: 0.3lazyc2.py-- complexity: 0.4, centrality: 0.0, combined: 0.2
Dependency Cycles
Circular dependencies. Refactor to break the cycle.
modules/atomic_exploit_bridge.py->modules/lazy_intel.py->modules/lazy_loop.py->modules/loop_ai_bridge.py->skills/hive_mind.py->skills/lazyown_groq_agents.py->skills/lazyown_mcp.py->modules/autonomous_exploit_engine.py->modules/atomic_exploit_bridge.pymodules/atomic_exploit_bridge.py->modules/lazy_intel.py->modules/lazy_loop.py->modules/loop_ai_bridge.py->skills/hive_mind.py->skills/lazyown_groq_agents.py->skills/lazyown_mcp.py->modules/autonomous_exploit_engine.py->modules/atomic_exploit_bridge.pymodules/atomic_exploit_bridge.py->modules/lazy_intel.py->modules/lazy_loop.py->modules/loop_ai_bridge.py->skills/hive_mind.py->skills/lazyown_groq_agents.py->skills/lazyown_mcp.py->modules/autonomous_exploit_engine.py->modules/atomic_exploit_bridge.pymodules/atomic_exploit_bridge.py->modules/lazy_intel.py->modules/lazy_loop.py->modules/loop_ai_bridge.py->skills/hive_mind.py->skills/lazyown_groq_agents.py->skills/lazyown_mcp.py->modules/autonomous_exploit_engine.py->modules/atomic_exploit_bridge.pymodules/atomic_exploit_bridge.py->modules/lazy_intel.py->modules/lazy_loop.py->modules/loop_ai_bridge.py->skills/hive_mind.py->skills/lazyown_groq_agents.py->skills/lazyown_mcp.py->modules/atomic_exploit_bridge.pymodules/atomic_exploit_bridge.py->modules/lazy_intel.py->modules/lazy_loop.py->modules/loop_ai_bridge.py->skills/hive_mind.py->skills/lazyown_groq_agents.py->skills/lazyown_mcp.py->modules/atomic_exploit_bridge.pymodules/lazy_loop.py->modules/loop_ai_bridge.py->skills/hive_mind.py->skills/lazyown_groq_agents.py->skills/lazyown_mcp.py->modules/lazy_engine.py->modules/lazy_loop.pymodules/lazy_loop.py->modules/loop_ai_bridge.py->skills/hive_mind.py->skills/lazyown_groq_agents.py->skills/lazyown_mcp.py->modules/lazy_mentions.py->modules/lazy_loop.pymodules/lazy_loop.py->modules/loop_ai_bridge.py->skills/hive_mind.py->skills/lazyown_groq_agents.py->skills/lazyown_mcp.py->modules/lazy_mentions.py->modules/lazy_loop.pymodules/lazy_loop.py->modules/loop_ai_bridge.py->skills/hive_mind.py->skills/lazyown_groq_agents.py->skills/lazyown_mcp.py->modules/lazy_mentions.py->modules/lazy_loop.py
Layer Violations
lazyc2/blueprints/operations.py(presentation) ->lazyc2/extensions/storage.py(data_access): presentation must not import data_accesstests/integration_autonomous_flow.py(testing) ->modules/moe_router.py(presentation): testing must not import presentationtests/test_addon_creator.py(testing) ->lazyc2/blueprints/addons.py(presentation): testing must not import presentationtests/test_api_authz.py(testing) ->core/api_authz.py(presentation): testing must not import presentationtests/test_api_authz.py(testing) ->core/api_authz.py(presentation): testing must not import presentationtests/test_api_authz.py(testing) ->core/api_authz.py(presentation): testing must not import presentationtests/test_api_authz.py(testing) ->core/api_authz.py(presentation): testing must not import presentationtests/test_api_authz.py(testing) ->core/api_authz.py(presentation): testing must not import presentationtests/test_api_authz.py(testing) ->core/api_authz.py(presentation): testing must not import presentationtests/test_api_authz.py(testing) ->core/api_authz.py(presentation): testing must not import presentation
Dataflow Issues (INFERRED, review each lead)
banner.py:29image_to_bash[UNCHECKED_ALLOC]img: Result of allocator stored inimgis never checked against NULL.cli/auto_crypto.py:272_load_or_create_salt[UNCHECKED_ALLOC]fd: Result of allocator stored infdis never checked against NULL.cli/commands/dns_exfil.py:117do_dns_exfil_listen[UNCHECKED_ALLOC]sock: Result of allocator stored insockis never checked against NULL.cli/commands/evasive_payload.py:648_apply_bypass[UNCHECKED_ALLOC]s: Result of allocator stored insis never checked against NULL.cli/commands/exfiltration.py:1382do_exfil_dns[UNCHECKED_ALLOC]data: Result of allocator stored indatais never checked against NULL.cli/commands/exfiltration.py:1449do_exfil_http[UNCHECKED_ALLOC]file_hash: Result of allocator stored infile_hashis never checked against NULL.cli/commands/exfiltration.py:1578do_stage[UNCHECKED_ALLOC]data: Result of allocator stored indatais never checked against NULL.cli/commands/misc_migrated.py:333do_suggest_next[UNCHECKED_ALLOC]_idx: Result of allocator stored in_idxis never checked against NULL.cli/commands/persist_migrated.py:1240do_knokknok[UNCHECKED_ALLOC]client_socket: Result of allocator stored inclient_socketis never checked against NULL.cli/commands/postexp_migrated.py:2599do_aes_pe[UNCHECKED_ALLOC]file: Result of allocator stored infileis never checked against NULL.