MCPcopy Create free account

hub / github.com/BitterSecurity/Decepticon / functions

Functions10,737 in github.com/BitterSecurity/Decepticon

↓ 1 callersFunction_git_provenance
(workspace: Path)
packages/decepticon/decepticon/tools/reporting/sarif_enhanced.py:69
↓ 1 callersFunction_give_up
Return the most honest failure result, preferring suspect content.
packages/decepticon/decepticon/sandbox_web/fetch_chain.py:807
↓ 1 callersFunction_glob_match
(pattern: str, candidate: str)
packages/decepticon-core/decepticon_core/types/roe.py:360
↓ 1 callersFunction_glyph
(configured: bool, active: bool)
packages/decepticon/decepticon/cli/auth.py:99
↓ 1 callersFunction_group_detector
Detector that reports only a capture group — the surrounding text stays. Used for credential pairs, where masking the whole `senha:123456` would
packages/decepticon/decepticon/telemetry/redact.py:111
↓ 1 callersFunction_halted_message
(tool_name: str, tool_call_id: str | None)
packages/decepticon/decepticon/middleware/roe.py:138
↓ 1 callersFunction_hard_marker_hits
(body_lower: str)
packages/decepticon/decepticon/sandbox_web/validators.py:117
↓ 1 callersFunction_has_auth_eku
(template: dict[str, Any])
packages/decepticon/decepticon/tools/ad/adcs.py:62
↓ 1 callersFunction_has_external_ref
(value: Any)
packages/decepticon/decepticon/middleware/kg_internal/ingest.py:593
↓ 1 callersFunction_hash_diff
(diff: str)
packages/decepticon/decepticon/tools/research/patch.py:48
↓ 1 callersFunction_hash_output
(stdout: str, stderr: str, exit_code: int)
packages/decepticon/decepticon/tools/research/poc.py:231
↓ 1 callersFunction_headers_dict
(resp)
packages/decepticon/decepticon/sandbox_web/waf_detector.py:108
↓ 1 callersFunction_hmac_equal
(expected: str, stored: Any)
packages/decepticon/decepticon/tools/evidence/tools.py:52
↓ 1 callersFunction_hmac_key
(arg_value: str | None)
packages/decepticon/decepticon/cli/audit.py:45
↓ 1 callersFunction_host_candidates
Split one shell token into the host-shaped pieces worth validating. Strips a trailing path (``evil.com/admin`` → ``evil.com``) while preservi
packages/decepticon/decepticon/middleware/_command_targets.py:310
↓ 1 callersFunction_host_from_authority
Return the real connect host from a URL authority, RFC-3986-correctly. Drops userinfo (everything through the last ``@``) and the port, and d
packages/decepticon/decepticon/middleware/_command_targets.py:215
↓ 1 callersFunction_http_fingerprint
Probe the subdomain over HTTP(S) and check for the error fingerprint.
packages/decepticon/decepticon/tools/research/subdomain_takeover.py:287
↓ 1 callersFunction_hydrate_one
(slug: str, root: Path | None)
packages/decepticon/decepticon/tools/references/hydrate.py:75
↓ 1 callersFunction_id_list
(value: Any, pattern: re.Pattern[str], limit: int)
packages/decepticon/decepticon/telemetry/sanitizer.py:83
↓ 1 callersFunction_impact_subscore
(c: float, i: float, a: float)
packages/decepticon/decepticon/tools/reporting/cvss.py:136
↓ 1 callersMethod_import_playwright
()
packages/decepticon/decepticon/tools/browser/tools.py:132
↓ 1 callersFunction_index
()
packages/decepticon/decepticon/tools/mitre.py:31
↓ 1 callersFunction_ingest_aces
Translate ``Aces[]`` into edges. Direction is principal → target.
packages/decepticon/decepticon/tools/ad/bloodhound.py:381
↓ 1 callersFunction_ingest_child_objects
``ChildObjects[]`` on Domain / OU / Container — forward ``parent CONTAINS child`` edges (no flip needed).
packages/decepticon/decepticon/tools/ad/bloodhound.py:539
↓ 1 callersFunction_ingest_contained_by
Trap 3: ``ContainedBy`` is the child carrying a pointer to its parent. Flip into canonical ``parent CONTAINS child`` edges.
packages/decepticon/decepticon/tools/ad/bloodhound.py:518
↓ 1 callersFunction_ingest_delegation_edges
``AllowedToDelegate[]`` + ``AllowedToActOnBehalfOfOtherIdentity``.
packages/decepticon/decepticon/tools/ad/bloodhound.py:452
↓ 1 callersFunction_ingest_dump_smsa_password
Computer ``DumpSMSAPassword[]`` → ``DUMP_SMSA_PASSWORD`` edges. Each entry is a ``TypedPrincipal`` pointing at the sMSA / gMSA whose password
packages/decepticon/decepticon/tools/ad/bloodhound.py:619
↓ 1 callersFunction_ingest_element
Emit a node for one ``finding.elements[i]`` + an ``AFFECTS`` edge from the vuln. Returns silently when the element has no recognisable type or
packages/decepticon/decepticon/tools/contracts/slither.py:205
↓ 1 callersFunction_ingest_enterprise_ca_edges
``EnterpriseCA`` extras: ``EnabledCertTemplates[]`` and ``HostingComputer``. ``EnabledCertTemplates`` is a list of ``TypedPrincipal`` pointin
packages/decepticon/decepticon/tools/ad/bloodhound.py:933
↓ 1 callersFunction_ingest_finding
(state: _IngestState, finding: dict[str, Any])
packages/decepticon/decepticon/tools/contracts/slither.py:337
↓ 1 callersFunction_ingest_gp_links
Domain / OU ``Links[]`` → GP_LINK edges from GPO to the container.
packages/decepticon/decepticon/tools/ad/bloodhound.py:563
↓ 1 callersFunction_ingest_gpo_changes
Computer ``GPOChanges`` → direct AdminTo / CAN_ACCESS edges per principal granted that primitive on this host by linked GPOs.
packages/decepticon/decepticon/tools/ad/bloodhound.py:834
↓ 1 callersFunction_ingest_has_sid_history
User/Group ``HasSIDHistory[]`` → ``HAS_SID_HISTORY`` edges. Each entry is a ``TypedPrincipal`` whose SID appears in the principal's SID histo
packages/decepticon/decepticon/tools/ad/bloodhound.py:673
↓ 1 callersFunction_ingest_issuance_policy_link
``IssuancePolicy.GroupLink`` (``TypedPrincipal`` pointing at a Group SID) is the core of ESC13 — it grants membership in the target group to w
packages/decepticon/decepticon/tools/ad/bloodhound.py:969
↓ 1 callersFunction_ingest_local_groups
Computer ``LocalGroups[]`` → ``ADLocalGroup`` nodes + direct access edges per RID. Per local group: emits one ``ADLocalGroup`` node, ``co
packages/decepticon/decepticon/tools/ad/bloodhound.py:726
↓ 1 callersFunction_ingest_memberships
``MemberOf[]`` (per-object) → MEMBER_OF edges. Also processes ``Members[]`` on groups (which carry the reverse: members → group).
packages/decepticon/decepticon/tools/ad/bloodhound.py:416
↓ 1 callersFunction_ingest_mrxn
Scan filenames and markdown in the Mr-xn mirror for CVE IDs + URLs. Walks the repo without following symlinks: an upstream symlink pointing o
packages/decepticon/decepticon/tools/references/cve_poc_index.py:136
↓ 1 callersFunction_ingest_object
Ingest one object (user/computer/group/etc.) from an items list.
packages/decepticon/decepticon/tools/ad/bloodhound.py:327
↓ 1 callersFunction_ingest_root_ca_for
RootCA ``DomainSID`` → ``ROOT_CA_FOR`` edge to the trusted Domain. BHCE 5.x emits ``rootcas[].DomainSID`` (top-level) and mirrors it into ``P
packages/decepticon/decepticon/tools/ad/bloodhound.py:648
↓ 1 callersFunction_ingest_sessions
Trap 2: Sessions / PrivilegedSessions / RegistrySessions all carry ``HasSession`` from computer → user. We preserve that direction and add ``p
packages/decepticon/decepticon/tools/ad/bloodhound.py:482
↓ 1 callersFunction_ingest_spn_targets
User ``SPNTargets[]`` → ``WRITE_SPN`` edges per target computer. Each entry is ``{ComputerSID, Port, Service}`` and marks a SPN the user coul
packages/decepticon/decepticon/tools/ad/bloodhound.py:587
↓ 1 callersFunction_ingest_trickest
(repo: Path, index: PoCIndex)
packages/decepticon/decepticon/tools/references/cve_poc_index.py:113
↓ 1 callersFunction_ingest_trusts
Trap 4: Trust 4-way split. Replaces the legacy single ``TrustedBy`` edge.
packages/decepticon/decepticon/tools/ad/bloodhound.py:990
↓ 1 callersFunction_ingest_user_rights
Computer ``UserRights[]`` → direct CAN_ACCESS edges per principal that holds a known lateral-movement privilege.
packages/decepticon/decepticon/tools/ad/bloodhound.py:889
↓ 1 callersMethod_inject_ps1_marker
Install the native completion hook and a display-only prompt marker.
packages/decepticon/decepticon/sandbox_kernel/tmux.py:536
↓ 1 callersFunction_inject_subscription_routes
Conditionally add subscription OAuth model routes and fallbacks. Only registers routes for providers whose ``DECEPTICON_AUTH_*`` flag is trut
config/litellm_dynamic_config.py:1036
↓ 1 callersFunction_input_sha
SHA of the embedding *input identity* — the model PLUS the text. Folding the model in means swapping ``DECEPTICON_SKILLOGY_EMBED_MODEL`` (eve
packages/decepticon/decepticon/skillogy/embed_ingest.py:41
↓ 1 callersFunction_install
Install ``stub``, or top up whatever another handler test installed first. These stubs are process-global: the first handler test to import wins,
packages/decepticon/tests/unit/llm/test_claude_code_handler_streaming.py:49
↓ 1 callersFunction_install
Install ``stub``, or top up whatever another handler test installed first. These stubs are process-global: the first handler test to import wins,
packages/decepticon/tests/unit/llm/test_codex_chatgpt_handler_streaming.py:61
↓ 1 callersFunction_ip_blocked
(ip_str: str)
packages/decepticon/decepticon/sandbox_web/safety.py:43
↓ 1 callersFunction_is_alive
(obj: dict[str, Any])
packages/decepticon/decepticon/skillogy/builder/mitre_stix.py:50
↓ 1 callersFunction_is_crash
A PoC reproduced the bug: crashed the vulnerable build. Requires an *integer* ``vul_exit_code`` outside ``{0, 300}``. The ``isinstance`` guar
benchmark/providers/cybergym.py:58
↓ 1 callersFunction_is_dead_pattern
True when a normalized pattern can never match a real DNS/IP target. Host rules match DNS names by equality, globs match hostnames, CIDRs match
packages/decepticon-core/decepticon_core/types/roe.py:222
↓ 1 callersFunction_is_detected
(graph: KnowledgeGraph, finding_id: str)
packages/decepticon/decepticon/tools/defense/brief.py:45
↓ 1 callersFunction_is_header_separator
(cells: list[str])
packages/decepticon/decepticon/tools/references/h1_corpus.py:129
↓ 1 callersFunction_is_hot
(path: Path)
packages/decepticon/decepticon/tools/research/scanner_tools.py:262
↓ 1 callersFunction_is_ip_network
(token: str)
packages/decepticon/decepticon/middleware/_command_targets.py:302
↓ 1 callersFunction_is_ip_or_cidr
(token: str)
packages/decepticon/decepticon/middleware/egress.py:56
↓ 1 callersFunction_is_mobile_tls
(t: str)
packages/decepticon/decepticon/sandbox_web/fetch_chain.py:219
↓ 1 callersFunction_is_noisy
(path: Path)
packages/decepticon/decepticon/tools/research/scanner_tools.py:257
↓ 1 callersFunction_is_nse_vuln_script
Return True if this NSE script reports vulnerability data.
packages/decepticon/decepticon/tools/research/tools.py:191
↓ 1 callersFunction_is_security_relevant
Heuristic: is this file change security-relevant?
packages/decepticon/decepticon/tools/research/diff_scope.py:82
↓ 1 callersFunction_is_terminal
(status: str)
packages/decepticon/decepticon/tools/ad/bh_tools.py:235
↓ 1 callersFunction_iso_now
()
benchmark/dreadgoad/harness.py:141
↓ 1 callersFunction_iso_now
()
benchmark/dreadgoad/providers/dreadgoad.py:27
↓ 1 callersFunction_iter_balanced_json_objects
Yield candidate JSON object substrings from arbitrary text. Linear scan that emits any ``{...}`` substring with matching brace depth and skip
benchmark/providers/exploitbench.py:751
↓ 1 callersFunction_iter_documents
(manifest: Any)
packages/decepticon/decepticon/tools/cloud/k8s.py:67
↓ 1 callersFunction_iter_files
Deterministic sorted walk, extension filter, hard cap. Sorting by posix path guarantees shard_idx stability across hosts.
packages/decepticon/decepticon/tools/research/scanner_tools.py:235
↓ 1 callersFunction_iter_findings
Yield (node, props) pairs for every Finding-like node in the graph. Accepts both decepticon_core ``NodeKind`` enum values and string kinds on
packages/decepticon/decepticon/tools/research/sarif_export.py:144
↓ 1 callersFunction_iter_postman_items
(items: Any)
packages/decepticon/decepticon/middleware/kg_internal/ingest.py:638
↓ 1 callersFunction_iter_trickest_files
Return every ``CVE-*.md`` file under year-numbered directories.
packages/decepticon/decepticon/tools/references/cve_poc_index.py:79
↓ 1 callersFunction_jitter
()
packages/decepticon/decepticon/sandbox_web/fetch_chain.py:456
↓ 1 callersFunction_json
(data: Any)
packages/decepticon/decepticon/tools/browser/tools.py:289
↓ 1 callersFunction_json
(data: Any)
packages/decepticon/decepticon/tools/research/tech_detection.py:227
↓ 1 callersFunction_json
(data: Any)
packages/decepticon/decepticon/tools/reporting/viewer.py:25
↓ 1 callersFunction_json
(data: Any)
packages/decepticon/decepticon/tools/reporting/sarif_enhanced.py:25
↓ 1 callersFunction_json
(data: Any)
packages/decepticon/decepticon/tools/proxy/tools.py:165
↓ 1 callersFunction_json
(data: Any)
packages/decepticon/decepticon/tools/orchestration/finish_gate.py:21
↓ 1 callersFunction_json_ok
True if text parses as non-empty JSON, False if parses-but-empty, None if not parseable.
packages/decepticon/decepticon/sandbox_web/validators.py:145
↓ 1 callersFunction_jsonable
(value: Any)
packages/decepticon/decepticon/runtime/shutdown.py:495
↓ 1 callersFunction_judge_says_duplicate
Interpret a judge's raw dict into ``(is_duplicate, reason)``.
packages/decepticon/decepticon/tools/research/dedupe.py:180
↓ 1 callersMethod_key
(self, host: str, impersonate: str)
packages/decepticon/decepticon/sandbox_web/transport.py:50
↓ 1 callersFunction_kg_backend_name
Always returns 'neo4j' — preserved for compat with the older ``backend_health`` tool that surfaced this string to operators.
packages/decepticon/decepticon/tools/research/_state.py:277
↓ 1 callersFunction_kickoff_prompt
(challenge: CVEBenchChallenge)
benchmark/cve_bench/live.py:70
↓ 1 callersFunction_kill_tmux_socket
Kill the tmux server backing a single decepticon socket. ``tmux -L <session> kill-server`` terminates the server (and reaps its bash children
packages/decepticon/decepticon/sandbox_kernel/base.py:103
↓ 1 callersFunction_kind_label
Reduce a node kind to a lowercase string so enum and str inputs compare equal.
packages/decepticon/decepticon/tools/research/sarif_export.py:136
↓ 1 callersFunction_langsmith_trace_url
Return a navigable LangSmith UI link for a given run/trace id. Tenant-scoped URL requires the workspace slug, which we don't know statically
benchmark/dreadgoad/harness.py:68
↓ 1 callersFunction_last_human_text
The most recent human-message text — the objective/instruction context.
packages/decepticon/decepticon/middleware/event_logging.py:163
↓ 1 callersFunction_le_hex_to_ipv4
Convert a little-endian 8-hex-char /proc word to a dotted-quad.
packages/decepticon/decepticon/sandbox_kernel/egress.py:289
↓ 1 callersFunction_leaf_types
(annotation: Any)
packages/decepticon/tests/unit/tools/test_planning_skill_schemas.py:46
↓ 1 callersFunction_line_is_exempt
(line: str, ext: str)
packages/decepticon/decepticon/sandbox_web/bias_check.py:126
↓ 1 callersFunction_list_decepticon_tmux_sockets
List decepticon-owned tmux socket names on the host. Each ``tmux -L <name>`` creates a socket at ``/tmp/tmux-<uid>/<name>`` (see ``man tmux``
packages/decepticon/decepticon/sandbox_kernel/base.py:84
↓ 1 callersFunction_live_sandbox_backend
Resolve the CURRENT run's sandbox backend, not the graph-build-time one. The backend captured when the graph is compiled (``OPPLANMiddleware(back
packages/decepticon/decepticon/tools/opplan.py:292
↓ 1 callersFunction_load
(name: str)
packages/decepticon/tests/unit/llm/test_oauth_handlers.py:94
↓ 1 callersFunction_load_api_document
(path: Path)
packages/decepticon/decepticon/middleware/kg_internal/ingest.py:607
↓ 1 callersFunction_load_config
()
packages/decepticon/decepticon/tools/mcp/registry.py:38
↓ 1 callersFunction_load_deconfliction
(workspace: str)
packages/decepticon/decepticon/middleware/engagement.py:352
↓ 1 callersFunction_load_env_file
Set unset keys from a KEY=VALUE .env file. Never overrides the live env.
packages/decepticon/decepticon/cli/auth.py:73
↓ 1 callersFunction_load_findings
()
packages/decepticon/decepticon/tools/reporting/finding_epistemics.py:119
↓ 1 callersFunction_load_graph
Import the module and pull out the compiled graph attribute.
packages/decepticon/decepticon/server/plugins_api.py:100
← previousnext →2,401–2,500 of 10,737, ranked by callers