Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BitterSecurity/Decepticon
/ functions
Functions
10,737 in github.com/BitterSecurity/Decepticon
⨍
Functions
10,737
◇
Types & classes
1,602
↳
Endpoints
45
↓ 9 callers
Method
neighbors
Return (edge, neighbor) pairs for a node. direction: "out" (src=node), "in" (dst=node), or "both".
packages/decepticon-core/decepticon_core/types/kg.py:452
↓ 9 callers
Function
neutralize_special_tokens
Defang chat-template special-token literals in untrusted content. Returns ``text`` with every recognized role-delimiter special token (``<|im
packages/decepticon/decepticon/middleware/_injection_detector.py:314
↓ 9 callers
Function
parseDesktopRuntime
(serve bool)
clients/launcher/cmd/desktop_runtime.go:80
↓ 9 callers
Function
parse_frontmatter
Split a SKILL.md into (frontmatter_dict, body). The frontmatter dict is the raw YAML mapping; nested ``metadata`` stays nested. The body is t
packages/decepticon/decepticon/skill_audit/frontmatter.py:26
↓ 9 callers
Function
parse_mcp_servers_env
Parse the JSON value of ``DECEPTICON_MCP__SERVERS``. Empty / whitespace / unset input returns ``()``. Malformed JSON logs a warning and also
packages/decepticon/decepticon/tools/mcp/client.py:159
↓ 9 callers
Function
push_analytic_rule
PUT a Scheduled Analytic Rule into Microsoft Sentinel via Azure Management REST.
packages/decepticon/decepticon/tools/defense/sentinel.py:127
↓ 9 callers
Function
push_detection_rule
POST a custom detection rule to Elastic via Kibana Detection Engine API.
packages/decepticon/decepticon/tools/defense/elastic.py:97
↓ 9 callers
Function
push_savedsearch
POST the saved-search to Splunk via REST. Reads the Splunk endpoint + HEC token from ConOps (``blue_team.splunk``). Tags the saved search ``d
packages/decepticon/decepticon/tools/defense/splunk.py:116
↓ 9 callers
Function
require
(condition: bool, detail: str)
model-catalog/generate.py:29
↓ 9 callers
Function
resolve_config
Resolve consent, endpoint, and identity into one config object.
packages/decepticon/decepticon/telemetry/config.py:166
↓ 9 callers
Method
risk_score
Monotonic-ish risk heuristic used for binary triage.
packages/decepticon/decepticon/tools/reversing/symbols.py:122
↓ 9 callers
Method
score
Composite rank in [0, 10]. - Missing CVSS → neutral 5.0 baseline - EPSS lifts CVSS up to +2 for p100, -1 for very low prob -
packages/decepticon/decepticon/tools/research/cve.py:100
↓ 9 callers
Function
search_cache
Grep the cached repo for ``pattern``. Returns ``(file, line, snippet)``. Uses ripgrep if available, falling back to ``grep -r``. Pure Python
packages/decepticon/decepticon/tools/references/fetch.py:172
↓ 9 callers
Method
start_background
Launch a command in a named tmux session without blocking. Binds the BackgroundJob to the submitted native command generation.
packages/decepticon/decepticon/sandbox_kernel/base.py:372
↓ 9 callers
Method
to_dict
(self)
packages/decepticon/decepticon/tools/research/chain.py:91
↓ 9 callers
Function
tool_capability
Confirm ``model`` advertises ``tools`` via ``/api/show`` capabilities. ``auth_token`` attaches Bearer auth for Ollama Cloud; local Ollama omi
config/ollama_probe.py:295
↓ 9 callers
Method
upload_files
(self, files)
packages/decepticon/tests/unit/artifacts/test_registry.py:361
↓ 9 callers
Function
validate_skill_file
Run every rule against a single SKILL.md and return all violations.
packages/decepticon/decepticon/skill_audit/rules.py:48
↓ 8 callers
Function
_build_cache
(root: Path)
packages/decepticon/tests/unit/references/test_h1_corpus.py:39
↓ 8 callers
Function
_build_runner
(record_path=None, dry_run=True, dispatcher=None)
packages/decepticon/tests/unit/runtime/test_cart.py:151
↓ 8 callers
Method
_check_engagement
(engagement: str)
packages/decepticon/decepticon/middleware/kg_internal/store.py:170
↓ 8 callers
Method
_ensure_client
(self)
packages/decepticon/decepticon/mcp_server/engagements.py:93
↓ 8 callers
Function
_entry
(slug: str)
packages/decepticon/decepticon/tools/references/fetch.py:56
↓ 8 callers
Function
_fetch
(url: str, **kw)
packages/decepticon/tests/unit/sandbox_web/test_fetch_chain.py:44
↓ 8 callers
Function
_field_clause_lucene
(field: str, modifier: str, value: Any)
packages/decepticon/decepticon/tools/defense/elastic.py:27
↓ 8 callers
Function
_hosts
Build a victim tuple from host names; IPs are placeholder strings.
packages/decepticon/tests/unit/benchmark/test_mhbench_provider.py:213
↓ 8 callers
Method
_http
Lazily create a connection-pooled HTTP client. Sharing one `httpx.Client` across requests is the supported pattern — it keeps the TCP
packages/decepticon/decepticon/backends/http_sandbox.py:201
↓ 8 callers
Function
_http_post
(url: str, body: bytes)
packages/decepticon/decepticon/telemetry/exporter.py:38
↓ 8 callers
Function
_json
(data: Any)
packages/decepticon/decepticon/tools/c2/havoc.py:30
↓ 8 callers
Function
_json
(data: Any)
packages/decepticon/decepticon/tools/web/tools.py:23
↓ 8 callers
Function
_make_challenge
(tmp_path: Path)
packages/decepticon/tests/unit/benchmark/test_harness.py:47
↓ 8 callers
Method
_make_fake_run
Return a fake subprocess.run that records calls.
packages/decepticon/tests/unit/references/test_fetch_comprehensive.py:272
↓ 8 callers
Function
_make_provider
()
packages/decepticon/tests/unit/benchmark/test_harness.py:58
↓ 8 callers
Function
_make_result
( challenge_id: str, level: int, tags: list[str], passed: bool, )
packages/decepticon/tests/unit/benchmark/test_scorer.py:11
↓ 8 callers
Method
_manager_key
(self, session: str, workspace_path: str)
packages/decepticon/decepticon/sandbox_kernel/base.py:198
↓ 8 callers
Method
_mask
Backend errors interpolate the resolved real path (e.g. ``/workspace/<engagement-slug>/...``); rewrite it back to the virtual path the
packages/decepticon/decepticon/middleware/filesystem.py:171
↓ 8 callers
Function
_minimal_run
(rule_id: str, severity_tag: str, level: str)
packages/decepticon/tests/unit/research/test_sarif.py:12
↓ 8 callers
Function
_model_max_output_tokens
Resolve a cloud-route default, preserving provider-specific limits. Opus/Sonnet 4.5 and Haiku 4.5 use 64000. Reviewed newer Claude models and
packages/decepticon/decepticon/llm/factory.py:133
↓ 8 callers
Function
_ok_ls
Build a successful backend ls response with the common 'entries' key.
packages/decepticon/tests/unit/tools/test_skills_loader.py:53
↓ 8 callers
Function
_parse_grep_line
(line: str)
packages/decepticon/decepticon/tools/references/fetch.py:228
↓ 8 callers
Function
_patch_probe
(monkeypatch: pytest.MonkeyPatch, fn)
packages/decepticon/tests/unit/sandbox_web/test_fetch_chain.py:34
↓ 8 callers
Function
_read_via_backend
Read a file via the deepagents backend protocol. Returns ``(content, error)``: exactly one of the two is non-None. The backend abstraction ro
packages/decepticon/decepticon/tools/skills.py:65
↓ 8 callers
Method
_rrf_fuse
Reciprocal-rank fusion of the two ranked legs, keyed by skill path. Each leg contributes ``1 / (rrf_k + rank)`` to a skill's score; a
packages/decepticon/decepticon/skillogy/server/neo4j_backend.py:839
↓ 8 callers
Function
_runtime_query
Limit server execution time for agent-facing read queries.
packages/decepticon/decepticon/skillogy/server/neo4j_backend.py:36
↓ 8 callers
Method
_setup_conops
(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
packages/decepticon/tests/unit/tools/test_defense_push.py:568
↓ 8 callers
Method
_setup_conops
(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
packages/decepticon/tests/unit/tools/test_defense_push.py:945
↓ 8 callers
Function
_state
(n: int)
packages/decepticon/tests/unit/middleware/test_step_budget.py:11
↓ 8 callers
Function
_static_fetch
(body: str)
packages/decepticon/tests/unit/test_passive_discovery.py:18
↓ 8 callers
Function
_stub_store
Build a KGStore whose execute_read/write record into a list. Returns ``(store, calls)`` where each call is a tuple of ``(cypher, params, enga
packages/decepticon/tests/unit/middleware/test_kg_migration_runner.py:94
↓ 8 callers
Method
_target
Return the stable tmux target for command dispatch.
packages/decepticon/decepticon/sandbox_kernel/tmux.py:363
↓ 8 callers
Function
_tools_by_name
(mw)
packages/decepticon/tests/unit/skillogy/test_acl.py:78
↓ 8 callers
Function
_unwrap_type
Unwrap NON_NULL / LIST wrappers. Returns ``(base_type_name, is_list, is_non_null)``.
packages/decepticon/decepticon/tools/web/graphql.py:89
↓ 8 callers
Function
_warn_deprecated
(name: str)
packages/decepticon/decepticon/tools/ad/tools.py:50
↓ 8 callers
Function
_write_defender_conops
(tmp_path: Path, defender_cfg: dict)
packages/decepticon/tests/unit/tools/test_defense_edr.py:49
↓ 8 callers
Method
all_api_methods
All API methods in default priority order. Used as a development convenience and for tests that want a fully-populated inventory witho
packages/decepticon-core/decepticon_core/types/llm.py:643
↓ 8 callers
Function
analyze_cookie
Analyse a single cookie for framework, structure, and weak entropy.
packages/decepticon/decepticon/tools/web/session.py:155
↓ 8 callers
Function
apply_transform
Apply one transform by name. Returns transformed URL or None if skipped.
packages/decepticon/decepticon/sandbox_web/url_transforms.py:75
↓ 8 callers
Function
classify_target
Pick the best-guess language and fuzz engine for a repo root. Walks up to ``max_files`` files to avoid exhausting the filesystem on giant mon
packages/decepticon/decepticon/tools/research/fuzz.py:91
↓ 8 callers
Method
download_files
(self, paths: list[str])
packages/decepticon/tests/unit/middleware/test_filesystem.py:78
↓ 8 callers
Method
evaluate
(self, challenge: Challenge, state, workspace)
packages/decepticon/tests/unit/benchmark/test_harness_cost.py:38
↓ 8 callers
Function
evaluate_time_window
( now: datetime, rules: MachineEnforcement, )
packages/decepticon-core/decepticon_core/types/roe.py:511
↓ 8 callers
Function
get_store
Singleton legacy-compat shim. First call constructs the underlying :class:`KGStore` from environment variables.
packages/decepticon/decepticon/tools/research/_state.py:230
↓ 8 callers
Function
ingest_sarif
Merge a parsed SARIF document into ``graph``. Returns the number of results ingested. Scanner identity is recorded on each vulnerability as `
packages/decepticon/decepticon/tools/research/sarif.py:136
↓ 8 callers
Method
invalidate
Force the next ``get()`` to re-read from disk.
config/oauth_token_store.py:207
↓ 8 callers
Method
invoke
Stream sub-agent execution (sync), emitting events to available channels.
packages/decepticon/decepticon/core/subagent_streaming.py:465
↓ 8 callers
Method
load_graph
(self)
packages/decepticon/tests/unit/research/test_tools.py:23
↓ 8 callers
Function
newTestCtx
(t *testing.T, env map[string]string, tty bool)
clients/launcher/internal/migrate/migrate_test.go:11
↓ 8 callers
Function
probeOllamaForOnboard
probeOllamaForOnboard returns models on the host that advertise “tools“. Multi-candidate URL strategy mirrors the host-side reachability probe; the fi
clients/launcher/cmd/ollama_models.go:35
↓ 8 callers
Method
read
(self, file_path: str, offset: int = 0, limit: int = 2000)
packages/decepticon/tests/unit/middleware/test_filesystem.py:45
↓ 8 callers
Function
read_json_file
Read and parse a JSON file. Returns None on any I/O error. Caller raises ``litellm.AuthenticationError`` when None is returned and credential
config/oauth_token_store.py:52
↓ 8 callers
Method
record_step
Record an identifier-MASKED reasoning/trajectory step (RESEARCH only). ``step`` carries the raw turn as-is (role, session_id, step, and the t
packages/decepticon/decepticon/telemetry/sink.py:214
↓ 8 callers
Function
registry_from_state
(raw: str | None)
packages/decepticon/decepticon/middleware/artifact_tools.py:29
↓ 8 callers
Function
resolve_workflow
Keep checkpoint content even when the registered source later changes.
packages/decepticon/decepticon/middleware/workflow.py:67
↓ 8 callers
Method
run
run executes a compose command via the detected runtime.
clients/launcher/internal/compose/compose.go:186
↓ 8 callers
Function
sigma_to_kql
Translate a Sigma rule dict to a KQL query string for Sentinel.
packages/decepticon/decepticon/tools/defense/sentinel.py:82
↓ 8 callers
Function
sign_request
Return the BHCE auth headers for the given HTTP request. Args: token_id: BHCE API token ID (the public half — also called "To
packages/decepticon/decepticon/tools/ad/bhce_client.py:85
↓ 8 callers
Method
start
Dispatch a background engagement run and return its handle.
packages/decepticon/decepticon/mcp_server/engagements.py:158
↓ 8 callers
Function
withOllamaProbeClient
withOllamaProbeClient swaps ollamaProbeClient for one test.
clients/launcher/cmd/ollama_models_test.go:16
↓ 8 callers
Function
with_engagement_property
Return ``props`` with an ``engagement`` key set to the right label. Precedence (first non-empty wins): ``override`` (caller pins it) → an ``e
packages/decepticon/decepticon/tools/research/_engagement_scope.py:43
↓ 8 callers
Method
wrap_tool_call
(self, request, handler)
packages/decepticon/decepticon/middleware/event_logging.py:634
↓ 7 callers
Method
Available
Available reports whether the manager can act on this host. `noopManager` always returns false; the platform-specific ones probe their init system bef
clients/launcher/internal/infracontrol/service.go:37
↓ 7 callers
Method
Listen
Listen binds the UDS at socketPath and runs the HTTP server. The socket is removed on shutdown; stale sockets are removed before binding.
clients/launcher/internal/infracontrol/server_listen.go:16
↓ 7 callers
Function
LoadEnv
LoadEnv reads a .env file and returns key-value pairs. It handles comments (#), empty lines, and optional quoting.
clients/launcher/internal/config/config.go:54
↓ 7 callers
Function
ScanEngagements
(home string)
clients/launcher/internal/engagement/picker.go:144
↓ 7 callers
Method
Up
Up starts services in detached mode and blocks until healthchecks pass. `--wait` (Docker Compose 2.0+) makes `up` block until each service's compose
clients/launcher/internal/compose/compose.go:221
↓ 7 callers
Function
_adapt_nmap_xml
Parse Nmap XML output and record host + service + entrypoint nodes.
packages/decepticon/decepticon/middleware/kg_internal/ingest.py:131
↓ 7 callers
Function
_assert_planning_tools
(tools: list[Any], middleware: list[Any])
packages/decepticon/decepticon/agents/standard/soundwave.py:88
↓ 7 callers
Function
_build_cache
(root: Path)
packages/decepticon/tests/unit/references/test_oneliners.py:41
↓ 7 callers
Function
_build_parser
()
packages/decepticon/decepticon/cli/scan.py:73
↓ 7 callers
Function
_cap_cache_control
(system_blocks: list[dict[str, Any]], max_blocks: int = 4)
config/claude_code_handler.py:357
↓ 7 callers
Function
_cfg
(mode: TelemetryMode, endpoint: str | None = "https://gw.example")
packages/decepticon/tests/unit/telemetry/test_telemetry_behavioral.py:18
↓ 7 callers
Method
_challenge
(self)
packages/decepticon/tests/unit/benchmark/test_cybergym_provider.py:112
↓ 7 callers
Method
_compose_assignment
Apply a composed per-role model override to ``assignment``. Precedence (env > ``PluginBundle.models`` > tier default) is owned by ``d
packages/decepticon/decepticon/llm/factory.py:1832
↓ 7 callers
Function
_count_by_severity
(graph: KnowledgeGraph)
packages/decepticon/decepticon/tools/reporting/executive.py:19
↓ 7 callers
Function
_ct_body
(hosts: list[str])
packages/decepticon/tests/unit/test_passive_discovery.py:14
↓ 7 callers
Function
_dir_size
(path: Path)
packages/decepticon/decepticon/tools/references/fetch.py:79
↓ 7 callers
Function
_event
(**overrides: object)
packages/decepticon-core/tests/test_ocsf_event.py:22
↓ 7 callers
Function
_extract_interactive_output
Extract new output from an interactive program (no PS1 marker). Compares the current screen against the baseline to find new content produced
packages/decepticon/decepticon/sandbox_kernel/tmux.py:1128
↓ 7 callers
Function
_field_clause
(field: str, modifier: str, value: Any)
packages/decepticon/decepticon/tools/defense/splunk.py:53
↓ 7 callers
Function
_field_clause_kql
(field: str, modifier: str, value: Any)
packages/decepticon/decepticon/tools/defense/sentinel.py:53
← previous
next →
401–500 of 10,737, ranked by callers