MCPcopy Create free account

hub / github.com/BitterSecurity/Decepticon / functions

Functions10,737 in github.com/BitterSecurity/Decepticon

↓ 575 callersMethodappend
Append one event line atomically. Returns the rendered event.
packages/decepticon/decepticon/runtime/event_log.py:237
↓ 449 callersMethodget
(self, key: str)
packages/decepticon/decepticon/tools/research/cve.py:195
↓ 355 callersMethodinvoke
(self, input: Any, config: Any = None, **kwargs: Any)
packages/decepticon/tests/unit/core/test_subagent_streaming.py:54
↓ 197 callersMethodexists
(self, path: str, **_: Any)
packages/decepticon-sdk/decepticon_sdk/testing/__init__.py:60
↓ 188 callersMethodget
(self)
config/oauth_token_store.py:193
↓ 183 callersMethodget
(self, _thread_id: str, run_id: str)
packages/decepticon/tests/unit/benchmark/test_cve_bench_live.py:60
↓ 172 callersMethodrun
(self, query: str, **kwargs)
packages/decepticon/tests/unit/skillogy/test_catalog_sync.py:87
↓ 166 callersMethodjson
()
clients/web/src/lib/settings-data.ts:12
↓ 132 callersMethodget
(self, key: str)
packages/decepticon/decepticon/middleware/budget.py:152
↓ 130 callersMethodmake
Construct a node with a deterministic ID derived from ``kind + label``. Same (kind, label) always hashes to the same ID — this is how we
packages/decepticon-core/decepticon_core/types/kg.py:335
↓ 126 callersMethodainvoke
(self, input: Any, config: Any = None, **kwargs: Any)
packages/decepticon/tests/unit/core/test_subagent_streaming.py:58
↓ 111 callersMethodreplace
Update cache after an in-process refresh that wrote ``data`` to disk. Stamps the cache key with the current file stat so the post-write
config/oauth_token_store.py:213
↓ 107 callersMethodadd
(self, cve_id: str, url: str)
packages/decepticon/decepticon/tools/references/cve_poc_index.py:53
↓ 106 callersFunctioncn
(...inputs: ClassValue[])
clients/web/src/lib/utils.ts:4
↓ 104 callersMethodtime
(self)
packages/decepticon/tests/unit/runtime/test_event_log_retry_lock.py:33
↓ 101 callersMethodresolve
Return the primary model name for a role.
packages/decepticon/decepticon/llm/router.py:18
↓ 93 callersFunctionnext
()
clients/cli/src/hooks/__fixtures__/mockStream.ts:68
↓ 90 callersMethodupdate
(event: string, data: unknown)
clients/cli/src/utils/liveMessageText.ts:22
↓ 87 callersMethodget
Return (creating if needed) the pool entry, or None if curl_cffi is unavailable.
packages/decepticon/decepticon/sandbox_web/transport.py:53
↓ 86 callersFunctionField
({ label, value }: { label: string; value: unknown })
clients/web/src/app/(dashboard)/engagements/[id]/plan/page.tsx:78
↓ 81 callersMethodpush
(self, line: str)
config/codex_chatgpt_handler.py:543
↓ 77 callersMethodappend
Append ``record`` to the ledger; return the persisted form.
packages/decepticon/decepticon/middleware/_audit_sink.py:128
↓ 77 callersMethodcompile
Compile role-scoped policy plus machine-readable OPPLAN metadata.
packages/decepticon/decepticon/workflows/models.py:78
↓ 69 callersFunction_configure_kg
(monkeypatch: pytest.MonkeyPatch)
packages/decepticon/tests/unit/research/test_tools_extended.py:84
↓ 68 callersFunctionhandler
(request: httpx.Request)
packages/decepticon/tests/unit/ops/test_client.py:42
↓ 66 callersMethodsearch
( self, *, url_substr: str | None = None, status: int | None = None, m
packages/decepticon/decepticon/tools/web/http.py:117
↓ 57 callersMethodby_kind
All nodes of the given kind, ordered by creation time.
packages/decepticon-core/decepticon_core/types/kg.py:435
↓ 57 callersMethodupsert_node
Insert or update a node, merging props on update.
packages/decepticon-core/decepticon_core/types/kg.py:398
↓ 56 callersMethodpost
(self, path: str, **kwargs: object)
packages/decepticon/tests/unit/benchmark/test_cybergym_provider.py:65
↓ 55 callersMethodsleep
(self, dt: float)
packages/decepticon/tests/unit/runtime/test_event_log_retry_lock.py:36
↓ 54 callersFunction_json
Compact-ish JSON serializer used by tool return values.
packages/decepticon/decepticon/tools/research/_state.py:283
↓ 53 callersMethodfrom_dict
(cls, data: dict[str, Any])
packages/decepticon/decepticon/tools/web/jwt.py:62
↓ 51 callersFunctionextract_targets
Return every host/IP/CIDR the command appears to target. The result is the UNION of: * the tool-specific extractor (if the command's leadi
packages/decepticon/decepticon/middleware/_command_targets.py:400
↓ 50 callersMethodrun
()
benchmark/terminal_bench/sandbox.py:119
↓ 45 callersMethodregister
( self, session: str, command: str, initial_markers: int, key: str | N
packages/decepticon/decepticon/sandbox_kernel/jobs.py:51
↓ 44 callersFunctionanalyze_k8s_manifest
Analyse a single manifest or list of manifests.
packages/decepticon/decepticon/tools/cloud/k8s.py:104
↓ 43 callersFunctionbuild_sandbox_backend
Build the HTTP-transport sandbox backend. ``config`` — an optional run ``RunnableConfig``. When provided its ``configurable.sandbox_url`` / `
packages/decepticon/decepticon/backends/factory.py:146
↓ 43 callersFunctionfetch
(ctx context.Context, client *http.Client, version, rawBase, releaseBase string)
clients/launcher/internal/agentskill/install.go:91
↓ 43 callersFunctionset_sandbox
Inject the shared HTTPSandbox instance. Writes both: * ``_sandbox_var`` — the per-context value, returned token can be passed to ``
packages/decepticon/decepticon/tools/bash/bash.py:242
↓ 42 callersFunctiondetect_injection
Scan ``text`` for prompt-injection signals. Returns an ``InjectionVerdict`` carrying every matched pattern and a derived risk level. Empty /
packages/decepticon/decepticon/middleware/_injection_detector.py:329
↓ 40 callersFunctionsynthesise_adcs_post
Run every post-process synthesis algorithm in this module against ``engagement``. Args: engagement: Engagement label whose raw graph
packages/decepticon/decepticon/tools/ad/adcs_post.py:454
↓ 39 callersMethodget_model
Get the primary ChatModel for a role. Cached per role. ``default_role`` lets plugin orchestrators inherit an OSS role's assignment wh
packages/decepticon/decepticon/llm/factory.py:1912
↓ 38 callersFunctionmerge_bloodhound_json
Merge one BloodHound JSON payload into the engagement KG. Returns an :class:`ImportStats` capturing how many objects of each kind were merged
packages/decepticon/decepticon/tools/ad/bloodhound.py:1106
↓ 37 callersFunction_write_roe
(workspace: Path, machine_enforcement: dict)
packages/decepticon/tests/unit/middleware/test_roe.py:404
↓ 37 callersFunctionidentify_binary
Inspect a binary's header and return a structured summary. Only the first ``max_read`` bytes are touched, so this is safe to call on huge fir
packages/decepticon/decepticon/tools/reversing/binary.py:189
↓ 37 callersFunctionmake_agent_backend
Compose the runtime backend for a Decepticon agent. Routes ``/skills/`` to a local ``FilesystemBackend`` reading the package's ``decepticon/s
packages/decepticon/decepticon/backends/__init__.py:59
↓ 36 callersFunction_graph
(*nodes: Node, edges: list[Edge] | None = None)
packages/decepticon/tests/unit/ad/test_ad_tools.py:59
↓ 36 callersFunctionevaluate_target
Evaluate a single target host or IP against the RoE.
packages/decepticon-core/decepticon_core/types/roe.py:431
↓ 35 callersFunctionresolve_chain
Build the model chain (primary first, then fallbacks) for a tier. Walks ``credentials.methods`` in order, picking the model for each method a
packages/decepticon-core/decepticon_core/types/llm.py:812
↓ 34 callersMethodopen
()
clients/web/src/lib/terminal-unmount.test.ts:45
↓ 34 callersMethodset
(self, key: str, value: dict[str, Any])
packages/decepticon/decepticon/tools/research/cve.py:208
↓ 33 callersMethodget_fallback_models
Build the full ordered list of fallback ChatModel instances. Each entry mirrors one entry from the agent's credentials chain beyond t
packages/decepticon/decepticon/llm/factory.py:1946
↓ 32 callersMethodString
String renders a one-line diagnostic for the onboard System Check panel and the `decepticon version` output.
clients/launcher/internal/runtime/runtime.go:235
↓ 32 callersFunctionbuild_middleware
Build the middleware stack for ``role``. Args: role: agent role name. Used for plugin-override scoping (via ``PluginBundle.ro
packages/decepticon/decepticon/agents/build.py:353
↓ 32 callersMethodget
Return the ``RoleSpec`` for ``name``, or ``None`` if unknown.
packages/decepticon-core/decepticon_core/registry/roles.py:97
↓ 32 callersFunctionis_bundle_enabled
Return True if ``bundle`` is active under current DECEPTICON_PLUGINS. - Wildcard env (``DECEPTICON_PLUGINS=*``) → True for any bundle. - ``bu
packages/decepticon-core/decepticon_core/plugin_loader.py:162
↓ 32 callersMethodwrap_tool_call
(self, request, handler)
packages/decepticon/decepticon/middleware/roe.py:318
↓ 31 callersMethodget
( self, path: str, *, monitor: bool = False, params: dict[str, Any] | None = None )
packages/decepticon/decepticon/mcp_server/blue.py:13
↓ 30 callersFunctionbuild_kg_tools
Construct the agent-facing KG tools bound to a single store. ``enabled`` selects which tools land in the returned list. Default is ``DEFAULT_
packages/decepticon/decepticon/middleware/kg_internal/tools.py:64
↓ 30 callersFunctionlist_artifacts
( registry: ArtifactRegistry, kind: ArtifactKind | None = None )
packages/decepticon/decepticon/artifacts/registry.py:48
↓ 29 callersMethodadd_edge
( self, *, src_key: str, dst_key: str, kind: EdgeKind, weight:
packages/decepticon/decepticon/tools/ad/bloodhound.py:279
↓ 29 callersMethodwrite
(self, entry: dict[str, Any])
packages/decepticon/decepticon/runtime/recording.py:171
↓ 28 callersFunctionload_prompt
Load an agent system prompt with structured assembly. Static identity/rules/environment load from ``<name>.md`` and combine with cross-cuttin
packages/decepticon/decepticon/agents/prompts/builder.py:263
↓ 28 callersMethodupsert_node
Persist one node via ``record_observations``.
packages/decepticon/decepticon/tools/research/_state.py:163
↓ 28 callersMethodwith_config
(self, config: Any = None, **kwargs: Any)
packages/decepticon/decepticon/core/subagent_streaming.py:207
↓ 27 callersFunction_make_request
(tool_name: str, command: str = "", state: dict | None = None)
packages/decepticon/tests/unit/middleware/test_roe.py:378
↓ 27 callersFunctionbuild_tools
Build the tools list for ``role``. Args: role: agent role name (for plugin scope + tool-registry lookup). standard_tools: the age
packages/decepticon/decepticon/agents/build.py:494
↓ 27 callersMethodglob
(self, pattern: str, path: str | None = None)
packages/decepticon/decepticon/middleware/filesystem.py:296
↓ 27 callersFunctiongraph_transaction
Locked read-modify-save context. Yields the engagement's ``KnowledgeGraph``; persists it back to ``KGStore`` on exit. The Python lock keeps w
packages/decepticon/decepticon/tools/research/_state.py:325
↓ 27 callersMethodstart
(self, *_args, **_kw)
packages/decepticon/tests/unit/ops/test_tools.py:139
↓ 27 callersMethodstats
Node / edge counts — used by ``health.py``.
packages/decepticon/decepticon/tools/research/_state.py:134
↓ 26 callersFunction_client
Yield a TestClient with ``_get_backend`` patched to return ``backend``. ``token`` controls the ``SANDBOX_TOKEN`` env var that ``lifespan`` re
packages/decepticon/tests/unit/sandbox_server/test_app.py:78
↓ 26 callersFunction_make_backend
A mock backend whose method return values use ``SimpleNamespace`` so the attributes feed cleanly into the pydantic response models.
packages/decepticon/tests/unit/sandbox_server/test_app.py:54
↓ 26 callersFunctionbuild_model_entry
Build a LiteLLM ``model_list`` entry for a requested model ID. The generated route keeps ``model_name`` identical to the string used by the a
config/litellm_dynamic_config.py:656
↓ 26 callersFunctionload_plugin_callbacks
Discover LangChain callback handlers contributed by external packages.
packages/decepticon-core/decepticon_core/plugin_loader.py:448
↓ 26 callersMethodread
Iterate events in the order they were appended. Malformed or torn lines are skipped silently so a process killed mid-write cannot mak
packages/decepticon/decepticon/runtime/event_log.py:269
↓ 26 callersMethodupsert_edge
Persist one edge. ``record_observations`` only accepts edges attached to a node observation, so this path runs raw Cypher with the sa
packages/decepticon/decepticon/tools/research/_state.py:173
↓ 25 callersFunction_mock_response
(status_code: int = 200, text: str = "{}")
packages/decepticon/tests/unit/tools/test_defense_push.py:68
↓ 25 callersFunction_user_node
(label: str, **props: object)
packages/decepticon/tests/unit/ad/test_ad_tools.py:35
↓ 25 callersMethodclose
()
clients/web/src/lib/terminal-unmount.test.ts:39
↓ 25 callersMethodedges_of_kind
(self, kind: str)
packages/decepticon/tests/unit/ad/test_bloodhound_kgstore.py:86
↓ 25 callersMethodfrom_source
(cls, source: str)
packages/decepticon/decepticon/workflows/models.py:147
↓ 25 callersFunctionget_logger
Get a namespaced logger for the given module. Auto-configures the root logger on first use. Usage:: from decepticon_core.utils.logg
packages/decepticon-core/decepticon_core/utils/logging.py:107
↓ 25 callersMethodoverride
(self, **kwargs)
packages/decepticon/tests/unit/middleware/test_hitl.py:36
↓ 25 callersFunctionrender_executive_summary
Build the markdown summary for the current graph state.
packages/decepticon/decepticon/tools/reporting/executive.py:48
↓ 24 callersFunction_config
()
packages/decepticon/tests/unit/mcp_server/test_engagements.py:93
↓ 24 callersFunction_run
(url: str = "https://target.test/")
packages/decepticon/tests/unit/research/test_tech_detection.py:39
↓ 24 callersMethodexecute
(self, command: str, *, timeout: int | None = None)
packages/decepticon/tests/unit/tools/web/test_search.py:28
↓ 24 callersFunctionextract_strings
Extract printable ASCII / UTF-16LE strings with category tags.
packages/decepticon/decepticon/tools/reversing/strings.py:142
↓ 23 callersFunction_inject_client
(sb: HTTPSandbox, handler: Any)
packages/decepticon/tests/unit/backends/test_http_sandbox.py:21
↓ 23 callersFunctionparse_token
Parse a JWT without verifying the signature. Always returns a token even if the input is malformed — caller checks ``findings`` for bugs.
packages/decepticon/decepticon/tools/web/jwt.py:146
↓ 23 callersFunctionpush_crowdstrike_ioa
POST an IOA-style indicator extracted from a YARA rule to CrowdStrike Falcon.
packages/decepticon/decepticon/tools/defense/edr.py:133
↓ 23 callersMethodrecord
(self, req: HTTPRequest, resp: HTTPResponse | None = None)
packages/decepticon/decepticon/tools/web/http.py:101
↓ 22 callersFunction_backend
(tmp_path: Path)
packages/decepticon/tests/unit/middleware/test_opplan_persistence.py:53
↓ 22 callersFunction_make_chain
( entrypoint_id: str = "ep1", entrypoint_label: str = "WebApp", crown_jewel_id: str = "cj1", c
packages/decepticon/tests/unit/research/test_chain.py:45
↓ 22 callersFunction_obj_dict
(obj_id: str, **overrides: Any)
packages/decepticon/tests/unit/middleware/test_opplan_persistence.py:27
↓ 22 callersFunctionanalyze_oauth_callback
Inspect an OAuth callback URL for security issues. ``initial_request_url`` is the authorize-endpoint URL the client sent the user to; when pr
packages/decepticon/decepticon/tools/web/oauth.py:71
↓ 22 callersFunctioncancel
()
packages/decepticon/tests/integration/test_tmux_completion.py:109
↓ 22 callersFunctioncompile_egress_policy
Compile a ``MachineEnforcement`` block into an :class:`EgressPolicy`. ``enforce`` follows ENFORCE mode (audit / warn never touch the network)
packages/decepticon/decepticon/middleware/egress.py:101
↓ 22 callersMethodfind
(self, raw: str, query: str, cursor: int, limit: int)
containers/rea_service.py:251
next →1–100 of 10,737, ranked by callers