MCPcopy Create free account

hub / github.com/BitterSecurity/Decepticon / functions

Functions10,737 in github.com/BitterSecurity/Decepticon

↓ 7 callersFunction_full_spec
()
packages/decepticon/tests/unit/agents/test_task_spec.py:16
↓ 7 callersMethod_get_backend
(self, runtime)
packages/decepticon/decepticon/middleware/filesystem.py:472
↓ 7 callersFunction_graph_all_severities
()
packages/decepticon/tests/unit/reporting/test_reporting_tools_and_executive.py:39
↓ 7 callersMethod_inject_opplan_context
Build request with OPPLAN context injected into system message. Splits the injection into TWO content blocks so the Anthropic prompt
packages/decepticon/decepticon/middleware/opplan.py:586
↓ 7 callersFunction_invoke
(tool_obj, skill_path: str, include_siblings: bool = False)
packages/decepticon/tests/unit/tools/test_skills.py:42
↓ 7 callersFunction_is_valid_transition
Check if a status transition is allowed.
packages/decepticon/decepticon/tools/opplan.py:1487
↓ 7 callersFunction_is_web_port
(port: int)
packages/decepticon/decepticon/tools/research/tools.py:125
↓ 7 callersFunction_iter_requirements
(path: Path)
packages/decepticon/decepticon/tools/research/tools.py:307
↓ 7 callersFunction_jwt_finding_severity
(finding: str)
packages/decepticon/decepticon/tools/research/tools.py:226
↓ 7 callersFunction_make_token
(header: dict, claims: dict | None = None)
packages/decepticon/tests/unit/web/test_jwt_nonstring_headers.py:9
↓ 7 callersFunction_oauth_credentials_present
Return True if the host-side credential file for ``method`` exists. The factory layer reads this to keep the credentials inventory honest — w
packages/decepticon/decepticon/llm/factory.py:595
↓ 7 callersFunction_objective
( objective_id: str, *, blocked_by: list[str] | None = None, parent_id: str | None = None,
packages/decepticon/tests/unit/tools/test_opplan_graph.py:7
↓ 7 callersFunction_ok_read
Build a successful backend read response.
packages/decepticon/tests/unit/tools/test_skills_loader.py:43
↓ 7 callersFunction_parse_epss
Extract EPSS probability + percentile.
packages/decepticon/decepticon/tools/research/cve.py:313
↓ 7 callersFunction_rebind_sandbox_per_run
Re-resolve the workspace sandbox transport from THIS run's config. The agent backend is composed ONCE at construction (``make_agent_backend(b
packages/decepticon/decepticon/middleware/filesystem.py:342
↓ 7 callersFunction_redact_url_credentials
Strip ``user:pass@`` userinfo from a URL before logging. Operators may configure the proxy URL with embedded credentials (``http://user:pass@
packages/decepticon/decepticon/llm/factory.py:1463
↓ 7 callersFunction_resolve_engagement
()
packages/decepticon/decepticon/tools/research/_state.py:60
↓ 7 callersMethod_resolve_transport
(self, request: Any)
packages/decepticon/decepticon/middleware/hitl.py:328
↓ 7 callersMethod_run
(self, args: list[str])
packages/decepticon/decepticon/tools/proxy/tools.py:83
↓ 7 callersFunction_safe_call
(fn: Any, *args: Any, **kwargs: Any)
packages/decepticon/decepticon/tools/proxy/tools.py:169
↓ 7 callersFunction_safe_log
Escape control chars so user-controlled strings cannot forge log lines. The bash tool and session naming both flow caller-supplied text into
packages/decepticon/decepticon/sandbox_kernel/tmux.py:229
↓ 7 callersFunction_sarif_level
Map severity / CVSS to SARIF ``level`` (``error`` / ``warning`` / ``note``). Severity has precedence. When severity is missing, fall back to
packages/decepticon/decepticon/tools/reporting/sarif.py:118
↓ 7 callersFunction_seed_engagement
Create a realistic engagement directory tree under ``workspace``.
packages/decepticon/tests/unit/cli/test_zip.py:20
↓ 7 callersFunction_seeded_graph
()
packages/decepticon/tests/unit/reporting/test_sarif.py:25
↓ 7 callersMethod_send
Send keystrokes using -l (literal) to prevent tmux escaping bugs.
packages/decepticon/decepticon/sandbox_kernel/tmux.py:420
↓ 7 callersFunction_serialize_model_request
(request: Any)
packages/decepticon/decepticon/runtime/recording.py:120
↓ 7 callersFunction_serialize_tool_request
(request: Any)
packages/decepticon/decepticon/runtime/recording.py:131
↓ 7 callersFunction_set_env
(monkeypatch: pytest.MonkeyPatch)
packages/decepticon/tests/unit/ad/test_bh_tools.py:29
↓ 7 callersMethod_setup_conops
(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
packages/decepticon/tests/unit/tools/test_defense_push.py:706
↓ 7 callersFunction_severity_label
(score: float)
packages/decepticon/decepticon/tools/research/bounty.py:194
↓ 7 callersFunction_show_response
(capabilities: list[str] | None = None, **extra: Any)
packages/decepticon/tests/unit/llm/test_ollama_probe.py:207
↓ 7 callersFunction_store_mock
( *, revision: str = "rev-acme-1", summary_text: str = "## KG STATE (engagement=acme)" )
packages/decepticon/tests/unit/middleware/test_kg_middleware_unit.py:26
↓ 7 callersFunction_target
(**kwargs)
packages/decepticon/tests/unit/workflows/test_declared_edges_validation.py:92
↓ 7 callersFunction_top_cves
(graph: KnowledgeGraph, limit: int = 5)
packages/decepticon/decepticon/tools/reporting/executive.py:39
↓ 7 callersFunction_write_driver
Render a self-contained driver script that installs handlers and self-signals. The driver writes nothing except via the shutdown handler under te
packages/decepticon/tests/unit/runtime/test_shutdown.py:23
↓ 7 callersFunctionauth_inventory
Introspect provider/auth configuration from the environment. Pure env + credential-file inspection (no network, no model construction), safe
packages/decepticon/decepticon/llm/factory.py:964
↓ 7 callersFunctionbuildScopeLists
buildScopeLists compiles creation inputs into the machine scope: operator targets first (order preserved), without implicitly adding wildcard apexes.
clients/launcher/internal/engagement/scope_targets.go:171
↓ 7 callersFunctionbuild_index
Walk both caches and return a fresh ``PoCIndex``.
packages/decepticon/decepticon/tools/references/cve_poc_index.py:201
↓ 7 callersFunctioncache_status
Check whether a reference is cached and how large it is.
packages/decepticon/decepticon/tools/references/fetch.py:70
↓ 7 callersFunctioncheck
(text, exists=lambda _path: True)
packages/decepticon/tests/unit/reporting/test_finding_quality.py:52
↓ 7 callersFunctioncoerce_mitre_list
Normalize a frontmatter mitre_attack value into a list of strings. Accepts a YAML list, a comma-separated string, or ``None``.
packages/decepticon/decepticon/skill_audit/mitre.py:54
↓ 7 callersFunctiondiff_snapshots
Return the Δ between two snapshots, with technique tags from changed nodes.
packages/decepticon/decepticon/runtime/cart.py:172
↓ 7 callersMethoddownload_files
(self, paths: list[str])
packages/decepticon/decepticon/middleware/filesystem.py:317
↓ 7 callersMethodedit
( self, file_path: str, old_string: str, new_string: str, replace_all:
packages/decepticon/tests/unit/middleware/test_filesystem.py:68
↓ 7 callersFunctionenvelope
(state: PlanState, task_id: str, role: str)
packages/decepticon/tests/unit/workflows/opplan_helpers.py:81
↓ 7 callersMethodevaluate
Trigger server verification and pass iff any PoC reproduced the crash.
benchmark/providers/cybergym.py:180
↓ 7 callersFunctionexpand_targets
Return ``targets`` plus CT-discovered subdomains for each hostname target. Plain hostnames, URLs, and git remotes drive discovery against their
packages/decepticon/decepticon/passive_discovery.py:93
↓ 7 callersFunctionextract_ollama_models
Strip the Ollama provider prefix; skip non-Ollama and bare-prefix entries. ``prefixes`` narrows which providers are extracted — pass ``LOCAL_
config/ollama_probe.py:73
↓ 7 callersMethodfrom_cypher
(cls, text: str)
packages/decepticon/decepticon/skillogy/catalog_sync.py:35
↓ 7 callersMethodload_challenges
(self, filters: FilterConfig)
packages/decepticon/tests/unit/benchmark/test_harness_cost.py:26
↓ 7 callersFunctionload_mcp_tools
Connect to every configured MCP server and return their tools. If ``config`` is omitted, the env var is parsed. Empty config => ``[]`` with n
packages/decepticon/decepticon/tools/mcp/client.py:203
↓ 7 callersMethodnodes_by_key
(self)
packages/decepticon/tests/unit/ad/test_bloodhound_kgstore.py:68
↓ 7 callersFunctionoauth_refresh_request
POST to an OAuth token endpoint and return the parsed JSON response. Raises ``litellm.AuthenticationError`` on failure with a message that su
config/oauth_token_store.py:272
↓ 7 callersFunctionparseEnvLine
parseEnvLine splits "KEY=VALUE" handling optional quotes.
clients/launcher/internal/config/config.go:81
↓ 7 callersFunctionpolicy_tools
(role: str)
packages/decepticon/decepticon/desktop_tools.py:59
↓ 7 callersFunctionprefilter
Cheap deterministic gate: could these be the same finding? Returns True only when both nodes share a finding-like :class:`NodeKind` AND have
packages/decepticon/decepticon/tools/research/dedupe.py:154
↓ 7 callersFunctionread_run_controls
(request: Any)
packages/decepticon/decepticon/middleware/run_controls.py:44
↓ 7 callersMethodread_screen
Read current screen without sending any command.
packages/decepticon/decepticon/sandbox_kernel/tmux.py:1105
↓ 7 callersMethodrecord_finding
Record a validated finding's GROUND-TRUTH classification. These fields are produced by the engagement itself (the ``Finding`` model /
packages/decepticon/decepticon/telemetry/sink.py:123
↓ 7 callersFunctionrender_nftables
Render an ``nft -f`` ruleset for ``policy``. The ruleset is idempotent: it destroys and recreates its own table, so re-provisioning (scope ex
packages/decepticon/decepticon/sandbox_kernel/egress.py:135
↓ 7 callersFunctionrender_sarif
Render the matching graph nodes as SARIF v2.1.0 JSON text. Returned text is UTF-8 JSON. The structure passes the SARIF v2.1.0 schema validati
packages/decepticon/decepticon/tools/reporting/sarif.py:33
↓ 7 callersFunctionresolve
(reference: Any)
packages/decepticon/decepticon/tools/opplan.py:137
↓ 7 callersFunctionresolve_role_model
Composed override for a role's PRIMARY model. Precedence: ``DECEPTICON_DESKTOP_MODEL`` for Desktop Local, then ``DECEPTICON_MODEL_<ROLE>`` (o
packages/decepticon/decepticon/agents/build.py:140
↓ 7 callersFunctionrun_playwright_fallback
Invoke the appropriate Playwright executor. force_executor: caller-specified executor name (from a profile's `fallback_when_challenge` list).
packages/decepticon/decepticon/sandbox_web/executor.py:128
↓ 7 callersFunctionsandbox_runner
Adapt an ``HTTPSandbox`` into a :data:`PoCRunner` callable. The sandbox must expose ``execute_tmux_async`` (or ``execute_tmux``) that returns
packages/decepticon/decepticon/tools/research/poc.py:403
↓ 7 callersFunctionscenario
()
packages/decepticon/tests/integration/test_browser_native.py:72
↓ 7 callersMethodsearch
(self, **_: Any)
packages/decepticon/tests/unit/mcp_server/test_thread_access.py:32
↓ 7 callersFunctionselected_thread_state
(engagements: EngagementClient, thread_id: str)
packages/decepticon/decepticon/mcp_server/tools_lifecycle.py:51
↓ 7 callersMethodsend_message
Send an operator message onto an existing engagement thread. Continues the conversation (steer focus, answer the orchestrator, or use
packages/decepticon/decepticon/mcp_server/engagements.py:230
↓ 7 callersFunctionsigma_to_lucene
Translate a Sigma rule dict to a Lucene query string.
packages/decepticon/decepticon/tools/defense/elastic.py:56
↓ 7 callersFunctionstart_engagement_span
Start the top-level engagement span and set engagement-id context.
packages/decepticon/decepticon/telemetry/otel.py:109
↓ 7 callersMethodsubmit
(self, request: ApprovalRequest)
packages/decepticon/decepticon/middleware/hitl.py:146
↓ 7 callersFunctionsubstitute_trigger_terms
Replace red-team trigger vocabulary with neutral operational terms. Case-sensitive longest-match-first substitution. Word-boundary anchored s
packages/decepticon/decepticon/agents/prompts/claude4_compat.py:131
↓ 7 callersMethodsummary
(self)
packages/decepticon/decepticon/tools/research/chain.py:87
↓ 7 callersFunctiontechnology_for_path
Classify a probed URL path as an AI inference interface. A ``404`` means the path was probed and is absent, so it is never classified; any ot
packages/decepticon/decepticon/middleware/kg_internal/ai_surface.py:143
↓ 7 callersFunctiontechnology_key
Canonical ``(key, engagement)`` key for a Technology node (ADR-0007). ``<category>:<normalized-name>`` so the same product detected by two cl
packages/decepticon-core/decepticon_core/types/kg.py:281
↓ 7 callersMethodunregister
Remove ``name`` from the registry. No-op if not registered.
packages/decepticon-core/decepticon_core/registry/roles.py:107
↓ 7 callersMethodupsert_node
(self, node)
packages/decepticon/tests/unit/research/test_tools.py:48
↓ 7 callersFunctionvalidate_evidence_metadata
Check legacy pointers, manifests and step references against local files. Missing optional fields are compatible with legacy reports. Invalid fie
packages/decepticon/decepticon/tools/reporting/evidence_contract.py:91
↓ 7 callersFunctionvalidate_poc
Run a PoC command and evaluate against success/negative patterns. If ``graph`` is provided, the vuln node is updated with ``validated=True``
packages/decepticon/decepticon/tools/research/poc.py:253
↓ 6 callersFunctionDiscoverScope
DiscoverScope suggests in-scope entries for a plain hostname target: the hosts CT logs and passive DNS place in the target's zone, plus a `*.zone` glo
clients/launcher/internal/engagement/discovery.go:84
↓ 6 callersMethodDockerHint
DockerHint returns OS-appropriate remediation text when Docker is not usable, or "" when everything is ready.
clients/launcher/internal/platform/system.go:99
↓ 6 callersFunctionLoadAllowlist
LoadAllowlist returns the default catalog merged with any extra names from DECEPTICON_OPS_ALLOWLIST_EXTRA. Invalid names in the env variable are repor
clients/launcher/internal/infracontrol/allowlist.go:51
↓ 6 callersMethodPermits
Permits reports whether name is a valid workload AND is in the resolved allowlist. Used by the server before any docker shell-out.
clients/launcher/internal/infracontrol/allowlist.go:73
↓ 6 callersFunctionValidateAuth
ValidateAuth ensures at least one valid AuthMethod is configured. OAuth paths: - DECEPTICON_AUTH_CLAUDE_CODE=true requires a parseable ~/.claude/.cre
clients/launcher/internal/config/config.go:417
↓ 6 callersFunction_adapt_httpx_jsonl
Parse httpx JSONL and record host + service + entrypoint nodes.
packages/decepticon/decepticon/middleware/kg_internal/ingest.py:349
↓ 6 callersFunction_allowed_passthrough_env
Return only the parent env vars that are safe to forward into the sandbox. Strict allowlist: * Proxy variables (upper- and lower-case): ``HT
packages/decepticon/decepticon/sandbox_kernel/tmux.py:189
↓ 6 callersFunction_as_json_block
(value: Any)
packages/decepticon/decepticon/cli/export_transcript.py:71
↓ 6 callersFunction_attempt
(platform: str, route: str, ok: bool, status: int, body: str, note: str = "")
packages/decepticon/decepticon/sandbox_web/phase0.py:78
↓ 6 callersMethod_bh
(self, *, lg_id: str, members: list[dict[str, Any]])
packages/decepticon/tests/unit/ad/test_bloodhound_kgstore.py:665
↓ 6 callersFunction_big
Body comfortably above SMALL_BODY_THRESHOLD.
packages/decepticon/tests/unit/sandbox_web/test_validators.py:26
↓ 6 callersFunction_build_cache
(root: Path)
packages/decepticon/tests/unit/references/test_methodology.py:15
↓ 6 callersFunction_build_opplan_payload
Render an OPPLAN as a stable, human-readable JSON document. Format ``v2``:: { "schema_version": "2", "saved_at": "20
packages/decepticon/decepticon/tools/opplan.py:237
↓ 6 callersFunction_cc_block
(text: str)
packages/decepticon/tests/unit/llm/test_claude_code_handler_cache_dedup.py:44
↓ 6 callersFunction_client_with_mock
(handler)
packages/decepticon/tests/unit/ops/test_client.py:28
↓ 6 callersFunction_configure_kg
(monkeypatch)
packages/decepticon/tests/unit/research/test_patch.py:56
↓ 6 callersFunction_cookie_finding_severity
(finding: str)
packages/decepticon/decepticon/tools/research/tools.py:237
↓ 6 callersMethod_ensure_root
(self)
packages/decepticon/decepticon/middleware/filesystem.py:88
↓ 6 callersFunction_envelope
Stable JSON envelope so the agent can parse without surprises.
packages/decepticon/decepticon/tools/ops/tools.py:38
↓ 6 callersMethod_extract_message
Extract the final assistant message text from a LangGraph run response.
benchmark/harness.py:902
← previousnext →501–600 of 10,737, ranked by callers