Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BitterSecurity/Decepticon
/ functions
Functions
10,737 in github.com/BitterSecurity/Decepticon
⨍
Functions
10,737
◇
Types & classes
1,602
↳
Endpoints
45
↓ 2 callers
Function
_render_entrypoints
(entrypoints: Iterable[Mapping[str, Any]])
packages/decepticon/decepticon/middleware/kg_internal/summary.py:158
↓ 2 callers
Function
_render_stats
(engagement: str, revision: str, stats: Mapping[str, int])
packages/decepticon/decepticon/middleware/kg_internal/summary.py:140
↓ 2 callers
Method
_report
(tmp_path: Path, output_path: str)
packages/decepticon/tests/unit/reporting/test_sarif.py:205
↓ 2 callers
Function
_request
(req_id: str, *, url: str = "https://example.test")
packages/decepticon/tests/unit/web/test_http.py:8
↓ 2 callers
Method
_request
(self, request: ModelRequest)
packages/decepticon/decepticon/middleware/search_runtime.py:239
↓ 2 callers
Function
_require_purpose
( snapshot: WorkflowSnapshot, purpose: Literal["execution", "planning"] )
packages/decepticon/decepticon/middleware/workflow.py:59
↓ 2 callers
Method
_reset_failures
(self)
packages/decepticon/decepticon/core/subagent_streaming.py:230
↓ 2 callers
Function
_resolve
(source: str)
packages/decepticon/tests/unit/agents/standard/test_specialist_skill_sources.py:57
↓ 2 callers
Function
_resolve_created_by
Best-effort agent identity for provenance. Falls back to a constant string so the trusted ``record_observations`` invariant holds even when th
packages/decepticon/decepticon/middleware/kg_internal/tools.py:48
↓ 2 callers
Method
_resolve_default_role
Pick ``default_role`` for ``ModelRouter.get_assignment``. Resolution order: 1. caller-supplied ``explicit`` wins (existing behavior
packages/decepticon/decepticon/llm/factory.py:1891
↓ 2 callers
Function
_resolve_disable_streaming
()
packages/decepticon/decepticon/llm/factory.py:243
↓ 2 callers
Function
_resolve_engagement
Pull the engagement label from state with a fall-back to ``engagement_name`` (the upstream EngagementContextMiddleware field).
packages/decepticon/decepticon/middleware/kg_internal/tools.py:40
↓ 2 callers
Method
_resolve_pane_id
(self)
packages/decepticon/decepticon/sandbox_kernel/tmux.py:373
↓ 2 callers
Method
_resolve_proxy_config
Resolve proxy config from DecepticonConfig (env vars).
packages/decepticon/decepticon/llm/factory.py:1864
↓ 2 callers
Method
_respond
(self, code: int, data: Any)
packages/decepticon/decepticon/tools/reporting/viewer.py:92
↓ 2 callers
Function
_response
(request_id: str, *, status: int = 200)
packages/decepticon/tests/unit/web/test_http.py:19
↓ 2 callers
Method
_response_to_chunks
Convert a ModelResponse into GenericStreamingChunk dicts. Mirrors ``claude_code_handler`` / ``codex_chatgpt_handler``: any streamed `
config/copilot_handler.py:408
↓ 2 callers
Function
_roundup
CVSS 3.1 Roundup — ceil to one decimal, integer-safe (spec §7.4).
packages/decepticon/decepticon/tools/reporting/cvss.py:97
↓ 2 callers
Function
_row
(title: str, **extra: Any)
packages/decepticon/tests/unit/middleware/test_opplan_hierarchy.py:150
↓ 2 callers
Function
_run_config
(config: Any = None)
packages/decepticon/decepticon/backends/factory.py:67
↓ 2 callers
Function
_run_headless
Run a Ghidra headless analysis with a postScript and parse JSON output. ``script_args`` is forwarded as positional arguments after the ``-pos
packages/decepticon/decepticon/tools/reversing/ghidra.py:277
↓ 2 callers
Function
_run_import
(code: str)
packages/decepticon/tests/unit/test_agent_imports.py:10
↓ 2 callers
Method
_run_mhbench_cli
Invoke ``main.py <env_type> <subcommand>`` in the submodule venv. Returns ``None`` on success, an error string on failure.
benchmark/providers/mhbench.py:682
↓ 2 callers
Method
_runtime_target
(self, runtime)
packages/decepticon/decepticon/middleware/notifications.py:135
↓ 2 callers
Function
_sanitize_output
Clean tool output: strip surrogates, ANSI codes, compress repetition. Processing pipeline: 1. Re-encode surrogates (UTF-8 safety) 2. Stri
packages/decepticon/decepticon/tools/bash/bash.py:225
↓ 2 callers
Function
_save_coverage
(data: dict)
packages/decepticon/decepticon/tools/research/coverage_ledger.py:66
↓ 2 callers
Function
_scan_keys
Scan content for AI API keys. Returns finding dicts.
packages/decepticon/decepticon/tools/research/ai_surface.py:217
↓ 2 callers
Method
_seed_flag
Run ``ansible/goals/addFlag.yml`` against the chosen victim host. Upstream's playbook is invoked verbatim (no fork patch); we feed it
benchmark/providers/mhbench.py:795
↓ 2 callers
Function
_seeded_phase_names
()
packages/decepticon/tests/unit/agents/test_registry_parity.py:124
↓ 2 callers
Function
_selection_to_kql
(selection: dict[str, Any])
packages/decepticon/decepticon/tools/defense/sentinel.py:70
↓ 2 callers
Function
_selection_to_lucene
(selection: dict[str, Any])
packages/decepticon/decepticon/tools/defense/elastic.py:44
↓ 2 callers
Function
_selection_to_spl
(selection: dict[str, Any])
packages/decepticon/decepticon/tools/defense/splunk.py:38
↓ 2 callers
Function
_server
(client: _Client)
packages/decepticon/tests/unit/mcp_server/test_thread_access.py:56
↓ 2 callers
Function
_service_networks
Return the set of network names a service is attached to. Compose ``networks:`` may be a list (``[a, b]``) or a mapping (``{a: null, b: {alia
tests/test_compose_network_isolation.py:146
↓ 2 callers
Method
_session_of
(self, request: Any)
packages/decepticon/decepticon/middleware/event_logging.py:527
↓ 2 callers
Function
_set_span_attribute
Set a span attribute, returning False if the SDK rejected it. Telemetry is observability, never control flow: a failed write must not propaga
packages/decepticon/decepticon/telemetry/otel.py:201
↓ 2 callers
Function
_severity_order
(value: Any)
packages/decepticon/decepticon/middleware/kg_internal/summary.py:52
↓ 2 callers
Function
_severity_to_sarif
(sev: str | None)
packages/decepticon/decepticon/tools/research/sarif_export.py:49
↓ 2 callers
Function
_shared_sandbox
(base_url: str, token: str | None)
packages/decepticon/decepticon/backends/factory.py:86
↓ 2 callers
Function
_sign_hs
(alg: str, key: bytes, msg: bytes)
packages/decepticon/decepticon/tools/web/jwt.py:227
↓ 2 callers
Function
_signature
Build the normalized comparison signature for a node.
packages/decepticon/decepticon/tools/research/dedupe.py:145
↓ 2 callers
Method
_stage_ssh_config
Stage an ssh_config the agent can use as ``ssh -F <path> <alias>``. Three host aliases are defined — ``jump``, ``foothold``, ``victim`` —
benchmark/providers/mhbench.py:923
↓ 2 callers
Method
_stage_ssh_key
Copy MHBench's SSH private key into the per-challenge workspace. The sandbox container bind-mounts ``~/.decepticon/workspace/`` to ``
benchmark/providers/mhbench.py:899
↓ 2 callers
Function
_stalling_capture
(exc: BaseException)
packages/decepticon/tests/unit/sandbox_kernel/test_poll_capture_failures.py:29
↓ 2 callers
Method
_stat_key
(self)
config/oauth_token_store.py:186
↓ 2 callers
Function
_static_ct
(hosts: list[str])
packages/decepticon/tests/unit/test_roe_materialization.py:28
↓ 2 callers
Method
_stop_bridge
(self, challenge_id: str)
benchmark/providers/exploitbench.py:580
↓ 2 callers
Method
_stop_container
Best-effort docker stop + rm.
benchmark/providers/exploitbench.py:607
↓ 2 callers
Function
_sum_token_usage
Sum ``usage_metadata.total_tokens`` across AI messages. Returns ``None`` when no AI message carried usage_metadata (so callers can distinguis
benchmark/harness.py:84
↓ 2 callers
Function
_summarize_value
Describe a value's shape without ever persisting its contents. Scalars (bool/int/float/None) are timeline-useful flags (``is_input``, ``timeo
packages/decepticon/decepticon/middleware/event_logging.py:78
↓ 2 callers
Function
_target_url
(challenge: CVEBenchChallenge)
benchmark/cve_bench/live.py:60
↓ 2 callers
Method
_technique_tag
(self, request: Any)
packages/decepticon/decepticon/middleware/hitl.py:363
↓ 2 callers
Function
_text
(value: object, field: str, default: str | None = None)
packages/decepticon/decepticon/tools/reporting/evidence_contract.py:83
↓ 2 callers
Method
_tmux_name
(self, session: str)
benchmark/terminal_bench/sandbox.py:35
↓ 2 callers
Function
_to_text
(content: Any)
packages/decepticon/decepticon/middleware/roe.py:179
↓ 2 callers
Function
_todos_path
(agent_name: str)
packages/decepticon/decepticon/tools/research/agent_todo.py:31
↓ 2 callers
Function
_tool_call_args
(request)
packages/decepticon/decepticon/middleware/roe.py:237
↓ 2 callers
Method
_tool_response
(self, entry: dict[str, Any])
packages/decepticon/decepticon/runtime/recording.py:359
↓ 2 callers
Function
_tool_using_growth
A realistic stream: AI thinks + calls a tool, then the tool result, then a final AI message. Each snapshot is cumulative.
packages/decepticon/tests/unit/core/test_subagent_transcript_state.py:83
↓ 2 callers
Function
_trusted_report_scope
(request: Any)
packages/decepticon/decepticon/middleware/engagement.py:67
↓ 2 callers
Function
_truthy
(value: str | None)
packages/decepticon/decepticon/diagnostics.py:31
↓ 2 callers
Function
_truthy
(raw: str | None)
packages/decepticon/decepticon/telemetry/config.py:44
↓ 2 callers
Function
_truthy_string
(value: Any)
packages/decepticon/decepticon/skill_audit/rules.py:158
↓ 2 callers
Function
_two_options
()
packages/decepticon/tests/unit/tools/test_ask_user_question.py:18
↓ 2 callers
Function
_types
(transcript: list[dict])
packages/decepticon/tests/unit/core/test_subagent_transcript_state.py:102
↓ 2 callers
Function
_upgrade_unversioned_plan
( backend: BackendProtocol | None, workspace_path: str, plan: OPPLAN )
packages/decepticon/decepticon/tools/opplan.py:479
↓ 2 callers
Function
_upload
(backend: BackendProtocol, path: str, content: bytes)
packages/decepticon/decepticon/artifacts/storage.py:31
↓ 2 callers
Method
_usage
(messages: list[BaseMessage])
benchmark/terminal_bench/agent.py:101
↓ 2 callers
Function
_user_text
The human turn with harness-injected blocks removed. What remains is what the operator (or, for a subagent, the orchestrator) actually wrote
packages/decepticon/decepticon/middleware/event_logging.py:171
↓ 2 callers
Function
_valid_vector
Accept only a finite, nonzero vector matching the configured index.
packages/decepticon/decepticon/skillogy/embeddings.py:134
↓ 2 callers
Function
_wildcard_host
(host: str)
packages/decepticon/decepticon/sandbox_kernel/egress.py:131
↓ 2 callers
Function
_workspace
()
packages/decepticon/decepticon/tools/reporting/ci_gate.py:36
↓ 2 callers
Function
_workspace
()
packages/decepticon/decepticon/sandbox_web/__main__.py:32
↓ 2 callers
Method
_workspace_slug
(workspace_path: str)
packages/decepticon/decepticon/sandbox_kernel/base.py:186
↓ 2 callers
Method
_write_connect_doc
Drop a foothold-first connection brief into the engagement workspace. Agent reads this via ``cat /workspace/benchmark-<id>/MHBENCH_CONNECT.md
benchmark/providers/mhbench.py:989
↓ 2 callers
Function
_write_roe
(tmp_path: Path, machine_enforcement: dict)
packages/decepticon/tests/unit/sandbox_web/test_main.py:15
↓ 2 callers
Method
aafter_model
(self, state: Any, runtime: Any)
packages/decepticon/decepticon/middleware/kg.py:249
↓ 2 callers
Function
acceptsRuntimeWorkspace
(path: string)
clients/cli/src/utils/runtimeWorkspace.ts:5
↓ 2 callers
Method
ack
(id string)
clients/launcher/internal/migrate/migrate.go:139
↓ 2 callers
Function
addDeepRuntimeChecksForEngagement
(ctx context.Context, report *doctorReport, engagement string)
clients/launcher/cmd/doctor_deep.go:34
↓ 2 callers
Method
ainvoke
(self, *args, **kwargs)
packages/decepticon/decepticon/llm/factory.py:1050
↓ 2 callers
Method
all_objectives
(self)
packages/decepticon/decepticon/runtime/cart.py:287
↓ 2 callers
Function
applyDesktopAccountFile
(selected *desktopModelRuntime)
clients/launcher/cmd/desktop_runtime.go:145
↓ 2 callers
Function
applyResumeEnv
(env map[string]string, thread string, latest bool)
clients/launcher/cmd/resume.go:3
↓ 2 callers
Function
apply_identifiers
Replace reported identifiers across every text field. Pure, deterministic. The model reports WHAT to mask; this does the masking. That split matt
telemetry-gateway/redact_corpus.py:218
↓ 2 callers
Function
artifact_context
(runtime: ToolRuntime)
packages/decepticon/decepticon/middleware/artifact_tools.py:33
↓ 2 callers
Function
assertAssistantReady
(assistant: string, apiUrl: string)
clients/cli/src/hooks/useAgent.ts:180
↓ 2 callers
Function
assessBlueCoverage
(logSource: string, metrics: SensorMetrics)
clients/cli/src/commands/blue.ts:277
↓ 2 callers
Function
assetURL
assetURL returns the browser_download_url for the named asset, or "".
clients/launcher/internal/updater/updater.go:478
↓ 2 callers
Method
awrap_model_call
(self, request, handler)
packages/decepticon/decepticon/runtime/recording.py:271
↓ 2 callers
Method
awrap_model_call
(self, request, handler)
packages/decepticon/decepticon/runtime/recording.py:387
↓ 2 callers
Method
awrap_tool_call
(self, request, handler)
packages/decepticon/decepticon/middleware/filesystem.py:487
↓ 2 callers
Method
awrap_tool_call
(self, request, handler)
packages/decepticon/decepticon/middleware/hitl.py:472
↓ 2 callers
Method
awrap_tool_call
(self, request, handler)
packages/decepticon/decepticon/runtime/recording.py:307
↓ 2 callers
Method
awrap_tool_call
(self, request, handler)
packages/decepticon/decepticon/runtime/recording.py:421
↓ 2 callers
Function
backend_health
Return backend health and startup diagnostics.
packages/decepticon/decepticon/tools/research/health.py:12
↓ 2 callers
Function
backupLegacyEnv
(path string)
clients/launcher/cmd/legacy_credentials.go:236
↓ 2 callers
Method
baseArgs
baseArgs returns the shared prefix for every compose call. The `-p PROJECT` flag is explicit and shares the value with the launcher's compose.baseArgs
clients/launcher/internal/infracontrol/docker_compose_backend.go:58
↓ 2 callers
Function
base_score
CVSS 3.1 base score from a parsed metric dict.
packages/decepticon/decepticon/tools/reporting/cvss.py:140
↓ 2 callers
Function
best_tier_for_caps
Return the strongest tier any *truthy* capability satisfies. ``None`` means no capability fired — the agent did not even reach line coverage.
benchmark/providers/exploitbench_capabilities.py:99
← previous
next →
1,701–1,800 of 10,737, ranked by callers