Repository navigation
community_4_modules_chain_runner
grisun0 edited this page Oct 31, 2026
·
1 revision
Community 4 | 81 files | cohesion 0.50
This community groups 81 file(s) rooted at tests with dominant language py (cohesion 0.50). Central symbols: AptPlaybook, AptPlaybookEngine, AtomicResolver, AtomicTest, AtomicTestRef, BackendSelection, Broken, C2Approver. Core file: tests/test_security_hardening_v4.py (67 symbols). Documented purpose: Parsing, printing and replanning support for the apt_chain CLI. Keeps cli.commands.command_and_control_migrated thin: argument parsing, step selection,.
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
tests/test_apt_chain_admin.py |
py | testing | 22 | yes |
tests/test_apt_chain_integration.py |
py | testing | 6 | yes |
tests/test_atomic_exploit_bridge.py |
py | testing | 38 | yes |
tests/test_atomic_loop.py |
py | testing | 17 | yes |
tests/test_atomic_resolver.py |
py | testing | 9 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
modules/ad_gym.py |
py | utility | 10 | yes |
modules/apt_playbooks.py |
py | utility | 15 | yes |
modules/atomic_cli.py |
py | utility | 11 | yes |
modules/atomic_exploit_bridge.py |
py | utility | 39 | yes |
modules/atomic_resolver.py |
py | utility | 27 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
modules/sinks/__init__.py |
py | utility | 0 | yes |
modules/sinks/attack_graph.py |
py | utility | 1 | yes |
modules/sinks/beacon_dispatch.py |
py | utility | 3 | yes |
modules/sinks/c2_surfaces.py |
py | utility | 1 | yes |
modules/sinks/intel_graph.py |
py | utility | 1 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
cli/apt_chain_support.py |
py | utility | 17 | yes |
cli/retry_support.py |
py | utility | 10 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
cli/commands/command_and_control_migrated.py |
py | utility | 34 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
contrib/legacy/lazydeepseekcli.py |
py | presentation | 16 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
core/safe_exec.py |
py | utility | 14 | yes |
... and 61 more files in this community.
-
_token_name_ok(function,cli/apt_chain_support.py:45)def _token_name_ok(name)- True when a name matches the chain token grammar. -
ChainArgs(class,cli/apt_chain_support.py:51)class ChainArgs- Parsedapt_chaininvocation. -
parse_chain_args(function,cli/apt_chain_support.py:75)def parse_chain_args(line)- Parse oneapt_chaincommand line into structured args. -
_set_value(function,cli/apt_chain_support.py:144)def _set_value(args, flag, value)- Assign one valued option onto the args struct. -
resolve_admin(function,cli/apt_chain_support.py:172)def resolve_admin(args)- Execute an admin action against the registry and checkpoint store. -
select_step_ids(function,cli/apt_chain_support.py:291)def select_step_ids(chain, args)- Resolve --step/--from-step/--to-step into one id set. -
adversarial_continue(function,cli/apt_chain_support.py:323)def adversarial_continue(chain)- Return a copy of the chain where every step continues on error. -
render_result(function,cli/apt_chain_support.py:331)def render_result(result)- Render one chain result as operator lines (JSON mode prints dict). -
build_cli_approver(function,cli/apt_chain_support.py:364)def build_cli_approver(printer, input_fn)- Return an approver baked for interactive operators. -
approve(function,cli/apt_chain_support.py:372)def approve(step_id, command) -
build_reactive_replanner(function,cli/apt_chain_support.py:386)def build_reactive_replanner()- Return a replanner driven bymodules.reactive_engine. -
replan(function,cli/apt_chain_support.py:389)def replan(context) -
_decision_command(function,cli/apt_chain_support.py:411)def _decision_command(decision)- Extract one actionable command from a reactive decision. -
_step_from_decision(function,cli/apt_chain_support.py:420)def _step_from_decision(command, outcome, executed_count)- Build one safe replan step from a suggested command. -
_recent_changes_block(function,cli/apt_chain_support.py:442)def _recent_changes_block(target)- Recent world changes on the target for one LLM recovery prompt. -
build_llm_recovery_chain(function,cli/apt_chain_support.py:470)def build_llm_recovery_chain(result, target, task_id)- Ask the LLM pool for a temporary recovery chain after a failed run. -
_platform(function,cli/apt_chain_support.py:544)def _platform()- Guess the loop platform from the payload configuration. -
select_agent_flavour(function,cli/commands/command_and_control_migrated.py:43)def select_agent_flavour(run_tests, platform)- Pick the agent script extension from the tests of the current run. -
CommandAndControlMigratedCommandSet(class,cli/commands/command_and_control_migrated.py:66)class CommandAndControlMigratedCommandSet(LazyOwnCommandSet) -
do_msf(method,cli/commands/command_and_control_migrated.py:71)def do_msf(self, line)- Automates various Metasploit tasks including scanning for vulnerabilities, setting up reverse shells -
do_c2(method,cli/commands/command_and_control_migrated.py:421)def do_c2(self, line)- Handle C2 server setup and agent compilation. -
do_listener(method,cli/commands/command_and_control_migrated.py:543)def do_listener(self, line)- Manage C2 listeners: list, add, start, stop, remove. -
_api(function,cli/commands/command_and_control_migrated.py:570)def _api(method, endpoint, payload) -
do_sandbox(method,cli/commands/command_and_control_migrated.py:671)def do_sandbox(self, line)- Toggle or query Docker sandbox mode. -
do_msfrpc(method,cli/commands/command_and_control_migrated.py:713)def do_msfrpc(self, line)- Connects to the msfrpcd daemon and allows remote control of Metasploit. -
do_sliver_server(method,cli/commands/command_and_control_migrated.py:737)def do_sliver_server(self, line)- Starts the Sliver server and generates a client configuration file for connecting clients. -
do_empire(method,cli/commands/command_and_control_migrated.py:854)def do_empire(self, line)- Generates payloads using PowerShell Empire with various options. -
do_automsf(method,cli/commands/command_and_control_migrated.py:904)def do_automsf(self, line)- Try to check if Vulnerable using the module passed by argument of lazyown example automsf exploit/wi -
do_iis_webdav_upload_asp(method,cli/commands/command_and_control_migrated.py:949)def do_iis_webdav_upload_asp(self, line)- (CVE-2017-7269). Vulnerable using the module iis_webdav_upload_asp of metasploit -
do_duckyspark(method,cli/commands/command_and_control_migrated.py:984)def do_duckyspark(self, line)- duckyspark Compiles and uploads an .ino sketch to a Digispark device using Arduino CLI and Micronucl
- Internal resolved imports (EXTRACTED): 284
- Cross-boundary resolved imports (EXTRACTED): 225
- [EXTRACTED] depends_on community 4 <-> 0 (strength 0.9): Extracted import edge crosses communities: cli/apt_chain_support.py imports modules/mediation/init.py.
- [EXTRACTED] depends_on community 4 <-> 2 (strength 0.9): Extracted import edge crosses communities: cli/apt_chain_support.py imports modules/reactive_engine.py.
- [EXTRACTED] depends_on community 4 <-> 17 (strength 0.9): Extracted import edge crosses communities: cli/apt_chain_support.py imports modules/guardrails/init.py.
- [EXTRACTED] depends_on community 1 <-> 4 (strength 0.9): Extracted import edge crosses communities: cli/banner_config.py imports core/safe_exec.py.
- [EXTRACTED] depends_on community 4 <-> 7 (strength 0.9): Extracted import edge crosses communities: cli/commands/command_and_control_migrated.py imports cli/assign.py.
- [EXTRACTED] depends_on community 4 <-> 3 (strength 0.9): Extracted import edge crosses communities: cli/commands/command_and_control_migrated.py imports cli/aliases.py.
- [taint high]
cli/banner_config.py->core/safe_exec.pyviasubprocess(1 hops) - [cycle]
core/config.py->core/payload_schema.py->modules/llm_factory.py->modules/llm_orchestrator.py->modules/lazy_engine.py->modules/lazy_loop.py->modules/loop_triggers.py->modules/trigger_policy.py->modules/orchestrator_config.py->modules/auto_registry.py->modules/lazy_orchestrator_feedback.py->modules/lazy_intel.py->modules/mediation/__init__.py->modules/mediation/contracts.py->modules/mediation/hub.py->modules/mediation/telemetry_mediator.py->modules/loop_ai_bridge.py->skills/hive_mind.py->skills/lazyown_groq_agents.py->skills/lazyown_mcp.py->skills/autonomous_daemon.py->modules/planner.py->modules/playbook_engine.py->modules/emulation_runner.py->modules/atomic_exploit_bridge.py->core/config.py - [cycle]
modules/lazy_loop.py->modules/loop_triggers.py->modules/trigger_policy.py->modules/orchestrator_config.py->modules/auto_registry.py->modules/lazy_orchestrator_feedback.py->modules/lazy_intel.py->modules/mediation/__init__.py->modules/mediation/contracts.py->modules/mediation/hub.py->modules/mediation/telemetry_mediator.py->modules/loop_ai_bridge.py->skills/hive_mind.py->skills/lazyown_groq_agents.py->skills/lazyown_mcp.py->modules/sinks/routing.py->modules/lazy_ledger.py->modules/lazy_loop.py - [cycle]
modules/lazy_intel.py->modules/mediation/__init__.py->modules/mediation/contracts.py->modules/mediation/hub.py->modules/mediation/telemetry_mediator.py->modules/loop_ai_bridge.py->skills/hive_mind.py->skills/lazyown_groq_agents.py->skills/lazyown_mcp.py->modules/sinks/routing.py->modules/lazy_intel.py - [cycle]
modules/emulation_runner.py->modules/atomic_exploit_bridge.py->modules/emulation_runner.py - [cycle]
modules/auto_registry.py->modules/command_executor.py->modules/auto_registry.py - [cycle]
modules/auto_registry.py->modules/command_executor.py->modules/auto_registry.py - [layer strict]
tests/test_c2_surfaces.py(testing) ->contrib/legacy/lazydeepseekcli.py(presentation) - [dataflow UNCHECKED_ALLOC]
modules/command_executor.py:224run_teehandle: Result of allocator stored inhandleis never checked against NULL.
- Can the cycle
core/config.py->core/payload_schema.py->modules/llm_factory.py->modules/llm_orchestrator.py->modules/lazy_engine.py->modules/lazy_loop.py->modules/loop_triggers.py->modules/trigger_policy.py->modules/orchestrator_config.py->modules/auto_registry.py->modules/lazy_orchestrator_feedback.py->modules/lazy_intel.py->modules/mediation/__init__.py->modules/mediation/contracts.py->modules/mediation/hub.py->modules/mediation/telemetry_mediator.py->modules/loop_ai_bridge.py->skills/hive_mind.py->skills/lazyown_groq_agents.py->skills/lazyown_mcp.py->skills/autonomous_daemon.py->modules/planner.py->modules/playbook_engine.py->modules/emulation_runner.py->modules/atomic_exploit_bridge.pybe broken with an interface? - What would break if the most connected file in modules: chain_runner changed?
- Should modules: chain_runner be split, given cohesion 0.50?
cli/apt_chain_support.pycli/commands/command_and_control_migrated.pycli/retry_support.pycontrib/legacy/lazydeepseekcli.pycore/safe_exec.pymodules/ad_gym.pymodules/apt_playbooks.pymodules/atomic_cli.pymodules/atomic_exploit_bridge.pymodules/atomic_resolver.pymodules/beacon_recon.pymodules/c2_surfaces.pymodules/chain_approval.pymodules/chain_distill.pymodules/chain_facts.pymodules/chain_registry.pymodules/chain_runner.pymodules/chain_state.pymodules/chain_synth.pymodules/chain_tokens.py- ... and 61 more
Generated offline by readmenator from commit 58d2c970e22d. Edits here are overwritten by readmenator . --rebuild.
Start
Wiki
- community_0_modules_lazy_loop
- community_10_skills_claude_md_orchestrator
- community_11_modules_exploit_migrated
- community_12_modules_defense_eval
- community_13_modules_kerberos_core
- community_14_modules_saas_attacks
- community_15_skills_hermes_lazyown
- community_16_modules_polymorphic_engine
- community_17_modules_guardrails
- community_18_contrib_legacy
- community_19_tests
- community_1_cli_commands
- community_20_scripts_journal
- community_21_modules_backdoor
- community_22_modules_lazy_netattack
- community_23_modules_lazy_triage
- community_24_poc_tui
- community_25_scripts_check_contract_manifest
- community_26_scripts_migrate_lazyown
- community_27_tools
- community_28_orphans
- community_2_modules_lazyown_mcp
- community_3_cli
- community_4_modules_chain_runner
- community_5_lazyc2_security
- community_6_lazygui_panels
- community_7_static_js
- community_8_modules_autonomous_daemon
- community_9_modules_llm_budget
- concepts
- queries
- REPORT
Agent Docs
- API
- API_p10
- API_p11
- API_p12
- API_p13
- API_p14
- API_p15
- API_p16
- API_p17
- API_p18
- API_p19
- API_p2
- API_p20
- API_p21
- API_p22
- API_p23
- API_p24
- API_p25
- API_p26
- API_p3
- API_p4
- API_p5
- API_p6
- API_p7
- API_p8
- API_p9
- ARCHITECTURE
- ARCHITECTURE_p10
- ARCHITECTURE_p2
- ARCHITECTURE_p3
- ARCHITECTURE_p4
- ARCHITECTURE_p5
- ARCHITECTURE_p6
- ARCHITECTURE_p7
- ARCHITECTURE_p8
- ARCHITECTURE_p9
- CONCEPTS
- GOTCHAS
- INDEX
- INDEX_p2
- INDEX_p3
- KB_backdoor
- KB_blueprints
- KB_cgi-bin
- KB_claude_md_orchestrator
- KB_cli
- KB_cli_p2
- KB_cli_p3
- KB_cli_p4
- KB_cli_p5
- KB_commands
- KB_commands_p2
- KB_commands_p3
- KB_commands_p4
- KB_commands_p5
- KB_config
- KB_contract
- KB_core
- KB_core_p2
- KB_devtools
- KB_extensions
- KB_guardrails
- KB_hermes-lazyown
- KB_integrations
- KB_js
- KB_js_p2
- KB_js_p3
- KB_js_p4
- KB_lazyc2
- KB_lazygui
- KB_lazyown-docker
- KB_legacy
- KB_legacy_p2
- KB_mediation
- KB_misc
- KB_modules
- KB_modules_p10
- KB_modules_p11
- KB_modules_p12
- KB_modules_p13
- KB_modules_p14
- KB_modules_p15
- KB_modules_p16
- KB_modules_p17
- KB_modules_p18
- KB_modules_p2
- KB_modules_p3
- KB_modules_p4
- KB_modules_p5
- KB_modules_p6
- KB_modules_p7
- KB_modules_p8
- KB_modules_p9
- KB_modules_tools
- KB_palettes
- KB_panels
- KB_plugins
- KB_poc_tui
- KB_root
- KB_root_p2
- KB_root_p3
- KB_rootkit
- KB_scripts
- KB_security
- KB_selection
- KB_services
- KB_sinks
- KB_skills
- KB_skills_claude_md_orchestrator_tests
- KB_skills_p2
- KB_skills_p3
- KB_skills_p4
- KB_skills_p5
- KB_skills_tests
- KB_tests
- KB_tests_p10
- KB_tests_p11
- KB_tests_p12
- KB_tests_p13
- KB_tests_p14
- KB_tests_p15
- KB_tests_p16
- KB_tests_p17
- KB_tests_p18
- KB_tests_p19
- KB_tests_p2
- KB_tests_p20
- KB_tests_p21
- KB_tests_p22
- KB_tests_p23
- KB_tests_p3
- KB_tests_p4
- KB_tests_p5
- KB_tests_p6
- KB_tests_p7
- KB_tests_p8
- KB_tests_p9
- KB_theme
- KB_tools
- KB_widgets
- KB_win_rootkit
- KB_windows
- MEMORY
- SECURITY
- SYMBOLS
- SYMBOLS_p10
- SYMBOLS_p11
- SYMBOLS_p12
- SYMBOLS_p13
- SYMBOLS_p14
- SYMBOLS_p15
- SYMBOLS_p16
- SYMBOLS_p17
- SYMBOLS_p18
- SYMBOLS_p19
- SYMBOLS_p2
- SYMBOLS_p20
- SYMBOLS_p21
- SYMBOLS_p22
- SYMBOLS_p23
- SYMBOLS_p24
- SYMBOLS_p25
- SYMBOLS_p26
- SYMBOLS_p27
- SYMBOLS_p28
- SYMBOLS_p29
- SYMBOLS_p3
- SYMBOLS_p30
- SYMBOLS_p31
- SYMBOLS_p32
- SYMBOLS_p33
- SYMBOLS_p34
- SYMBOLS_p35
- SYMBOLS_p36
- SYMBOLS_p37
- SYMBOLS_p38
- SYMBOLS_p39
- SYMBOLS_p4
- SYMBOLS_p40
- SYMBOLS_p41
- SYMBOLS_p42
- SYMBOLS_p43
- SYMBOLS_p44
- SYMBOLS_p45
- SYMBOLS_p46
- SYMBOLS_p47
- SYMBOLS_p48
- SYMBOLS_p49
- SYMBOLS_p5
- SYMBOLS_p6
- SYMBOLS_p7
- SYMBOLS_p8
- SYMBOLS_p9
Recipes