MCPcopy Create free account

hub / github.com/BitterSecurity/Decepticon / functions

Functions10,737 in github.com/BitterSecurity/Decepticon

↓ 2 callersFunction_render_entrypoints
(entrypoints: Iterable[Mapping[str, Any]])
packages/decepticon/decepticon/middleware/kg_internal/summary.py:158
↓ 2 callersFunction_render_stats
(engagement: str, revision: str, stats: Mapping[str, int])
packages/decepticon/decepticon/middleware/kg_internal/summary.py:140
↓ 2 callersMethod_report
(tmp_path: Path, output_path: str)
packages/decepticon/tests/unit/reporting/test_sarif.py:205
↓ 2 callersFunction_request
(req_id: str, *, url: str = "https://example.test")
packages/decepticon/tests/unit/web/test_http.py:8
↓ 2 callersMethod_request
(self, request: ModelRequest)
packages/decepticon/decepticon/middleware/search_runtime.py:239
↓ 2 callersFunction_require_purpose
( snapshot: WorkflowSnapshot, purpose: Literal["execution", "planning"] )
packages/decepticon/decepticon/middleware/workflow.py:59
↓ 2 callersMethod_reset_failures
(self)
packages/decepticon/decepticon/core/subagent_streaming.py:230
↓ 2 callersFunction_resolve
(source: str)
packages/decepticon/tests/unit/agents/standard/test_specialist_skill_sources.py:57
↓ 2 callersFunction_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 callersMethod_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 callersFunction_resolve_disable_streaming
()
packages/decepticon/decepticon/llm/factory.py:243
↓ 2 callersFunction_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 callersMethod_resolve_pane_id
(self)
packages/decepticon/decepticon/sandbox_kernel/tmux.py:373
↓ 2 callersMethod_resolve_proxy_config
Resolve proxy config from DecepticonConfig (env vars).
packages/decepticon/decepticon/llm/factory.py:1864
↓ 2 callersMethod_respond
(self, code: int, data: Any)
packages/decepticon/decepticon/tools/reporting/viewer.py:92
↓ 2 callersFunction_response
(request_id: str, *, status: int = 200)
packages/decepticon/tests/unit/web/test_http.py:19
↓ 2 callersMethod_response_to_chunks
Convert a ModelResponse into GenericStreamingChunk dicts. Mirrors ``claude_code_handler`` / ``codex_chatgpt_handler``: any streamed `
config/copilot_handler.py:408
↓ 2 callersFunction_roundup
CVSS 3.1 Roundup — ceil to one decimal, integer-safe (spec §7.4).
packages/decepticon/decepticon/tools/reporting/cvss.py:97
↓ 2 callersFunction_row
(title: str, **extra: Any)
packages/decepticon/tests/unit/middleware/test_opplan_hierarchy.py:150
↓ 2 callersFunction_run_config
(config: Any = None)
packages/decepticon/decepticon/backends/factory.py:67
↓ 2 callersFunction_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 callersFunction_run_import
(code: str)
packages/decepticon/tests/unit/test_agent_imports.py:10
↓ 2 callersMethod_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 callersMethod_runtime_target
(self, runtime)
packages/decepticon/decepticon/middleware/notifications.py:135
↓ 2 callersFunction_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 callersFunction_save_coverage
(data: dict)
packages/decepticon/decepticon/tools/research/coverage_ledger.py:66
↓ 2 callersFunction_scan_keys
Scan content for AI API keys. Returns finding dicts.
packages/decepticon/decepticon/tools/research/ai_surface.py:217
↓ 2 callersMethod_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 callersFunction_seeded_phase_names
()
packages/decepticon/tests/unit/agents/test_registry_parity.py:124
↓ 2 callersFunction_selection_to_kql
(selection: dict[str, Any])
packages/decepticon/decepticon/tools/defense/sentinel.py:70
↓ 2 callersFunction_selection_to_lucene
(selection: dict[str, Any])
packages/decepticon/decepticon/tools/defense/elastic.py:44
↓ 2 callersFunction_selection_to_spl
(selection: dict[str, Any])
packages/decepticon/decepticon/tools/defense/splunk.py:38
↓ 2 callersFunction_server
(client: _Client)
packages/decepticon/tests/unit/mcp_server/test_thread_access.py:56
↓ 2 callersFunction_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 callersMethod_session_of
(self, request: Any)
packages/decepticon/decepticon/middleware/event_logging.py:527
↓ 2 callersFunction_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 callersFunction_severity_order
(value: Any)
packages/decepticon/decepticon/middleware/kg_internal/summary.py:52
↓ 2 callersFunction_severity_to_sarif
(sev: str | None)
packages/decepticon/decepticon/tools/research/sarif_export.py:49
↓ 2 callersFunction_shared_sandbox
(base_url: str, token: str | None)
packages/decepticon/decepticon/backends/factory.py:86
↓ 2 callersFunction_sign_hs
(alg: str, key: bytes, msg: bytes)
packages/decepticon/decepticon/tools/web/jwt.py:227
↓ 2 callersFunction_signature
Build the normalized comparison signature for a node.
packages/decepticon/decepticon/tools/research/dedupe.py:145
↓ 2 callersMethod_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 callersMethod_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 callersFunction_stalling_capture
(exc: BaseException)
packages/decepticon/tests/unit/sandbox_kernel/test_poll_capture_failures.py:29
↓ 2 callersMethod_stat_key
(self)
config/oauth_token_store.py:186
↓ 2 callersFunction_static_ct
(hosts: list[str])
packages/decepticon/tests/unit/test_roe_materialization.py:28
↓ 2 callersMethod_stop_bridge
(self, challenge_id: str)
benchmark/providers/exploitbench.py:580
↓ 2 callersMethod_stop_container
Best-effort docker stop + rm.
benchmark/providers/exploitbench.py:607
↓ 2 callersFunction_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 callersFunction_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 callersFunction_target_url
(challenge: CVEBenchChallenge)
benchmark/cve_bench/live.py:60
↓ 2 callersMethod_technique_tag
(self, request: Any)
packages/decepticon/decepticon/middleware/hitl.py:363
↓ 2 callersFunction_text
(value: object, field: str, default: str | None = None)
packages/decepticon/decepticon/tools/reporting/evidence_contract.py:83
↓ 2 callersMethod_tmux_name
(self, session: str)
benchmark/terminal_bench/sandbox.py:35
↓ 2 callersFunction_to_text
(content: Any)
packages/decepticon/decepticon/middleware/roe.py:179
↓ 2 callersFunction_todos_path
(agent_name: str)
packages/decepticon/decepticon/tools/research/agent_todo.py:31
↓ 2 callersFunction_tool_call_args
(request)
packages/decepticon/decepticon/middleware/roe.py:237
↓ 2 callersMethod_tool_response
(self, entry: dict[str, Any])
packages/decepticon/decepticon/runtime/recording.py:359
↓ 2 callersFunction_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 callersFunction_trusted_report_scope
(request: Any)
packages/decepticon/decepticon/middleware/engagement.py:67
↓ 2 callersFunction_truthy
(value: str | None)
packages/decepticon/decepticon/diagnostics.py:31
↓ 2 callersFunction_truthy
(raw: str | None)
packages/decepticon/decepticon/telemetry/config.py:44
↓ 2 callersFunction_truthy_string
(value: Any)
packages/decepticon/decepticon/skill_audit/rules.py:158
↓ 2 callersFunction_two_options
()
packages/decepticon/tests/unit/tools/test_ask_user_question.py:18
↓ 2 callersFunction_types
(transcript: list[dict])
packages/decepticon/tests/unit/core/test_subagent_transcript_state.py:102
↓ 2 callersFunction_upgrade_unversioned_plan
( backend: BackendProtocol | None, workspace_path: str, plan: OPPLAN )
packages/decepticon/decepticon/tools/opplan.py:479
↓ 2 callersFunction_upload
(backend: BackendProtocol, path: str, content: bytes)
packages/decepticon/decepticon/artifacts/storage.py:31
↓ 2 callersMethod_usage
(messages: list[BaseMessage])
benchmark/terminal_bench/agent.py:101
↓ 2 callersFunction_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 callersFunction_valid_vector
Accept only a finite, nonzero vector matching the configured index.
packages/decepticon/decepticon/skillogy/embeddings.py:134
↓ 2 callersFunction_wildcard_host
(host: str)
packages/decepticon/decepticon/sandbox_kernel/egress.py:131
↓ 2 callersFunction_workspace
()
packages/decepticon/decepticon/tools/reporting/ci_gate.py:36
↓ 2 callersFunction_workspace
()
packages/decepticon/decepticon/sandbox_web/__main__.py:32
↓ 2 callersMethod_workspace_slug
(workspace_path: str)
packages/decepticon/decepticon/sandbox_kernel/base.py:186
↓ 2 callersMethod_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 callersFunction_write_roe
(tmp_path: Path, machine_enforcement: dict)
packages/decepticon/tests/unit/sandbox_web/test_main.py:15
↓ 2 callersMethodaafter_model
(self, state: Any, runtime: Any)
packages/decepticon/decepticon/middleware/kg.py:249
↓ 2 callersFunctionacceptsRuntimeWorkspace
(path: string)
clients/cli/src/utils/runtimeWorkspace.ts:5
↓ 2 callersMethodack
(id string)
clients/launcher/internal/migrate/migrate.go:139
↓ 2 callersFunctionaddDeepRuntimeChecksForEngagement
(ctx context.Context, report *doctorReport, engagement string)
clients/launcher/cmd/doctor_deep.go:34
↓ 2 callersMethodainvoke
(self, *args, **kwargs)
packages/decepticon/decepticon/llm/factory.py:1050
↓ 2 callersMethodall_objectives
(self)
packages/decepticon/decepticon/runtime/cart.py:287
↓ 2 callersFunctionapplyDesktopAccountFile
(selected *desktopModelRuntime)
clients/launcher/cmd/desktop_runtime.go:145
↓ 2 callersFunctionapplyResumeEnv
(env map[string]string, thread string, latest bool)
clients/launcher/cmd/resume.go:3
↓ 2 callersFunctionapply_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 callersFunctionartifact_context
(runtime: ToolRuntime)
packages/decepticon/decepticon/middleware/artifact_tools.py:33
↓ 2 callersFunctionassertAssistantReady
(assistant: string, apiUrl: string)
clients/cli/src/hooks/useAgent.ts:180
↓ 2 callersFunctionassessBlueCoverage
(logSource: string, metrics: SensorMetrics)
clients/cli/src/commands/blue.ts:277
↓ 2 callersFunctionassetURL
assetURL returns the browser_download_url for the named asset, or "".
clients/launcher/internal/updater/updater.go:478
↓ 2 callersMethodawrap_model_call
(self, request, handler)
packages/decepticon/decepticon/runtime/recording.py:271
↓ 2 callersMethodawrap_model_call
(self, request, handler)
packages/decepticon/decepticon/runtime/recording.py:387
↓ 2 callersMethodawrap_tool_call
(self, request, handler)
packages/decepticon/decepticon/middleware/filesystem.py:487
↓ 2 callersMethodawrap_tool_call
(self, request, handler)
packages/decepticon/decepticon/middleware/hitl.py:472
↓ 2 callersMethodawrap_tool_call
(self, request, handler)
packages/decepticon/decepticon/runtime/recording.py:307
↓ 2 callersMethodawrap_tool_call
(self, request, handler)
packages/decepticon/decepticon/runtime/recording.py:421
↓ 2 callersFunctionbackend_health
Return backend health and startup diagnostics.
packages/decepticon/decepticon/tools/research/health.py:12
↓ 2 callersFunctionbackupLegacyEnv
(path string)
clients/launcher/cmd/legacy_credentials.go:236
↓ 2 callersMethodbaseArgs
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 callersFunctionbase_score
CVSS 3.1 base score from a parsed metric dict.
packages/decepticon/decepticon/tools/reporting/cvss.py:140
↓ 2 callersFunctionbest_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
← previousnext →1,701–1,800 of 10,737, ranked by callers