MCPcopy Create free account

hub / github.com/BitterSecurity/Decepticon / functions

Functions10,737 in github.com/BitterSecurity/Decepticon

↓ 5 callersFunctionasync_client
Construct an ``httpx.AsyncClient`` with connect-retry resilience.
config/http_client.py:49
↓ 5 callersFunctionbuild_transcript
Build a transcript window starting at ``after_index`` (incremental polling).
packages/decepticon/decepticon/mcp_server/conversation.py:70
↓ 5 callersMethodcancel
Cancel the active run on a thread. Returns the cancelled run id, if any.
packages/decepticon/decepticon/mcp_server/engagements.py:268
↓ 5 callersFunctioncheckComposeVersion
A cold Docker CLI/plugin can exceed three seconds on a busy desktop/WSL host. Keep discovery bounded separately from the longer service-readiness dead
clients/launcher/cmd/compose_probe.go:15
↓ 5 callersFunctionclassify_hashcat_hash
Classify a single hashcat-format Kerberos hash line.
packages/decepticon/decepticon/tools/ad/kerberos.py:57
↓ 5 callersMethodclose
(self)
packages/decepticon/decepticon/tools/research/_state.py:97
↓ 5 callersMethodclose
(self)
packages/decepticon/decepticon/skillogy/client/rest.py:69
↓ 5 callersFunctioncreateDirectEngagement
createDirectEngagement only owns a newly created workspace. Existing scopes are never migrated or overwritten during creation. The caller compiles the
clients/launcher/internal/engagement/direct_scope.go:37
↓ 5 callersFunctiondecode_jwt_payload
Best-effort base64-decode of a JWT's middle segment. ``{}`` on malformed.
config/oauth_token_store.py:227
↓ 5 callersFunctiondefault_role_purpose
Unknown roles require execution authorization unless explicitly registered.
packages/decepticon-core/decepticon_core/registry/roles.py:23
↓ 5 callersMethoddetect_collisions
Return every collision surfaced during ``load()``. Strict mode (``DECEPTICON_STRICT_REGISTRY=1``) is left to the framework boot path
packages/decepticon-core/decepticon_core/registry/plugins.py:214
↓ 5 callersFunctiondiff_responses
Produce a unified diff between two response bodies.
packages/decepticon/decepticon/tools/web/http.py:291
↓ 5 callersFunctiondiscover_management_cidrs
Directly-attached subnets — the management plane to keep reachable. The sandbox sits on ``sandbox-net`` only; its on-link subnets carry Neo4j
packages/decepticon/decepticon/sandbox_kernel/egress.py:208
↓ 5 callersFunctiondiscover_subdomains
Return CT-log subdomains of ``root`` (deduped, filtered to the root). Best-effort: returns ``[]`` on any failure. ``fetch`` is injectable so the
packages/decepticon/decepticon/passive_discovery.py:56
↓ 5 callersFunctiondownloadFile
downloadFile fetches a URL and writes it to dst, closing the body properly.
clients/launcher/internal/updater/updater.go:491
↓ 5 callersFunctionengagementLabel
()
clients/cli/src/commands/blue.ts:113
↓ 5 callersFunctionengagement_slug
Return the engagement slug used to tag pushed rules.
packages/decepticon/decepticon/tools/defense/conops.py:103
↓ 5 callersMethodexecute_tmux
Tmux-based execution with session persistence and interactive support. Used exclusively by the bash tool. Supports: - Named sessions
packages/decepticon/decepticon/sandbox_kernel/base.py:307
↓ 5 callersMethodexecute_write
Run a write transaction. Driver retries deadlock errors.
packages/decepticon/decepticon/middleware/kg_internal/store.py:210
↓ 5 callersFunctionexport_asciicast
Convert a tmux pipe-pane log to an asciicast v2 file. Returns a manifest dict describing the export (paths, sizes, timing quality). Use this
packages/decepticon/decepticon/tools/evidence/asciicast.py:97
↓ 5 callersFunctionfetch
Public entrypoint — the generic grid wrapped with per-host self-learning. 1. Before fetching, look up the route that last succeeded for this host
packages/decepticon/decepticon/sandbox_web/fetch_chain.py:350
↓ 5 callersMethodflush
()
clients/cli/src/terminal/mouse.ts:15
↓ 5 callersMethodfor_workspace
Build a log writing directly to ``<workspace_dir>/events.jsonl``. Unlike :meth:`__init__`, this skips the ``engagements/<id>`` nesting:
packages/decepticon/decepticon/runtime/event_log.py:209
↓ 5 callersMethodfrom_dump
(cls, payload: Iterable[dict[str, Any]])
packages/decepticon/decepticon/tools/web/http.py:145
↓ 5 callersFunctioninitial_info
()
packages/decepticon/tests/unit/artifacts/test_info_identity.py:90
↓ 5 callersFunctionisValidEngagementSlug
(name: unknown)
clients/web/src/lib/engagement-slug.ts:17
↓ 5 callersFunctioniter_ingested_payloads
Walk the cached PayloadsAllTheThings repo and yield PayloadBundle rows. Returns an empty list when the cache is absent — callers must always
packages/decepticon/decepticon/tools/references/payloads_ingest.py:162
↓ 5 callersMethodload_challenges
Load and filter challenges from benchmark subdirectories.
benchmark/providers/xbow.py:37
↓ 5 callersFunctionload_chapters
Walk the cached repo and return every top-level chapter. Memoized per-process by (cache-root, repo mtime). Re-hydrating the clone invalidates
packages/decepticon/decepticon/tools/references/methodology.py:139
↓ 5 callersFunctionload_entries
Return the merged entry list: fallback YAML + cached upstream parse. Memoized per-process keyed by the RedTeam-Tools cache mtime.
packages/decepticon/decepticon/tools/references/killchain.py:260
↓ 5 callersFunctionload_one
( cve_id: str, variants: tuple[str, ...] = ("zero_day", "one_day"), fixtures_dir: Path | None = No
benchmark/cve_bench/loader.py:108
↓ 5 callersFunctionload_recipes
Walk the cached book-of-secret-knowledge repo for recipes. Memoized per-process by (cache-root, repo mtime, limit). Walking 600+ markdown fil
packages/decepticon/decepticon/tools/references/oneliners.py:135
↓ 5 callersFunctionlookup_poc
Convenience lookup that reads the persisted index lazily. Falls back to an on-the-fly build of the trickest cache if no persisted index exist
packages/decepticon/decepticon/tools/references/cve_poc_index.py:302
↓ 5 callersMethodmark_consumed
(self, session: str, key: str | None = None)
packages/decepticon/decepticon/sandbox_kernel/jobs.py:85
↓ 5 callersFunctionmatches_domain_glob
Match a DNS glob without crossing label boundaries. ``*`` matches one or more characters within one label; ``?`` matches exactly one non-dot
packages/decepticon-core/decepticon_core/types/roe.py:349
↓ 5 callersMethodmerged_critical_tools
Return the union of the OSS baseline + every registered plugin tool name.
packages/decepticon-core/decepticon_core/registry/safety.py:60
↓ 5 callersFunctionmkBareDir
(t *testing.T, home, name string)
clients/launcher/internal/engagement/picker_test.go:33
↓ 5 callersMethodok
Terminal success only. SUSPECT_OK is intentionally excluded.
packages/decepticon/decepticon/sandbox_web/validators.py:103
↓ 5 callersFunctionollamaTestServer
ollamaTestServer fakes /api/tags and /api/show. A nil capabilities entry simulates older Ollama (no capabilities field); a missing entry causes /api/s
clients/launcher/cmd/ollama_models_test.go:26
↓ 5 callersFunctionopen_bind_error
Error string if this bind would expose an unauthenticated network port. Only the ``streamable-http`` transport opens a socket; ``stdio`` is a loc
packages/decepticon/decepticon/mcp_server/auth.py:141
↓ 5 callersFunctionparse_asan
Parse an AddressSanitizer / UBSan crash log.
packages/decepticon/decepticon/tools/research/fuzz.py:293
↓ 5 callersMethodpending
(self)
packages/decepticon/decepticon/middleware/hitl.py:175
↓ 5 callersFunctionplanned_task_tool
Wrap Deep Agents' task closure while retaining its streaming/state behavior.
packages/decepticon/decepticon/middleware/opplan_dispatch.py:101
↓ 5 callersFunctionprobe
(url: str, **_kw: object)
packages/decepticon/tests/unit/sandbox_web/test_fetch_chain.py:53
↓ 5 callersFunctionprobe_cloud
Ollama Cloud reachability + per-model tool-capability. Cloud differs from local Ollama in two ways the local ``probe`` can't handle: it requi
config/ollama_probe.py:392
↓ 5 callersFunctionpublish_artifact
( registry: ArtifactRegistry, runtime: ToolRuntime, backend: BackendProtocol )
packages/decepticon/decepticon/middleware/artifact_tools.py:59
↓ 5 callersFunctionqualifying_findings
( registry: ArtifactRegistry, backend: BackendProtocol, context: ProofContext )
packages/decepticon/decepticon/middleware/search_evidence.py:157
↓ 5 callersMethodquery_fields
(self)
packages/decepticon/decepticon/tools/web/graphql.py:181
↓ 5 callersMethodread
(self, path: str)
packages/decepticon/tests/unit/tools/test_skills.py:24
↓ 5 callersFunctionreadScopeSummary
readScopeSummary reads the engagement's machine scope for display, accepting both the current string-form entries and the pre-unification object-form
clients/launcher/internal/engagement/picker.go:68
↓ 5 callersFunctionreconcile_bundled_catalog
Return True if a changed release was published, False if already current. The release marker is locked before any graph mutation. A second replic
packages/decepticon/decepticon/skillogy/catalog_sync.py:68
↓ 5 callersMethodremoveStaleDropIns
removeStaleDropIns deletes drop-in override files in `dir` whose ExecStart= points to a binary that no longer exists on disk. Returns true if any file
clients/launcher/internal/infracontrol/systemd.go:164
↓ 5 callersFunctionrequire_current_policy
(policy: DesktopPolicy)
packages/decepticon/decepticon/desktop_policy.py:132
↓ 5 callersFunctionresolve_auth_value
Resolve a ConOps auth reference (``<kind>:<env-var-name>``) to its value. Raises ConOpsLookupError if the spec is malformed or the env var is mis
packages/decepticon/decepticon/tools/defense/conops.py:84
↓ 5 callersFunctionresolve_mode
Resolve the effective consent mode. Fail-closed: unknown → OFF.
packages/decepticon/decepticon/telemetry/config.py:48
↓ 5 callersFunctionresolve_siem_target
Return ConOps ``blue_team.<name>`` entry or raise ConOpsLookupError.
packages/decepticon/decepticon/tools/defense/conops.py:54
↓ 5 callersFunctionresolve_subdomain
Translate a possibly-aliased subdomain into its canonical form. Case-insensitive. Unknown values pass through unchanged so the validator can
packages/decepticon/decepticon/skill_audit/aliases.py:42
↓ 5 callersFunctionrunDir
()
clients/launcher/internal/infracontrol/paths.go:58
↓ 5 callersFunctionscan_bucket_names
Pull every S3 bucket name referenced in ``text``.
packages/decepticon/decepticon/tools/cloud/aws.py:234
↓ 5 callersMethodsend
()
clients/web/src/lib/terminal-unmount.test.ts:40
↓ 5 callersFunctionsetCursor
(position: number)
clients/cli/src/components/useComposer.ts:18
↓ 5 callersFunctionsetModelOverride
(id: string)
clients/cli/src/commands/modelOverride.ts:18
↓ 5 callersMethodset_attribute
(self, key: str, value: Any)
packages/decepticon/tests/unit/telemetry/test_otel.py:162
↓ 5 callersFunctionset_persisted_mode
Persist an explicit consent choice from ``telemetry enable``/``off``. ``OFF`` writes the opt-out marker (and clears any mode); ``basic``/ ``e
packages/decepticon/decepticon/telemetry/config.py:106
↓ 5 callersFunctionseverity_threshold_breach
Return True when the SARIF doc contains a result at or above ``fail_on``. The standalone CLI severity gate was removed with the SAST entry (i
packages/decepticon/decepticon/tools/research/sarif_export.py:245
↓ 5 callersMethodsingle
(self)
packages/decepticon/tests/unit/skillogy/test_catalog_sync.py:41
↓ 5 callersFunctionskills_sources_for
Default SkillsMiddleware ``sources`` list for an OSS role. Returns the path list for one of the 10 standard OSS agents (``recon``, ``exploit`
packages/decepticon/decepticon/agents/middleware_slots.py:90
↓ 5 callersMethodsnapshot
()
clients/launcher/internal/infracontrol/registry.go:79
↓ 5 callersFunctionstart_llm_span
Start an LLM-call span; cost / token attrs land on the active span.
packages/decepticon/decepticon/telemetry/otel.py:176
↓ 5 callersMethodstop
(self, workload)
packages/decepticon/tests/unit/ops/test_tools.py:55
↓ 5 callersFunctiontechnology_for_banner
Classify a service-fingerprint banner that names an AI runtime. A banner naming the product (nmap ``product``/``version``/``name``) is strong
packages/decepticon/decepticon/middleware/kg_internal/ai_surface.py:190
↓ 5 callersFunctiontechnology_for_headers
Classify a response-header set that carries an AI product's headers. Always corroborating-only (``guess=True``): a header can be injected by
packages/decepticon/decepticon/middleware/kg_internal/ai_surface.py:211
↓ 5 callersFunctiontechnology_for_port
Classify a service port as an AI Technology. Returns ``(technology_node_observation, runs_edge)`` to append to the ingest batch — the edge be
packages/decepticon/decepticon/middleware/kg_internal/ai_surface.py:126
↓ 5 callersFunctionterminalText
(value: string)
clients/cli/src/utils/terminalText.ts:5
↓ 5 callersFunctionunwrap_ddg_href
Return the real target URL from a DDG redirect wrapper, else ``href``. Only unwraps when the redirect host is exactly DuckDuckGo (an attacker
packages/decepticon/decepticon/sandbox_web/providers.py:67
↓ 5 callersFunctionvalidateSlug
validateSlug enforces the slug regex and rejects collisions with any existing directory under home/workspace.
clients/launcher/internal/engagement/picker.go:198
↓ 5 callersFunctionvalidateThread
(threadId: string, signal?: AbortSignal)
clients/cli/src/utils/threadStore.ts:67
↓ 5 callersFunctionvalidate_finding_document
Validate a findings/*.md or report/*.md document and its declared references.
packages/decepticon/decepticon/tools/reporting/evidence_contract.py:182
↓ 5 callersFunctionvalidate_planning_bundle
Return a failure reason unless the eight-document planner bundle is ready.
packages/decepticon/decepticon/tools/interaction/complete_planning.py:45
↓ 5 callersFunctionwithTestSources
withTestSources points the discovery sources at httptest servers for the duration of the test.
clients/launcher/internal/engagement/discovery_test.go:15
↓ 5 callersFunctionworkflow
()
packages/decepticon/tests/unit/workflows/opplan_helpers.py:23
↓ 5 callersMethodwrap_model_call
(self, request, handler)
packages/decepticon/decepticon/middleware/budget.py:395
↓ 5 callersMethodwrap_model_call
(self, request, handler)
packages/decepticon/decepticon/middleware/model_override.py:159
↓ 5 callersMethodwrap_model_call
(self, request, handler)
packages/decepticon/decepticon/runtime/recording.py:254
↓ 5 callersMethodwrap_tool_call
(self, request, handler)
packages/decepticon/decepticon/middleware/hitl.py:458
↓ 5 callersFunctionwriteDesktopBrowserOverlay
(home, source, engagement, existing string)
clients/launcher/cmd/desktop_browser.go:27
↓ 5 callersFunctionwrite_artifact
(root: Path, name: str)
packages/decepticon/tests/unit/workflows/opplan_helpers.py:104
↓ 4 callersMethodAcked
Acked reports whether the interactive migration id has been recorded.
clients/launcher/internal/migrate/migrate.go:125
↓ 4 callersMethodActive
Active reports whether the service is currently running per the init system. For noop returns false.
clients/launcher/internal/infracontrol/service.go:46
↓ 4 callersFunctionAllProfiles
AllProfiles returns every profile flag the launcher should pass to `docker compose down`. Workloads the agent never spawned are silently no-ops; the c
clients/launcher/internal/compose/compose.go:78
↓ 4 callersFunctionLinuxDistro
LinuxDistro returns the human-readable distribution name from etc/os-release (PRETTY_NAME), e.g. "Kali GNU/Linux Rolling" or "Debian GNU/Linux 12 (boo
clients/launcher/internal/platform/system.go:40
↓ 4 callersFunctionProbeLangGraph
(ctx context.Context, env map[string]string)
clients/launcher/internal/health/health.go:83
↓ 4 callersFunctionRun
Run applies steps in order against c. Errors are surfaced as warnings and never abort the start flow.
clients/launcher/internal/migrate/migrate.go:88
↓ 4 callersFunctionSelfUpdate
SelfUpdate downloads and replaces the current binary. The download is verified against “checksums.txt“ (GoReleaser-produced) before the executable swa
clients/launcher/internal/updater/updater.go:555
↓ 4 callersMethodStart
Start brings up the workload. Idempotent: calling it on an already-running workload returns the existing handle without re-running compose up.
clients/launcher/internal/infracontrol/backend.go:50
↓ 4 callersFunctionValidateAPIKeys
ValidateAPIKeys checks that at least one API key is set with a valid format. Returns a fatal error listing both unset keys and any format problems fou
clients/launcher/internal/config/config.go:297
↓ 4 callersFunctionWSLHostIP
WSLHostIP returns the IP address that the WSL2 distro can use to reach the Windows host. Under the default WSL2 networking mode (NAT), the Windows hos
clients/launcher/internal/platform/platform.go:53
↓ 4 callersMethod__init__
(self, ttl_seconds: float)
packages/decepticon/decepticon/middleware/budget.py:148
↓ 4 callersFunction_acquire_lock
(fd: int)
packages/decepticon/decepticon/runtime/event_log.py:161
↓ 4 callersFunction_agents_path
()
packages/decepticon/decepticon/tools/orchestration/agent_graph.py:28
← previousnext →801–900 of 10,737, ranked by callers