BitterSecurity/Decepticon
Autonomous Hacking Agent for Red Team
Python★ 7,281+28 that day#5 on trending
C62.4/100
Duplication78
3.1% in python, go, typescript, tsx, cypher, rust, bash, docker, javascript, makefile, powershellDead code57
6.1%Complexity55
43.9% The score is jscpd's own --health model: markup, data and text left out, tests kept. The numbers below are the trending scan's.
3.62%duplicated code · 4,970 of 137,324 lines
309clones in code
689code files of 3,050 scanned
4.19%duplicated over all files · 1,031 clones
Most complex files
- clients/cli/src/hooks/useAgent.test.tsx435 cx
- packages/decepticon/decepticon/tools/research/tools.py427 cx
- clients/cli/src/hooks/useAgent.ts376 cx
- packages/decepticon/decepticon/tools/opplan.py358 cx
- packages/decepticon/decepticon/llm/factory.py347 cx
- config/codex_chatgpt_handler.py253 cx
- packages/decepticon/decepticon/tools/ad/bloodhound.py245 cx
- config/claude_code_handler.py237 cx
- clients/launcher/internal/engagement/picker.go209 cx
- clients/cli/src/components/Prompt.tsx203 cx
Dead code 6.12% unused · 157 findings
- clients/cli/src/hooks/useAgent.tsunused-file
- clients/cli/src/commands/configuredModelRoutes.tsunused-file
- clients/cli/src/commands/blue.tsunused-file
- packages/decepticon/decepticon_sandbox/browser/providers/obscura.pyunused-file
- packages/decepticon/decepticon/middleware/_command_targets.pyunused-file
- clients/cli/src/screens/REPL.tsxunused-file
- packages/decepticon/decepticon/tools/research/bounty.pyunused-file
- packages/decepticon/decepticon/server/plugins_api.pyunused-file
- clients/cli/src/components/messages/ToolCallMessage.tsxunused-file
- clients/cli/src/commands/model.tsunused-file
The code number leaves out tests, fixtures, docs, examples, data files, styles, translations and vendored code, and 1 generated file: packages/decepticon/tests/unit/ad/test_bhce_client.py.
Largest clones in the code
- 8 lines in 16 placespython104 tokenspackages/decepticon/decepticon/agents/plugins/detector.py:39–46packages/decepticon/decepticon/agents/plugins/exploiter.py:33–40packages/decepticon/decepticon/agents/plugins/patcher.py:30–37packages/decepticon/decepticon/agents/plugins/scanner.py:30–37packages/decepticon/decepticon/agents/plugins/verifier.py:35–42and 11 more
391. **OSS default**: ``create_detector_agent()`` — no args. 402. **Plugin override** (Docker / pip-installed plugin): authors ship 41 ``PluginBundle(...)`` under ``decepticon.bundles``; the factory 42 discovers and applies it automatically. 433. **Full custom** (library composer): import building blocks from 44 ``decepticon.middleware`` / ``decepticon.tools`` and compose with 45 ``langchain.agents.create_agent`` directly. Decepticon's factory 46 is bypassed entirely. - 18 lines in 10 placespython162 tokenspackages/decepticon/decepticon/agents/plugins/detector.py:22–39packages/decepticon/decepticon/agents/plugins/exploiter.py:16–33packages/decepticon/decepticon/agents/plugins/scanner.py:13–30packages/decepticon/decepticon/agents/plugins/vulnresearch.py:21–38packages/decepticon/decepticon/agents/standard/analyst.py:24–41and 5 more
22SLOTS_PER_ROLE — ``detector`` maps to ``_BASE_SLOTS`` only). 23 24Library API 25----------- 26Factory shape mirrors ``langchain.agents.create_agent`` / 27``deepagents.create_deep_agent`` — every keyword is optional, and 28explicit values fully replace the OSS baseline: 29 30 - ``tools=[...]`` full tool list (overrides the standard set) 31 - ``middleware=[...]`` full middleware list (overrides the slot stack)First 10 of 18 lines.
- 49 lines in 7 placespython214 tokenspackages/decepticon/decepticon/agents/standard/forensicator.py:79–127packages/decepticon/decepticon/agents/standard/ics_operator.py:80–128packages/decepticon/decepticon/agents/standard/iot_operator.py:79–127packages/decepticon/decepticon/agents/standard/mobile_operator.py:74–122packages/decepticon/decepticon/agents/standard/osint_operator.py:88–136and 2 more
79"""Build the Forensicator agent.""" 80if llm is None or fallback_models is None: 81 factory = LLMFactory() 82 if llm is None: 83 llm = factory.get_model(_ROLE) 84 if fallback_models is None: 85 fallback_models = factory.get_fallback_models(_ROLE) 86 87if sandbox is None: 88 sandbox = build_sandbox_backend()First 10 of 49 lines.
7 more
- 16 lines in 7 placespython158 tokenspackages/decepticon/decepticon/agents/plugins/exploiter.py:119–134packages/decepticon/decepticon/agents/plugins/patcher.py:107–122packages/decepticon/decepticon/agents/plugins/scanner.py:120–135packages/decepticon/decepticon/agents/plugins/verifier.py:116–131packages/decepticon/decepticon/agents/standard/exploit.py:121–136and 2 more
- 16 lines in 6 placespython161 tokenspackages/decepticon/decepticon/agents/plugins/detector.py:24–39packages/decepticon/decepticon/agents/plugins/patcher.py:15–30packages/decepticon/decepticon/agents/plugins/verifier.py:20–35packages/decepticon/decepticon/agents/standard/ad_operator.py:3–18packages/decepticon/decepticon/agents/standard/cloud_hunter.py:3–18and 1 more
- 15 lines in 12 placespython73 tokenspackages/decepticon/decepticon/agents/plugins/exploiter.py:97–111packages/decepticon/decepticon/agents/plugins/patcher.py:85–99packages/decepticon/decepticon/agents/plugins/scanner.py:88–102packages/decepticon/decepticon/agents/plugins/verifier.py:94–108packages/decepticon/decepticon/agents/standard/ad_operator.py:87–101and 7 more
- 95 lines in 2 placesjavascript781 tokens
- 125 lines in 2 placespython774 tokens
- 6 lines in 13 placespython57 tokenspackages/decepticon/decepticon/agents/plugins/exploiter.py:37–42packages/decepticon/decepticon/agents/plugins/patcher.py:34–39packages/decepticon/decepticon/agents/plugins/scanner.py:34–39packages/decepticon/decepticon/agents/plugins/verifier.py:39–44packages/decepticon/decepticon/agents/standard/ad_operator.py:22–27and 8 more
- 51 lines in 4 placespython213 tokens
Largest clones over all files, tests and data included
- 59 lines in 2 placestxtdocs and examples4,066 tokensdocs/validation/evidence/dependency-security-20261102/oss-security-fast-suite.txt:1–59docs/validation/evidence/unit-tmux-isolation-20261102/full-python.txt:1–59
1Waiting for the shared full-build slot. 2Build slot acquired. 3bringing up nodes... 4bringing up nodes... 5 6........................................................................ [ 1%] 7........................................................................ [ 2%] 8........................................................................ [ 3%] 9........................................................................ [ 4%] 10........................................................................ [ 5%]First 10 of 59 lines.
- 32 lines in 2 placestxtdocs and examples2,155 tokensdocs/validation/evidence/dependency-security-20261102/oss-security-fast-suite.txt:64–95docs/validation/evidence/unit-tmux-isolation-20261102/full-python.txt:64–95
64........................................................................ [ 69%] 65........................................................................ [ 70%] 66........................................................................ [ 71%] 67........................................................................ [ 72%] 68........................................................................ [ 73%] 69........................................................................ [ 75%] 70........................................................................ [ 76%] 71........................................................................ [ 77%] 72........................................................................ [ 78%] 73........................................................................ [ 79%]First 10 of 32 lines.
- 8 lines in 16 placespython104 tokenspackages/decepticon/decepticon/agents/plugins/detector.py:39–46packages/decepticon/decepticon/agents/plugins/exploiter.py:33–40packages/decepticon/decepticon/agents/plugins/patcher.py:30–37packages/decepticon/decepticon/agents/plugins/scanner.py:30–37packages/decepticon/decepticon/agents/plugins/verifier.py:35–42and 11 more
391. **OSS default**: ``create_detector_agent()`` — no args. 402. **Plugin override** (Docker / pip-installed plugin): authors ship 41 ``PluginBundle(...)`` under ``decepticon.bundles``; the factory 42 discovers and applies it automatically. 433. **Full custom** (library composer): import building blocks from 44 ``decepticon.middleware`` / ``decepticon.tools`` and compose with 45 ``langchain.agents.create_agent`` directly. Decepticon's factory 46 is bypassed entirely. - 18 lines in 10 placespython162 tokenspackages/decepticon/decepticon/agents/plugins/detector.py:22–39packages/decepticon/decepticon/agents/plugins/exploiter.py:16–33packages/decepticon/decepticon/agents/plugins/scanner.py:13–30packages/decepticon/decepticon/agents/plugins/vulnresearch.py:21–38packages/decepticon/decepticon/agents/standard/analyst.py:24–41and 5 more
- 49 lines in 7 placespython214 tokenspackages/decepticon/decepticon/agents/standard/forensicator.py:79–127packages/decepticon/decepticon/agents/standard/ics_operator.py:80–128packages/decepticon/decepticon/agents/standard/iot_operator.py:79–127packages/decepticon/decepticon/agents/standard/mobile_operator.py:74–122packages/decepticon/decepticon/agents/standard/osint_operator.py:88–136and 2 more
By format, code only
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| python | 494 | 111,016 | 289 | 4,702 | 4.24% |
| go | 80 | 14,158 | 11 | 99 | 0.7% |
| typescript | 69 | 7,362 | 5 | 45 | 0.61% |
| tsx | 34 | 3,032 | 2 | 12 | 0.4% |
| javascript | 4 | 469 | 2 | 112 | 23.88% |
| bash | 6 | 954 | 0 | 0 | 0% |
| powershell | 1 | 212 | 0 | 0 | 0% |
| rust | 1 | 121 | 0 | 0 | 0% |
By format, all files
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| python | 952 | 198,597 | 464 | 6,664 | 3.36% |
| markdown | 816 | 100,871 | 226 | 4,078 | 4.04% |
| json | 256 | 25,456 | 188 | 4,153 | 16.31% |
| go | 142 | 22,783 | 39 | 354 | 1.55% |
| txt | 9 | 1,318 | 37 | 484 | 36.72% |
| yaml | 251 | 8,568 | 35 | 395 | 4.61% |
| tsx | 47 | 5,182 | 24 | 201 | 3.88% |
| typescript | 102 | 9,500 | 6 | 54 | 0.57% |
| cypher | 15 | 1,598 | 3 | 22 | 1.38% |
| text | 138 | 3,198 | 2 | 14 | 0.44% |
Trending appearances
| Day | Rank | Stars | Files | Lines | Clones | All files | Code | Health | Commit |
|---|---|---|---|---|---|---|---|---|---|
| Dec 5, 2026 | #5 | 7,281 (+28) | 3,050 | 395,884 | 1,031 | 4.19% | 3.62% | C 62.4 | 6b15092 |
Want this for your own project? Install jscpd and run jscpd ., or measure it the way the baselines were measured.