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
_resolve_skillogy_api_key
()
packages/decepticon/decepticon/middleware/skillogy.py:198
↓ 1 callers
Function
_resolve_skillogy_url
()
packages/decepticon/decepticon/middleware/skillogy.py:194
↓ 1 callers
Function
_resolve_source_token
Return (token, kind) where kind is one of: "preminted" — token is already a Copilot API bearer (skip mint) "github" — token is a lo
config/copilot_handler.py:138
↓ 1 callers
Function
_resolve_tier
Resolve the effective tier for a role under a profile.
packages/decepticon-core/decepticon_core/types/llm.py:618
↓ 1 callers
Function
_resolve_workspace
()
packages/decepticon/decepticon/tools/defense/conops.py:35
↓ 1 callers
Function
_resolve_workspace
Explicit arg → runnable config → env → ``/workspace`` (bash-tool order).
packages/decepticon/decepticon/tools/defense/blue_cell.py:63
↓ 1 callers
Function
_resolve_workspace
(arg_value: Path | None)
packages/decepticon/decepticon/cli/zip.py:96
↓ 1 callers
Function
_resolve_workspace
(arg_value: Path | None)
packages/decepticon/decepticon/cli/export_transcript.py:53
↓ 1 callers
Function
_resolve_workspace
(state: LangGraphState)
packages/decepticon/decepticon/runtime/shutdown.py:309
↓ 1 callers
Function
_responses_input
(messages: list[dict[str, Any]])
config/codex_chatgpt_handler.py:215
↓ 1 callers
Function
_responses_tools
(tools: Any)
config/codex_chatgpt_handler.py:269
↓ 1 callers
Function
_result_for
(node: Node, rule_index_by_id: dict[str, int])
packages/decepticon/decepticon/tools/reporting/sarif.py:98
↓ 1 callers
Function
_result_location
Extract (file, start_line, end_line) from a SARIF result.
packages/decepticon/decepticon/tools/research/sarif.py:109
↓ 1 callers
Function
_result_locations
(props: dict[str, Any])
packages/decepticon/decepticon/tools/research/sarif_export.py:81
↓ 1 callers
Function
_result_message
Extract a human-readable message from a SARIF result.
packages/decepticon/decepticon/tools/research/sarif.py:123
↓ 1 callers
Function
_result_severity
Derive severity from SARIF result, preferring security-severity over level.
packages/decepticon/decepticon/tools/research/sarif.py:62
↓ 1 callers
Function
_result_tags
(node: Node)
packages/decepticon/decepticon/tools/reporting/sarif.py:204
↓ 1 callers
Function
_retry_after
Parse a ``Retry-After`` delay (seconds form) if present and sane.
packages/decepticon/decepticon/skillogy/embeddings.py:218
↓ 1 callers
Function
_reuse_inventory
Build the same dict shape that the upstream JSON would have, sourced from DREADGOAD_BENCH_* env vars. Keeps ProvisionResult mapping in ``provi
benchmark/dreadgoad/lab/dreadgoad_cli.py:34
↓ 1 callers
Function
_rfc3339_now
RFC3339 timestamp matching Go's ``time.Format(time.RFC3339)``. Go's RFC3339 format is ``2006-01-02T15:04:05Z07:00`` — second-resolution with
packages/decepticon/decepticon/tools/ad/bhce_client.py:72
↓ 1 callers
Function
_rid_from_local_group_id
Extract the trailing numeric RID from a SharpHound LocalGroup id. BHCE-emitted ids take two shapes: - ``<computerSID>-<RID>`` (numeric trai
packages/decepticon/decepticon/tools/ad/bloodhound.py:711
↓ 1 callers
Function
_roe_literal_targets
Literal in-scope hosts/IPs from ``<workspace>/plan/roe.json``. These are the engagement's actual authorized targets — ground truth that the r
packages/decepticon/decepticon/middleware/event_logging.py:251
↓ 1 callers
Function
_root_of
(url: str)
packages/decepticon/decepticon/sandbox_web/transport.py:30
↓ 1 callers
Function
_rule_patterns
(rules: Iterable[ScopeRule], *, deny: bool = False)
packages/decepticon/decepticon/middleware/egress.py:73
↓ 1 callers
Function
_rules
(targets, out_of_scope=())
packages/decepticon-core/tests/test_roe_builder.py:22
↓ 1 callers
Function
_run
()
packages/decepticon/decepticon/cli/scan.py:263
↓ 1 callers
Function
_run_attempt
Execute one curl_cffi attempt and produce an Attempt record.
packages/decepticon/decepticon/sandbox_web/fetch_chain.py:158
↓ 1 callers
Function
_run_flush
(signal_name: str, deadline: float)
packages/decepticon/decepticon/runtime/shutdown.py:221
↓ 1 callers
Function
_run_node_template
Run a Node.js template with args as JSON on stdin. Template convention: reads `process.stdin` → JSON → runs fetch → writes HTML to stdout; er
packages/decepticon/decepticon/sandbox_web/executor.py:80
↓ 1 callers
Function
_run_parallel
Run challenges concurrently with a semaphore limit.
benchmark/runner.py:295
↓ 1 callers
Function
_run_sequential
Run challenges one at a time (original behavior).
benchmark/runner.py:266
↓ 1 callers
Function
_run_sequential_async
Async implementation for sequential challenge execution.
benchmark/runner.py:274
↓ 1 callers
Function
_run_step
Run ``func`` bounded by ``min(PER_COMPONENT_FLUSH_SECONDS, time_left)``. The ``_write_*`` helpers are synchronous filesystem calls, so we cannot
packages/decepticon/decepticon/runtime/shutdown.py:268
↓ 1 callers
Function
_running_in_wsl2
Detect whether the probe is running in (or talking to) a WSL2 host. Multiple signals — Decepticon agents run inside Docker containers, but th
config/ollama_probe.py:133
↓ 1 callers
Function
_runtime_context
()
packages/decepticon/decepticon/tools/interaction/complete_planning.py:83
↓ 1 callers
Function
_safe_members
Validate archive entries and return (engagement_ids, members). Rejects absolute paths, ``..`` traversal and symlink entries so a malicious ar
packages/decepticon/decepticon/cli/zip.py:127
↓ 1 callers
Function
_safe_str
(v: Any)
packages/decepticon/decepticon/tools/ad/bloodhound.py:196
↓ 1 callers
Function
_safe_writer
Return the LangGraph stream writer if running inside a graph context.
packages/decepticon/decepticon/tools/interaction/ask_user.py:109
↓ 1 callers
Function
_safe_writer
()
packages/decepticon/decepticon/tools/interaction/complete_planning.py:100
↓ 1 callers
Function
_sandbox_from_config
Resolve a per-engagement sandbox from the run's injected config. In a SHARED langgraph process serving many engagements concurrently, each ru
packages/decepticon/decepticon/tools/bash/bash.py:260
↓ 1 callers
Function
_sandbox_status
Probe liveness and advertised API shape without executing sandbox work.
packages/decepticon/decepticon/diagnostics.py:152
↓ 1 callers
Function
_sanitize
Surrogate-safe + terminal-control-stripped variant of the captured output.
packages/decepticon/decepticon/middleware/notifications.py:82
↓ 1 callers
Function
_sanitize
(value: Any, *, key: str = "")
benchmark/provenance.py:185
↓ 1 callers
Function
_scan_and_record
Replay the tap, evaluate rules, record detections, return coverage.
packages/decepticon/decepticon/tools/defense/blue_cell.py:159
↓ 1 callers
Method
_scan_decisions
(self)
packages/decepticon/decepticon/middleware/hitl.py:213
↓ 1 callers
Function
_scan_file
Return list of violation strings for this file.
packages/decepticon/decepticon/sandbox_web/bias_check.py:131
↓ 1 callers
Function
_scan_one
Return a list of hit dicts for a single file. Best-effort — skips binaries, unreadable files, and anything over ``max_bytes``.
packages/decepticon/decepticon/tools/research/scanner_tools.py:290
↓ 1 callers
Method
_scan_transcript_caps
Recover capabilities from inline ``grade(...)`` tool responses. Decepticon's harness flattens the entire agent transcript into ``stat
benchmark/providers/exploitbench.py:681
↓ 1 callers
Method
_scan_transcript_flag
Return the first ``FLAG{<hex>}`` seen in the transcript, if any.
benchmark/providers/exploitbench.py:718
↓ 1 callers
Method
_scan_workspace
(workspace: Path)
benchmark/providers/cybench.py:335
↓ 1 callers
Method
_scan_workspace_for_output
Scan workspace files for flag patterns recursively. The Docker sandbox creates files as root, so OSError (permission denied) is caugh
benchmark/harness.py:953
↓ 1 callers
Function
_schema_rows
(model: type[BaseModel])
packages/decepticon/tests/unit/tools/test_planning_skill_schemas.py:53
↓ 1 callers
Function
_scope_skip
A non-network trace row recording that scope_check refused a host.
packages/decepticon/decepticon/sandbox_web/fetch_chain.py:56
↓ 1 callers
Function
_score_hit
( *, sink_weight: float, sink_count: int, has_source_in_file: bool, hot: bool, noisy:
packages/decepticon/decepticon/tools/research/scanner_tools.py:270
↓ 1 callers
Function
_score_profile
Apply profile detectors to resp. Returns hit or None.
packages/decepticon/decepticon/sandbox_web/waf_detector.py:132
↓ 1 callers
Function
_search_exa
(query: str, max_results: int, api_key: str)
packages/decepticon/decepticon/tools/web/web_research.py:69
↓ 1 callers
Function
_search_perplexity
(query: str, api_key: str)
packages/decepticon/decepticon/tools/web/web_research.py:102
↓ 1 callers
Function
_search_work_in_turn
(messages: Sequence[BaseMessage])
packages/decepticon/decepticon/middleware/search_runtime.py:78
↓ 1 callers
Function
_selector_hits
Return matched-selector list, or None if BS4 is unavailable.
packages/decepticon/decepticon/sandbox_web/validators.py:179
↓ 1 callers
Function
_self_test
()
telemetry-gateway/redact_corpus.py:323
↓ 1 callers
Function
_self_test
()
telemetry-gateway/export_corpus.py:179
↓ 1 callers
Method
_send_input
(self, command: str)
packages/decepticon/decepticon/sandbox_kernel/tmux.py:660
↓ 1 callers
Function
_sensitive_tld_match
Return the sensitive TLD ``target``'s hostname ends with, else None. IP literals have no TLD, so they are never matched. A trailing ``:port``
packages/decepticon-core/decepticon_core/types/roe.py:411
↓ 1 callers
Function
_service_name
()
packages/decepticon/decepticon/telemetry/otel.py:48
↓ 1 callers
Function
_service_volumes
Return source paths of all volume mounts as plain strings.
tests/test_compose_network_isolation.py:163
↓ 1 callers
Function
_session_salt
The anonymous install id, used to scope session ids to this machine. Cached: resolving it touches the filesystem, and it cannot change within a
packages/decepticon/decepticon/telemetry/sink.py:304
↓ 1 callers
Method
_setup_external
External-topology variant of ``setup()``. Skips ``main.py setup`` and OpenStack discovery; builds the topology snapshot directly from
benchmark/providers/mhbench.py:431
↓ 1 callers
Function
_setup_logging
()
packages/decepticon/decepticon/skillogy/__main__.py:41
↓ 1 callers
Method
_setup_pipe_pane_logging
Wire ``pipe-pane`` so the session's output streams to a host-tailable log.
packages/decepticon/decepticon/sandbox_kernel/tmux.py:551
↓ 1 callers
Function
_severity_from_score
(score: float)
packages/decepticon/decepticon/tools/research/tools.py:98
↓ 1 callers
Function
_severity_rank
(s: str)
packages/decepticon/decepticon/tools/reporting/ci_gate.py:29
↓ 1 callers
Function
_shannon_entropy
(s: str)
packages/decepticon/decepticon/tools/web/oauth.py:52
↓ 1 callers
Function
_short_path_candidates
Expand relative skill paths into canonical ``/skills/...`` candidates.
packages/decepticon/decepticon/tools/skills.py:147
↓ 1 callers
Function
_sig
( name: str, category: TechnologyCategory, marker: str, version: str | None = None, )
packages/decepticon/decepticon/tools/research/tech_detection.py:84
↓ 1 callers
Function
_sign
(key: bytes, msg: str)
packages/decepticon/decepticon/tools/research/secret_validation.py:137
↓ 1 callers
Function
_signal_name
(signum: int | None)
packages/decepticon/decepticon/runtime/shutdown.py:194
↓ 1 callers
Function
_skillogy_status
()
packages/decepticon/decepticon/diagnostics.py:130
↓ 1 callers
Method
_slug
Stable, CLI-friendly id from a task's path relative to the suite.
benchmark/providers/cybench.py:271
↓ 1 callers
Function
_slugify
(name: str)
packages/decepticon/decepticon/tools/references/methodology.py:96
↓ 1 callers
Function
_slugify
(name: str)
packages/decepticon/decepticon/tools/references/payloads_ingest.py:114
↓ 1 callers
Function
_snapshot
(backend: BackendProtocol, path: str, content: bytes)
packages/decepticon/decepticon/artifacts/storage.py:40
↓ 1 callers
Method
_snapshot
Pull the current registry. None on any daemon-side error so the middleware degrades gracefully — a temporary daemon hiccup must not cr
packages/decepticon/decepticon/middleware/opscontrol_notifications.py:107
↓ 1 callers
Function
_soft_marker_hits
(body_lower: str)
packages/decepticon/decepticon/sandbox_web/validators.py:121
↓ 1 callers
Function
_span_id
(span: ReadableSpan)
packages/decepticon/tests/unit/telemetry/test_otel.py:44
↓ 1 callers
Function
_spill_dir
()
packages/decepticon/decepticon/middleware/output_bounds.py:23
↓ 1 callers
Function
_split
(s: str)
packages/decepticon/decepticon/tools/research/tools.py:2065
↓ 1 callers
Function
_split_family
(addrs: Iterable[str])
packages/decepticon/decepticon/sandbox_kernel/egress.py:104
↓ 1 callers
Function
_split_model_command
Pull a leading ``/model <id>`` directive off an operator message. Mirrors the CLI's client-side slash command: the override travels to the se
packages/decepticon/decepticon/mcp_server/engagements.py:63
↓ 1 callers
Function
_split_table_row
Split a markdown table row into cells without breaking link bracketing.
packages/decepticon/decepticon/tools/references/h1_corpus.py:104
↓ 1 callers
Function
_stage_artifacts_error
( stage: WorkflowStage, objectives: Sequence[Objective], check_artifacts: ArtifactCheck )
packages/decepticon/decepticon/middleware/workflow_opplan.py:41
↓ 1 callers
Function
_stage_depends_on_closure
(stages: Mapping[str, WorkflowStage], stage_id: str)
packages/decepticon/decepticon/middleware/workflow_opplan.py:116
↓ 1 callers
Method
_start_bridge
Spawn the bridge as a detached subprocess. We deliberately do NOT keep the ``Popen`` handle on ``self`` because the harness runs sequ
benchmark/providers/exploitbench.py:558
↓ 1 callers
Function
_start_rest
(backend: Neo4jBackend, port: int, started_at: float)
packages/decepticon/decepticon/skillogy/__main__.py:73
↓ 1 callers
Function
_state_dir
()
packages/decepticon/decepticon/middleware/scan_resume.py:20
↓ 1 callers
Function
_stats
(store: KGStore, *, engagement: str)
packages/decepticon/decepticon/middleware/kg_internal/summary.py:61
↓ 1 callers
Function
_status
(cfg: TelemetryConfig)
packages/decepticon/decepticon/cli/telemetry.py:96
↓ 1 callers
Function
_step
(step_id: int, message: BaseMessage, model_name: str | None)
benchmark/terminal_bench/trajectory.py:64
↓ 1 callers
Function
_steps
(messages: Sequence[BaseMessage], model_name: str | None)
benchmark/terminal_bench/trajectory.py:89
↓ 1 callers
Function
_stop
(aid: str)
packages/decepticon/decepticon/tools/orchestration/agent_graph.py:283
↓ 1 callers
Function
_strict_registry_enabled
()
packages/decepticon-core/decepticon_core/registry/plugins.py:30
← previous
next →
2,701–2,800 of 10,737, ranked by callers