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
↓ 4 callers
Method
reset
Discard plugin registrations (test-only convenience). Has no effect on the OSS baseline since baseline lives in the framework, not he
packages/decepticon-core/decepticon_core/registry/safety.py:80
↓ 4 callers
Method
revision
Opaque token. Changes when any node's ``lastupdated`` advances for this engagement.
packages/decepticon/decepticon/middleware/kg_internal/store.py:228
↓ 4 callers
Function
run_installer_function
( tmp_path: Path, commands: str, overrides: dict[str, str] )
packages/decepticon/tests/unit/installer/test_install_sh.py:70
↓ 4 callers
Function
runtimeControlsEnvironment
(cmd *cobra.Command)
clients/launcher/cmd/runtime_controls.go:17
↓ 4 callers
Function
save
(fig: plt.Figure, name: str)
scripts/render_benchmark_charts.py:97
↓ 4 callers
Method
save
Save all documents to an engagement workspace directory. Layout — under ``<engagement_dir>/plan/``: roe.json, conops.json, opplan.jso
packages/decepticon-core/decepticon_core/types/engagement.py:1081
↓ 4 callers
Function
save_receipts
(name: str, fixture: DesktopFixture)
packages/decepticon/tests/integration/test_desktop_settings_runtime.py:58
↓ 4 callers
Function
scan_user_data
Scan EC2/Cloud-Init user-data for embedded secrets. Returns a list of ``(kind, snippet)`` tuples.
packages/decepticon/decepticon/tools/cloud/aws.py:258
↓ 4 callers
Function
search
Return recipes whose heading chain / description match ``topic``. Ranking is dumb-but-fast: count how many query terms hit the heading chain
packages/decepticon/decepticon/tools/references/oneliners.py:160
↓ 4 callers
Function
session_id_for
Stable per-engagement session id (sha256[:16]). The engagement name may carry a client/org name, so it is **never** sent raw — this hash is t
packages/decepticon/decepticon/telemetry/sink.py:313
↓ 4 callers
Function
shortPath
(path: string)
clients/cli/src/utils/format.ts:2
↓ 4 callers
Function
start_agent_span
Start an agent-run span as a child of the active engagement (if any).
packages/decepticon/decepticon/telemetry/otel.py:131
↓ 4 callers
Function
start_tool_span
Start a tool-call span as a sibling of llm_call under agent_run.
packages/decepticon/decepticon/telemetry/otel.py:154
↓ 4 callers
Function
stopAndBackupWorkspace
(c *compose.Compose, workspace, backup string)
clients/launcher/cmd/remove.go:255
↓ 4 callers
Function
summarize_findings
Reduce a (possibly absent) KnowledgeGraph to a :class:`FindingsResult`.
packages/decepticon/decepticon/mcp_server/findings.py:53
↓ 4 callers
Function
technology_for_title
Classify an HTML page title as a likely AI web front-end. Always corroborating-only (``guess=True``): a title is operator controllable, so it
packages/decepticon/decepticon/middleware/kg_internal/ai_surface.py:170
↓ 4 callers
Method
text
(self, max_chars: int = 4000)
packages/decepticon/decepticon/tools/web/http.py:78
↓ 4 callers
Method
to_dict
(self)
packages/decepticon/decepticon/tools/research/cve.py:117
↓ 4 callers
Method
to_dict
(self)
packages/decepticon/decepticon/tools/web/jwt.py:73
↓ 4 callers
Method
to_dict
(self)
packages/decepticon/decepticon/tools/web/http.py:45
↓ 4 callers
Method
to_dict
(self)
packages/decepticon/decepticon/tools/web/http.py:67
↓ 4 callers
Method
to_severity
(self)
packages/decepticon/decepticon/tools/research/poc.py:136
↓ 4 callers
Function
tool_error
Build a structured error tool result. Args: tool: Tool name (e.g. "Bash", "WebFetch"). cause: What went wrong. recovery:
packages/decepticon/decepticon/tools/errors.py:36
↓ 4 callers
Method
unitPath
()
clients/launcher/internal/infracontrol/systemd.go:57
↓ 4 callers
Method
upsert_edge
(self, edge)
packages/decepticon/tests/unit/research/test_tools.py:51
↓ 4 callers
Method
upsert_node
(self, node: Any)
packages/decepticon/tests/unit/research/test_bounty_extended.py:82
↓ 4 callers
Function
useBrowserConfig
()
clients/web/src/lib/browser-config-context.tsx:15
↓ 4 callers
Function
validate_contract_metadata
Return schema violations for an optional ``capability_contract`` block.
packages/decepticon/decepticon/capabilities/contracts.py:81
↓ 4 callers
Function
validate_credential
Probe ``secret`` against its issuing API and report liveness. Performs a single authenticated HTTP request (over a throwaway :class:`httpx.As
packages/decepticon/decepticon/tools/research/secret_scanner.py:153
↓ 4 callers
Function
validate_evidence
Validate a captured proof and negative control. At least one success pattern must occur in the positive output, at least one baseline pattern
packages/decepticon/decepticon/capabilities/evidence.py:46
↓ 4 callers
Method
vulns
(self)
packages/decepticon/tests/unit/contracts/test_slither_kgstore.py:63
↓ 4 callers
Method
wait_for_decision
(self, request_id: str, timeout: float)
packages/decepticon/decepticon/middleware/hitl.py:248
↓ 4 callers
Method
wrap_model_call
(self, request, handler)
packages/decepticon/decepticon/middleware/event_logging.py:618
↓ 4 callers
Method
wrap_model_call
(self, request: Any, handler: Any)
packages/decepticon/decepticon/middleware/step_budget.py:35
↓ 4 callers
Method
wrap_model_call
(self, request, handler)
packages/decepticon/decepticon/runtime/recording.py:370
↓ 4 callers
Method
wrap_tool_call
(self, request, handler)
packages/decepticon/decepticon/runtime/recording.py:404
↓ 4 callers
Function
write_policy
(path: Path, url: str, model: str = "openai/fixture-selected")
packages/decepticon/tests/integration/test_desktop_settings_runtime.py:35
↓ 3 callers
Function
ApplyUpdate
ApplyUpdate runs the full upgrade flow: SyncConfigFiles, Docker image pull, SelfUpdate (binary), WriteVersion. Shared between the “decepticon update“
clients/launcher/internal/updater/updater.go:668
↓ 3 callers
Function
CompareVersions
CompareVersions returns true if latest > current using numeric semver comparison.
clients/launcher/internal/updater/updater.go:212
↓ 3 callers
Function
ComposeCommandEnv
ComposeCommandEnv returns the environment every docker compose call should run with. Both the launcher's Compose wrapper and the daemon's DockerCompos
clients/launcher/internal/infracontrol/paths.go:178
↓ 3 callers
Function
ComposeProjectName
ComposeProjectName returns the docker compose `-p PROJECT` value the launcher AND the daemon must both pass on every compose call. Resolution order:
clients/launcher/internal/infracontrol/paths.go:147
↓ 3 callers
Method
Down
Down stops and removes containers using all profiles for clean teardown.
clients/launcher/internal/compose/compose.go:247
↓ 3 callers
Function
Get
Get returns a config value with a fallback default.
clients/launcher/internal/config/config.go:778
↓ 3 callers
Method
Install
Install writes (or re-writes) the unit file, reloads the init system, enables the unit (so it starts on boot/login), and starts it. Idempotent.
clients/launcher/internal/infracontrol/service.go:51
↓ 3 callers
Method
Ready
Ready reports whether the host can run the Decepticon stack right now (Docker installed, daemon up, Compose v2 present).
clients/launcher/internal/platform/system.go:93
↓ 3 callers
Method
RefreshPorts
RefreshPorts updates an already loaded startup config after automatic remaps. Compose uses ExtraEnv above; host probes and connection hints use this m
clients/launcher/internal/compose/port_recovery.go:127
↓ 3 callers
Method
UpDatabases
()
clients/launcher/internal/compose/compose.go:230
↓ 3 callers
Method
View
()
clients/launcher/internal/engagement/picker.go:463
↓ 3 callers
Method
Write
(p []byte)
clients/launcher/internal/compose/network_recovery.go:32
↓ 3 callers
Function
WriteVersion
WriteVersion writes the version to .version file.
clients/launcher/internal/updater/updater.go:631
↓ 3 callers
Method
__init__
(self, path: Path)
packages/decepticon/decepticon/runtime/recording.py:165
↓ 3 callers
Function
_adapt_api_spec
Import a local OpenAPI or Postman document without contacting its target.
packages/decepticon/decepticon/middleware/kg_internal/ingest.py:658
↓ 3 callers
Function
_ai_message
The ``AIMessage`` inside a model-call result. ``wrap_model_call``'s handler returns a ``ModelResponse`` dataclass wrapping ``result: list[Bas
packages/decepticon/decepticon/middleware/event_logging.py:180
↓ 3 callers
Function
_assert_request_binding
(request: Any)
packages/decepticon/decepticon/middleware/engagement.py:204
↓ 3 callers
Function
_async_mock
(return_value: Any = None)
packages/decepticon/tests/unit/tools/test_browser.py:30
↓ 3 callers
Function
_basic_sigma
()
packages/decepticon/tests/unit/tools/test_defense.py:27
↓ 3 callers
Method
_bind_run_sandbox
(self, runtime)
packages/decepticon/decepticon/middleware/opplan.py:544
↓ 3 callers
Method
_build_anthropic_request
Build the Anthropic Messages API request. Shared by the buffered (``completion``) and token-streaming (``streaming`` / ``astreaming``
config/claude_code_handler.py:403
↓ 3 callers
Function
_build_headers
Build full Anthropic API headers with OAuth + spoofing.
config/claude_code_handler.py:347
↓ 3 callers
Method
_build_message
Inject completions + emit per-job stream events. Returns the state update (HumanMessage) or None when nothing changed.
packages/decepticon/decepticon/middleware/notifications.py:233
↓ 3 callers
Method
_capture_writer
(self)
packages/decepticon/tests/unit/core/test_subagent_streaming.py:170
↓ 3 callers
Method
_challenge
(self, tmp_path: Path)
packages/decepticon/tests/unit/benchmark/test_xbow_provider.py:125
↓ 3 callers
Method
_check_identity
(self, response: Identity)
packages/decepticon/decepticon/tools/browser/native.py:103
↓ 3 callers
Method
_check_one
(self, scope_kind: str, scope_key: str, cap_usd: float)
packages/decepticon/decepticon/middleware/budget.py:318
↓ 3 callers
Function
_check_safety_gate
Raise ``SafetyOverrideViolation`` when a safety-critical slot/tool is being overridden without the env gate. The safety-critical set is the u
packages/decepticon/decepticon/agents/build.py:299
↓ 3 callers
Function
_clamp
(value: int, low: int, high: int)
packages/decepticon/decepticon/mcp_server/tools_interactive.py:28
↓ 3 callers
Function
_claude_model_base
Normalize a Claude version without changing the actual routed model ID. Accept provider namespaces, dotted versions, dated API/Vertex snapshots a
packages/decepticon/decepticon/llm/factory.py:117
↓ 3 callers
Method
_clear_screen
(self)
packages/decepticon/decepticon/sandbox_kernel/tmux.py:458
↓ 3 callers
Function
_codex_auth_path
()
config/codex_chatgpt_handler.py:57
↓ 3 callers
Function
_coerce_sigma
(rule: dict[str, Any] | str)
packages/decepticon/decepticon/tools/defense/tools.py:20
↓ 3 callers
Function
_command_from_tool_call
(request)
packages/decepticon/decepticon/middleware/roe.py:245
↓ 3 callers
Function
_command_with_exit_marker
(command: str, marker: str)
benchmark/terminal_bench/sandbox.py:19
↓ 3 callers
Function
_config_error
(message: str)
packages/decepticon/decepticon/tools/ad/bh_tools.py:49
↓ 3 callers
Function
_configurable_from_runnable_config
Read the active run's ``config.configurable`` block, defensively. Returns an empty dict outside a LangGraph execution context so callers can
packages/decepticon/decepticon/middleware/engagement.py:163
↓ 3 callers
Function
_configure_kg
(monkeypatch: pytest.MonkeyPatch)
packages/decepticon/tests/unit/research/test_scanner_tools.py:55
↓ 3 callers
Function
_configure_store
(monkeypatch: pytest.MonkeyPatch, graph: KnowledgeGraph)
packages/decepticon/tests/unit/research/test_dedupe.py:108
↓ 3 callers
Method
_create_chat_result
(self, response: Any, generation_info: dict | None = None)
packages/decepticon/decepticon/llm/factory.py:1077
↓ 3 callers
Method
_dcsync_query
(self, store: _FakeKGStore)
packages/decepticon/tests/unit/ad/test_adcs_post.py:162
↓ 3 callers
Function
_dispatch
Run an engine command in the sandbox. Returns (parsed_json, raw_output).
packages/decepticon/decepticon/tools/web/search.py:71
↓ 3 callers
Function
_distinct_pair_graph
()
packages/decepticon/tests/unit/research/test_dedupe.py:80
↓ 3 callers
Method
_emit_compact_event
Emit a compaction event to the engagement event log. Never crashes the agent — event log failures are swallowed so summarization fail
packages/decepticon/decepticon/agents/middleware_slots.py:337
↓ 3 callers
Function
_emit_jsonl_event
(event: dict[str, Any])
packages/decepticon/decepticon/cli/scan.py:190
↓ 3 callers
Function
_enabled
()
packages/decepticon/decepticon/telemetry/otel.py:43
↓ 3 callers
Function
_ensure_service_node
( graph: KnowledgeGraph, *, host: Node, host_label: str, port: int, proto: str, **
packages/decepticon/decepticon/tools/research/tools.py:258
↓ 3 callers
Method
_esc4_query
(self, store: _FakeKGStore)
packages/decepticon/tests/unit/ad/test_adcs_post.py:394
↓ 3 callers
Function
_extract_generic
(command: str)
packages/decepticon/decepticon/middleware/_command_targets.py:229
↓ 3 callers
Function
_fake_driver
Mock that mimics neo4j.Driver / Session / Transaction enough for unit tests.
packages/decepticon/tests/unit/middleware/test_kgstore_unit.py:135
↓ 3 callers
Function
_fake_driver
()
packages/decepticon/tests/unit/middleware/test_kg_engagement_scope.py:27
↓ 3 callers
Function
_fake_request
Stand-in for the langchain ModelRequest passed to wrap_model_call.
packages/decepticon/tests/unit/middleware/test_kg_middleware_unit.py:151
↓ 3 callers
Function
_fake_sandbox
()
packages/decepticon/tests/unit/tools/bash/test_offload_bracket_prefix.py:17
↓ 3 callers
Method
_find_lexical
Full-text (BM25) + structured leg, relevance-ordered. Free text goes to the ``skill_text`` full-text index over name / description /
packages/decepticon/decepticon/skillogy/server/neo4j_backend.py:650
↓ 3 callers
Function
_flatten
(message: SystemMessage | None)
packages/decepticon/tests/unit/middleware/test_opplan_inject_format.py:69
↓ 3 callers
Method
_get_session
(self, session: str)
benchmark/terminal_bench/sandbox.py:39
↓ 3 callers
Method
_golden_query
(self, store: _FakeKGStore)
packages/decepticon/tests/unit/ad/test_adcs_post.py:206
↓ 3 callers
Function
_graph_with_validated
()
packages/decepticon/tests/unit/reporting/test_reporting_tools_and_executive.py:62
↓ 3 callers
Function
_headers
(access_token: str, account_id: str | None)
config/codex_chatgpt_handler.py:184
↓ 3 callers
Function
_home
(env: dict[str, str])
packages/decepticon/decepticon/telemetry/config.py:60
↓ 3 callers
Function
_httpx_response
(status_code: int, payload: Any)
packages/decepticon/tests/unit/llm/test_oauth_token_store.py:318
↓ 3 callers
Function
_inbox_path
(agent_id: str)
packages/decepticon/decepticon/tools/orchestration/agent_graph.py:32
↓ 3 callers
Function
_index_file
(root: Path | None)
packages/decepticon/decepticon/tools/references/cve_poc_index.py:211
← previous
next →
1,101–1,200 of 10,737, ranked by callers