MCPcopy Create free account

hub / github.com/BitterSecurity/Decepticon / functions

Functions10,737 in github.com/BitterSecurity/Decepticon

↓ 6 callersFunctionuseScreen
()
clients/cli/src/components/shell/ScreenContext.tsx:16
↓ 6 callersFunctionuseTerminalSize
()
clients/cli/src/hooks/useTerminalSize.ts:9
↓ 6 callersFunctionverify
(registry: ArtifactRegistry, backend: BackendProtocol)
packages/decepticon/tests/unit/search_v2/test_search_evidence.py:70
↓ 6 callersMethodverify_token
(self, token: str)
packages/decepticon/decepticon/mcp_server/auth.py:90
↓ 6 callersFunctionwithTempFile
withTempFile points the package-level path variable at a temp file containing the given content for the duration of the test.
clients/launcher/internal/platform/platform_test.go:12
↓ 6 callersFunctionworkflow
()
packages/decepticon/tests/unit/workflows/test_declared_edges_validation.py:15
↓ 6 callersMethodwrap_tool_call
(self, request, handler)
packages/decepticon/decepticon/runtime/recording.py:288
↓ 6 callersFunctionwriteJSON
(w http.ResponseWriter, status int, body any)
clients/launcher/internal/infracontrol/server.go:263
↓ 6 callersFunctionwrite_dynamic_config
Read a LiteLLM YAML config, append requested models, and write a copy.
config/litellm_dynamic_config.py:1122
↓ 5 callersMethodApply
Apply mutates the provided env slice to include any runtime-derived env vars (DOCKER_HOST for Podman, etc.). Pure: the input slice is not modified — a
clients/launcher/internal/runtime/runtime.go:216
↓ 5 callersFunctionCheckLangGraph
CheckLangGraph polls /assistants/search until the response references the decepticon assistant. Compose's healthcheck only verifies that /ok serves; g
clients/launcher/internal/health/health.go:48
↓ 5 callersFunctionFetchRelease
FetchRelease gets the release to track for the given channel. - latest: the newest FINAL release, immediately (GitHub releases/latest, which excludes
clients/launcher/internal/updater/updater.go:121
↓ 5 callersMethodInstalled
Installed reports whether the daemon's service unit currently exists on disk (not whether it is *running*). Returns (false, nil) for the noop manager.
clients/launcher/internal/infracontrol/service.go:42
↓ 5 callersFunctionIsWSL
IsWSL returns true when the launcher is running inside the Windows Subsystem for Linux. WSL1 and WSL2 both stamp the kernel version string with a reco
clients/launcher/internal/platform/platform.go:31
↓ 5 callersFunctionMigrateActiveComposeProfiles
MigrateActiveComposeProfiles comments out any active "COMPOSE_PROFILES=" line in the .env file. Before ADR-0006 (v1.1.7 and earlier) the OSS .env.exa
clients/launcher/internal/config/config.go:809
↓ 5 callersFunctionPrintln
(args ...any)
clients/launcher/internal/ui/theme.go:218
↓ 5 callersFunctionStackName
StackName returns the value of DECEPTICON_STACK_NAME, sanitized to match the same `[a-z0-9-]{1,32}` shape we accept in compose object names. Empty whe
clients/launcher/internal/infracontrol/paths.go:24
↓ 5 callersMethodStop
Stop tears down the workload. Idempotent: stopping a stopped workload returns nil.
clients/launcher/internal/infracontrol/backend.go:54
↓ 5 callersFunction_assert_runtime_binding
A launcher-scoped mount must not dispatch a sibling/stale engagement.
packages/decepticon/decepticon/middleware/engagement.py:179
↓ 5 callersMethod_body
(self, opts)
packages/decepticon/tests/unit/llm/test_oauth_handlers.py:550
↓ 5 callersFunction_build_fake_cache
Lay out a minimal PayloadsAllTheThings clone for tests.
packages/decepticon/tests/unit/references/test_payloads_ingest.py:16
↓ 5 callersFunction_call
(tool: Any, args: dict[str, Any], state: dict[str, Any])
packages/decepticon/tests/live/neo4j/test_kg_tools_live.py:18
↓ 5 callersFunction_capture
(level: str | int = "INFO", fmt: str = "text")
packages/decepticon/tests/unit/core/test_logging.py:28
↓ 5 callersFunction_cffi_get
( url: str, *, impersonate: str = "safari", timeout: int = 15, scope_check: Optional[Calla
packages/decepticon/decepticon/sandbox_web/phase0.py:41
↓ 5 callersFunction_classification
Build the ``(Technology node, RUNS edge)`` observation pair.
packages/decepticon/decepticon/middleware/kg_internal/ai_surface.py:108
↓ 5 callersFunction_clean_model
(value: str | None)
config/litellm_dynamic_config.py:383
↓ 5 callersMethod_command_completion
Require this generation and the original pane process; never trust rendered text.
packages/decepticon/decepticon/sandbox_kernel/tmux.py:635
↓ 5 callersFunction_compute_orphan_tmux_sessions
Pure decision function for the startup reap. Returns the subset of ``discovered`` that are decepticon-owned (``dcptn_`` prefix) AND not prese
packages/decepticon/decepticon/sandbox_kernel/base.py:67
↓ 5 callersFunction_default_litellm_spend_provider
Default spend provider: query the LiteLLM proxy ``/spend/tags`` API. ``scope_key`` looks like ``engagement:<slug>`` or ``agent:<slug>:<agent>``
packages/decepticon/decepticon/middleware/budget.py:408
↓ 5 callersFunction_dispatch_scan_via_sdk
Drive a one-shot scan through the LangGraph SDK; return a result envelope. Wraps the SDK in a defensive import so a missing langgraph-sdk yields
packages/decepticon/decepticon/cli/scan.py:208
↓ 5 callersFunction_drive
Feed events through the accumulator the way httpx delivers SSE lines.
packages/decepticon/tests/unit/llm/test_codex_chatgpt_handler_streaming.py:86
↓ 5 callersFunction_env_float
(name: str, default: float)
packages/decepticon/decepticon/middleware/budget.py:126
↓ 5 callersFunction_epss_payload
(prob: float = 0.5, pct: float = 0.9)
packages/decepticon/tests/unit/research/test_cve_extended.py:213
↓ 5 callersMethod_esc1_query
(self, store: _FakeKGStore)
packages/decepticon/tests/unit/ad/test_adcs_post.py:253
↓ 5 callersMethod_esc3_query
(self, store: _FakeKGStore)
packages/decepticon/tests/unit/ad/test_adcs_post.py:321
↓ 5 callersFunction_events
(sent: list[dict[str, Any]])
packages/decepticon/tests/unit/telemetry/test_telemetry_behavioral.py:28
↓ 5 callersFunction_extract_nmap_targets
(command: str)
packages/decepticon/decepticon/middleware/_command_targets.py:252
↓ 5 callersFunction_findings_path
()
packages/decepticon/decepticon/tools/reporting/finding_epistemics.py:111
↓ 5 callersFunction_flatten_props
Coerce arbitrary props into Neo4j-compatible scalar/list values. Primitives and primitive-list values pass through. Nested dicts or lists of
packages/decepticon/decepticon/middleware/kg_internal/store.py:107
↓ 5 callersFunction_format_envelope
( origin: str, tool_call_id: str, risk: str, categories: list[str], body: str, )
packages/decepticon/decepticon/middleware/untrusted_output.py:140
↓ 5 callersFunction_graph_rejection
(inspection: PlanInspection, tool_call_id: str)
packages/decepticon/decepticon/tools/opplan.py:101
↓ 5 callersFunction_havoc_creds
()
packages/decepticon/decepticon/tools/c2/havoc.py:56
↓ 5 callersFunction_install_disable_stubs
Install the full set of fake modules ``disable_bundle`` imports. ``disable_bundle`` reaches for ``langgraph_api.graph`` (GRAPHS, NAMESPACE_GR
packages/decepticon/tests/unit/server/test_plugins_api.py:236
↓ 5 callersFunction_install_transport
Replace the default httpx.Client constructor with one wired to a ``MockTransport`` so the tools' internal ``BHCEClient.from_env`` yields a non
packages/decepticon/tests/unit/ad/test_bh_tools.py:35
↓ 5 callersFunction_is_in_scope
Return True if ``target`` is allowed. Empty scope allows everything.
packages/decepticon/decepticon/tools/research/osint.py:88
↓ 5 callersFunction_json
(data: Any)
packages/decepticon/decepticon/tools/research/shared_notes.py:21
↓ 5 callersFunction_json
(data: Any)
packages/decepticon/decepticon/tools/reporting/tools.py:48
↓ 5 callersFunction_json
(data: Any)
packages/decepticon/decepticon/tools/reporting/finding_epistemics.py:23
↓ 5 callersFunction_load
()
packages/decepticon/decepticon/tools/research/shared_notes.py:47
↓ 5 callersFunction_load_agents
()
packages/decepticon/decepticon/tools/orchestration/agent_graph.py:39
↓ 5 callersFunction_make_inventory
( statuses: tuple[AuthMethodStatus, ...] = (), resolved_chain: tuple[AuthMethod, ...] = (), priori
packages/decepticon/tests/unit/cli/test_auth_branches.py:63
↓ 5 callersFunction_make_pe
Build a minimal PE buffer.
packages/decepticon/tests/unit/reversing/test_reversing_internals.py:88
↓ 5 callersMethod_make_resp
(self, request_id: str, status: int, body: bytes)
packages/decepticon/tests/unit/web/test_http_branches.py:606
↓ 5 callersMethod_maybe_raise
(self, method: str)
packages/decepticon/tests/unit/ops/test_tools.py:37
↓ 5 callersFunction_method_is_configured
Return True if ``method``'s credential-detection rule passes. Single source of truth shared by ``_detect_available_methods`` (which builds th
packages/decepticon/decepticon/llm/factory.py:675
↓ 5 callersFunction_native_api_base
Return the native Ollama API root for a (possibly ``/v1``) base. Ollama Cloud's ``/api/tags`` and ``/api/show`` live at the root, not under t
config/ollama_probe.py:92
↓ 5 callersFunction_next_poll_interval
Grow the poll interval geometrically, capped at a POLL_INTERVAL multiple. Reads the module-level constants at call time so tests that patch `
packages/decepticon/decepticon/sandbox_kernel/tmux.py:133
↓ 5 callersFunction_norm
(addrs: Iterable[str])
packages/decepticon/decepticon/sandbox_kernel/egress.py:100
↓ 5 callersFunction_nvd_payload
(score: float = 8.5, cve_id: str = "CVE-2024-0001")
packages/decepticon/tests/unit/research/test_cve_extended.py:188
↓ 5 callersFunction_original_chat_model
( model: str = "openai/gpt-5.5", temperature: float | None = 0.4 )
packages/decepticon/tests/unit/middleware/test_proxy_key_override.py:37
↓ 5 callersFunction_patch_entry_points
Replace ``importlib.metadata.entry_points`` in plugins.py with a closure that returns the fake list for the requested group.
packages/decepticon-core/tests/test_plugin_registry.py:44
↓ 5 callersFunction_patch_get_config
Patch ``langgraph.config.get_config`` (imported lazily inside factory).
packages/decepticon/tests/unit/backends/test_factory.py:79
↓ 5 callersFunction_patch_sandbox
(monkeypatch: pytest.MonkeyPatch, output: str)
packages/decepticon/tests/unit/tools/web/test_search.py:33
↓ 5 callersFunction_path_inside_offensive_tree
(name: str)
packages/decepticon/tests/unit/skill_audit/test_rules.py:17
↓ 5 callersFunction_populate
Seed a representative engagement: 2 hosts, 2 services, 3 vulns, 2 entrypoints (1 unexplored), 1 crown jewel reachable from entrypoint via a si
packages/decepticon/tests/live/neo4j/test_kg_summary_live.py:23
↓ 5 callersMethod_process_messages
Process new messages and emit events to channels. When ``transcript`` is provided, every event emitted to ``writer`` is ALSO appended
packages/decepticon/decepticon/core/subagent_streaming.py:339
↓ 5 callersFunction_producer
()
packages/decepticon/tests/unit/workflows/test_declared_edges_validation.py:82
↓ 5 callersFunction_provider_prefix
(model_name: str)
config/litellm_dynamic_config.py:567
↓ 5 callersMethod_query_cost
Sum spend from LiteLLM's /spend/logs for a time window. Returns the USD total (sum of the ``spend`` field across every row whose ``st
benchmark/harness.py:156
↓ 5 callersFunction_read_proxy_key
Pull the per-run virtual key out of runtime context or input state. Returns the empty string when nothing is set so the caller can short-circ
packages/decepticon/decepticon/middleware/proxy_key_override.py:84
↓ 5 callersFunction_read_request
(middleware, workspace: str)
packages/decepticon/tests/unit/middleware/test_filesystem.py:293
↓ 5 callersMethod_request
(self, method: str, path: str, **kwargs: Any)
packages/decepticon/decepticon/tools/ops/client.py:105
↓ 5 callersFunction_resolve_endpoint
Resolve the sandbox ``(base_url, token)``, preferring per-run config. A shared langgraph process serving many engagements cannot reach a per-
packages/decepticon/decepticon/backends/factory.py:101
↓ 5 callersMethod_resolve_limit
(self, rules: MachineEnforcement)
packages/decepticon/decepticon/middleware/roe.py:359
↓ 5 callersFunction_resolve_workspace_path
Pick the live workspace path: state first, then runnable config, then default.
packages/decepticon/decepticon/middleware/engagement.py:282
↓ 5 callersMethod_response_to_chunks
Convert a ModelResponse into GenericStreamingChunk dicts. Mirrors ``claude_code_handler`` / ``codex_chatgpt_handler``: any streamed `
config/grok_handler.py:270
↓ 5 callersFunction_retry_lock
Call ``acquire`` until it returns, with capped exponential backoff. ``acquire`` must raise ``OSError`` on contention and return on success. T
packages/decepticon/decepticon/runtime/event_log.py:56
↓ 5 callersMethod_row
( self, entry_id: str = "e1", entry_label: str = "EP", crown_id: str = "c1",
packages/decepticon/tests/unit/research/test_chain.py:267
↓ 5 callersFunction_run_git
Run a ``git`` command with the hardened environment overlay.
packages/decepticon/decepticon/tools/references/fetch.py:111
↓ 5 callersFunction_same_bug_graph
()
packages/decepticon/tests/unit/research/test_dedupe.py:61
↓ 5 callersMethod_scope_keys
Pull engagement_id and agent_id from request state; fall back to env.
packages/decepticon/decepticon/middleware/budget.py:301
↓ 5 callersFunction_scripted_manager
Manager whose _capture replays *screens* and whose sleeps are recorded. The first entry is the pre-send baseline capture; the rest are poll c
packages/decepticon/tests/unit/sandbox_kernel/test_poll_backoff.py:60
↓ 5 callersFunction_seed_engagement
(workspace: Path, engagement_id: str = "eng-1")
packages/decepticon/tests/unit/cli/test_export_transcript.py:13
↓ 5 callersFunction_seed_evidence
(workspace: Path)
packages/decepticon/tests/unit/tools/test_evidence_tools.py:17
↓ 5 callersFunction_seed_verified_vuln
Plant a validated vuln node in the graph and return its id.
packages/decepticon/tests/unit/research/test_patch.py:62
↓ 5 callersFunction_seeded_graph
()
packages/decepticon/tests/unit/reporting/test_reporting.py:12
↓ 5 callersFunction_session_id
A stable per-engagement session id. Delegates to the telemetry canonical :func:`session_id_for` so the middleware, OPPLAN, and finding tools all h
packages/decepticon/decepticon/middleware/event_logging.py:244
↓ 5 callersMethod_setup_conops
(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
packages/decepticon/tests/unit/tools/test_defense_push.py:460
↓ 5 callersMethod_setup_conops
(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
packages/decepticon/tests/unit/tools/test_defense_push.py:837
↓ 5 callersFunction_sse
Render events the way Anthropic's SSE wire does (httpx strips newlines).
packages/decepticon/tests/unit/llm/test_claude_code_handler_streaming.py:74
↓ 5 callersFunction_stable_rule_id
Choose a deterministic SARIF rule id for a finding node. Preference order: first CWE tag, then sanitized title, then ``node.id``. SARIF ``rul
packages/decepticon/decepticon/tools/reporting/sarif.py:153
↓ 5 callersFunction_which
(binary: str)
packages/decepticon/decepticon/tools/references/fetch.py:218
↓ 5 callersFunction_workspace_from_runtime
(runtime: Any)
packages/decepticon/decepticon/middleware/filesystem.py:332
↓ 5 callersFunction_workspace_root
()
benchmark/providers/mhbench.py:1100
↓ 5 callersFunction_wrap_untrusted
Wrap content in ``<untrusted_tool_output>…</untrusted_tool_output>`` markers.
packages/decepticon/decepticon/middleware/prompt_injection_shield.py:208
↓ 5 callersFunction_write_bundle
(root: Path, *, target: str = "https://target.example")
packages/decepticon/tests/unit/tools/test_complete_planning.py:11
↓ 5 callersFunction_write_migration
(dir_path: Path, name: str, cypher: str)
packages/decepticon/tests/unit/middleware/test_kg_migration_runner.py:146
↓ 5 callersMethodafter_model
Reject parallel OPPLAN tool calls in the same model step. Mutating tools (commit/update/load_opplan) race on ``state.objectives`` bec
packages/decepticon/decepticon/middleware/opplan.py:641
↓ 5 callersMethodainvoke
Stream sub-agent execution (async), emitting events to available channels. This is the critical path — LangGraph runs the graph asynchronousl
packages/decepticon/decepticon/core/subagent_streaming.py:581
↓ 5 callersFunctionanalyze_adcs_templates
Run every ESC check against a Certipy JSON output. Expected shape:: {"Certificate Templates": {<name>: {...}}, "Certificate Aut
packages/decepticon/decepticon/tools/ad/adcs.py:286
← previousnext →701–800 of 10,737, ranked by callers