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
Function
_attrs
Return ``span.attributes`` after asserting it is populated. ``ReadableSpan.attributes`` is ``Optional[Mapping]`` in the SDK type stubs; narro
packages/decepticon/tests/unit/telemetry/test_otel.py:28
↓ 4 callers
Function
_backend
(transaction: _Transaction)
packages/decepticon/tests/unit/skillogy/test_catalog_sync.py:113
↓ 4 callers
Method
_base
(self)
packages/decepticon/tests/unit/llm/test_role_model_override.py:76
↓ 4 callers
Function
_benchmark_mode_active
Truthy evaluation of the BENCHMARK_MODE env var set on the LangGraph container.
packages/decepticon/decepticon/middleware/engagement.py:158
↓ 4 callers
Function
_build
(cve_id: str, variant: str, data: dict[str, Any])
benchmark/cve_bench/loader.py:84
↓ 4 callers
Function
_build_exploit_stack
Assemble the real OSS ``exploit`` (bash-agent) middleware stack. SUMMARIZATION is disabled because ``create_summarization_middleware`` pokes
packages/decepticon/tests/unit/agents/test_build.py:509
↓ 4 callers
Function
_build_trickest_cache
(root: Path)
packages/decepticon/tests/unit/references/test_cve_poc_index.py:16
↓ 4 callers
Function
_canonicalize
Drop fields that vary across otherwise-identical runs (timestamps, run IDs).
packages/decepticon/decepticon/runtime/recording.py:84
↓ 4 callers
Method
_capture
(self)
packages/decepticon/decepticon/sandbox_kernel/tmux.py:467
↓ 4 callers
Function
_cfg
(url: str, token: str = "tok")
packages/decepticon/tests/unit/tools/bash/test_sandbox_routing.py:17
↓ 4 callers
Method
_challenge
(self)
packages/decepticon/tests/unit/benchmark/test_cybench_provider.py:132
↓ 4 callers
Method
_context
Resolve the EventLog, agent name, and per-engagement session id. ``session_id`` is hashed from the engagement so every telemetry event —
packages/decepticon/decepticon/middleware/event_logging.py:365
↓ 4 callers
Function
_create_mock_benchmarks
Create a mock benchmarks directory with 3 challenges.
packages/decepticon/tests/unit/benchmark/test_xbow_provider.py:14
↓ 4 callers
Function
_default_cache_root
()
packages/decepticon/decepticon/tools/references/fetch.py:26
↓ 4 callers
Function
_diagnose_http
(exc: OpsControlError, tool_name: str)
packages/decepticon/decepticon/tools/ops/tools.py:58
↓ 4 callers
Function
_diagnose_unreachable
(exc: OpsControlUnreachableError, tool_name: str)
packages/decepticon/decepticon/tools/ops/tools.py:43
↓ 4 callers
Function
_discover
Discover entry-point contributions for one group.
packages/decepticon-core/decepticon_core/plugin_loader.py:387
↓ 4 callers
Function
_emit_warning_event
Emit a ``budget_warning`` custom stream event for the dashboard.
packages/decepticon/decepticon/middleware/budget.py:190
↓ 4 callers
Method
_enabled
(self)
packages/decepticon/decepticon/middleware/budget.py:270
↓ 4 callers
Method
_enabled
(self, state: AgentState)
packages/decepticon/decepticon/middleware/search_runtime.py:234
↓ 4 callers
Function
_enforce_policy
(**kw)
packages/decepticon/tests/unit/sandbox_kernel/test_egress_applier.py:34
↓ 4 callers
Function
_ensure_loaded
()
packages/decepticon/decepticon/tools/mcp/registry.py:50
↓ 4 callers
Function
_envelope
(html: str, final_url: str = "https://8.8.8.8/final")
packages/decepticon/tests/unit/sandbox_web/test_executor.py:19
↓ 4 callers
Method
_esc13_query
(self, store: _FakeKGStore)
packages/decepticon/tests/unit/ad/test_adcs_post.py:561
↓ 4 callers
Method
_esc6_queries
(self, store: _FakeKGStore)
packages/decepticon/tests/unit/ad/test_adcs_post.py:446
↓ 4 callers
Method
_esc9_queries
(self, store: _FakeKGStore)
packages/decepticon/tests/unit/ad/test_adcs_post.py:617
↓ 4 callers
Function
_ev
(eid: str, source: str, **kw: object)
packages/decepticon-core/tests/test_event_store_contract.py:89
↓ 4 callers
Function
_extract_impacket_targets
(command: str)
packages/decepticon/decepticon/middleware/_command_targets.py:369
↓ 4 callers
Function
_extract_ssh_targets
(command: str)
packages/decepticon/decepticon/middleware/_command_targets.py:274
↓ 4 callers
Function
_fake_tool_request
( *, tool_name: str, state: dict[str, Any], tool_call_id: str = "tc-123" )
packages/decepticon/tests/unit/middleware/test_kg_middleware_unit.py:224
↓ 4 callers
Function
_find_linked_vuln
Walk VALIDATES edges from a FINDING to find the linked VULNERABILITY.
packages/decepticon/decepticon/tools/research/bounty.py:178
↓ 4 callers
Function
_get_tracer
()
packages/decepticon/decepticon/telemetry/otel.py:96
↓ 4 callers
Function
_git
(repo: Path, *args: str)
packages/decepticon/tests/unit/benchmark/test_provenance.py:22
↓ 4 callers
Function
_graph_with
(*nodes: Node)
packages/decepticon/tests/unit/research/test_sarif_export_props_attr.py:22
↓ 4 callers
Function
_graph_with_cves
()
packages/decepticon/tests/unit/reporting/test_reporting_tools_and_executive.py:54
↓ 4 callers
Method
_guard
(self, request: ToolCallRequest)
packages/decepticon/decepticon/middleware/search_runtime.py:321
↓ 4 callers
Function
_harness_with_mock
(rows: Any, status: int = 200)
packages/decepticon/tests/unit/benchmark/test_harness_cost.py:42
↓ 4 callers
Function
_host_of
(url: str)
packages/decepticon/decepticon/sandbox_web/transport.py:26
↓ 4 callers
Method
_inject_policy
(self, request)
packages/decepticon/decepticon/middleware/untrusted_output.py:203
↓ 4 callers
Function
_inspect_objective_rows
( objectives: list[dict[str, Any]], facts: list[dict[str, Any]] | None = None )
packages/decepticon/decepticon/tools/opplan.py:92
↓ 4 callers
Function
_install_stub_config
(monkeypatch: pytest.MonkeyPatch)
packages/decepticon/tests/unit/middleware/test_budget_internals.py:323
↓ 4 callers
Function
_intr
(types: list[dict])
packages/decepticon/tests/unit/web/test_graphql.py:8
↓ 4 callers
Method
_invoke_with_mocked_path
Invoke format_bounty_report with the filesystem Path mocked out.
packages/decepticon/tests/unit/research/test_bounty_extended.py:303
↓ 4 callers
Function
_iter_cargo_lock
(path: Path)
packages/decepticon/decepticon/tools/research/tools.py:380
↓ 4 callers
Function
_iter_go_sum
(path: Path)
packages/decepticon/decepticon/tools/research/tools.py:356
↓ 4 callers
Function
_iter_package_lock
(path: Path)
packages/decepticon/decepticon/tools/research/tools.py:321
↓ 4 callers
Function
_job_dict
( session: str = "scan", key: str = "k1", command: str = "c", initial_markers: int = 0, st
packages/decepticon/tests/unit/backends/test_http_sandbox.py:366
↓ 4 callers
Function
_json
(data: Any)
packages/decepticon/decepticon/tools/research/agent_todo.py:20
↓ 4 callers
Function
_json
(data: Any)
packages/decepticon/decepticon/tools/research/coverage_ledger.py:25
↓ 4 callers
Function
_json
(data: Any)
packages/decepticon/decepticon/tools/mcp/registry.py:24
↓ 4 callers
Function
_json
(data: Any)
packages/decepticon/decepticon/tools/ad/bh_tools.py:34
↓ 4 callers
Function
_json
(data: Any)
packages/decepticon/decepticon/tools/evidence/tools.py:30
↓ 4 callers
Function
_json
(data: Any)
packages/decepticon/decepticon/tools/web/web_research.py:19
↓ 4 callers
Function
_jwt
(payload: dict[str, Any])
packages/decepticon/tests/unit/llm/test_oauth_token_store.py:253
↓ 4 callers
Function
_jwt_cfg
(pub: str, **kw: object)
packages/decepticon/tests/unit/mcp_server/test_auth.py:127
↓ 4 callers
Function
_key_for_object
Deterministic ``(key, engagement)``-friendly dedup key.
packages/decepticon/decepticon/tools/ad/bloodhound.py:191
↓ 4 callers
Function
_leaves
(objectives: Sequence[Objective])
packages/decepticon/decepticon/middleware/workflow_opplan.py:12
↓ 4 callers
Function
_load
(agent_name: str)
packages/decepticon/decepticon/tools/research/agent_todo.py:36
↓ 4 callers
Function
_load
Load the engagement KG for reporting. Reads the engagement label from the contextvar (``EngagementContextMiddleware`` sets it for every tool
packages/decepticon/decepticon/tools/reporting/tools.py:30
↓ 4 callers
Function
_load_coverage
()
packages/decepticon/decepticon/tools/research/coverage_ledger.py:56
↓ 4 callers
Function
_load_mock_catalog
Return mock findings for ``domain``. If ``DECEPTICON_OSINT_CATALOG`` points at a JSON file, look the domain up there (the file maps ``domain
packages/decepticon/decepticon/tools/research/osint.py:285
↓ 4 callers
Function
_load_module
()
packages/decepticon/tests/unit/llm/test_gemini_handler_session_cookies.py:61
↓ 4 callers
Function
_load_sidecar
Return a list of (relative_seconds, marker) tuples, or None if absent. Sidecar format: lines of ``<unix-timestamp-with-decimals> <event>``. `
packages/decepticon/decepticon/tools/evidence/asciicast.py:55
↓ 4 callers
Function
_looks_ipv6
(token: str)
packages/decepticon/decepticon/middleware/_command_targets.py:294
↓ 4 callers
Function
_looks_like_interactive_prompt
Return True if the screen's last non-blank line looks like a prompt. Used by stall detection to distinguish a real interactive prompt (msf6,
packages/decepticon/decepticon/sandbox_kernel/tmux.py:143
↓ 4 callers
Function
_make_corpus
Replicate the /skills/standard/<phase>/<skill>/SKILL.md tree. Returns the corpus root, which the scanner is invoked against.
packages/decepticon/tests/unit/skill_audit/test_cli.py:18
↓ 4 callers
Function
_make_find_skill_tool
(backend, allowed_path_prefixes: list[str] | None = None)
packages/decepticon/decepticon/middleware/skillogy.py:295
↓ 4 callers
Function
_make_proxy
()
packages/decepticon/tests/unit/llm/test_factory_attribution.py:23
↓ 4 callers
Function
_make_sandbox
()
packages/decepticon/tests/unit/backends/test_http_sandbox_job_key.py:7
↓ 4 callers
Function
_make_status
( method: AuthMethod = AuthMethod.OPENAI_API, kind: str = "api", label: str = "OpenAI API", en
packages/decepticon/tests/unit/cli/test_auth_branches.py:41
↓ 4 callers
Function
_make_store
(driver: Any | None = None)
packages/decepticon/tests/unit/middleware/test_kg_engagement_scope.py:37
↓ 4 callers
Method
_make_validated_finding
Create a validated FINDING node + linked VULNERABILITY node.
packages/decepticon/tests/unit/research/test_bounty_extended.py:244
↓ 4 callers
Function
_mcp_available
Check if the Ghidra MCP server is reachable.
packages/decepticon/decepticon/tools/reversing/ghidra.py:117
↓ 4 callers
Function
_mock_state
Build a BenchmarkRunState whose step history concatenates to a known string.
packages/decepticon/tests/unit/benchmark/test_mhbench_provider.py:77
↓ 4 callers
Function
_model_arg
Extract the ``model`` argument from a CustomLLM dispatch call. LiteLLM passes the model either positionally (first arg) or by keyword dependi
config/auth_handler.py:71
↓ 4 callers
Function
_msg_text
Flatten a message's content (str or content-block list) to plain text.
packages/decepticon/decepticon/middleware/event_logging.py:141
↓ 4 callers
Function
_node_title
(node: Node)
packages/decepticon/decepticon/tools/reporting/sarif.py:145
↓ 4 callers
Function
_norm
(addrs: Iterable[str])
packages/decepticon/decepticon/middleware/egress.py:79
↓ 4 callers
Function
_normalize_class
(cls: str)
packages/decepticon/decepticon/tools/research/bounty.py:61
↓ 4 callers
Function
_normalize_domain
Strip scheme, path, port, and surrounding whitespace from ``domain``.
packages/decepticon/decepticon/tools/research/osint.py:61
↓ 4 callers
Function
_normalize_workspace
(workspace_path: str | None)
packages/decepticon/decepticon/backends/http_sandbox.py:75
↓ 4 callers
Function
_oauth_env_credentials_present
Return True if any env var the handler accepts as a credential is set. Env-only OAuth setups (e.g. ``GEMINI_ACCESS_TOKEN`` with no token file)
packages/decepticon/decepticon/llm/factory.py:635
↓ 4 callers
Function
_path_to_module
Turn ``"./decepticon/agents/plugins/vulnresearch.py:graph"`` into ``("decepticon.agents.plugins.vulnresearch", "graph")``. The graph_registry
packages/decepticon/decepticon/server/plugins_api.py:84
↓ 4 callers
Function
_payload
Return the event payload as a dict, tolerating malformed (non-dict) payloads. ``read_events`` yields events for any well-formed JSON line, so a c
packages/decepticon/decepticon/cli/export_transcript.py:76
↓ 4 callers
Method
_post
(self, path: str, payload: dict)
packages/decepticon/decepticon/skillogy/client/rest.py:76
↓ 4 callers
Method
_provider
(self)
packages/decepticon/tests/unit/benchmark/test_mhbench_provider.py:640
↓ 4 callers
Method
_query
(self, store: _FakeKGStore)
packages/decepticon/tests/unit/ad/test_adcs_post.py:504
↓ 4 callers
Function
_read_text_from_backend
( backend: BackendProtocol, file_path: str )
packages/decepticon/decepticon/tools/opplan.py:366
↓ 4 callers
Function
_real_finding_node
(severity: str, vuln_class: str = "sqli")
packages/decepticon/tests/unit/research/test_sarif_export_props_attr.py:10
↓ 4 callers
Function
_record
(path: str, slug: str)
packages/decepticon/tests/unit/tools/test_skills.py:34
↓ 4 callers
Function
_record_hash
(record: dict[str, Any], prev_hash: str)
packages/decepticon/decepticon/middleware/_audit_sink.py:60
↓ 4 callers
Function
_record_hmac
(this_hash: str, key: bytes | None)
packages/decepticon/decepticon/middleware/_audit_sink.py:66
↓ 4 callers
Function
_rehydrate
Reconstruct an ``Exploitability`` from a cache dict, tolerating missing or extra keys across schema evolutions.
packages/decepticon/decepticon/tools/research/cve.py:351
↓ 4 callers
Function
_release_lock
(fd: int)
packages/decepticon/decepticon/runtime/event_log.py:178
↓ 4 callers
Function
_reset_passive_read
Clear the stale-poll counter on any state-changing event.
packages/decepticon/decepticon/tools/bash/bash.py:166
↓ 4 callers
Function
_resolve_bundle
Look up a bundle by name, 404 on unknown.
packages/decepticon/decepticon/server/plugins_api.py:112
↓ 4 callers
Method
_resolve_scope
Return ``(workspace_root, engagement_id, agent_name_or_None)``.
packages/decepticon/decepticon/middleware/event_logging.py:343
↓ 4 callers
Function
_run_docker
Run a docker CLI command, degrading gracefully when docker is absent. Container hygiene is best-effort: hosts without docker (unit tests, bar
benchmark/harness.py:28
↓ 4 callers
Method
_safe_append
Append one event, swallowing any I/O failure with a warning. ``telemetry=False`` writes to disk only — used where a richer, correctly
packages/decepticon/decepticon/middleware/event_logging.py:392
↓ 4 callers
Method
_safe_session
(session: str)
benchmark/terminal_bench/sandbox.py:31
← previous
next →
901–1,000 of 10,737, ranked by callers