Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BitterSecurity/Decepticon
/ types & classes
Types & classes
1,602 in github.com/BitterSecurity/Decepticon
⨍
Functions
10,737
◇
Types & classes
1,602
↳
Endpoints
45
↓ 86 callers
Class
KnowledgeGraph
In-memory engagement knowledge graph. Provides typed node/edge storage with query helpers for Python-side reasoning. The authoritative persi
packages/decepticon-core/decepticon_core/types/kg.py:384
↓ 55 callers
Class
EngagementFilesystemBackend
Map virtual /workspace paths to /workspace/<engagement> internally.
packages/decepticon/decepticon/middleware/filesystem.py:69
↓ 54 callers
Class
Credentials
User's available LLM credentials, in priority order. ``methods`` lists each configured AuthMethod, ordered by user preference. Each entry is
packages/decepticon-core/decepticon_core/types/llm.py:630
↓ 48 callers
Class
LLMFactory
Creates and caches LangChain ChatModel instances per agent role. Routes all models through LiteLLM proxy. Supports primary + fallback model r
packages/decepticon/decepticon/llm/factory.py:1784
↓ 48 callers
Class
RoEGuardrailMiddleware
Evaluate every bash tool call against the engagement's RoE. Args: sink: ``RoEAuditSink`` instance. The middleware records every
packages/decepticon/decepticon/middleware/roe.py:268
↓ 46 callers
Class
RecordingBackend
packages/decepticon/tests/unit/middleware/test_filesystem.py:34
↓ 43 callers
Class
DaemonSandbox
SandboxBase configured for direct, in-container execution. Args: container_name: Cosmetic identifier surfaced via ``.id`` and
packages/decepticon/decepticon/sandbox_kernel/daemon.py:83
↓ 42 callers
Class
_FakeKGStore
Captures every ``record_observations`` call so tests can inspect the observation graph the ingest would write.
packages/decepticon/tests/unit/ad/test_bloodhound_kgstore.py:30
↓ 41 callers
Class
TmuxSessionManager
Manages a single named tmux session inside the sandbox container. Runs tmux subcommands via ``subprocess.run([*self._exec_prefix, "tmux", …])``.
packages/decepticon/decepticon/sandbox_kernel/tmux.py:298
↓ 40 callers
Class
_FakeKGStore
Captures every ``execute_write`` call so tests can inspect the queries and parameter shape.
packages/decepticon/tests/unit/ad/test_adcs_post.py:20
↓ 35 callers
Class
HTTPSandbox
A `BaseSandbox` that talks to a `decepticon.sandbox_server` daemon. The peer endpoint is a FastAPI service running inside the sandbox contain
packages/decepticon/decepticon/backends/http_sandbox.py:158
↓ 34 callers
Class
StepBudgetMiddleware
Inject wrap-up guidance as the run approaches its step budget.
packages/decepticon/decepticon/middleware/step_budget.py:24
↓ 33 callers
Class
RoEAuditSink
Append RoE decisions to an HMAC-chained JSONL ledger. Construction kwargs: path: filesystem path. Parent directory is created on demand.
packages/decepticon/decepticon/middleware/_audit_sink.py:79
↓ 29 callers
Class
BudgetEnforcementMiddleware
Hard-pause when engagement or per-agent USD spend caps are hit. Construct once per engagement (or globally — the middleware reads scope from
packages/decepticon/decepticon/middleware/budget.py:214
↓ 25 callers
Class
OPPLANMiddleware
Domain-specific OPPLAN tracking for red team engagements. Tools execute CRUD logic directly via InjectedState, appearing as proper `tool` typ
packages/decepticon/decepticon/middleware/opplan.py:403
↓ 25 callers
Class
_StubBackend
In-process stand-in for ``Neo4jBackend`` used by the tool wrappers. Records calls + lets each test pin a canned response per method.
packages/decepticon/tests/unit/middleware/test_skillogy.py:143
↓ 24 callers
Class
TelemetrySink
Consent-gated, fail-closed Tier-A event sink.
packages/decepticon/decepticon/telemetry/sink.py:26
↓ 24 callers
Class
_FakeClient
packages/decepticon/tests/unit/mcp_server/test_engagements.py:79
↓ 23 callers
Class
SubAgentSpec
Description of a subagent that can be attached to a main agent. Used by ``load_subagents_for_parent`` to discover subagents registered via th
packages/decepticon-core/decepticon_core/plugin_loader.py:324
↓ 22 callers
Class
EngagementClient
Async bridge from MCP tool calls to a running Decepticon LangGraph server. ``client`` is the ``langgraph_sdk`` async client. It is injectable so
packages/decepticon/decepticon/mcp_server/engagements.py:81
↓ 21 callers
Class
HTTPHistory
Bounded request/response history with search + replay support. Pairs are indexed by request ID so the agent can call ``get_by_id``/``replay``
packages/decepticon/decepticon/tools/web/http.py:90
↓ 21 callers
Class
MHBenchProvider
Benchmark provider wrapping the upstream MHBench CLI. Decepticon delegates topology lifecycle (setup / teardown) to MHBench's ``main.py`` and
benchmark/providers/mhbench.py:278
↓ 21 callers
Class
SearchRuntimeMiddleware
packages/decepticon/decepticon/middleware/search_runtime.py:171
↓ 21 callers
Class
SkillogyMiddleware
Wire the agent to the skillogy knowledge graph (Neo4j). Activation: **on by default.** Skillogy is the canonical skill-retrieval backend; the
packages/decepticon/decepticon/middleware/skillogy.py:402
↓ 21 callers
Class
_StubStore
Captures record_observations payload; returns a fixed shape.
packages/decepticon/tests/unit/middleware/test_kg_ingest_unit.py:31
↓ 20 callers
Class
FilterConfig
Configuration for filtering which challenges to run.
benchmark/schemas.py:187
↓ 20 callers
Class
_FakeRequest
Minimal duck-typed stand-in for the AgentMiddleware request object.
packages/decepticon/tests/unit/middleware/test_engagement.py:25
↓ 20 callers
Class
_FakeStore
Minimal fake store used to drive plan_chains / promote_chain etc.
packages/decepticon/tests/unit/research/test_chain.py:63
↓ 19 callers
Class
CaidoClient
Thin shell over the Caido CLI used by the ``@tool`` wrappers. Constructed once per tool call from :class:`CaidoConfig`. Splitting this out of
packages/decepticon/decepticon/tools/proxy/tools.py:67
↓ 19 callers
Interface
Command
clients/cli/src/commands/types.ts:41
↓ 19 callers
Class
_Cache
Tiny JSON cache with O(1) LRU eviction. Backed by ``collections.OrderedDict`` — promotion on ``get`` and eviction on ``set`` are both O(1), r
packages/decepticon/decepticon/tools/research/cve.py:126
↓ 19 callers
Class
_FakeEntryPoint
Stand-in for ``importlib.metadata.EntryPoint`` used in tests.
packages/decepticon/tests/unit/test_plugin_loader.py:15
↓ 18 callers
Class
SandboxNotificationMiddleware
Auto-deliver background-job completions to the agent + CLI.
packages/decepticon/decepticon/middleware/notifications.py:117
↓ 18 callers
Class
StreamingRunnable
Wraps a compiled LangGraph agent to stream events during invoke()/ainvoke(). Drop-in replacement for the runnable field in CompiledSubAgent.
packages/decepticon/decepticon/core/subagent_streaming.py:170
↓ 18 callers
Class
ToolModel
packages/decepticon/tests/unit/search_v2/helpers.py:13
↓ 17 callers
Class
HTTPSession
HTTP client wrapper that records everything to an HTTPHistory. The cookie jar and default headers are shared across calls so the agent can sc
packages/decepticon/decepticon/tools/web/http.py:180
↓ 17 callers
Class
UntrustedOutputMiddleware
Wrap untrusted tool output with provenance + risk markers. The middleware also appends a static system-prompt block telling the model how to
packages/decepticon/decepticon/middleware/untrusted_output.py:161
↓ 16 callers
Class
BackgroundJobTracker
In-memory background-job registry keyed by session name.
packages/decepticon/decepticon/sandbox_kernel/jobs.py:44
↓ 16 callers
Class
BenchmarkConfig
Global benchmark runner configuration.
benchmark/config.py:27
↓ 16 callers
Class
Challenge
A single benchmark challenge definition.
benchmark/schemas.py:26
↓ 16 callers
Class
OPPLAN
Operations Plan — the tactical task tracker for the ralph loop. The autonomous loop selects a ready leaf from the versioned graph, executes i
packages/decepticon-core/decepticon_core/types/engagement.py:533
↓ 16 callers
Class
WorkflowCatalog
Immutable lookup built from explicitly registered documents.
packages/decepticon/decepticon/workflows/catalog.py:12
↓ 16 callers
Class
_FakeKGStore
Captures every ``record_observations`` call so tests can inspect the observation graph the ingest would write.
packages/decepticon/tests/unit/contracts/test_slither_kgstore.py:22
↓ 15 callers
Class
FilesystemMiddleware
FilesystemMiddleware with Decepticon's bash tool as the only executor.
packages/decepticon/decepticon/middleware/filesystem.py:457
↓ 15 callers
Class
Harness
Runs benchmark challenges through the decepticon main agent. The decepticon agent handles the full kill chain: 1. Reviews the pre-seeded OP
benchmark/harness.py:131
↓ 15 callers
Class
KGMiddleware
Attach the KG to an agent. Parameters ---------- store ``KGStore`` instance to bind tools and summary queries to. When ``
packages/decepticon/decepticon/middleware/kg.py:77
↓ 15 callers
Class
ModelAssignment
Primary + ordered fallbacks for an agent role. ``fallbacks`` mirrors the credentials priority list past the primary: every method the user co
packages/decepticon-core/decepticon_core/types/llm.py:889
↓ 15 callers
Class
ModelOverrideMiddleware
Per-invocation model swap driven by Runtime context / input state. Wired into every agent's middleware stack ahead of ``ModelFallbackMiddlewa
packages/decepticon/decepticon/middleware/model_override.py:138
↓ 15 callers
Class
Redactor
Stateful, stable identifier masker. One instance per session.
packages/decepticon/decepticon/telemetry/redact.py:182
↓ 15 callers
Class
SubAgentTaskSpec
Compact handoff payload for a specialist sub-agent invocation. Fields: * ``objective`` — one-sentence statement of what the child must do.
packages/decepticon/decepticon/agents/task_spec.py:40
↓ 15 callers
Class
_FakeBackend
Stand-in for ``Neo4jBackend`` shaped exactly like the four methods ``build_app`` calls — health, find_skill, load_skill, traverse, query_moc_s
packages/decepticon/tests/unit/skillogy/test_app.py:20
↓ 14 callers
Class
ActorContext
packages/decepticon/decepticon/artifacts/models.py:58
↓ 14 callers
Class
EventLogMiddleware
Emit compact engagement events to ``events.jsonl`` as the agent runs. Constructible with no arguments; everything is resolved per-call from `
packages/decepticon/decepticon/middleware/event_logging.py:311
↓ 14 callers
Class
Exploitability
Fused exploitability record for a single CVE. ``score`` ∈ [0, 10] blends CVSS base, EPSS probability, and KEV flag into one monotonic rank. H
packages/decepticon/decepticon/tools/research/cve.py:74
↓ 14 callers
Class
RecordingMiddleware
Capture every model + tool round-trip to a JSONL record file. Construct once per engagement with the desired output path. The sink is opened
packages/decepticon/decepticon/runtime/recording.py:233
↓ 14 callers
Class
ReplayMiddleware
Serve recorded responses for matching model/tool requests; bypass the runtime. Construct with the path to a JSONL produced by :class:`RecordingMi
packages/decepticon/decepticon/runtime/recording.py:326
↓ 14 callers
Class
_FakeGraph
packages/decepticon/tests/unit/research/test_sarif_export.py:23
↓ 14 callers
Class
_Req
packages/decepticon/tests/unit/middleware/test_budget.py:53
↓ 13 callers
Class
CommitRequest
packages/decepticon/decepticon/artifacts/models.py:154
↓ 13 callers
Class
LLMModelMapping
Role → ModelAssignment, built from credentials + profile. Construct via :meth:`from_credentials_and_profile` or :meth:`from_profile` (which a
packages/decepticon-core/decepticon_core/types/llm.py:917
↓ 12 callers
Class
ApprovalPolicyRule
Single approval rule. Either ``technique_tag`` or ``tool_pattern`` MUST be set.
packages/decepticon/decepticon/middleware/hitl.py:81
↓ 12 callers
Class
ArtifactDraft
packages/decepticon/decepticon/artifacts/models.py:42
↓ 12 callers
Class
CaidoConfig
Caido CLI / API configuration resolved from environment. Fields are kept narrow so future config-file or per-engagement overrides can land wi
packages/decepticon/decepticon/tools/proxy/tools.py:40
↓ 12 callers
Class
FileBackedCache
In-process cache keyed by ``(mtime, size)`` of the underlying file. Handlers call ``get()`` per request without paying disk I/O. When the hos
config/oauth_token_store.py:161
↓ 12 callers
Class
HITLApprovalMiddleware
Pause tool execution and request operator approval for high-impact actions. See module docstring for stack ordering and policy semantics. TO
packages/decepticon/decepticon/middleware/hitl.py:290
↓ 12 callers
Class
HTTPResponse
packages/decepticon/decepticon/tools/web/http.py:58
↓ 12 callers
Class
PromptInjectionShieldMiddleware
Wrap tool output in untrusted markers; flag injection patterns; warn the model. See module docstring for threat model and stack-ordering guidance
packages/decepticon/decepticon/middleware/prompt_injection_shield.py:387
↓ 12 callers
Class
SearchSession
packages/decepticon/decepticon/middleware/search_policy.py:23
↓ 12 callers
Class
WorkflowError
Invalid workflow input or incompatible checkpoint selection.
packages/decepticon/decepticon/workflows/models.py:17
↓ 11 callers
Class
BenchmarkRunState
Provider evaluation input assembled by the benchmark harness.
benchmark/state.py:18
↓ 11 callers
Class
ChallengeResult
Result from running a single challenge.
benchmark/schemas.py:87
↓ 11 callers
Class
CyberGymProvider
Benchmark provider for CyberGym real-world vulnerability reproduction.
benchmark/providers/cybergym.py:78
↓ 11 callers
Class
EventLog
Append-only events.jsonl writer for one engagement. Instances are cheap; create one per engagement and reuse it for the lifetime of the run.
packages/decepticon/decepticon/runtime/event_log.py:193
↓ 11 callers
Class
MachineEnforcement
Runtime-enforceable RoE rules.
packages/decepticon-core/decepticon_core/types/roe.py:70
↓ 11 callers
Class
PluginBundle
Wrapper for entry-point contributions to declare bundle membership AND override the standard middleware / tools / prompts. The original ``ite
packages/decepticon-core/decepticon_core/plugin_loader.py:180
↓ 11 callers
Class
ProxyConfig
LiteLLM proxy connection settings. The ``api_key`` default is the well-known local-dev placeholder documented in .env.example. Production dep
packages/decepticon-core/decepticon_core/types/llm.py:871
↓ 11 callers
Class
_FakeResp
Minimal response shim (status_code / text / cookies dict).
packages/decepticon/tests/unit/sandbox_web/test_validators.py:18
↓ 11 callers
Class
_Req
packages/decepticon/tests/unit/middleware/test_hitl.py:29
↓ 11 callers
Class
_SafeSummarizationProxy
Defensive wrapper around the deepagents summarization middleware. The inner middleware's ``wrap_model_call`` / ``awrap_model_call`` hooks iss
packages/decepticon/decepticon/agents/middleware_slots.py:267
↓ 10 callers
Class
ArtifactError
Invalid artifact operation, including stale or incompatible writes.
packages/decepticon/decepticon/artifacts/models.py:10
↓ 10 callers
Class
DraftUpdate
packages/decepticon/decepticon/artifacts/models.py:148
↓ 10 callers
Class
FakeSandbox
No-op ``SandboxProtocol`` implementation for plugin tests. Records every ``execute_command()`` call into ``self.commands`` and returns ``stdo
packages/decepticon-sdk/decepticon_sdk/testing/__init__.py:90
↓ 10 callers
Class
HackerOneReport
In-memory representation before markdown rendering.
packages/decepticon/decepticon/tools/reporting/hackerone.py:17
↓ 10 callers
Class
NativeBrowserError
Sanitized typed tool error; raw network/validation data may contain secrets.
packages/decepticon/decepticon/tools/browser/native_protocol.py:130
↓ 10 callers
Class
SetupResult
Result from setting up a challenge environment.
benchmark/schemas.py:74
↓ 10 callers
Class
_DummyRequest
packages/decepticon/tests/unit/middleware/test_prompt_injection_shield.py:118
↓ 10 callers
Class
_FakeBackend
packages/decepticon/tests/unit/skillogy/test_embed_ingest.py:18
↓ 9 callers
Class
ArtifactRegistry
packages/decepticon/decepticon/artifacts/models.py:137
↓ 9 callers
Class
CVSSVector
packages/decepticon/decepticon/tools/research/poc.py:94
↓ 9 callers
Class
FakeBackend
In-memory ``BackendProtocol`` implementation for plugin tests. Backs every operation by a Python dict so plugin code under test sees a workin
packages/decepticon-sdk/decepticon_sdk/testing/__init__.py:26
↓ 9 callers
Class
InProcessApprovalTransport
In-memory transport for tests and single-process operator UIs. Operator code calls :meth:`provide_decision` to unblock a pending request.
packages/decepticon/decepticon/middleware/hitl.py:151
↓ 9 callers
Class
WorkflowMiddleware
Shared runtime contract without rebuilding or mutating specialist prompts.
packages/decepticon/decepticon/middleware/workflow.py:119
↓ 9 callers
Class
_FakeEntryPoint
Stand-in for ``importlib.metadata.EntryPoint`` used in bundle tests.
packages/decepticon/tests/unit/agents/test_build.py:33
↓ 9 callers
Class
_FakeInner
Stand-in for the deepagents summarization middleware. Mirrors the public surface ``_SafeSummarizationProxy`` reads from the real inner (``sta
packages/decepticon/tests/unit/middleware/test_summarization_fallback.py:46
↓ 9 callers
Class
_Graph
packages/decepticon/tests/unit/runtime/test_cart.py:40
↓ 9 callers
Class
_Node
packages/decepticon/tests/unit/runtime/test_cart.py:24
↓ 9 callers
Class
_RecordingBackend
Fake backend that captures every call's kwargs so the test can assert the ACL list arrived intact at the wire layer.
packages/decepticon/tests/unit/skillogy/test_acl.py:36
↓ 9 callers
Class
_Req
packages/decepticon/tests/unit/middleware/test_model_override.py:230
↓ 9 callers
Class
_Req
packages/decepticon/tests/unit/middleware/test_budget_internals.py:84
↓ 9 callers
Class
_ToolRequest
packages/decepticon/tests/unit/middleware/test_event_logging.py:43
next →
1–100 of 1,602, ranked by callers