MCPcopy Create free account

hub / github.com/BitterSecurity/Decepticon / functions

Functions10,737 in github.com/BitterSecurity/Decepticon

↓ 1 callersFunction_load_roe_rules
Load the engagement's machine-enforcement RoE block. Resolves the workspace from ``DECEPTICON_WORKSPACE_PATH`` (the same env the middleware f
packages/decepticon/decepticon/tools/research/tech_detection.py:231
↓ 1 callersFunction_load_roe_rules
Load the engagement's machine-enforcement RoE block. Falls back to a permissive default (mode=``log``) when there is no plan directory or the
packages/decepticon/decepticon/tools/research/subdomain_takeover.py:217
↓ 1 callersFunction_load_roe_rules
Load engagement RoE machine-enforcement block.
packages/decepticon/decepticon/tools/research/ai_surface.py:138
↓ 1 callersFunction_load_scope_patterns
Return the configured target-scope patterns, lowercased. Read from ``DECEPTICON_OSINT_SCOPE`` (comma-separated). An empty / unset value yield
packages/decepticon/decepticon/tools/research/osint.py:73
↓ 1 callersMethod_load_spec
Parse an ExploitBench YAML config into the strict pydantic shape. The upstream YAML carries fields the Decepticon harness ignores (mo
benchmark/providers/exploitbench.py:214
↓ 1 callersMethod_load_spec
(path: Path)
benchmark/providers/cybergym.py:93
↓ 1 callersFunction_load_term_map
Load substitution map from yaml; fall back to builtin on any error.
packages/decepticon/decepticon/agents/prompts/claude4_compat.py:108
↓ 1 callersFunction_load_tokens
()
config/gemini_handler.py:52
↓ 1 callersFunction_load_tokens
()
config/grok_handler.py:54
↓ 1 callersFunction_load_tokens
()
config/perplexity_handler.py:51
↓ 1 callersFunction_load_tokens
Resolve a tokens dict using env override → cache → legacy fallback.
config/claude_code_handler.py:136
↓ 1 callersFunction_load_yaml_fallback
Parse the committed ``killchain.yaml``. Uses a tiny hand-rolled YAML reader so the package has no new third-party dependency. The format is s
packages/decepticon/decepticon/tools/references/killchain.py:137
↓ 1 callersFunction_loaded_bytes
(skill: Mapping[str, Any] | None)
packages/decepticon/decepticon/skillogy/evaluation.py:188
↓ 1 callersFunction_location_for
(node: Node)
packages/decepticon/decepticon/tools/reporting/sarif.py:178
↓ 1 callersFunction_location_uri
(node: Node)
packages/decepticon/decepticon/tools/reporting/sarif.py:194
↓ 1 callersFunction_looks_complete_content_page
True when a SMALL body is still a real (short) page, not a challenge stub. A genuine page is a COMPLETE HTML document (closes `</html>`/`</body>`
packages/decepticon/decepticon/sandbox_web/validators.py:164
↓ 1 callersFunction_looks_like_ipv6
(value: str)
packages/decepticon-core/decepticon_core/types/roe.py:193
↓ 1 callersFunction_looks_like_json
(text: str, ctype: str)
packages/decepticon/decepticon/sandbox_web/validators.py:138
↓ 1 callersFunction_looks_like_model_env_var
(name: str)
config/litellm_dynamic_config.py:392
↓ 1 callersFunction_looks_like_runtime_object
Heuristic — separate a runtime instance from a factory callable.
packages/decepticon-core/decepticon_core/plugin_loader.py:382
↓ 1 callersFunction_lookup
( dep: tuple[str, str, str], )
packages/decepticon/decepticon/tools/research/tools.py:754
↓ 1 callersFunction_main
(argv: list[str])
packages/decepticon/decepticon/tools/references/hydrate.py:132
↓ 1 callersFunction_make_factory
()
packages/decepticon/tests/unit/llm/test_factory_fallback_execution.py:46
↓ 1 callersFunction_make_filesystem
(*, backend: Any, role: str, **_: Any)
packages/decepticon/decepticon/agents/middleware_slots.py:165
↓ 1 callersFunction_make_model_fallback
Conditional slot — returns None when no fallback chain exists. ``build_middleware`` filters None results out so the absent fallback simply sk
packages/decepticon/decepticon/agents/middleware_slots.py:251
↓ 1 callersFunction_make_record
( id_: str, *, slug: str | None = None, name: str | None = None, description: str = "",
packages/decepticon/tests/unit/tools/test_skills_registry.py:21
↓ 1 callersFunction_make_store
(driver: Any | None = None)
packages/decepticon/tests/unit/middleware/test_kg_migration_runner.py:89
↓ 1 callersFunction_make_subagent
(*, backend: Any, subagents: list | None = None, role: str = "", **_: Any)
packages/decepticon/decepticon/agents/middleware_slots.py:169
↓ 1 callersFunction_make_workspace_tarball
``tar -czf`` the sandbox-side engagement workspace, then docker cp to dst.
benchmark/dreadgoad/reporter.py:247
↓ 1 callersMethod_make_zip
(self, tmp_path: Path, payload: dict[str, Any])
packages/decepticon/tests/unit/ad/test_bloodhound_kgstore.py:418
↓ 1 callersFunction_map_finish_reason
Map a Gemini ``candidates[].finishReason`` to an OpenAI finish_reason. Hardcoding ``"stop"`` masked truncation (MAX_TOKENS) and safety stops
config/gemini_handler.py:133
↓ 1 callersFunction_map_windows
Run one prompt over every window concurrently, preserving order.
telemetry-gateway/redact_corpus.py:264
↓ 1 callersFunction_masscan_guess_service
Best-effort service name when masscan lacks banner/service data.
packages/decepticon/decepticon/tools/research/tools.py:168
↓ 1 callersFunction_match_cname
Check whether *cname* matches a wildcard pattern like ``*.github.io``.
packages/decepticon/decepticon/tools/research/subdomain_takeover.py:269
↓ 1 callersFunction_match_patterns
Match literal names or fnmatch patterns (for wildcards like `X-Akamai-*`).
packages/decepticon/decepticon/sandbox_web/waf_detector.py:115
↓ 1 callersFunction_matches_pattern
Match ``target`` against a single host / ``*.wildcard`` pattern.
packages/decepticon/decepticon/tools/research/osint.py:83
↓ 1 callersFunction_matches_rule
(rule: ScopeRule, target: str, *, deny: bool = False)
packages/decepticon-core/decepticon_core/types/roe.py:387
↓ 1 callersMethod_materialize
(self, registry: ArtifactRegistry, workspace: str | None)
packages/decepticon/decepticon/middleware/search_runtime.py:180
↓ 1 callersMethod_maybe_log_quarantine
( self, request, tool_name: str, original_text: str, verdict: Injectio
packages/decepticon/decepticon/middleware/untrusted_output.py:260
↓ 1 callersMethod_maybe_provision_egress
Attempt network-policy provisioning once per workspace. The operator can disable provisioning. Failures are logged and the workspace
packages/decepticon/decepticon/middleware/roe.py:432
↓ 1 callersFunction_mcp_status
()
packages/decepticon/decepticon/diagnostics.py:176
↓ 1 callersFunction_measurement_path
(scenario_name: str, run_id: str)
benchmark/dreadgoad/harness.py:173
↓ 1 callersFunction_merge
Collapse detections of the same technology across both engines. Same ``key`` -> one entry whose ``detected_by`` unions the sources and whose
packages/decepticon/decepticon/tools/research/tech_detection.py:282
↓ 1 callersFunction_merge_one_payload
Merge one BloodHound JSON payload (one file's worth of objects) into the accumulator. Updates per-kind counters in ``state.stats``.
packages/decepticon/decepticon/tools/ad/bloodhound.py:1024
↓ 1 callersFunction_message_text
(content: Any)
config/codex_chatgpt_handler.py:197
↓ 1 callersFunction_method_detail
One-line hint: confirmation when configured, remediation otherwise.
packages/decepticon/decepticon/llm/factory.py:898
↓ 1 callersFunction_method_kind
(method: AuthMethod)
packages/decepticon/decepticon/llm/factory.py:882
↓ 1 callersFunction_mint_copilot_token
Exchange a github oauth token for a short-lived Copilot bearer.
config/copilot_handler.py:175
↓ 1 callersFunction_model_is_claude_adaptive
(model: str)
packages/decepticon/decepticon/llm/factory.py:1165
↓ 1 callersFunction_model_is_kimi_coding
Kimi for Coding models reject any temperature other than exactly 1. Verified against all four ids on api.kimi.com/coding (2026-07). Dropping
packages/decepticon/decepticon/llm/factory.py:1172
↓ 1 callersFunction_model_is_nvidia_nim
Return True for any nvidia_nim/* route. NVIDIA NIM's OpenAI-compatible endpoint rejects ``messages[].content`` as a list-of-parts (the OpenAI
packages/decepticon/decepticon/llm/factory.py:1199
↓ 1 callersFunction_model_response
(model: str, payload: dict[str, Any])
config/codex_chatgpt_handler.py:689
↓ 1 callersFunction_models_path
()
packages/decepticon/decepticon/tools/research/threat_model.py:35
↓ 1 callersFunction_msgs_bucket
(n: int)
packages/decepticon/decepticon/telemetry/sanitizer.py:60
↓ 1 callersFunction_next_finding_id
(findings_dir: Path)
packages/decepticon/decepticon/runtime/shutdown.py:332
↓ 1 callersFunction_nmap_os_detection
Use nmap for OS detection.
packages/decepticon/decepticon/tools/network/scanners.py:722
↓ 1 callersFunction_nmap_scan_external
Execute nmap scan using system nmap command.
packages/decepticon/decepticon/tools/network/scanners.py:341
↓ 1 callersFunction_node_available
()
packages/decepticon/decepticon/sandbox_web/executor.py:53
↓ 1 callersFunction_node_merge
Render a single MERGE statement for a node. Properties other than the key are emitted via SET so re-running the build against an existing gra
packages/decepticon/decepticon/skillogy/builder/emit.py:71
↓ 1 callersFunction_normalize_bundles_value
Convert a config-file value to a bundles frozenset. Accepts ``"*"`` (wildcard sentinel), ``["*"]``, comma-separated string, or list/tuple of
packages/decepticon-core/decepticon_core/plugin_loader.py:83
↓ 1 callersFunction_normalize_credentials
Pull a usable token dict out of Claude Code's on-disk shapes. Resolution order matches the original handler: 1. ``claudeAiOauth`` nested ob
config/claude_code_handler.py:73
↓ 1 callersFunction_normalize_endpoint
Reduce an endpoint-ish string to ``host/path`` without scheme/port/query. Query strings and fragments are dropped (different agents word the same
packages/decepticon/decepticon/tools/research/dedupe.py:104
↓ 1 callersFunction_normalize_engagement_workspace
Strict 4-case contract for resolving the engagement workspace root. - Empty / None → ``None`` (fail closed; no engagement configured). - ``/w
packages/decepticon/decepticon/middleware/filesystem.py:41
↓ 1 callersFunction_normalize_host
Reduce a host-ish string to a bare, comparable hostname. Strips a URL scheme, any ``user@`` prefix, a path/query tail, and a trailing ``:port
packages/decepticon/decepticon/tools/research/dedupe.py:85
↓ 1 callersFunction_normalize_hostname
Lowercase, strip the DNS trailing dot, and IDNA-encode non-ASCII. Parser matching is already case- and trailing-dot tolerant, but the egress
packages/decepticon-core/decepticon_core/types/roe.py:132
↓ 1 callersFunction_normalize_module_name
Convert ``my-plugin`` (PyPI-style) into ``my_plugin`` (module-style).
packages/decepticon-sdk/decepticon_sdk/scaffold/cli.py:34
↓ 1 callersFunction_normalize_rule_id
(text: str)
packages/decepticon/decepticon/tools/reporting/sarif.py:173
↓ 1 callersFunction_nse_extract_severity
Best-effort severity from NSE script output text.
packages/decepticon/decepticon/tools/research/tools.py:205
↓ 1 callersFunction_objective_submission_schema
Publish the canonical objective contract, including new-node references. Runtime validation stays after server-issued IDs/reference resolution, s
packages/decepticon/decepticon/tools/opplan.py:44
↓ 1 callersFunction_offload_content
Write large content to <workspace>/.scratch and return the path, else None.
packages/decepticon/decepticon/sandbox_web/__main__.py:78
↓ 1 callersFunction_offload_large_output
Save large output to scratch file in sandbox, return compact reference. Implements the filesystem-context "scratch pad" pattern: - Write full
packages/decepticon/decepticon/tools/bash/bash.py:391
↓ 1 callersFunction_ok
(json_body: Any, status: int = 200)
packages/decepticon/tests/unit/ad/test_bh_tools.py:49
↓ 1 callersFunction_ollama_model_from_env
Derive ``ollama_chat/<model>`` from OLLAMA_API_BASE / OLLAMA_MODEL. Uses ``ollama_chat`` (not legacy ``ollama``) so /api/chat with tool calli
config/litellm_dynamic_config.py:418
↓ 1 callersMethod_on_block_stop
(self, index: int)
config/claude_code_handler.py:1186
↓ 1 callersMethod_on_delta
(self, event: dict[str, Any])
config/claude_code_handler.py:1160
↓ 1 callersMethod_on_item_done
(self, event: dict[str, Any])
config/codex_chatgpt_handler.py:634
↓ 1 callersFunction_on_signal
(signum: int | None, frame: Any)
packages/decepticon/decepticon/runtime/shutdown.py:146
↓ 1 callersFunction_one
(cve_id: str)
packages/decepticon/decepticon/tools/research/cve.py:435
↓ 1 callersFunction_open_entrypoints
Entrypoints with no HAS_VULN edge out — unexplored attack surface.
packages/decepticon/decepticon/middleware/kg_internal/summary.py:102
↓ 1 callersFunction_opt_str
(value: Any)
packages/decepticon/decepticon/mcp_server/engagements.py:309
↓ 1 callersFunction_oss_skill_sources_for
Return the OSS default ``/skills/`` source paths for ``role``. Mirrors the framework's ``skills_sources_for`` (in ``decepticon.agents.middlew
packages/decepticon/decepticon/_boot.py:37
↓ 1 callersFunction_output_bucket
(n: int)
packages/decepticon/decepticon/telemetry/sanitizer.py:50
↓ 1 callersFunction_override
Return a copy of ``cfg`` (frozen dataclass) with selected fields replaced.
benchmark/dreadgoad/__main__.py:110
↓ 1 callersFunction_parent_span_id
(span: ReadableSpan)
packages/decepticon/tests/unit/telemetry/test_otel.py:39
↓ 1 callersFunction_parse
(ts: str)
packages/decepticon/decepticon/sandbox_web/learning.py:67
↓ 1 callersFunction_parse_auth_mode
(raw: str | None)
packages/decepticon/decepticon/mcp_server/config.py:76
↓ 1 callersFunction_parse_bounty
(cell: str)
packages/decepticon/decepticon/tools/references/h1_corpus.py:76
↓ 1 callersFunction_parse_comma_field
Parse a comma/space-separated field into a clean list of strings.
packages/decepticon/decepticon/middleware/skills.py:227
↓ 1 callersFunction_parse_cwe
(cell: str)
packages/decepticon/decepticon/tools/references/h1_corpus.py:97
↓ 1 callersFunction_parse_elf
(data: bytes, info: BinaryInfo)
packages/decepticon/decepticon/tools/reversing/binary.py:111
↓ 1 callersFunction_parse_envelope
Return (html, final_url, status, cookies, user_agent) from a JSON envelope, or treat stdout as raw HTML if it isn't JSON.
packages/decepticon/decepticon/sandbox_web/executor.py:256
↓ 1 callersFunction_parse_ftp_banner
Parse FTP banner to extract server information.
packages/decepticon/decepticon/tools/network/protocols.py:702
↓ 1 callersFunction_parse_iso
(value: Any)
packages/decepticon-core/decepticon_core/types/roe.py:291
↓ 1 callersFunction_parse_markdown
Walk one markdown file and yield every heading → code-block pair.
packages/decepticon/decepticon/tools/references/oneliners.py:57
↓ 1 callersFunction_parse_nmap_os_output
Parse nmap OS detection output.
packages/decepticon/decepticon/tools/network/scanners.py:753
↓ 1 callersFunction_parse_nmap_xml
Parse nmap XML output.
packages/decepticon/decepticon/tools/network/scanners.py:446
↓ 1 callersFunction_parse_one
Parse a single server entry. Returns ``None`` on invalid input.
packages/decepticon/decepticon/tools/mcp/client.py:118
↓ 1 callersFunction_parse_pe
(data: bytes, info: BinaryInfo)
packages/decepticon/decepticon/tools/reversing/binary.py:161
↓ 1 callersFunction_parse_readme
(repo: Path)
packages/decepticon/decepticon/tools/references/killchain.py:192
↓ 1 callersFunction_parse_row
(cells: list[str], source_file: str, program_hint: str)
packages/decepticon/decepticon/tools/references/h1_corpus.py:135
← previousnext →2,501–2,600 of 10,737, ranked by callers