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
_inbox_path
()
packages/decepticon/decepticon/tools/interaction/steering.py:50
↓ 2 callers
Method
_info
(self, info: FileInfo)
packages/decepticon/decepticon/middleware/filesystem.py:167
↓ 2 callers
Function
_ingest_sarif_text
Parse decoded SARIF from either a local adapter or sandbox download.
packages/decepticon/decepticon/middleware/kg_internal/ingest.py:487
↓ 2 callers
Method
_init_at
(self, path: Path, engagement_id: str)
packages/decepticon/decepticon/runtime/event_log.py:223
↓ 2 callers
Method
_inject
(self, request)
packages/decepticon/decepticon/middleware/engagement.py:534
↓ 2 callers
Method
_inject
Append the OPSCONTROL_POLICY block to the request's system message. Mirrors EngagementContextMiddleware's pattern so the two cooperate
packages/decepticon/decepticon/middleware/opscontrol_notifications.py:198
↓ 2 callers
Method
_inject
Core logic shared by sync and async hooks.
packages/decepticon/decepticon/middleware/operator_steering.py:159
↓ 2 callers
Function
_inject_contract
( request: ModelRequest, pin: str | None, *, role: str, purpose: Literal["execution", "pla
packages/decepticon/decepticon/middleware/workflow.py:103
↓ 2 callers
Method
_inject_kg_context
Append the KG static prompt + dynamic summary to the system message. Two content blocks so the Anthropic prompt cache can re-use the s
packages/decepticon/decepticon/middleware/kg.py:158
↓ 2 callers
Method
_inject_policy
(self, request)
packages/decepticon/decepticon/middleware/prompt_injection_shield.py:466
↓ 2 callers
Function
_install_async_transport
Wire ``httpx.AsyncClient`` to a ``MockTransport`` so the tool's internally constructed client never touches the network.
packages/decepticon/tests/unit/research/test_osint.py:47
↓ 2 callers
Function
_invoke
(tool: Any, args: dict[str, Any], state: dict[str, Any])
packages/decepticon/tests/unit/middleware/test_opplan_hierarchy.py:139
↓ 2 callers
Method
_invoke_agent
Invoke the decepticon main agent to execute one benchmark run. Mode detection lives in the LangGraph container's BENCHMARK_MODE env v
benchmark/harness.py:729
↓ 2 callers
Function
_is_finding_tool
True only for tools that create a ``NodeKind.FINDING`` node.
packages/decepticon/decepticon/middleware/event_logging.py:126
↓ 2 callers
Function
_is_plain_hostname
A bare hostname eligible for subdomain discovery (not URL/CIDR/IP/glob).
packages/decepticon/decepticon/passive_discovery.py:45
↓ 2 callers
Function
_is_provider_policy_rejection
(exc: BaseException)
packages/decepticon/decepticon/llm/factory.py:1518
↓ 2 callers
Function
_is_truthy
(value: str)
packages/decepticon/decepticon/llm/factory.py:646
↓ 2 callers
Function
_is_truthy
(value: str)
config/litellm_dynamic_config.py:1032
↓ 2 callers
Function
_is_valid_oauth_token
Validate that a token looks like a Claude OAuth token.
config/claude_code_handler.py:68
↓ 2 callers
Function
_iter_override_bundles
Yield every ``PluginBundle`` registered under ``decepticon.bundles`` that is enabled AND scoped to ``role``.
packages/decepticon/decepticon/agents/build.py:96
↓ 2 callers
Function
_json
(data: Any)
packages/decepticon/decepticon/tools/research/subdomain_takeover.py:213
↓ 2 callers
Function
_json
(data: Any)
packages/decepticon/decepticon/tools/research/diff_scope.py:18
↓ 2 callers
Function
_json
(data: Any)
packages/decepticon/decepticon/tools/reporting/ci_gate.py:22
↓ 2 callers
Function
_json
(data: Any)
packages/decepticon/decepticon/tools/reporting/finding_dedupe.py:17
↓ 2 callers
Function
_json
(data: Any)
packages/decepticon/decepticon/tools/orchestration/parallel.py:11
↓ 2 callers
Function
_kg_status
KG store resolution + reachability. Lazy import: neo4j is an optional extra.
packages/decepticon/decepticon/diagnostics.py:86
↓ 2 callers
Function
_langgraph_command
Render compose and return the langgraph service's command as a single string.
tests/test_compose_langgraph_command.py:35
↓ 2 callers
Function
_link_edge
(src: Node, dst: Node)
packages/decepticon/tests/unit/ad/test_ad_tools.py:55
↓ 2 callers
Function
_lmstudio_local_configured
Return True when the user has wired up local LM Studio.
packages/decepticon/decepticon/llm/factory.py:498
↓ 2 callers
Method
_load
(self)
packages/decepticon/decepticon/tools/research/cve.py:158
↓ 2 callers
Function
_load_findings
()
packages/decepticon/decepticon/tools/reporting/ci_gate.py:40
↓ 2 callers
Function
_load_findings
()
packages/decepticon/decepticon/tools/reporting/finding_dedupe.py:29
↓ 2 callers
Function
_log_served_model
Best-effort attribution log: which provider/model the LiteLLM proxy actually routed to. When fallback fires (primary -> fallback) the requeste
packages/decepticon/decepticon/llm/factory.py:1103
↓ 2 callers
Function
_make_backend
()
packages/decepticon/tests/unit/sandbox_server/test_app_consttime_auth.py:28
↓ 2 callers
Function
_make_handler
(status: int = 200, body: dict[str, Any] | None = None)
packages/decepticon/tests/unit/backends/test_http_sandbox.py:14
↓ 2 callers
Function
_make_manager
(monkeypatch: pytest.MonkeyPatch, capture: Any)
packages/decepticon/tests/unit/sandbox_kernel/test_poll_capture_failures.py:41
↓ 2 callers
Function
_make_tiny_zip
(tmp_path)
packages/decepticon/tests/unit/ad/test_bh_tools.py:124
↓ 2 callers
Function
_manager
(client: httpx.AsyncClient)
packages/decepticon/tests/unit/mcp_server/test_plugin_tools.py:11
↓ 2 callers
Function
_manifest_path
(path: Path)
packages/decepticon/decepticon/tools/research/tools.py:467
↓ 2 callers
Function
_map_stop_reason
Map Anthropic stop_reason to OpenAI-style finish_reason.
config/claude_code_handler.py:1249
↓ 2 callers
Method
_match_rule
(self, tool_name: str, technique_tag: str | None)
packages/decepticon/decepticon/middleware/hitl.py:348
↓ 2 callers
Method
_maybe_invalidate_revision
When the most recent AI message issued a kg_record / kg_ingest call, mark ``kg_revision`` dirty so the next ``before_agent`` rebuilds
packages/decepticon/decepticon/middleware/kg.py:252
↓ 2 callers
Method
_maybe_reject_unscoped
Return a ``ToolMessage`` rejection when a KG tool is invoked without an engagement on state. Otherwise return ``None`` so the wrap pro
packages/decepticon/decepticon/middleware/kg.py:208
↓ 2 callers
Function
_merge_payload
Recursively merge a payload (object, list, or string-encoded).
packages/decepticon/decepticon/tools/ad/bloodhound.py:1082
↓ 2 callers
Function
_message_text
(message: BaseMessage)
benchmark/terminal_bench/trajectory.py:34
↓ 2 callers
Function
_messages
(state: Any)
packages/decepticon/decepticon/mcp_server/conversation.py:62
↓ 2 callers
Function
_method_env_var
(method: AuthMethod)
packages/decepticon/decepticon/llm/factory.py:890
↓ 2 callers
Function
_middleware_names
(app: object)
packages/decepticon/tests/unit/mcp_server/test_auth.py:210
↓ 2 callers
Function
_minimal_elf64
(pie: bool = False)
packages/decepticon/tests/unit/reversing/test_binary_strings_packer.py:19
↓ 2 callers
Function
_mode_file
(env: dict[str, str])
packages/decepticon/decepticon/telemetry/config.py:89
↓ 2 callers
Method
_model
(self)
benchmark/terminal_bench/agent.py:86
↓ 2 callers
Function
_model_drops_temperature
Return True if the LiteLLM model id rejects the ``temperature`` param. Current Claude Fable/Opus/Sonnet/Haiku 5.5, Gemini 3.8 Flash, and GPT-6 mo
packages/decepticon/decepticon/llm/factory.py:1127
↓ 2 callers
Function
_model_fallback_status
Resolve fallback chains through the real config source. ``ModelFallbackMiddleware`` is fed from ``LLMFactory.get_fallback_models`` — the cred
packages/decepticon/decepticon/diagnostics.py:49
↓ 2 callers
Function
_model_is_deepseek_thinking
Return True for DeepSeek V4 models and legacy deepseek-reasoner. DeepSeek V4 (pro **and** flash) plus legacy deepseek-reasoner use thinking m
packages/decepticon/decepticon/llm/factory.py:1182
↓ 2 callers
Function
_model_name
Model id off the bound chat model. ``ChatOpenAI`` (every model in this stack routes through it via LiteLLM) exposes ``model_name``; ``name``
packages/decepticon/decepticon/middleware/event_logging.py:231
↓ 2 callers
Method
_model_runtime
(request)
packages/decepticon/decepticon/middleware/filesystem.py:500
↓ 2 callers
Function
_must_propagate
(error: Exception)
packages/decepticon/decepticon/middleware/run_controls.py:129
↓ 2 callers
Method
_new_tab
(self, tab_id: str)
packages/decepticon/decepticon/tools/browser/tools.py:157
↓ 2 callers
Method
_next_step
(self, session_id: str)
packages/decepticon/decepticon/middleware/event_logging.py:524
↓ 2 callers
Function
_node_description
(node: Node)
packages/decepticon/decepticon/tools/reporting/sarif.py:149
↓ 2 callers
Function
_node_kind_for_bh
Map BloodHound object type to the right NodeKind. Every BloodHound-emitted kind now lands under its dedicated AD-prefixed NodeKind value (the
packages/decepticon/decepticon/tools/ad/bloodhound.py:159
↓ 2 callers
Function
_node_to_observation
Translate an in-memory ``Node`` into a KGStore observation dict. The legacy ``Node.id`` (SHA1 of ``kind::key``) is stored under the reserved-
packages/decepticon/decepticon/tools/research/_state.py:64
↓ 2 callers
Function
_notes_path
()
packages/decepticon/decepticon/tools/research/shared_notes.py:40
↓ 2 callers
Function
_obj
(name: str)
packages/decepticon/tests/unit/web/test_graphql_introspection.py:27
↓ 2 callers
Function
_off
()
packages/decepticon/decepticon/cli/telemetry.py:143
↓ 2 callers
Function
_ollama_cloud_configured
Return True when the user has wired up Ollama Cloud. Any of ``OLLAMA_CLOUD_API_BASE`` (preferred — explicit endpoint), ``OLLAMA_CLOUD_MODEL``
packages/decepticon/decepticon/llm/factory.py:468
↓ 2 callers
Function
_ollama_local_configured
Return True when the user has wired up local Ollama. Either ``OLLAMA_API_BASE`` (preferred — explicit endpoint) or ``OLLAMA_MODEL`` (a pulled
packages/decepticon/decepticon/llm/factory.py:486
↓ 2 callers
Function
_open_file
Walk with directory descriptors so symlink swaps cannot redirect traversal.
packages/decepticon/decepticon/tools/reporting/evidence_contract.py:61
↓ 2 callers
Function
_opt_out_marker
(env: dict[str, str])
packages/decepticon/decepticon/telemetry/config.py:65
↓ 2 callers
Function
_owned_statement
Tag only builder-emitted Skill nodes and their outgoing relationships.
packages/decepticon/decepticon/skillogy/catalog_sync.py:47
↓ 2 callers
Function
_params_sent_to_driver
Run the unit-of-work the store passed to the session and capture its params.
packages/decepticon/tests/unit/middleware/test_kg_engagement_scope.py:98
↓ 2 callers
Function
_parse_auth_priority
Parse ``DECEPTICON_AUTH_PRIORITY`` into an ordered AuthMethod list. Returns ``(priority, priority_explicit)``: the ordered method list and a
packages/decepticon/decepticon/llm/factory.py:650
↓ 2 callers
Function
_parse_censys
Normalize a Censys hosts-search v2 response into findings.
packages/decepticon/decepticon/tools/research/osint.py:177
↓ 2 callers
Function
_parse_json
Parse a model's JSON reply, tolerating a markdown fence around it. ``response_format={"type": "json_object"}`` is advisory on some proxy paths —
telemetry-gateway/redact_corpus.py:170
↓ 2 callers
Function
_parse_shodan
Normalize a Shodan host-search + DNS response into findings.
packages/decepticon/decepticon/tools/research/osint.py:141
↓ 2 callers
Function
_parse_yaml
(path: Path)
benchmark/cve_bench/loader.py:77
↓ 2 callers
Function
_parse_zoomeye
Normalize a ZoomEye host-search response into findings.
packages/decepticon/decepticon/tools/research/osint.py:219
↓ 2 callers
Function
_partial_fingerprints
Compute deterministic fingerprints so re-runs do not duplicate alerts. GitHub code scanning uses ``partialFingerprints`` for alert correlation;
packages/decepticon/decepticon/tools/reporting/sarif.py:231
↓ 2 callers
Function
_passive_key
(workspace_path: str, session: str)
packages/decepticon/decepticon/tools/bash/bash.py:124
↓ 2 callers
Function
_path_under_any_prefix
Return True iff ``path`` starts with any of the given prefixes. Used to enforce the per-role path-prefix ACL (ADR-0008). An empty or missing
packages/decepticon/decepticon/skillogy/server/neo4j_backend.py:107
↓ 2 callers
Method
_persist
(self)
containers/rea_service.py:202
↓ 2 callers
Function
_pick_executor
(capabilities: list[str], device_class: str)
packages/decepticon/decepticon/sandbox_web/executor.py:66
↓ 2 callers
Function
_probe_verify
TLS verification for active probes. Controlled via ``DECEPTICON_PROBE_VERIFY_TLS``. Defaults to ``true``. Set to ``false`` when scanning targ
packages/decepticon/decepticon/tools/research/ai_surface.py:51
↓ 2 callers
Function
_provider_status_code
(exc: BaseException)
packages/decepticon/decepticon/llm/factory.py:1522
↓ 2 callers
Method
_provision_lab
(self, lab_profile: str)
benchmark/dreadgoad/providers/dreadgoad.py:81
↓ 2 callers
Function
_proxy
Return the LiteLLM proxy only when the selected route can be used.
packages/decepticon/decepticon/skillogy/embeddings.py:105
↓ 2 callers
Method
_quarantine_result
( self, request, result: ToolMessage | Command, )
packages/decepticon/decepticon/middleware/untrusted_output.py:226
↓ 2 callers
Function
_raise_stream_error
(status_code: int, text: str, model: str)
config/codex_chatgpt_handler.py:496
↓ 2 callers
Function
_raise_stream_error
(status_code: int, text: str, model: str)
config/claude_code_handler.py:1052
↓ 2 callers
Function
_ratio
(numerator: int, denominator: int)
packages/decepticon/decepticon/skillogy/evaluation.py:203
↓ 2 callers
Function
_read_env_servers
()
packages/decepticon/decepticon/tools/mcp/client.py:194
↓ 2 callers
Function
_read_fragment
Read and cache a prompt fragment file from any configured search path.
packages/decepticon/decepticon/agents/prompts/builder.py:123
↓ 2 callers
Method
_record
( self, request, tool_name: str, decision: Decision, )
packages/decepticon/decepticon/middleware/roe.py:512
↓ 2 callers
Method
_record_notified
Insert keys into the bounded notified-set, evicting oldest first.
packages/decepticon/decepticon/middleware/notifications.py:172
↓ 2 callers
Method
_record_throttle
(self, request, tool_name: str, wait_seconds: float)
packages/decepticon/decepticon/middleware/roe.py:562
↓ 2 callers
Function
_redact
Show first 4 + last 4 chars, mask the middle.
packages/decepticon/decepticon/tools/research/secret_validation.py:289
↓ 2 callers
Function
_redact_args
Return a content-free, structural summary of tool args. Persists only the *shape* of each value, never raw string/bytes/collection contents,
packages/decepticon/decepticon/middleware/event_logging.py:100
↓ 2 callers
Function
_refused_message
(decision: Decision, tool_name: str, tool_call_id: str | None)
packages/decepticon/decepticon/middleware/roe.py:149
↓ 2 callers
Function
_regex_detector
(pattern: re.Pattern[str])
packages/decepticon/decepticon/telemetry/redact.py:128
↓ 2 callers
Function
_render_crown_jewels
(crown_jewels: Iterable[Mapping[str, Any]])
packages/decepticon/decepticon/middleware/kg_internal/summary.py:167
← previous
next →
1,601–1,700 of 10,737, ranked by callers