MCPcopy Create free account

hub / github.com/BitterSecurity/Decepticon / functions

Functions10,737 in github.com/BitterSecurity/Decepticon

↓ 4 callersFunction_sanitize_corpus_text
Strip control characters and cap length for untrusted corpus text.
packages/decepticon/decepticon/tools/references/tools.py:57
↓ 4 callersFunction_scalar
(name: str)
packages/decepticon/tests/unit/web/test_graphql_introspection.py:23
↓ 4 callersFunction_scoped_opplan_backend
Return a backend scoped to the active engagement workspace.
packages/decepticon/decepticon/tools/opplan.py:342
↓ 4 callersFunction_scrub_other_credentials
Delete any env that would be detected as another credential. The credential-detection tests below need to assert "only LLAMACPP is detected";
packages/decepticon/tests/unit/llm/test_factory.py:1784
↓ 4 callersFunction_seed_tree
Write a small polyglot corpus with known sinks and sources.
packages/decepticon/tests/unit/research/test_scanner_tools.py:61
↓ 4 callersFunction_segments_from_markers
Split log content on PS1 markers and return per-command segments. Empty segments are dropped. Trailing partial output (no closing marker) is
packages/decepticon/decepticon/tools/evidence/asciicast.py:87
↓ 4 callersFunction_select_auth_handler
Resolve a ``auth/<slug>`` model name to its subscription handler.
config/auth_handler.py:41
↓ 4 callersFunction_serialize_ai_response
(message: Any)
packages/decepticon/decepticon/runtime/recording.py:141
↓ 4 callersFunction_serialize_messages
(messages: list[Any])
packages/decepticon/decepticon/runtime/recording.py:104
↓ 4 callersFunction_server
(client: httpx.AsyncClient)
packages/decepticon/tests/unit/mcp_server/test_blue_tools.py:19
↓ 4 callersFunction_severity_threshold
(sev: Severity)
packages/decepticon/decepticon/tools/research/tools.py:222
↓ 4 callersFunction_short_hash
(text: str)
packages/decepticon/decepticon/middleware/untrusted_output.py:328
↓ 4 callersFunction_skill_tool_names
Resolve the skill-system tool names from the registry. Both ``SkillsMiddleware`` (filesystem-backed) and ``SkillogyMiddleware`` (graph-backed
packages/decepticon/decepticon/middleware/prompt_injection_shield.py:323
↓ 4 callersFunction_sqli_finding
(label: str, host: str, *, cwe: str = "CWE-89", **extra: Any)
packages/decepticon/tests/unit/research/test_dedupe.py:49
↓ 4 callersFunction_state
(outputs: list[str])
packages/decepticon/tests/unit/benchmark/test_cybench_provider.py:53
↓ 4 callersMethod_sync_gate
(self, rules: MachineEnforcement, gated: bool)
packages/decepticon/decepticon/middleware/roe.py:369
↓ 4 callersMethod_sync_passthrough_env
Inject the allowlisted parent env vars into the live tmux shell. No-op when the allowlist is empty. Send errors are logged; once sent
packages/decepticon/decepticon/sandbox_kernel/tmux.py:427
↓ 4 callersFunction_table_for_logsource
(logsource: dict[str, Any])
packages/decepticon/decepticon/tools/defense/sentinel.py:47
↓ 4 callersFunction_tool_error
(tool_call_id: str, content: str)
packages/decepticon/decepticon/tools/opplan.py:210
↓ 4 callersFunction_valid_next
Return comma-separated valid next statuses.
packages/decepticon/decepticon/tools/opplan.py:1492
↓ 4 callersMethod_vector_names
Keep different embedding dimensions in separate Neo4j properties. ``CREATE ... IF NOT EXISTS`` does not change an existing index's di
packages/decepticon/decepticon/skillogy/server/neo4j_backend.py:212
↓ 4 callersFunction_with_workspace_kwargs
(workspace_path: str)
packages/decepticon/decepticon/tools/bash/bash.py:341
↓ 4 callersFunction_wrap_corpus
Return a JSON-serialisable envelope with explicit trust markers. The envelope shape is:: { "source": "hackerone-reports",
packages/decepticon/decepticon/tools/references/tools.py:75
↓ 4 callersFunction_write_generated_spec
Write a synthetic generated-network JSON beneath ``root``. Mirrors the minimal shape :func:`_load_generated_topologies` reads: ``name``, ``at
packages/decepticon/tests/unit/benchmark/test_mhbench_provider.py:276
↓ 4 callersFunctionaddSystemEvent
()
clients/cli/src/components/commandPicker.test.ts:11
↓ 4 callersMethodallow_default
(cls)
packages/decepticon-core/decepticon_core/types/roe.py:329
↓ 4 callersFunctionanalyze_tfstate
Parse and audit a Terraform state file payload.
packages/decepticon/decepticon/tools/cloud/terraform.py:106
↓ 4 callersFunctionapplyTelemetryReconsent
(c *Ctx)
clients/launcher/internal/migrate/steps.go:98
↓ 4 callersFunctionassertEnvKey
(t *testing.T, path, key, want string)
clients/launcher/internal/migrate/migrate_test.go:219
↓ 4 callersFunctionassertRedApproved
()
clients/cli/src/commands/planMode.ts:14
↓ 4 callersMethodawrap_model_call
(self, request, handler)
packages/decepticon/decepticon/middleware/model_override.py:199
↓ 4 callersMethodawrap_model_call
(self, request: Any, handler: Any)
packages/decepticon/decepticon/middleware/step_budget.py:42
↓ 4 callersFunctionbash_workspace
Temporarily scope bash tools to one engagement workspace.
packages/decepticon/decepticon/tools/bash/bash.py:348
↓ 4 callersFunctionblueConfigPath
(label: string = engagementLabel())
clients/cli/src/commands/blue.ts:117
↓ 4 callersFunctionbuild_default_sink
Best-effort default sink path: ``<workspace>/audit/roe-decisions.jsonl``. Returns ``None`` when no workspace is set yet (during initial boots
packages/decepticon/decepticon/middleware/roe.py:591
↓ 4 callersFunctioncapture_run_provenance
Capture the reproducibility envelope before a benchmark starts.
benchmark/provenance.py:230
↓ 4 callersFunctioncheck_finding_content
Check machine-verifiable report invariants; never judge exploit truth.
packages/decepticon/decepticon/tools/reporting/finding_quality.py:33
↓ 4 callersFunctionclassify_dir
Map an upstream folder name to a Decepticon vuln_class slug. Returns ``None`` when the folder is explicitly skipped.
packages/decepticon/decepticon/tools/references/payloads_ingest.py:119
↓ 4 callersFunctionclassify_mitre_id
Return the matrix of a MITRE ID, or ``None`` if the format is invalid.
packages/decepticon/decepticon/skill_audit/mitre.py:36
↓ 4 callersMethodclose
(self)
config/codex_chatgpt_handler.py:558
↓ 4 callersFunctioncomposeProbeProcess
(mode string)
clients/launcher/cmd/compose_probe_test.go:29
↓ 4 callersMethodconsume
(self)
packages/decepticon/tests/unit/skillogy/test_catalog_sync.py:44
↓ 4 callersFunctioncontains
contains wraps strings.Contains as a tiny test helper. Kept named the same as Go's builtin map check to read naturally in assertions.
clients/launcher/internal/platform/system_test.go:218
↓ 4 callersFunctioncrack_hs_secret
Dictionary-attack an HS* token. Returns the first matching secret or None if none of the candidates work. O(N) in the candidate list.
packages/decepticon/decepticon/tools/web/jwt.py:300
↓ 4 callersFunctiondedupeScopeTargets
dedupeScopeTargets normalizes fragments, preserves first-seen order, and collects the patterns no DNS/IP target can match.
clients/launcher/internal/engagement/scope_targets.go:139
↓ 4 callersFunctiondefault_path
()
packages/decepticon/decepticon/sandbox_web/learning.py:45
↓ 4 callersFunctiondisplayVersion
(version string)
clients/launcher/internal/updater/updater.go:778
↓ 4 callersFunctionemit_runtime_event
(request: Any, event_type: str, payload: dict[str, Any])
packages/decepticon/decepticon/middleware/run_controls.py:64
↓ 4 callersFunctionengagementWorkspace
(slug string)
clients/launcher/internal/infracontrol/docker_compose_backend.go:120
↓ 4 callersFunctionensure_stix_bundle
Ensure a verified STIX bundle exists, fetching only when absent. Existing files are never silently replaced. A corrupted or unexpected cache
packages/decepticon/decepticon/skillogy/builder/stix_bootstrap.py:53
↓ 4 callersMethodevaluate
Evaluate whether the expected flag was captured.
benchmark/providers/xbow.py:212
↓ 4 callersMethodevaluate
Pass iff the task's literal flag appears in the transcript/workspace.
benchmark/providers/cybench.py:216
↓ 4 callersFunctionevaluate_command
Evaluate a shell command against forbidden-command regexes.
packages/decepticon-core/decepticon_core/types/roe.py:486
↓ 4 callersFunctionevidence_path
(value: object)
packages/decepticon/decepticon/tools/reporting/evidence_contract.py:54
↓ 4 callersMethodexecute
Keep one waiter responsible for completion while allowing input delivery.
packages/decepticon/decepticon/sandbox_kernel/tmux.py:666
↓ 4 callersFunctionfilter_gadgets_by_pattern
Filter to gadgets containing a specific byte pattern (hex).
packages/decepticon/decepticon/tools/reversing/rop.py:72
↓ 4 callersFunctionfind_duplicate
Decide whether ``candidate`` duplicates any node in ``existing``. The deterministic :func:`prefilter` runs first; only nodes that survive it
packages/decepticon/decepticon/tools/research/dedupe.py:188
↓ 4 callersMethodfrom_profile
Build with the default credentials (all API methods, default priority). Used by tests and dev convenience — production code should pas
packages/decepticon-core/decepticon_core/types/llm.py:972
↓ 4 callersFunctionget_session_manager
Return the process-wide :class:`BrowserSessionManager` singleton.
packages/decepticon/decepticon/tools/browser/tools.py:273
↓ 4 callersFunctionget_sink
Return the process telemetry sink, building it from env on first use. Returns a shared disabled no-op sink when telemetry is off, so callers can
packages/decepticon/decepticon/telemetry/sink.py:343
↓ 4 callersFunctiongroup_by_category
Group extracted strings by category, preserving order.
packages/decepticon/decepticon/tools/reversing/strings.py:183
↓ 4 callersFunctionimport_engagement
Restore ``archive`` under ``<workspace>/engagements/``. Returns ``(engagement_id, files_restored)``. Verifies every archived regular file exi
packages/decepticon/decepticon/cli/zip.py:154
↓ 4 callersFunctioningest_bloodhound_zip
Walk a BloodHound collector ZIP and merge every JSON file inside. Returns an :class:`ImportStats` summarising the merge. All files land in a
packages/decepticon/decepticon/tools/ad/bloodhound.py:1136
↓ 4 callersFunctioningest_sarif_file
Convenience wrapper: read SARIF JSON from disk and ingest it.
packages/decepticon/decepticon/tools/research/sarif.py:227
↓ 4 callersFunctionis_jwt_expired
True if the JWT's ``exp`` is within ``skew_seconds`` of now or missing.
config/oauth_token_store.py:243
↓ 4 callersFunctionis_offensive_path
Return True if the SKILL.md path indicates an offensive skill.
packages/decepticon/decepticon/skill_audit/path_kind.py:21
↓ 4 callersFunctioniter_skill_records
Walk ``skills_root`` and yield one :class:`SkillRecord` per ``*.md``. ``source_prefix`` is the virtual-path prefix to record on each entry; c
packages/decepticon/decepticon/tools/skills_registry.py:122
↓ 4 callersMethodkill_all_sessions
Kill every tmux session this sandbox has handed out a manager for. Returns the number of sessions kill-session was invoked on. Used by
packages/decepticon/decepticon/sandbox_kernel/base.py:486
↓ 4 callersMethodkill_session
Send Ctrl+C, then kill the tmux session, then clear all caches. Best-effort: errors are logged, not raised. The pipe-pane log file is
packages/decepticon/decepticon/sandbox_kernel/base.py:422
↓ 4 callersMethodlatest_run
Return the most recent run dict for a thread, or None when there is none.
packages/decepticon/decepticon/mcp_server/engagements.py:152
↓ 4 callersFunctionlistThreads
(options: ThreadListOptions = {})
clients/cli/src/utils/threadStore.ts:46
↓ 4 callersFunctionlist_applied
Return the names of migrations already recorded as applied. On a fresh Neo4j (no constraints, no MigrationLog) the underlying MATCH returns a
packages/decepticon/decepticon/middleware/kg_internal/migration_runner.py:62
↓ 4 callersMethodlist_plugins
Return every discovered plugin in (name, package)-sorted order.
packages/decepticon-core/decepticon_core/registry/plugins.py:198
↓ 4 callersFunctionlist_recordings
Return manifests for every ``.cast.manifest.json`` under ``evidence_dir``.
packages/decepticon/decepticon/tools/evidence/asciicast.py:168
↓ 4 callersMethodloadAcks
()
clients/launcher/internal/migrate/migrate.go:130
↓ 4 callersFunctionload_asset_types
Load AssetType taxonomy from ``seeds/asset_types.yaml``.
packages/decepticon/decepticon/skillogy/builder/seeds.py:87
↓ 4 callersFunctionload_canonical_subdomains
Return the canonical subdomain set. Reads the packaged ``subdomains.yaml`` once per call (no caching: the list is small and this function is
packages/decepticon/decepticon/skill_audit/canonical.py:19
↓ 4 callersFunctionload_profile
Get one profile by id, resolving `unknown_challenge` if missing.
packages/decepticon/decepticon/sandbox_web/waf_detector.py:214
↓ 4 callersFunctionlookup
Return every chapter whose slug matches the requested class.
packages/decepticon/decepticon/tools/references/methodology.py:162
↓ 4 callersFunctionmachineScopeTargets
(roe: unknown)
clients/shared/streaming/src/scope.ts:5
↓ 4 callersFunctionmain
(argv: list[str] | None = None)
packages/decepticon/decepticon/cli/zip.py:202
↓ 4 callersFunctionmigrateLegacyCredentials
(env map[string]string)
clients/launcher/cmd/legacy_credentials.go:68
↓ 4 callersFunctionmkApprovedScope
(t *testing.T, home, slug string)
clients/launcher/internal/engagement/picker_test.go:10
↓ 4 callersFunctionmkPlan
(t *testing.T, home, slug string, files ...string)
clients/launcher/internal/engagement/picker_test.go:20
↓ 4 callersMethodmutation_fields
(self)
packages/decepticon/decepticon/tools/web/graphql.py:184
↓ 4 callersFunctionnewFakeLangGraph
(t *testing.T, runs []map[string]any, cancelStatus int, cancelled *bool)
clients/launcher/internal/engagement/cancel_test.go:12
↓ 4 callersFunctionnormalize_slug
Lowercase, trim, convert spaces/underscores to hyphens. ``"SQL Injection"`` -> ``"sql-injection"``.
packages/decepticon/decepticon/tools/skills_registry.py:71
↓ 4 callersFunctionobjective
( identifier: str, stage: str, owner: str, status: ObjectiveStatus, *, blocked_by: lis
packages/decepticon/tests/unit/workflows/test_declared_edges_validation.py:50
↓ 4 callersFunctionops_available
True when the opscontrol daemon is actually REACHABLE. The socket is the ADR-0006 capability grant: a live daemon listens on it only when the
packages/decepticon/decepticon/tools/ops/client.py:30
↓ 4 callersMethodplan
( self, event: ChangeEvent, previous_snapshot: EngagementSnapshot, )
packages/decepticon/decepticon/runtime/cart.py:349
↓ 4 callersFunctionplanning_filesystem
()
packages/decepticon/tests/unit/agents/test_soundwave_planning_tools.py:11
↓ 4 callersFunctionpreviousGrapheme
(value: string, cursor: number)
clients/cli/src/components/composerCursor.ts:3
↓ 4 callersFunctionreadRunControls
()
clients/cli/src/utils/runControls.ts:11
↓ 4 callersMethodreap_orphaned_tmux_sessions
Kill decepticon-named tmux sockets this process does NOT own. Wired into the daemon's startup lifespan: if the previous daemon was SI
packages/decepticon/decepticon/sandbox_kernel/base.py:450
↓ 4 callersMethodrecord
Enqueue one Tier-A event; flush inline when the batch is full.
packages/decepticon/decepticon/telemetry/exporter.py:88
↓ 4 callersFunctionreferences_by_category
Return entries matching the given category slug.
packages/decepticon/decepticon/tools/references/catalog.py:347
↓ 4 callersMethodrefuse
( cls, code: str, detail: str, risk: str = "high", matched: tuple[str,
packages/decepticon-core/decepticon_core/types/roe.py:333
↓ 4 callersMethodremove
(self, session: str, key: str | None = None)
packages/decepticon/decepticon/sandbox_kernel/jobs.py:99
↓ 4 callersMethodrenderUnit
renderUnit produces the .service file body. The sandbox knobs are deliberately narrow: - Restart=on-failure with a 5s backoff covers the crash-recove
clients/launcher/internal/infracontrol/systemd.go:273
↓ 4 callersFunctionrequest
()
packages/decepticon/tests/unit/middleware/test_reporting_context.py:15
← previousnext →1,001–1,100 of 10,737, ranked by callers