MCPcopy Create free account

hub / github.com/BitterSecurity/Decepticon / functions

Functions10,737 in github.com/BitterSecurity/Decepticon

↓ 1 callersFunction_build_scope_check
Construct an RoE scope predicate from ``<workspace>/plan/roe.json``. Returns None when no workspace/roe is available (the sandbox nftables al
packages/decepticon/decepticon/sandbox_web/__main__.py:36
↓ 1 callersMethod_build_singleton
Walk entry-point groups once and stash the snapshot.
packages/decepticon-core/decepticon_core/registry/plugins.py:111
↓ 1 callersFunction_build_vector
(m: dict)
packages/decepticon/decepticon/tools/reporting/finding_epistemics.py:103
↓ 1 callersFunction_builtin_detectors
Reuse LangChain's maintained PII detectors; fall back to local regex. Resolved once and cached. Lazy so importing this module never forces the
packages/decepticon/decepticon/telemetry/redact.py:142
↓ 1 callersFunction_bump_ms
Advance an ISO timestamp by 1ms to break a same-timestamp page.
telemetry-gateway/export_corpus.py:157
↓ 1 callersFunction_bundle
()
packages/decepticon/tests/unit/core/test_workspace_scaffold.py:17
↓ 1 callersFunction_byte_size
(resp, text: str)
packages/decepticon/decepticon/sandbox_web/validators.py:157
↓ 1 callersFunction_ca_analysis
(name: str, ca: dict[str, Any])
packages/decepticon/decepticon/tools/ad/adcs.py:193
↓ 1 callersFunction_cache_get
(model: str, text: str)
packages/decepticon/decepticon/skillogy/embeddings.py:152
↓ 1 callersFunction_cache_put
(model: str, text: str, vector: list[float])
packages/decepticon/decepticon/skillogy/embeddings.py:160
↓ 1 callersFunction_cached_index
(root: Path | None)
packages/decepticon/decepticon/tools/references/cve_poc_index.py:272
↓ 1 callersMethod_cancel
(self, request: ActionRequest, token: str)
packages/decepticon/decepticon/tools/browser/native.py:149
↓ 1 callersMethod_cancel_active_runs
Fire-and-forget cancel of the in-flight LangGraph run for ``active``. Uses ``action="rollback"`` (stronger than ``"interrupt"``, doesn't
benchmark/harness.py:201
↓ 1 callersFunction_canonical
(record: dict[str, Any])
packages/decepticon/decepticon/middleware/_audit_sink.py:54
↓ 1 callersFunction_canonical_skill_path
Return the ``/skills/<...>/SKILL.md`` form used as the node key.
packages/decepticon/decepticon/skillogy/builder/skills.py:51
↓ 1 callersFunction_challenge
()
packages/decepticon/tests/unit/benchmark/test_cve_bench_live.py:13
↓ 1 callersMethod_challenge_dir
(self, challenge_id: str)
benchmark/reporter.py:46
↓ 1 callersFunction_challenges_root
(upstream_dir: Path)
benchmark/providers/buttercup.py:60
↓ 1 callersFunction_chat
One JSON-returning chat completion through the LiteLLM proxy. Retries once on a malformed reply: models occasionally emit unescaped content i
telemetry-gateway/redact_corpus.py:138
↓ 1 callersFunction_chat_once
(system: str, user: str, cfg: dict[str, str])
telemetry-gateway/redact_corpus.py:153
↓ 1 callersFunction_check_attribution
(path: str, meta: dict[str, Any])
packages/decepticon/decepticon/skill_audit/rules.py:131
↓ 1 callersFunction_check_capability_contract
Validate the optional executable-contract metadata on specialist skills.
packages/decepticon/decepticon/skill_audit/rules.py:151
↓ 1 callersFunction_check_misconfigurations
Check for common security misconfigurations.
packages/decepticon/decepticon/tools/network/vulnerability.py:459
↓ 1 callersFunction_check_mitre
(path: str, meta: dict[str, Any])
packages/decepticon/decepticon/skill_audit/rules.py:114
↓ 1 callersFunction_check_nxdomain
Return True if the subdomain fails DNS A/AAAA resolution (NXDOMAIN).
packages/decepticon/decepticon/tools/research/subdomain_takeover.py:260
↓ 1 callersFunction_check_required
(path: str, meta: dict[str, Any])
packages/decepticon/decepticon/skill_audit/rules.py:64
↓ 1 callersFunction_check_subdomain
(path: str, meta: dict[str, Any])
packages/decepticon/decepticon/skill_audit/rules.py:97
↓ 1 callersFunction_chrome_channel_available
Heuristic: try `node -e` to import playwright. Fallback to True, let script fail loudly.
packages/decepticon/decepticon/sandbox_web/executor.py:57
↓ 1 callersFunction_claim_scopes
Read OAuth scopes from the space-delimited ``scope`` or list ``scopes`` claim.
packages/decepticon/decepticon/mcp_server/auth.py:119
↓ 1 callersFunction_classify
Resolve the validation status for a single matched secret.
packages/decepticon/decepticon/tools/research/secret_scanner.py:180
↓ 1 callersFunction_classify
(s: str)
packages/decepticon/decepticon/tools/reversing/strings.py:110
↓ 1 callersFunction_classify
Bucket cookie characters. ``hex`` is tracked as an additional signal count rather than a mutually exclusive bucket so obviously hex-encoded c
packages/decepticon/decepticon/tools/web/session.py:96
↓ 1 callersFunction_classify
Split raw scope patterns into (ip/cidr literals, hostnames/globs).
packages/decepticon/decepticon/middleware/egress.py:64
↓ 1 callersMethod_classify_servers
Discover and classify every server in the OpenStack project. Runs a tiny snippet inside the MHBench submodule's venv so we reuse upst
benchmark/providers/mhbench.py:722
↓ 1 callersFunction_classify_subsystem
Return rough ``[subsystem, ...]`` tag list for a bug ID. Heuristic over the bug ID; the upstream YAML carries the authoritative ``[wasm] / [m
benchmark/providers/exploitbench.py:136
↓ 1 callersFunction_clean_compat_gateway_model
(value: str)
packages/decepticon-core/decepticon_core/types/llm.py:785
↓ 1 callersFunction_clean_compat_gateway_model
(value: str | None)
config/litellm_dynamic_config.py:479
↓ 1 callersMethod_client
(self)
packages/decepticon/decepticon/tools/ops/client.py:95
↓ 1 callersFunction_cluster_by_prefilter
Group finding nodes into prefilter-connected clusters. Two nodes land in the same cluster when :func:`prefilter` links them (directly or tran
packages/decepticon/decepticon/tools/research/dedupe.py:233
↓ 1 callersFunction_cluster_summary
Build a compact, stable JSON summary for one duplicate cluster. The lowest node id is chosen as the canonical anchor purely so the report is
packages/decepticon/decepticon/tools/research/dedupe.py:268
↓ 1 callersFunction_cmd_report
(args: argparse.Namespace)
benchmark/dreadgoad/__main__.py:95
↓ 1 callersFunction_cmd_run
(args: argparse.Namespace)
benchmark/dreadgoad/__main__.py:72
↓ 1 callersFunction_coerce_props
(raw: Any, reserved: frozenset[str])
packages/decepticon/decepticon/tools/reporting/kg_adapter.py:70
↓ 1 callersFunction_coerce_str_list
Tags / allowed-tools / mitre lists may be YAML lists or CSV strings.
packages/decepticon/decepticon/skillogy/builder/skills.py:57
↓ 1 callersFunction_collect
()
packages/decepticon/decepticon/mcp_server/streaming.py:46
↓ 1 callersMethod_command_output
(screen: str, baseline: str, exit_text: str)
benchmark/terminal_bench/sandbox.py:109
↓ 1 callersFunction_compact
(data: Any)
packages/decepticon/decepticon/mcp_server/streaming.py:22
↓ 1 callersFunction_compact_value
(value: Any)
packages/decepticon/decepticon/mcp_server/conversation.py:88
↓ 1 callersFunction_compat_disabled
()
packages/decepticon/decepticon/agents/prompts/claude4_compat.py:159
↓ 1 callersFunction_compat_gateway_models_from_env
Derive ``compat/<model>`` aliases when the generic gateway is wired. Requires ``OPENAI_COMPAT_GATEWAY_API_BASE`` + ``OPENAI_COMPAT_GATEWAY_API_KE
config/litellm_dynamic_config.py:487
↓ 1 callersFunction_compile_patterns
(patterns: list[str], label: str)
packages/decepticon/decepticon/capabilities/evidence.py:32
↓ 1 callersFunction_completed_payload
Walk the SSE stream and return the ``response.completed`` payload. The Codex backend often returns a ``response.completed`` event whose ``out
config/codex_chatgpt_handler.py:351
↓ 1 callersFunction_compress_repetitive_lines
Compress blocks of repetitive lines from scan tools (nmap, nuclei, etc.). When >max_repeat consecutive lines share the same prefix pattern, k
packages/decepticon/decepticon/tools/bash/bash.py:180
↓ 1 callersFunction_compute_chapters
(root: Path | None)
packages/decepticon/decepticon/tools/references/methodology.py:115
↓ 1 callersFunction_compute_confidence
Compute a confidence level for the takeover assessment. - ``high``: CNAME matches + fingerprint confirmed in HTTP response - ``medium``: CN
packages/decepticon/decepticon/tools/research/subdomain_takeover.py:319
↓ 1 callersFunction_compute_corpus
(root: Path | None)
packages/decepticon/decepticon/tools/references/h1_corpus.py:219
↓ 1 callersFunction_compute_entries
(root: Path | None)
packages/decepticon/decepticon/tools/references/killchain.py:247
↓ 1 callersFunction_compute_merged
(root: Path | None)
packages/decepticon/decepticon/tools/references/payloads_ingest.py:208
↓ 1 callersFunction_compute_recipes
(root: Path | None, limit: int)
packages/decepticon/decepticon/tools/references/oneliners.py:119
↓ 1 callersFunction_compute_risk_score
Compute a 0-10 risk score based on discovered AI surface.
packages/decepticon/decepticon/tools/research/ai_surface.py:271
↓ 1 callersFunction_compute_window_cost
Aggregate litellm spend logs over a time window and price them. Returns ``(total_usd, by_model_breakdown, method_label)``. ``method_label`` i
benchmark/dreadgoad/harness.py:81
↓ 1 callersFunction_config_file_bundles
Resolve bundles from config files in CWD. Returns None if neither set. Lookup order (first match wins): 1. ``.decepticon.toml`` → ``[plugi
packages/decepticon-core/decepticon_core/plugin_loader.py:100
↓ 1 callersFunction_configure_learning_env
Point the engine's per-host route learning at the engagement workspace so it never writes to ``~/.insane_search`` in the sandbox. Disabled outrigh
packages/decepticon/decepticon/sandbox_web/__main__.py:65
↓ 1 callersFunction_configured_credential
(value: str | None)
config/litellm_dynamic_config.py:32
↓ 1 callersMethod_container_name
Docker name for the per-challenge container.
benchmark/providers/exploitbench.py:602
↓ 1 callersFunction_containers
(pod_spec: dict[str, Any])
packages/decepticon/decepticon/tools/cloud/k8s.py:93
↓ 1 callersFunction_content_length
Length of a tool message's textual content without copying the blob.
packages/decepticon/decepticon/middleware/event_logging.py:131
↓ 1 callersFunction_content_text
Flatten message content (str or a list of content blocks) to plain text.
packages/decepticon/decepticon/mcp_server/conversation.py:25
↓ 1 callersFunction_content_type
(resp)
packages/decepticon/decepticon/sandbox_web/validators.py:130
↓ 1 callersFunction_context_window
Max input tokens for the model, from LiteLLM's cost map. None if unknown.
packages/decepticon/decepticon/middleware/run_controls.py:90
↓ 1 callersFunction_cookies_dict
(resp)
packages/decepticon/decepticon/sandbox_web/waf_detector.py:98
↓ 1 callersFunction_copy_workspace_artifacts
Pull opplan.json + timeline.jsonl + findings/ + full tarball from sandbox.
benchmark/dreadgoad/reporter.py:190
↓ 1 callersFunction_count_levels
(results: list[dict[str, Any]])
packages/decepticon/decepticon/mcp_server/findings.py:45
↓ 1 callersFunction_crown_jewels
Crown jewels with the number of distinct viable paths from any entrypoint.
packages/decepticon/decepticon/middleware/kg_internal/summary.py:118
↓ 1 callersFunction_curl_probe
Returns (response, error_str). response may be None on exception. Routes through the per-host SessionPool so cookies (WAF sensors) and the wa
packages/decepticon/decepticon/sandbox_web/fetch_chain.py:144
↓ 1 callersFunction_cycle_issue
(predecessors: dict[str, list[str]], code: GraphIssueCode)
packages/decepticon/decepticon/tools/opplan_graph.py:73
↓ 1 callersFunction_daddr_rules
Emit ``ip``/``ip6 daddr { … } <verb>`` lines, split by family. An ``inet`` table needs the family-correct match (``ip`` vs ``ip6``); mixing a
packages/decepticon/decepticon/sandbox_kernel/egress.py:116
↓ 1 callersMethod_decision_to_response
( self, decision: ApprovalDecision | None, rule: ApprovalPolicyRule, request:
packages/decepticon/decepticon/middleware/hitl.py:393
↓ 1 callersFunction_declared_component_stages
Stages reachable from ``objective`` through declared DAG edges only. Walks blocked-by references, every any-of alternative and fact producers,
packages/decepticon/decepticon/middleware/workflow_opplan.py:84
↓ 1 callersFunction_declared_edges_error
Require executable leaves to declare DAG edges into prerequisite stages. Without a declared edge the proof gate's reachable-leaf rule can never b
packages/decepticon/decepticon/middleware/workflow_opplan.py:128
↓ 1 callersFunction_dedup_edges
(edges: Iterable[Edge])
packages/decepticon/decepticon/skillogy/builder/emit.py:116
↓ 1 callersFunction_dedup_nodes
Drop duplicate (label, key) nodes, preserving the first occurrence.
packages/decepticon/decepticon/skillogy/builder/emit.py:103
↓ 1 callersFunction_dedupe
Order-preserving dedupe that tolerates dict (unhashable) elements.
packages/decepticon/decepticon/tools/research/osint.py:119
↓ 1 callersFunction_dedupe_hits
Merge hits across shard blobs, deduping by ``(path,line,sink_kind)``. Returns ``(total_hits, unique_hits_sorted)`` — the raw hit count and the
packages/decepticon/decepticon/tools/research/scanner_tools.py:466
↓ 1 callersFunction_dedupe_report
Compute the report-only duplicate summary for ``graph``. Split out from the tool wrapper so it stays a pure function over a :class:`Knowledge
packages/decepticon/decepticon/tools/research/dedupe.py:324
↓ 1 callersFunction_dedupe_targets
(targets: Iterable[str])
packages/decepticon-core/decepticon_core/types/roe.py:245
↓ 1 callersFunction_default_cache_path
Resolve the CVE JSON cache location. The cache must live **outside** the LLM-writable ``/workspace`` tree so a poisoned engagement cannot per
packages/decepticon/decepticon/tools/research/cve.py:49
↓ 1 callersFunction_default_env_path
()
packages/decepticon/decepticon/cli/auth.py:64
↓ 1 callersFunction_default_skill_registry
Return the packaged OSS skill registry. ``importlib.resources.as_file`` keeps this compatible with both editable installs and wheel layouts w
packages/decepticon/decepticon/tools/skills.py:28
↓ 1 callersFunction_default_transport
Pick a sensible transport when the user omitted one. Rules: ``command`` present => ``stdio``; otherwise ``streamable_http`` (the modern HTTP
packages/decepticon/decepticon/tools/mcp/client.py:106
↓ 1 callersFunction_default_workspace
()
packages/decepticon/decepticon/cli/zip.py:33
↓ 1 callersFunction_derived_api_key_env
(provider: str)
config/litellm_dynamic_config.py:635
↓ 1 callersFunction_detect
Run one engine's signatures over ``text`` and return detection dicts.
packages/decepticon/decepticon/tools/research/tech_detection.py:256
↓ 1 callersFunction_detect
(url: str)
packages/decepticon/decepticon/sandbox_web/phase0.py:90
↓ 1 callersFunction_detect_service_from_banner
Detect service and version from banner.
packages/decepticon/decepticon/tools/network/scanners.py:609
↓ 1 callersFunction_detect_version
()
packages/decepticon/decepticon/telemetry/config.py:214
↓ 1 callersFunction_detection_key
Stable, scan-independent identity for one detected event. The DetectionFired node MUST key on the underlying *event content*, not on ``event_
packages/decepticon/decepticon/tools/defense/blue_cell.py:95
↓ 1 callersMethod_difficulty_to_level
(difficulty: object)
benchmark/providers/cybench.py:283
↓ 1 callersMethod_difficulty_to_level
(difficulty: str)
benchmark/providers/cybergym.py:247
↓ 1 callersFunction_discover_subagent_specs
Discover every ``SubAgentSpec`` exported under ``decepticon.subagents``.
packages/decepticon-core/decepticon_core/plugin_loader.py:570
← previousnext →2,201–2,300 of 10,737, ranked by callers