Skip to content

community_8_static_js

grisun0 edited this page Oct 26, 2026 · 7 revisions

static/js

Community 8 | 28 files | cohesion 0.45

Definition

This community groups 28 file(s) rooted at static/js with dominant language js (cohesion 0.45). Central symbols: A, As, B, BUFFER, BackgroundSize, Be, BezierCurve, Bk. Core file: static/js/html2pdf.bundle.min.js (738 symbols). Documented purpose: assign business logic. Extracted from :class:LazyOwnShell.do_assign so the persistence and validation behaviour can be unit-tested without booting the cm.

Files

static/js (14 files)

File Language Layer Symbols Doc
static/js/3d-force-graph-1.73.4.min.js js utility 176 yes
static/js/bootstrap-4.5.2.min.js js infrastructure 7 yes
static/js/bootstrap-5.3.0.bundle.min.js js infrastructure 28 yes
static/js/chart.min.js js utility 88 yes
static/js/force-graph-1.43.5.min.js js utility 31 yes
static/js/html2pdf.bundle.min.js js utility 738 no

cli (4 files)

File Language Layer Symbols Doc
cli/assign.py py utility 1 yes
cli/session_resumer.py py utility 6 yes
cli/show.py py utility 1 yes
cli/style.py py utility 4 yes

modules (2 files)

File Language Layer Symbols Doc
modules/exp.c c utility 58 yes
modules/search.py py utility 0 yes

tests (2 files)

File Language Layer Symbols Doc
tests/test_cli_assign.py py testing 44 yes
tests/test_payload_schema.py py testing 53 yes

. (1 files)

File Language Layer Symbols Doc
key.py py utility 1 no

cli/commands (1 files)

File Language Layer Symbols Doc
cli/commands/session_ops.py py utility 37 yes

core (1 files)

File Language Layer Symbols Doc
core/prompt.py py utility 8 yes

lazyc2 (1 files)

File Language Layer Symbols Doc
lazyc2/state.py py utility 0 yes

lazyown-docker (1 files)

File Language Layer Symbols Doc
lazyown-docker/init.sh sh utility 0 no

modules/rootkit (1 files)

File Language Layer Symbols Doc
modules/rootkit/rootkit.c c utility 13 yes

... and 8 more files in this community.

Key Symbols

Internal vs External Edges

  • Internal resolved imports (EXTRACTED): 245
  • Cross-boundary resolved imports (EXTRACTED): 89

Connections

  • [EXTRACTED] depends_on community 8 <-> 3 (strength 0.9): Extracted import edge crosses communities: cli/assign.py imports core/payload_schema.py.
  • [EXTRACTED] depends_on community 7 <-> 8 (strength 0.9): Extracted import edge crosses communities: cli/commands/command_and_control_migrated.py imports cli/assign.py.

Risks

  • [dataflow UNCHECKED_ALLOC] modules/exp.c:218 spray_keyring_list_overwrite_purpose id_buffer: Result of allocator stored in id_buffer is never checked against NULL.
  • [dataflow DEAD_STORE] modules/exp.c:274 awake_partial_keys keylen: keylen assigned at line 274 but never read afterwards.
  • [dataflow UNCHECKED_ALLOC] modules/exp.c:313 unshare_setup temp: Result of allocator stored in temp is never checked against NULL.
  • [dataflow DEAD_STORE] modules/exp.c:340 set_stable_table_and_set set_id: set_id assigned at line 340 but never read afterwards.
  • [dataflow DEAD_STORE] modules/exp.c:344 set_stable_table_and_set exprid: exprid assigned at line 344 but never read afterwards.
  • [dataflow DEAD_STORE] modules/exp.c:371 set_stable_table_and_set seq: seq assigned at line 371 but never read afterwards.
  • [dataflow DEAD_STORE] modules/exp.c:356 set_stable_table_and_set table_seq: table_seq assigned at line 356 but never read afterwards.
  • [dataflow DEAD_STORE] modules/exp.c:406 set_trigger_set_and_overwrite exprid: exprid assigned at line 406 but never read afterwards.
  • [dataflow DEAD_STORE] modules/exp.c:423 set_trigger_set_and_overwrite seq: seq assigned at line 423 but never read afterwards.

Open Questions

  • Why do 7 file(s) lack file-level docs (e.g. key.py)? What purpose do they serve?
  • What would break if the most connected file in static/js changed?
  • Should static/js be split, given cohesion 0.45?

Sources

Start

Wiki

Agent Docs

Recipes

Clone this wiki locally