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
_dispatch
(action: str, kwargs: dict[str, Any], config: RunnableConfig)
packages/decepticon/decepticon/tools/browser/tools.py:293
↓ 1 callers
Method
_dispatch
(self, event: dict[str, Any])
config/codex_chatgpt_handler.py:571
↓ 1 callers
Method
_dispatch
(self, event: dict[str, Any])
config/claude_code_handler.py:1123
↓ 1 callers
Method
_dispatch_async
(self, request, handler)
packages/decepticon/decepticon/middleware/roe.py:342
↓ 1 callers
Method
_dispatch_sync
(self, request, handler)
packages/decepticon/decepticon/middleware/roe.py:325
↓ 1 callers
Method
_display_name
(dirname: str)
benchmark/providers/cybench.py:278
↓ 1 callers
Function
_docker_cp
``docker cp`` a single file from the sandbox container. Best-effort.
benchmark/dreadgoad/reporter.py:209
↓ 1 callers
Function
_docker_cp_dir
Copy directory contents using ``docker cp`` (recursive by default).
benchmark/dreadgoad/reporter.py:227
↓ 1 callers
Method
_drain_drops
Pop the drop tallies as events, to ride along with the next batch.
packages/decepticon/decepticon/telemetry/sink.py:178
↓ 1 callers
Function
_drive
()
packages/decepticon/tests/unit/middleware/test_event_logging.py:251
↓ 1 callers
Function
_edge_merge
Render a single MERGE statement for an edge.
packages/decepticon/decepticon/skillogy/builder/emit.py:86
↓ 1 callers
Function
_egress_disabled
Whether the Layer-2 egress guardrail is turned OFF (opt-out). Default ON: an ``enforce``-mode engagement automatically gets the authoritative
packages/decepticon/decepticon/middleware/roe.py:251
↓ 1 callers
Function
_egress_enforcement_enabled
Whether the sandbox applies egress rules — default ON, opt-out. Decided sandbox-side (its own env, not trusted from the wire). The egress fir
packages/decepticon/decepticon/sandbox_server/app.py:474
↓ 1 callers
Function
_egress_probe
Boot-time outbound TCP probe to the Anthropic OAuth endpoint. Surfaces silent fail-after-boot — LiteLLM passes ``/health/readiness`` even whe
config/litellm_startup.py:34
↓ 1 callers
Function
_element_key
Element keys are composed of (element_type, filename, name) so the same function across re-ingest dedups to one node; we also fold the source
packages/decepticon/decepticon/tools/contracts/slither.py:174
↓ 1 callers
Function
_emit_run_dir
Populate one run's evidence directory.
benchmark/dreadgoad/reporter.py:124
↓ 1 callers
Function
_emit_spend_untracked_event
Emit a ``budget_spend_untracked`` custom stream event for the dashboard.
packages/decepticon/decepticon/middleware/budget.py:169
↓ 1 callers
Function
_emit_stream_event
Emit a ``prompt_injection_detected`` custom stream event for the dashboard.
packages/decepticon/decepticon/middleware/prompt_injection_shield.py:243
↓ 1 callers
Method
_emit_stream_event
Push a custom stream event for the CLI to render the ● bullet.
packages/decepticon/decepticon/middleware/notifications.py:202
↓ 1 callers
Function
_enable
(arg: str | None)
packages/decepticon/decepticon/cli/telemetry.py:125
↓ 1 callers
Function
_enabled_bundles
Resolve active bundles via 4-tier hybrid hierarchy. See module-level comment for tier order. Read at call time so tests and multi-process wor
packages/decepticon-core/decepticon_core/plugin_loader.py:140
↓ 1 callers
Function
_endpoint_from_configurable
Extract ``(sandbox_url, sandbox_token)`` from a ``configurable`` mapping.
packages/decepticon/decepticon/backends/factory.py:90
↓ 1 callers
Method
_engagement
(self, request: Any)
packages/decepticon/decepticon/middleware/hitl.py:356
↓ 1 callers
Function
_engagement_events_path
(workspace_root: Path, engagement_id: str)
packages/decepticon/decepticon/runtime/event_log.py:157
↓ 1 callers
Function
_engagement_input
( scope_payload: dict[str, Any], engagement_name: str, workspace_path: str )
packages/decepticon/decepticon/mcp_server/engagements.py:290
↓ 1 callers
Method
_ensure_browser
(self, headless: bool = True)
packages/decepticon/decepticon/tools/browser/tools.py:142
↓ 1 callers
Function
_ensure_entrypoint_node
( graph: KnowledgeGraph, *, host_label: str, port: int, source: str, )
packages/decepticon/decepticon/tools/research/tools.py:284
↓ 1 callers
Method
_ensure_services_healthy
Check LangGraph and LiteLLM are reachable with models loaded.
benchmark/harness.py:432
↓ 1 callers
Method
_ensure_session
Ensure the tmux session exists, creating it if needed. Returns ``True`` when the session already existed before this call (so the cal
packages/decepticon/decepticon/sandbox_kernel/tmux.py:484
↓ 1 callers
Function
_ensure_stubs
Insert lightweight stubs for modules that require runtime infra.
packages/decepticon/tests/unit/research/test_bounty.py:20
↓ 1 callers
Function
_ensure_stubs
()
packages/decepticon/tests/unit/research/test_bounty_extended.py:16
↓ 1 callers
Function
_ensure_upstream
Clone Buttercup into ``upstream_dir`` at ``_BUTTERCUP_PIN`` if absent. Idempotent: a present clone is left alone; a missing one is created.
benchmark/providers/buttercup.py:64
↓ 1 callers
Function
_env_float
(name: str, default: float)
packages/decepticon/decepticon/runtime/event_log.py:40
↓ 1 callers
Function
_env_override_tokens
Honor ``ANTHROPIC_OAUTH_TOKEN`` as a synthetic credentials dict. The synthetic dict carries ``expiresAt: 0`` so ``is_timestamp_expired`` retu
config/claude_code_handler.py:119
↓ 1 callers
Function
_escape_string
Cypher-escape a string literal. Escapes backslashes, single quotes, and control characters (``\\n`` / ``\\r`` / ``\\t``) so every emitted lit
packages/decepticon/decepticon/skillogy/builder/emit.py:30
↓ 1 callers
Function
_evaluate_case
(backend: EvaluationBackend, case: EvaluationCase)
packages/decepticon/decepticon/skillogy/evaluation.py:164
↓ 1 callers
Function
_events_path
(workspace: Path, engagement_id: str)
packages/decepticon/decepticon/cli/export_transcript.py:60
↓ 1 callers
Function
_evidence_files
(evidence_root: Path, manifest_path: Path)
packages/decepticon/decepticon/tools/evidence/tools.py:66
↓ 1 callers
Function
_exchange_session_for_access
(session_token: str)
config/grok_handler.py:71
↓ 1 callers
Function
_exchange_session_for_access
(session_token: str)
config/perplexity_handler.py:68
↓ 1 callers
Method
_execute
Wait for the submitted generation's native shell completion. Polls until the shell records completion or *timeout* is reached. If the
packages/decepticon/decepticon/sandbox_kernel/tmux.py:706
↓ 1 callers
Method
_execute_async
Async version of execute() — non-blocking subprocess + cancellable polling. All subprocess calls are offloaded via asyncio.to_thread() to avo
packages/decepticon/decepticon/sandbox_kernel/tmux.py:888
↓ 1 callers
Method
_existing_fulltext_analyzer
The analyzer of the existing full-text index, or ``None`` if absent. Returns ``""`` when the index exists but names no analyzer, so callers
packages/decepticon/decepticon/skillogy/server/neo4j_backend.py:382
↓ 1 callers
Function
_exists
(backend: BackendProtocol, path: str)
packages/decepticon/decepticon/middleware/search_evidence.py:213
↓ 1 callers
Function
_exit_code_for
(signum: int | None)
packages/decepticon/decepticon/runtime/shutdown.py:203
↓ 1 callers
Function
_extra_models_from_env
Parse optional comma-separated or JSON-list extra model IDs.
config/litellm_dynamic_config.py:401
↓ 1 callers
Function
_extract_cookies
(resp)
packages/decepticon/decepticon/sandbox_web/validators.py:329
↓ 1 callers
Function
_extract_cve_id
(path: Path, text: str)
packages/decepticon/decepticon/tools/references/cve_poc_index.py:93
↓ 1 callers
Function
_extract_cwes
Collect CWE identifiers from props and label as ``CWE-<n>`` tokens.
packages/decepticon/decepticon/tools/research/dedupe.py:128
↓ 1 callers
Method
_extract_flag
The final-subtask answer is the full flag by Cybench convention. Returns the last subtask answer that looks like a flag (``prefix{...
benchmark/providers/cybench.py:311
↓ 1 callers
Function
_extract_json
Pull the engine's JSON envelope out of combined stdout/stderr. The engine prints exactly one JSON object (last line); importing the parent pa
packages/decepticon/decepticon/tools/web/search.py:42
↓ 1 callers
Function
_extract_status
(payload: dict[str, Any])
packages/decepticon/decepticon/tools/ad/bh_tools.py:227
↓ 1 callers
Method
_extract_tags
(data: dict)
benchmark/providers/cybench.py:296
↓ 1 callers
Function
_extract_text
Flatten a langchain message content payload to a single text string.
packages/decepticon/decepticon/middleware/prompt_injection_shield.py:226
↓ 1 callers
Function
_extract_token_hosts
Verb-agnostic, fail-closed scrape of host/IP/CIDR-shaped tokens. The legacy generic extractor only recognised a host argument when it followe
packages/decepticon/decepticon/middleware/_command_targets.py:332
↓ 1 callers
Function
_fact
(producer_id: str = "producer")
packages/decepticon/tests/unit/workflows/test_declared_edges_validation.py:96
↓ 1 callers
Function
_fake_apply_result
(detail: str)
packages/decepticon/tests/unit/sandbox_server/test_app.py:457
↓ 1 callers
Function
_fake_driver
()
packages/decepticon/tests/unit/middleware/test_kg_summary_unit.py:109
↓ 1 callers
Function
_fake_driver
()
packages/decepticon/tests/unit/middleware/test_kg_migration_runner.py:81
↓ 1 callers
Function
_fake_request
Synthetic ModelRequest stand-in (matches the shape OPPLAN tests use).
packages/decepticon/tests/live/neo4j/test_kg_middleware_live.py:21
↓ 1 callers
Function
_fallback_credentials
Build the fallback Credentials when no priority method was detected. A user who wired only a local/cloud OpenAI-compatible endpoint (Ollama,
packages/decepticon/decepticon/llm/factory.py:717
↓ 1 callers
Function
_fallback_executive
(engagement: str, state: LangGraphState, *, note: str)
packages/decepticon/decepticon/runtime/shutdown.py:450
↓ 1 callers
Function
_fetch_censys
( client: httpx.AsyncClient, domain: str, api_id: str, api_secret: str )
packages/decepticon/decepticon/tools/research/osint.py:258
↓ 1 callers
Function
_fetch_core
Fetch `url` using the generic diversity grid. max_attempts None (default) → run the whole plan (exhaustive, honours R6). int → TO
packages/decepticon/decepticon/sandbox_web/fetch_chain.py:423
↓ 1 callers
Function
_fetch_epss
(client: httpx.AsyncClient, cve_id: str)
packages/decepticon/decepticon/tools/research/cve.py:240
↓ 1 callers
Method
_fetch_following
Manually follow redirects so each hop is SSRF-validated (curl_cffi's own allow_redirects=True would skip the per-hop check).
packages/decepticon/decepticon/sandbox_web/transport.py:185
↓ 1 callers
Function
_fetch_nvd
(client: httpx.AsyncClient, cve_id: str)
packages/decepticon/decepticon/tools/research/cve.py:226
↓ 1 callers
Function
_fetch_osv
( client: httpx.AsyncClient, package: str, version: str, ecosystem: str )
packages/decepticon/decepticon/tools/research/cve.py:250
↓ 1 callers
Function
_fetch_shodan
( client: httpx.AsyncClient, domain: str, api_key: str )
packages/decepticon/decepticon/tools/research/osint.py:246
↓ 1 callers
Function
_fetch_zoomeye
( client: httpx.AsyncClient, domain: str, api_key: str )
packages/decepticon/decepticon/tools/research/osint.py:270
↓ 1 callers
Function
_file_key
(filename_relative: str)
packages/decepticon/decepticon/tools/contracts/slither.py:170
↓ 1 callers
Method
_filter_matches
(challenge: Challenge, filters: FilterConfig | None)
benchmark/providers/buttercup.py:145
↓ 1 callers
Method
_find_lexical_substring_fallback
Pre-index behaviour: whole-query substring match, name-ordered. Only reached when the full-text index is missing. Retained purely so a
packages/decepticon/decepticon/skillogy/server/neo4j_backend.py:759
↓ 1 callers
Function
_find_service
Return the first matching vulnerable service for a list of CNAMEs.
packages/decepticon/decepticon/tools/research/subdomain_takeover.py:277
↓ 1 callers
Function
_finding_fallback_body
(raw: Any)
packages/decepticon/decepticon/runtime/shutdown.py:397
↓ 1 callers
Function
_finding_markdown
(finding: Mapping[str, Any])
packages/decepticon/decepticon/runtime/shutdown.py:371
↓ 1 callers
Function
_finding_rule_id
(node: Any, props: dict[str, Any])
packages/decepticon/decepticon/tools/research/sarif_export.py:59
↓ 1 callers
Function
_findings_path
()
packages/decepticon/decepticon/tools/reporting/finding_dedupe.py:25
↓ 1 callers
Function
_first_str_prop
Return the first non-empty string prop among ``keys`` (lowered).
packages/decepticon/decepticon/tools/research/dedupe.py:76
↓ 1 callers
Function
_fix_survives
The PoC no longer crashes the *patched* build → vuln-specific repro.
benchmark/providers/cybergym.py:72
↓ 1 callers
Method
_flag_format
(expected_flag: str | None)
benchmark/providers/cybench.py:329
↓ 1 callers
Function
_force_exit
(code: int, *, reason: str)
packages/decepticon/decepticon/runtime/shutdown.py:212
↓ 1 callers
Method
_force_restart_langgraph
Restart the langgraph container to dislodge a wedged run. When API-level cancel cannot reach the wedged graph node, only restarting t
benchmark/harness.py:331
↓ 1 callers
Function
_format_ambiguous_skill
(result: AmbiguousSkill)
packages/decepticon/decepticon/tools/skills.py:159
↓ 1 callers
Method
_format_block
One ``●`` entry for the system-reminder body.
packages/decepticon/decepticon/middleware/notifications.py:223
↓ 1 callers
Method
_format_block
(self, record: dict[str, Any], previous: str | None)
packages/decepticon/decepticon/middleware/opscontrol_notifications.py:126
↓ 1 callers
Function
_format_extra_services
(target_url: str, extra_ports: dict[int, int])
packages/decepticon/decepticon/middleware/engagement.py:408
↓ 1 callers
Function
_format_opplan_status
Format OPPLAN for system prompt injection (concise battle tracker). Injected every LLM call via wrap_model_call, providing dynamic situationa
packages/decepticon/decepticon/middleware/opplan.py:261
↓ 1 callers
Function
_format_output
Return the diff trimmed to ``_INLINE_LIMIT`` with a hint to the session log when content was sliced.
packages/decepticon/decepticon/middleware/notifications.py:88
↓ 1 callers
Function
_format_report
Human-readable report. One line per violation, summary at the end.
packages/decepticon/decepticon/skill_audit/cli.py:79
↓ 1 callers
Function
_format_run_scorecard
Per-run human-readable summary written to scorecard.md.
benchmark/dreadgoad/reporter.py:288
↓ 1 callers
Method
_format_skills_list
Format skills grouped by subdomain with MITRE ATT&CK tags. Overrides the base class flat listing to provide: - Grouping by ``metadata
packages/decepticon/decepticon/middleware/skills.py:176
↓ 1 callers
Function
_format_summary
(trace: list[Attempt], profile: Optional[str], stop_reason: str = "")
packages/decepticon/decepticon/sandbox_web/fetch_chain.py:929
↓ 1 callers
Function
_framework
(name: str)
packages/decepticon/decepticon/tools/web/session.py:75
↓ 1 callers
Function
_frontmatter
(text: str)
packages/decepticon/decepticon/tools/skills_registry.py:96
↓ 1 callers
Method
_get
(self, path: str)
packages/decepticon/decepticon/skillogy/client/rest.py:86
↓ 1 callers
Function
_get_stream_writer
Return ``get_stream_writer()`` or None if no graph context. Imported lazily because the LangGraph runtime context isn't available during unit
packages/decepticon/decepticon/middleware/notifications.py:102
↓ 1 callers
Function
_get_tool_prompt
Get a tool's prompt from its co-located prompt module. Tool prompts live with their tool code (e.g., tools/bash/prompt.py). This allows each
packages/decepticon/decepticon/agents/prompts/builder.py:134
↓ 1 callers
Function
_get_writer
Get the LangGraph stream writer if available (for HTTP API streaming).
packages/decepticon/decepticon/core/subagent_streaming.py:157
↓ 1 callers
Function
_git_head
Return the current git HEAD, empty string on failure.
packages/decepticon/decepticon/skillogy/builder/cli.py:33
← previous
next →
2,301–2,400 of 10,737, ranked by callers