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
↓ 1 callers
Function
_parse_rpcinfo_output
Parse rpcinfo output to extract service information.
packages/decepticon/decepticon/tools/network/protocols.py:501
↓ 1 callers
Function
_parse_rules
(items: Iterable[Any])
packages/decepticon-core/decepticon_core/types/roe.py:110
↓ 1 callers
Function
_parse_scopes
(raw: str | None)
packages/decepticon/decepticon/mcp_server/config.py:70
↓ 1 callers
Function
_parse_severity
(cell: str)
packages/decepticon/decepticon/tools/references/h1_corpus.py:87
↓ 1 callers
Function
_parse_shard_blobs
Parse ``rank_candidates`` input into a list of shard-output dicts. Three accepted shapes: 1. A single JSON object (one shard) 2. A JS
packages/decepticon/decepticon/tools/research/scanner_tools.py:424
↓ 1 callers
Function
_parse_smb_shares
Parse smbclient output to extract share information.
packages/decepticon/decepticon/tools/network/protocols.py:406
↓ 1 callers
Function
_parse_snmp_output
Parse SNMP output to extract key-value pairs.
packages/decepticon/decepticon/tools/network/protocols.py:606
↓ 1 callers
Function
_parse_ssh_key
Parse SSH key line to extract key information.
packages/decepticon/decepticon/tools/network/protocols.py:821
↓ 1 callers
Function
_parse_ssh_version
Parse SSH banner to extract version information.
packages/decepticon/decepticon/tools/network/protocols.py:835
↓ 1 callers
Method
_parse_target_url
(stdout: str)
benchmark/providers/buttercup.py:203
↓ 1 callers
Function
_parse_timeout
(raw: str | None)
packages/decepticon/decepticon/mcp_server/config.py:60
↓ 1 callers
Function
_parse_windows
(items: Iterable[Any])
packages/decepticon-core/decepticon_core/types/roe.py:300
↓ 1 callers
Function
_parse_year_from_bug_id
Extract the 4-digit year embedded in a V8 bug ID. ``v8-cve-2024-1939`` → 2024. CRBUG IDs that are not in the manual override table fall back
benchmark/providers/exploitbench.py:123
↓ 1 callers
Function
_partial_fingerprint
(rule_id: str, uri: str, line: int)
packages/decepticon/decepticon/tools/reporting/sarif_enhanced.py:111
↓ 1 callers
Function
_path
(hit: Mapping[str, Any])
packages/decepticon/decepticon/skillogy/evaluation.py:183
↓ 1 callers
Function
_patterns
(raw: str)
packages/decepticon/decepticon/tools/verification.py:13
↓ 1 callers
Function
_percentile
Linear-interpolated percentile (q in [0, 1]). Empty → 0.0.
packages/decepticon/decepticon/tools/defense/brief.py:32
↓ 1 callers
Function
_percentile_95
(values: tuple[float, ...])
packages/decepticon/decepticon/skillogy/evaluation.py:207
↓ 1 callers
Function
_persist_result
Write validation outcome into the graph.
packages/decepticon/decepticon/tools/research/poc.py:332
↓ 1 callers
Function
_persisted_tool_result_event
Return a transcript copy of a ``subagent_tool_result`` event with its ``content`` capped. The live streamed ``event`` is left untouched (full).
packages/decepticon/decepticon/core/subagent_streaming.py:117
↓ 1 callers
Function
_pick
(container: Any)
packages/decepticon/decepticon/middleware/model_override.py:76
↓ 1 callers
Method
_placeholder
( self, type_name: str, *, is_list: bool = False, non_null: bool = Fal
packages/decepticon/decepticon/tools/web/graphql.py:241
↓ 1 callers
Function
_plain_block
(text: str)
packages/decepticon/tests/unit/llm/test_claude_code_handler_cache_dedup.py:48
↓ 1 callers
Function
_plan_for_profile
(url: str, profile_id: str, profile: dict, device_class: str)
packages/decepticon/decepticon/sandbox_web/fetch_chain.py:223
↓ 1 callers
Function
_pod_spec
(doc: dict[str, Any])
packages/decepticon/decepticon/tools/cloud/k8s.py:77
↓ 1 callers
Function
_post
(url: str, body: dict[str, Any], api_key: str, timeout: int = 120)
telemetry-gateway/redact_corpus.py:124
↓ 1 callers
Method
_post_setup
Discovery + flag + key + connect-doc, with teardown-on-failure. Split out of ``setup`` so the cleanup wrapper has a single return pat
benchmark/providers/mhbench.py:517
↓ 1 callers
Function
_postman_url
(request: dict[str, Any])
packages/decepticon/decepticon/middleware/kg_internal/ingest.py:621
↓ 1 callers
Function
_preview
(cfg: TelemetryConfig)
packages/decepticon/decepticon/cli/telemetry.py:108
↓ 1 callers
Function
_print_env
(args: argparse.Namespace, bc)
packages/decepticon/decepticon/cli/blue_engagement.py:74
↓ 1 callers
Function
_print_help
()
packages/decepticon/decepticon/cli/__main__.py:16
↓ 1 callers
Function
_probe_ollama_if_configured
Best-effort Ollama reachability + tool-capability probe; never blocks proxy boot. Local Ollama and Ollama Cloud are probed separately — they
config/litellm_startup.py:109
↓ 1 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/subdomain_takeover.py:54
↓ 1 callers
Function
_proc_route_onlink_cidrs
On-link IPv4 subnets from ``/proc/net/route`` (no external binary). Each row carries little-endian hex Destination / Gateway / Mask. A row wi
packages/decepticon/decepticon/sandbox_kernel/egress.py:251
↓ 1 callers
Function
_profile_dir_for
Per-host + per-device Chrome profile directory. The host is hashed (never stored as a site name) so the No-Site-Name Rule holds while each ho
packages/decepticon/decepticon/sandbox_web/executor.py:37
↓ 1 callers
Function
_provision_workspace
Materialize ``/workspace/<slug>/`` in the sandbox before the agent runs. Without this, the agent's first ``ls('/workspace/<slug>')`` hits ``p
benchmark/dreadgoad/harness.py:177
↓ 1 callers
Function
_prune_expired_passive
(now: float)
packages/decepticon/decepticon/tools/bash/bash.py:128
↓ 1 callers
Function
_prune_old_scratch
Drop scratch files older than SCRATCH_TTL_MINUTES. Throttled to SCRATCH_PRUNE_INTERVAL between attempts so the bash() hot path pays for clean
packages/decepticon/decepticon/tools/bash/bash.py:358
↓ 1 callers
Method
_pull_diff
Read the accumulated diff for ``session``. Returns ``(output, log_path, read_ok)``. ``read_ok`` is False ONLY when the diff read itse
packages/decepticon/decepticon/middleware/notifications.py:179
↓ 1 callers
Function
_push_role_resolutions
Compose a ``RoleResolution`` per OSS role + register with ``PluginRegistry``. Closes spec §8 gap #7 — audit consumers call ``PluginRegist
packages/decepticon/decepticon/_boot.py:95
↓ 1 callers
Function
_python_nmap_scan
Fallback Python-based nmap-like scan.
packages/decepticon/decepticon/tools/network/scanners.py:405
↓ 1 callers
Function
_qp
(url: str)
packages/decepticon/decepticon/tools/web/oauth.py:58
↓ 1 callers
Function
_query
(host: str, project: str, api_key: str, since_hours: int | None)
telemetry-gateway/export_corpus.py:98
↓ 1 callers
Function
_raise
()
packages/decepticon/tests/unit/tools/test_browser.py:112
↓ 1 callers
Function
_raise_for_stream_status
Mirror the buffered path's typed errors for a streaming response.
config/codex_chatgpt_handler.py:480
↓ 1 callers
Function
_raise_for_stream_status
Translate a non-200 streaming response into the same typed errors the buffered path raises. Reads the body first — it is still unread here.
config/claude_code_handler.py:1035
↓ 1 callers
Function
_reachable_leaves
( target: Objective, objectives: Sequence[Objective], facts: Sequence[PlanFact] )
packages/decepticon/decepticon/middleware/workflow_opplan.py:52
↓ 1 callers
Function
_read_auth
()
config/codex_chatgpt_handler.py:103
↓ 1 callers
Method
_read_body
( self, client: httpx.AsyncClient, url: str, ref: str, max_bytes: int )
packages/decepticon/decepticon/mcp_server/blue.py:37
↓ 1 callers
Function
_read_challenge_metadata
(challenge_dir: Path)
benchmark/providers/buttercup.py:88
↓ 1 callers
Method
_read_container_grade_log
Pull and parse ``/rlenv/workspace/grade_calls.jsonl``. Returns ``{}`` when the file is missing (container died early, agent never cal
benchmark/providers/exploitbench.py:635
↓ 1 callers
Function
_read_intruder_file
Read a single ``Intruder/<name>.txt`` file into PayloadBundle rows.
packages/decepticon/decepticon/tools/references/payloads_ingest.py:133
↓ 1 callers
Function
_read_plugin_source_token
Return the github oauth_token from the VS Code / IntelliJ plugin config, or the empty string if no usable entry exists. apps.json layout:
config/copilot_handler.py:110
↓ 1 callers
Function
_reasoning_params
Anthropic ``thinking`` + ``output_config.effort`` for a request. Caller-supplied ``thinking`` wins; otherwise adaptive thinking is enabled fo
config/claude_code_handler.py:273
↓ 1 callers
Function
_recall_at
(positives: tuple[tuple[EvaluationCase, CaseResult], ...], rank: int)
packages/decepticon/decepticon/skillogy/evaluation.py:193
↓ 1 callers
Function
_reconcile_catalog
Publish the bundled graph when its release digest changes.
packages/decepticon/decepticon/skillogy/__main__.py:63
↓ 1 callers
Method
_record_abort
(self, request, tool_name: str)
packages/decepticon/decepticon/middleware/roe.py:410
↓ 1 callers
Function
_record_hit
Upsert the DefenseAction + DetectionFired pair and edges for one hit. Detection timing is write-once: a re-scan of the same logged event (same
packages/decepticon/decepticon/tools/defense/blue_cell.py:112
↓ 1 callers
Method
_recover_postmortem_state
Best-effort capture of (agent_summary, trace_id, token_count) on FAIL. Mirrors the natural-success branch shape (``run_challenge`` ``:444-456
benchmark/harness.py:387
↓ 1 callers
Function
_reexport_names
Public SDK names that must be identical to a core object.
packages/decepticon-sdk/tests/test_core_sdk_contract.py:75
↓ 1 callers
Function
_refresh_google_token
(tokens: dict[str, Any])
config/gemini_handler.py:60
↓ 1 callers
Method
_refresh_running_jobs
Sync poll for still-running jobs; swallow per-job subprocess errors.
packages/decepticon/decepticon/middleware/notifications.py:310
↓ 1 callers
Function
_refresh_token
Synchronously refresh an expired token via the platform OAuth endpoint.
config/claude_code_handler.py:144
↓ 1 callers
Function
_refresh_tokens
(auth: dict[str, Any])
config/codex_chatgpt_handler.py:135
↓ 1 callers
Function
_register_oss_roles
Pre-register the 16 OSS roles with ``RoleRegistry``. Idempotent — re-imports across multi-process workers all succeed silently (spec §16.4 #3
packages/decepticon/decepticon/_boot.py:50
↓ 1 callers
Function
_register_plugin_roles
Walk ``decepticon.roles`` entry-points and register each spec. Closes spec §8 gap #5 — plugins shipping ``RoleSpec`` under the new ``deceptic
packages/decepticon/decepticon/_boot.py:68
↓ 1 callers
Function
_register_posix_handlers
()
packages/decepticon/decepticon/runtime/shutdown.py:105
↓ 1 callers
Function
_register_windows_handler
()
packages/decepticon/decepticon/runtime/shutdown.py:119
↓ 1 callers
Function
_registered_graph_ids
Snapshot of which graph IDs the platform currently exposes. Imported lazily because ``langgraph_api`` is only importable inside the LangGraph
packages/decepticon/decepticon/server/plugins_api.py:120
↓ 1 callers
Function
_registered_tool
(policy: DesktopPolicy, approved: ApprovedTool)
packages/decepticon/decepticon/desktop_tools.py:77
↓ 1 callers
Method
_reject_if_spend_untracked
Fail closed when a configured budget could miss a billed fallback. The whole active credential chain matters: a priced primary may fa
packages/decepticon/decepticon/middleware/budget.py:273
↓ 1 callers
Function
_render
(parent_id: str | None, depth: int)
packages/decepticon/decepticon/tools/opplan.py:556
↓ 1 callers
Function
_render_json
(path: Path, result: VerifyResult, *, hmac_checked: bool)
packages/decepticon/decepticon/cli/audit.py:65
↓ 1 callers
Function
_render_json
(inv: AuthInventory)
packages/decepticon/decepticon/cli/auth.py:137
↓ 1 callers
Method
_render_phase_block
(self)
packages/decepticon/decepticon/middleware/skillogy.py:466
↓ 1 callers
Function
_render_text
(path: Path, result: VerifyResult, *, hmac_checked: bool)
packages/decepticon/decepticon/cli/audit.py:50
↓ 1 callers
Function
_render_text
(inv: AuthInventory)
packages/decepticon/decepticon/cli/auth.py:107
↓ 1 callers
Function
_reorder
(g: list[str])
packages/decepticon/decepticon/sandbox_web/fetch_chain.py:246
↓ 1 callers
Function
_replace_config_arg
()
config/litellm_startup.py:60
↓ 1 callers
Function
_reported_severity
(score: float, evidence_level: str)
packages/decepticon/decepticon/tools/research/tools.py:441
↓ 1 callers
Function
_request_embeddings
POST to the proxy's OpenAI-compatible ``/v1/embeddings``. Retries transient HTTP failures (429 / 5xx) up to ``max_attempts`` with exponential
packages/decepticon/decepticon/skillogy/embeddings.py:169
↓ 1 callers
Function
_required_token_fields
()
config/codex_chatgpt_handler.py:67
↓ 1 callers
Function
_reraise_if_connection_error
(exc: Exception)
packages/decepticon/decepticon/llm/factory.py:1568
↓ 1 callers
Function
_reset
()
packages/decepticon/tests/unit/backends/conftest.py:27
↓ 1 callers
Method
_reset_sandbox_state
Restart the sandbox container so each challenge starts clean. Without this, tmux sessions / python procs / curl workers leak across c
benchmark/harness.py:488
↓ 1 callers
Function
_resolve_anthropic_api_base
Allow only Anthropic's API host for OAuth bearer-token requests.
config/claude_code_handler.py:329
↓ 1 callers
Function
_resolve_cname
Resolve CNAME records for *subdomain* using ``dig``, falling back to ``socket.getfqdn`` if ``dig`` is unavailable.
packages/decepticon/decepticon/tools/research/subdomain_takeover.py:234
↓ 1 callers
Function
_resolve_custom_openai_model
Return the LiteLLM model id for the user's custom endpoint, or None. Routed via the dynamic ``custom/`` provider in ``litellm_dynamic_config`
packages/decepticon-core/decepticon_core/types/llm.py:767
↓ 1 callers
Function
_resolve_engagement
Engagement label for Slither ingest writes. Falls back to the shared ``_LEGACY_ENGAGEMENT_LABEL`` when the ``EngagementContextMiddleware`` co
packages/decepticon/decepticon/tools/contracts/tools.py:28
↓ 1 callers
Function
_resolve_fail_open
Decepticon: in the sandbox we FAIL-CLOSED on resolver errors by default (an unresolvable host is refused rather than allowed). Set ``INSANE_RE
packages/decepticon/decepticon/sandbox_web/safety.py:29
↓ 1 callers
Function
_resolve_key_env
Pick the api_key env var name for ``provider``. Multi-alias providers resolve at write time to the first candidate var actually set, falling
config/litellm_dynamic_config.py:639
↓ 1 callers
Function
_resolve_llamacpp_model
Return the LiteLLM model id for the user's llama.cpp server, or None. llama.cpp's ``llama-server`` exposes an OpenAI-compatible REST API (def
packages/decepticon-core/decepticon_core/types/llm.py:740
↓ 1 callers
Function
_resolve_lmstudio_model
Return the LiteLLM model id for the user's LM Studio, or None. LM Studio exposes an OpenAI-compatible server on ``LMSTUDIO_API_BASE`` (defaul
packages/decepticon-core/decepticon_core/types/llm.py:722
↓ 1 callers
Function
_resolve_model_for_role
Look up the configured primary model for a role. Imports the LLM router lazily so this module remains importable when the LLM stack is not co
packages/decepticon/decepticon/agents/prompts/claude4_compat.py:177
↓ 1 callers
Function
_resolve_ollama_cloud_model
Return the LiteLLM model id for the user's Ollama Cloud, or None. Reads ``OLLAMA_CLOUD_API_BASE`` / the cloud API key (per Ollama Cloud docs
packages/decepticon-core/decepticon_core/types/llm.py:693
↓ 1 callers
Function
_resolve_ollama_model
Return the LiteLLM model id for the user's local Ollama, or None. The user picks the model via ``OLLAMA_MODEL`` (free-form, e.g. ``qwen3-code
packages/decepticon-core/decepticon_core/types/llm.py:669
↓ 1 callers
Function
_resolve_openai_compat_gateway_model
Return ``compat/<model>`` for ``tier`` when the generic gateway is wired. Reads ``OPENAI_COMPAT_GATEWAY_MODEL_{HIGH,MID,LOW}`` first, then falls
packages/decepticon-core/decepticon_core/types/llm.py:793
↓ 1 callers
Function
_resolve_poc_links
Return PoC URLs for ``cve_id`` from the local index, if present. Deferred import so the ``research`` package stays importable when ``deceptic
packages/decepticon/decepticon/tools/research/cve.py:333
↓ 1 callers
Method
_resolve_profile
Resolve the model profile from DecepticonConfig (env var).
packages/decepticon/decepticon/llm/factory.py:1877
↓ 1 callers
Function
_resolve_skill_path
Resolve exact paths, relative paths, or slugs to a safe skill path.
packages/decepticon/decepticon/tools/skills.py:167
← previous
next →
2,601–2,700 of 10,737, ranked by callers