MCPcopy Create free account

hub / github.com/BitterSecurity/Decepticon / functions

Functions10,737 in github.com/BitterSecurity/Decepticon

↓ 22 callersMethodfrom_introspection
Parse a raw introspection response into a queryable schema.
packages/decepticon/decepticon/tools/web/graphql.py:132
↓ 22 callersMethodget
(self, url: str, **kwargs: Any)
packages/decepticon/decepticon/tools/web/http.py:266
↓ 22 callersMethodget
(workload string)
clients/launcher/internal/infracontrol/registry.go:69
↓ 22 callersMethodsession
(self, *, database: str)
packages/decepticon/tests/unit/skillogy/test_catalog_sync.py:102
↓ 22 callersMethodwrite
()
clients/web/src/lib/terminal-unmount.test.ts:48
↓ 21 callersMethod_inject
(self, request: ModelRequest)
packages/decepticon/decepticon/middleware/workflow.py:144
↓ 21 callersFunction_make_backend
Build a minimal fake backend for the protocol used by skills helpers.
packages/decepticon/tests/unit/tools/test_skills_loader.py:20
↓ 21 callersFunctionsummarize_symbols
Bucket a flat list of symbol names into security categories.
packages/decepticon/decepticon/tools/reversing/symbols.py:147
↓ 20 callersMethodWrite
(p []byte)
clients/launcher/internal/ui/theme.go:146
↓ 20 callersFunction_reraise_with_actionable_message
Translate transport + upstream errors into a useful RuntimeError. Connection failures still go through ``_reraise_if_connection_error`` (the
packages/decepticon/decepticon/llm/factory.py:1582
↓ 20 callersFunction_rules
(**block)
packages/decepticon/tests/unit/middleware/test_egress.py:23
↓ 20 callersMethodexecute_read
( self, cypher: str, params: dict[str, Any] | None = None, *, engageme
packages/decepticon/tests/unit/middleware/test_kg_summary_unit.py:131
↓ 20 callersFunctionget
(_target, prop)
clients/web/src/lib/prisma.ts:32
↓ 20 callersFunctionsetTimeout
(callback: () => void, delay: number)
clients/web/src/lib/terminal-thread-recovery.test.ts:89
↓ 19 callersFunction_write_config
Write a minimal MHBench ``config.json`` to ``tmp_path``. ``ssh_key_path=None`` omits the ``openstack_config`` section entirely; pass a string
packages/decepticon/tests/unit/benchmark/test_mhbench_provider.py:51
↓ 19 callersFunctionbuild_engagement_roe
Build an always-enforced, machine-enforceable RoE from creation data. The engagement-creation inputs *are* the scope: each target becomes an
packages/decepticon-core/decepticon_core/types/roe.py:258
↓ 19 callersFunctionexport_findings_to_sarif
Build a SARIF v2.1.0 document from a KnowledgeGraph's findings. The graph argument is duck-typed (``.nodes`` returns Node-like objects carryi
packages/decepticon/decepticon/tools/research/sarif_export.py:163
↓ 19 callersMethodpost
(self, url: str, **kwargs: Any)
packages/decepticon/decepticon/tools/web/http.py:269
↓ 19 callersMethodraise_for_status
(self)
packages/decepticon/tests/unit/skillogy/test_embeddings.py:247
↓ 19 callersMethodrequest
( self, method: str, url: str, *, params: dict[str, Any] | None = None
packages/decepticon/decepticon/tools/web/http.py:205
↓ 19 callersFunctionsource
(workflow_id: str = "red-team", stages: str = "[]", body: str = "")
packages/decepticon/tests/unit/workflows/runtime_helpers.py:4
↓ 18 callersMethodName
Name identifies the backend in `/v1/health`. Useful for operators diagnosing "why didn't K8s spawn?" issues across runtimes.
clients/launcher/internal/infracontrol/backend.go:64
↓ 18 callersFunction_configure_kg
(monkeypatch: pytest.MonkeyPatch)
packages/decepticon/tests/unit/research/test_bounty_extended.py:53
↓ 18 callersFunction_empty_graph
()
packages/decepticon/tests/unit/reporting/test_reporting_tools_and_executive.py:35
↓ 18 callersFunction_ensure_placeholder
Ensure a node exists for ``sid``. Used when an ACE / edge references a principal that has not appeared in any object file yet (cross-file refe
packages/decepticon/decepticon/tools/ad/bloodhound.py:307
↓ 18 callersMethodend
Signal end of stream — causes the iterator to return normally.
clients/cli/src/hooks/__fixtures__/mockStream.ts:29
↓ 18 callersMethodget_assignment
Return full ModelAssignment for a role. ``default_role`` lets plugin orchestrators inherit an OSS role's assignment when their own ro
packages/decepticon/decepticon/llm/router.py:33
↓ 18 callersMethodmark_complete
(self, session: str, exit_code: int, key: str | None = None)
packages/decepticon/decepticon/sandbox_kernel/jobs.py:76
↓ 18 callersFunctionpush_defender_xdr_detection
POST a custom detection to Microsoft Defender XDR (Graph Security API).
packages/decepticon/decepticon/tools/defense/edr.py:40
↓ 18 callersMethodset
(workload string, state WorkloadState, engagementID string)
clients/launcher/internal/infracontrol/registry.go:54
↓ 18 callersMethodupsert_edge
Insert or update an edge (weight is overwritten on re-insert).
packages/decepticon-core/decepticon_core/types/kg.py:411
↓ 17 callersFunction_completed
( stdout: str = "", stderr: str = "", returncode: int = 0 )
packages/decepticon/tests/unit/tools/test_proxy.py:27
↓ 17 callersFunction_exc_with_status
Build a synthetic provider-style exception that mirrors what LiteLLM / openai surface in the wild — class name encodes the error kind and a ``
packages/decepticon/tests/unit/llm/test_factory_classify_errors.py:23
↓ 17 callersFunction_invoke
Invoke the @tool wrapper with sane defaults; ``overrides`` replace fields. Tools that declare ``InjectedToolCallId`` require a full ToolCall enve
packages/decepticon/tests/unit/tools/test_ask_user_question.py:25
↓ 17 callersFunction_persist_opplan_to_backend
Write the current OPPLAN to ``/workspace/plan/opplan.json`` via backend. Best-effort: a missing backend/workspace_path (e.g. a unit-level tool
packages/decepticon/decepticon/tools/opplan.py:413
↓ 17 callersFunctionanalyze_delegation
Identify delegation-based attack paths from the knowledge graph. Walks edges with ``bh_right`` in {AllowedToDelegate, AllowedToAct} and check
packages/decepticon/decepticon/tools/ad/delegation.py:53
↓ 17 callersFunctionclearTimeout
(id: number)
clients/web/src/lib/terminal-thread-recovery.test.ts:94
↓ 17 callersMethodclose
(self)
packages/decepticon/decepticon/telemetry/sink.py:270
↓ 17 callersMethoddelete
(self, url: str, **kwargs: Any)
packages/decepticon/decepticon/tools/web/http.py:275
↓ 17 callersFunctionforge_token
Construct a JWT with arbitrary claims and signing algorithm. Supported ``alg`` values: - ``none`` — unsigned; signature segment is emp
packages/decepticon/decepticon/tools/web/jwt.py:233
↓ 17 callersMethodfrom_credentials_and_profile
Build a mapping from a credentials inventory + profile. For each agent in ``AGENT_TIERS``: resolve the effective tier under the profi
packages/decepticon-core/decepticon_core/types/llm.py:945
↓ 17 callersFunctionget_sandbox
Return the HTTPSandbox for this call. Resolution order: 1. the run's per-engagement config (``configurable.sandbox_url``) — so a S
packages/decepticon/decepticon/tools/bash/bash.py:295
↓ 17 callersMethodglob
(self, pattern: str, path: str = "/")
packages/decepticon/tests/unit/middleware/test_filesystem.py:57
↓ 17 callersFunctioningest_slither_json
Merge one Slither ``--json`` payload into the engagement KG. Returns the count of detector findings successfully ingested. Short-circuits to
packages/decepticon/decepticon/tools/contracts/slither.py:410
↓ 17 callersFunctionrequireAuth
()
clients/web/src/lib/auth-bridge.ts:20
↓ 17 callersMethodreset
(self)
packages/decepticon/decepticon/sandbox_web/transport.py:221
↓ 16 callersFunction_challenge
(mhbench_env_type: str | None = "Chain2Hosts")
packages/decepticon/tests/unit/benchmark/test_mhbench_provider.py:438
↓ 16 callersFunction_classify_provider_error
Tag a provider exception as ``retryable`` or ``fatal``. Inspection order (cheapest signal first): 1. Our own ``LLMTimeoutError`` and httpx
packages/decepticon/decepticon/llm/factory.py:1530
↓ 16 callersMethod_normalize_workspace_path
(workspace_path: str | None)
packages/decepticon/decepticon/sandbox_kernel/base.py:163
↓ 16 callersFunction_redact_secrets
(cmd: str)
packages/decepticon/decepticon/middleware/roe.py:223
↓ 16 callersFunction_request
( req_id: str, *, url: str = "https://example.test", method: str = "GET", tag: str = "", )
packages/decepticon/tests/unit/web/test_http_branches.py:19
↓ 16 callersFunctionbuild_app
Build the FastAPI app bound to ``backend``. ``api_key`` defaults to ``$SKILLOGY_API_KEY``; when unset, the protected endpoints are open. The
packages/decepticon/decepticon/skillogy/server/app.py:80
↓ 16 callersFunctionbuild_load_skill_tool
Construct the ``load_skill`` LangChain tool. Returns a closure-bound ``@tool``-decorated function that reads a skill markdown file via the de
packages/decepticon/decepticon/tools/skills.py:220
↓ 16 callersFunctioncache_path
Resolve the local checkout path for a reference slug.
packages/decepticon/decepticon/tools/references/fetch.py:63
↓ 16 callersMethodclose
(self)
packages/decepticon/decepticon/tools/web/http.py:278
↓ 16 callersFunctioncommit
( registry: ArtifactRegistry, request: CommitRequest, context: ActorContext )
packages/decepticon/decepticon/artifacts/registry.py:156
↓ 16 callersMethodexit
(self)
packages/decepticon/tests/unit/middleware/test_roe.py:1034
↓ 16 callersFunctionfind_rop_gadgets
Scan ``data`` for candidate ROP gadgets. ``base`` is the image base address so callers can report virtual addresses. ``max_length`` caps the
packages/decepticon/decepticon/tools/reversing/rop.py:39
↓ 16 callersMethodfrom_env
(cls)
packages/decepticon/decepticon/tools/proxy/tools.py:53
↓ 16 callersFunctionget_active_engagement
Return the active engagement label, or ``None`` if unset. Resolution order (first non-empty wins): 1. contextvar set by ``set_active_engage
packages/decepticon-core/decepticon_core/utils/engagement_scope.py:57
↓ 16 callersMethodls
(self, path: str)
packages/decepticon/decepticon/middleware/filesystem.py:180
↓ 16 callersFunctionresolve
(specifier, context, nextResolve)
clients/web/src/app/api/engagements/[id]/export/route.test.ts:45
↓ 15 callersFunction_computer_node
(label: str, **props: object)
packages/decepticon/tests/unit/ad/test_ad_tools.py:39
↓ 15 callersFunction_fake_store
Mock KGStore with ``record_observations`` recording its inputs.
packages/decepticon/tests/unit/middleware/test_kg_tools_unit.py:40
↓ 15 callersFunction_flatten
Return the concatenated text of a SystemMessage regardless of content shape.
packages/decepticon/tests/unit/middleware/test_engagement.py:40
↓ 15 callersFunction_json
(data: Any)
packages/decepticon/decepticon/tools/references/tools.py:39
↓ 15 callersFunction_set_proxy
(monkeypatch: pytest.MonkeyPatch)
packages/decepticon/tests/unit/skillogy/test_embeddings.py:31
↓ 15 callersMethod_tmux
Run a tmux subcommand against the session's target. Production prefixes the command with an empty list — tmux runs as a local subproc
packages/decepticon/decepticon/sandbox_kernel/tmux.py:341
↓ 15 callersFunctionanalyze_gpo_abuse
Identify GPO-based attack paths from the knowledge graph. Finds GPO nodes with ACL edges from low-privilege principals, then checks GPLink ed
packages/decepticon/decepticon/tools/ad/gpo.py:46
↓ 15 callersFunctionanalyze_shadow_credentials
Identify Shadow Credentials attack paths from the knowledge graph. Walks edges with ``bh_right`` in {AddKeyCredentialLink, GenericAll, Generi
packages/decepticon/decepticon/tools/ad/shadow_creds.py:35
↓ 15 callersMethodappend
Store a batch; dedup by ``event_id``. Returns accepted/rejected.
packages/decepticon-core/decepticon_core/protocols/event_store.py:41
↓ 15 callersFunctioncreate
( registry: ArtifactRegistry, draft: ArtifactDraft, operation_key: str )
packages/decepticon/decepticon/artifacts/registry.py:91
↓ 15 callersFunctiondetect_packer
Compute entropy + match packer signatures.
packages/decepticon/decepticon/tools/reversing/packer.py:72
↓ 15 callersFunctionis_valid_engagement_label
Return True if ``label`` is a safe engagement identifier. Characters are restricted to ASCII alphanumeric plus ``.``, ``-``, ``_``. The first
packages/decepticon-core/decepticon_core/utils/engagement_scope.py:34
↓ 15 callersMethodon
(event: string, callback: typeof handler)
clients/web/src/lib/terminal-thread-recovery.test.ts:61
↓ 15 callersMethodrender
Render a deterministic markdown handoff. Dict keys are sorted so identical inputs produce identical text, which is what makes prompt
packages/decepticon/decepticon/agents/task_spec.py:66
↓ 15 callersMethodrun
()
packages/decepticon/tests/unit/middleware/test_roe.py:1085
↓ 15 callersFunctionvalidate_model_name
Validate user-supplied dynamic model IDs before registering routes. Rejects subscription / OAuth provider prefixes (``auth/*``, ``gemini-sub/*``,
config/litellm_dynamic_config.py:582
↓ 15 callersFunctionwithProbeStubs
withProbeStubs swaps the WSL detection function variables for the duration of one test, then restores them via t.Cleanup.
clients/launcher/cmd/start_test.go:13
↓ 15 callersMethodwrite
(self, file_path: str, content: str)
packages/decepticon/decepticon/middleware/filesystem.py:211
↓ 15 callersMethodwrite
(self, file_path: str, content: str)
packages/decepticon/tests/unit/middleware/test_filesystem.py:247
↓ 14 callersFunction_call
Invoke an OPPLAN tool with the LangChain ToolCall envelope. The tools declare ``tool_call_id: Annotated[str, InjectedToolCallId]`` so they ca
packages/decepticon/tests/unit/middleware/test_opplan_persistence.py:269
↓ 14 callersFunction_cfg
(**kw: object)
packages/decepticon/tests/unit/mcp_server/test_auth.py:29
↓ 14 callersFunction_format_opplan_for_agent
Format OPPLAN for list_objectives response (detailed overview). When any objective has ``parent_id`` set, the output includes an indented tre
packages/decepticon/decepticon/tools/opplan.py:506
↓ 14 callersFunction_make_request
(tool_name: str, state: dict | None = None)
packages/decepticon/tests/unit/middleware/test_untrusted_output.py:22
↓ 14 callersFunction_opplan_path
(tmp_path: Path, workspace_path: str = "/workspace")
packages/decepticon/tests/unit/middleware/test_opplan_persistence.py:57
↓ 14 callersFunction_payload
(raw: str)
packages/decepticon/tests/unit/research/test_secret_scanner.py:59
↓ 14 callersMethod_request
Send an HTTP request with retry on transient errors and domain error wrapping.
packages/decepticon/decepticon/backends/http_sandbox.py:228
↓ 14 callersFunctionbuild_summary
Build the markdown summary block for the given engagement. Empty sections are dropped so the block stays compact. Always includes the header
packages/decepticon/decepticon/middleware/kg_internal/summary.py:180
↓ 14 callersFunctiondispatch
(tool: Any, args: dict, state: dict, config: dict)
packages/decepticon/tests/unit/reporting/test_sarif_remote.py:51
↓ 14 callersMethodexecute
(self, command: str, *, timeout: int | None = None)
benchmark/terminal_bench/sandbox.py:118
↓ 14 callersMethodget_state
(self, thread_id: str)
packages/decepticon/tests/unit/mcp_server/test_thread_access.py:20
↓ 14 callersMethodinitialize
Create session if needed and inject PS1 marker (once per session).
packages/decepticon/decepticon/sandbox_kernel/tmux.py:580
↓ 14 callersFunctioninspect_plan
(objectives: Sequence[Objective], facts: Sequence[PlanFact] = ())
packages/decepticon/decepticon/tools/opplan_graph.py:85
↓ 14 callersFunctionload_config
Build a :class:`ServerConfig` from ``DECEPTICON_*`` environment variables.
packages/decepticon/decepticon/mcp_server/config.py:85
↓ 14 callersFunctionmain
(argv: list[str] | None = None)
packages/decepticon/decepticon/cli/scan.py:291
↓ 14 callersFunctionmaterialize
Write snapshots, views, then publication envelope; never claim atomic CAS.
packages/decepticon/decepticon/artifacts/storage.py:56
↓ 14 callersFunctionmaterialize_engagement_roe
Generate the engagement's enforced ``plan/roe.json`` from creation data. The creation inputs *are* the scope. Targets (URLs, hosts, CIDRs, globs,
packages/decepticon/decepticon/roe_materialization.py:50
↓ 14 callersFunctionmaybe_install_skillogy
Substitute ``SkillogyMiddleware`` for ``SkillsMiddleware`` when the backend flag is set. Idempotent; swap-only (does not append). Args:
packages/decepticon/decepticon/middleware/skillogy.py:517
↓ 14 callersFunctionread_events
Yield :class:`EngagementEvent` objects from ``path`` in order.
packages/decepticon/decepticon/runtime/event_log.py:278
← previousnext →101–200 of 10,737, ranked by callers