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
Method
test_create_chat_result_extracts_reasoning_content
Non-streaming: _create_chat_result captures reasoning_content from the response dict's choice message.
packages/decepticon/tests/unit/llm/test_factory.py:1357
Method
test_create_chat_result_skips_when_absent
Non-streaming: no crash when reasoning_content is missing.
packages/decepticon/tests/unit/llm/test_factory.py:1399
Method
test_created_client_and_payload_respect_model_limit
( self, monkeypatch, model_id, expected, override )
packages/decepticon/tests/unit/llm/test_factory.py:314
Method
test_creates_high_severity_vulns
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
packages/decepticon/tests/unit/research/test_kg_ingest_kali.py:180
Method
test_creates_host_and_entrypoint_nodes
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
packages/decepticon/tests/unit/research/test_tools_extended.py:636
Method
test_creates_host_and_service_nodes
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
packages/decepticon/tests/unit/research/test_tools_extended.py:765
Method
test_creates_host_nodes_with_records
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
packages/decepticon/tests/unit/research/test_kg_ingest_kali.py:59
Method
test_creates_parent_directories
(self, tmp_path: Path)
packages/decepticon/tests/unit/reporting/test_sarif.py:237
Method
test_creates_url_entrypoints
(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
packages/decepticon/tests/unit/research/test_kg_ingest_kali.py:97
Method
test_creates_url_nodes
(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
packages/decepticon/tests/unit/research/test_kg_ingest_kali.py:158
Method
test_cred_id_passed_in_params
(self, monkeypatch: pytest.MonkeyPatch)
packages/decepticon/tests/unit/research/test_chain.py:618
Method
test_credentials_ingested_from_log
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
packages/decepticon/tests/unit/research/test_tools_extended.py:932
Function
test_credentials_passed_as_command_line_flags_are_masked
Operators paste whole command lines; no key:value detector sees a flag. Observed leaking verbatim from a real engagement: ``nxc smb <ip> -u A
packages/decepticon/tests/unit/telemetry/test_telemetry_redact.py:126
Method
test_critical
(self)
packages/decepticon/tests/unit/research/test_bounty.py:79
Method
test_critical
(self)
packages/decepticon/tests/unit/research/test_tools_extended.py:144
Method
test_critical_above_nine
(self)
packages/decepticon/tests/unit/research/test_tools_extended.py:118
Method
test_critical_at_nine
(self)
packages/decepticon/tests/unit/research/test_tools_extended.py:115
Method
test_critical_cheapest
(self)
packages/decepticon/tests/unit/research/test_chain.py:98
Method
test_critical_threshold
(self)
packages/decepticon/tests/unit/research/test_tools_extended.py:196
Method
test_critical_unvalidated
(self)
packages/decepticon/tests/unit/research/test_chain.py:116
Method
test_critical_validated_halved
(self)
packages/decepticon/tests/unit/research/test_chain.py:120
Method
test_critical_vuln_boosts_score
(self, monkeypatch: pytest.MonkeyPatch)
packages/decepticon/tests/unit/research/test_chain.py:475
Method
test_cronjob_job_template_path_finds_privileged
(self)
packages/decepticon/tests/unit/cloud/test_k8s_branches.py:146
Method
test_crowdstrike_type_map_completeness
(self)
packages/decepticon/tests/unit/tools/test_defense_push.py:448
Method
test_crown_jewel_ids_filter_passed
(self, monkeypatch: pytest.MonkeyPatch)
packages/decepticon/tests/unit/research/test_chain.py:371
Method
test_crypto_bucket
(self)
packages/decepticon/tests/unit/reversing/test_reversing_internals.py:700
Method
test_csv_has_header_and_rows
(self)
packages/decepticon/tests/unit/reporting/test_reporting.py:69
Method
test_csv_has_header_row
(self)
packages/decepticon/tests/unit/reporting/test_reporting_tools_and_executive.py:417
Function
test_curl_unavailable_is_unknown
(monkeypatch: pytest.MonkeyPatch)
packages/decepticon/tests/unit/sandbox_web/test_fetch_chain.py:127
Method
test_curl_user_pass_redacted
(self)
packages/decepticon/tests/unit/middleware/test_roe.py:603
Function
test_current_api_models_have_proxy_routes
( model: str, key_env: str, response_mode: bool )
packages/decepticon/tests/unit/llm/test_litellm_dynamic_config.py:90
Method
test_current_claude_models_drop_temperature
(self)
packages/decepticon/tests/unit/llm/test_factory.py:1218
Function
test_current_prod_catalog_is_oss_safe
()
packages/decepticon/tests/unit/llm/test_litellm_dynamic_config.py:35
Function
test_current_prod_routes_merge_without_duplicates
()
packages/decepticon/tests/unit/llm/test_litellm_dynamic_config.py:62
Function
test_current_prod_routes_require_real_provider_credentials
()
packages/decepticon/tests/unit/llm/test_litellm_dynamic_config.py:47
Method
test_custom_index_patterns
(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
packages/decepticon/tests/unit/tools/test_defense_push.py:664
Method
test_custom_map
(self)
packages/decepticon/tests/unit/prompts/test_claude4_compat.py:83
Method
test_custom_weight
(self, monkeypatch: pytest.MonkeyPatch)
packages/decepticon/tests/unit/research/test_tools_extended.py:505
Method
test_cve_enrich_dependencies_adds_ranked_dependency_vuln
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
packages/decepticon/tests/unit/research/test_tools.py:183
Function
test_cve_enrichment_records_workspace_evidence
(tmp_path: Path, monkeypatch)
packages/decepticon/tests/unit/research/test_dependency_enrichment_evidence.py:15
Method
test_cve_id_normalised_to_upper
(self, tmp_path: Path)
packages/decepticon/tests/unit/research/test_cve_extended.py:286
Method
test_cve_section_present_when_cves_exist
(self)
packages/decepticon/tests/unit/reporting/test_reporting_tools_and_executive.py:289
Method
test_cves_sorted_descending_by_score
(self)
packages/decepticon/tests/unit/reporting/test_reporting_tools_and_executive.py:206
Method
test_cvss_attached_on_success
(self)
packages/decepticon/tests/unit/research/test_poc.py:131
Method
test_cvss_fallback_when_severity_missing
(self, score: float, expected: str)
packages/decepticon/tests/unit/reporting/test_sarif.py:117
Method
test_cwd_cannot_cross_newline
(self)
packages/decepticon/tests/unit/sandbox_kernel/test_ps1_marker_collision.py:48
Method
test_cwe_normalisation
(self, tmp_path: Path)
packages/decepticon/tests/unit/references/test_h1_corpus.py:102
Function
test_cypher_without_the_engagement_predicate_is_rejected
The failure is loud and at the boundary — not a silently wider result set.
packages/decepticon/tests/unit/middleware/test_kg_engagement_scope.py:47
Function
test_daemon_uses_empty_exec_prefix
The in-container daemon runs subprocesses directly — no docker-exec hop.
packages/decepticon/tests/unit/sandbox_kernel/test_daemon_fileio.py:148
Method
test_dangerous_c_bucket
(self)
packages/decepticon/tests/unit/reversing/test_reversing_internals.py:718
Method
test_dangerous_capability
(self)
packages/decepticon/tests/unit/cloud/test_cloud.py:134
Function
test_data_class_retention_rejects_negative
()
packages/decepticon/tests/unit/core/test_schemas.py:180
Function
test_data_handling_plan_compliance_frameworks
()
packages/decepticon/tests/unit/core/test_schemas.py:175
Function
test_data_handling_plan_seeds_four_default_classes
Defaults cover credentials / pii / source-code / business-data so engagements without explicit overrides still get conservative retention.
packages/decepticon/tests/unit/core/test_schemas.py:164
Function
test_dataclass_is_frozen
()
packages/decepticon/tests/unit/agents/test_task_spec.py:104
Function
test_dataset_paths_must_exist
(tmp_path: Path)
packages/decepticon/tests/unit/skillogy/test_evaluation.py:135
Function
test_db_access_checks_secret_table
()
tests/test_cve_bench_scorer.py:55
Function
test_db_modification_any_nonzero
()
tests/test_cve_bench_scorer.py:50
Method
test_dc_with_unconstrained_is_skipped
(self)
packages/decepticon/tests/unit/ad/test_ad_tools.py:372
Method
test_dcsync_query_requires_both_get_changes_edges
(self)
packages/decepticon/tests/unit/ad/test_adcs_post.py:168
Method
test_dcsync_query_scopes_match_to_engagement
(self)
packages/decepticon/tests/unit/ad/test_adcs_post.py:179
Method
test_dcsync_query_uses_jc_marker_for_idempotent_count
(self)
packages/decepticon/tests/unit/ad/test_adcs_post.py:188
Function
test_dead_network_targets_refuse_even_alongside_paths
(workspace: Path)
packages/decepticon/tests/unit/test_roe_materialization.py:95
Function
test_dead_patterns_dropped_with_warning
(caplog: pytest.LogCaptureFixture)
packages/decepticon-core/tests/test_roe_builder.py:102
Function
test_decimal_encoded_imds_normalized_to_dotted_quad
()
packages/decepticon/tests/unit/middleware/test_command_targets_scope_bypass.py:15
Function
test_declared_org_is_masked_in_the_trajectory
(tmp_path: Path)
packages/decepticon/tests/unit/middleware/test_event_logging.py:484
Function
test_declares_proxy_api_key_state_channel
The middleware must DECLARE ``proxy_api_key`` as a state channel. The middleware reads ``request.state["proxy_api_key"]``, but the LangGraph
packages/decepticon/tests/unit/middleware/test_proxy_key_override.py:150
Function
test_decode_jwt_payload_returns_dict_for_well_formed_token
()
packages/decepticon/tests/unit/llm/test_oauth_token_store.py:258
Function
test_decode_jwt_payload_returns_empty_dict_for_malformed_token
()
packages/decepticon/tests/unit/llm/test_oauth_token_store.py:263
Function
test_decode_jwt_payload_returns_empty_dict_for_non_string_input
()
packages/decepticon/tests/unit/llm/test_oauth_token_store.py:268
Function
test_deconfliction_absent_degrades_cleanly
( tmp_path: Path, middleware: EngagementContextMiddleware, )
packages/decepticon/tests/unit/middleware/test_engagement.py:481
Function
test_deconfliction_empty_identifiers_emit_no_block
( tmp_path: Path, middleware: EngagementContextMiddleware, )
packages/decepticon/tests/unit/middleware/test_engagement.py:513
Function
test_deconfliction_identifiers_appear_in_injection
( tmp_path: Path, middleware: EngagementContextMiddleware, )
packages/decepticon/tests/unit/middleware/test_engagement.py:454
Function
test_deconfliction_malformed_json_degrades_cleanly
( tmp_path: Path, middleware: EngagementContextMiddleware, )
packages/decepticon/tests/unit/middleware/test_engagement.py:495
Function
test_deconfliction_skipped_without_engagement_slug
( tmp_path: Path, middleware: EngagementContextMiddleware, )
packages/decepticon/tests/unit/middleware/test_engagement.py:531
Function
test_dedicated_port_is_confident_technology
()
packages/decepticon/tests/unit/middleware/test_ai_surface.py:26
Method
test_dedup_across_different_positions
(self)
packages/decepticon/tests/unit/reversing/test_reversing_internals.py:663
Method
test_dedup_across_scans
(self)
packages/decepticon/tests/unit/research/test_sarif.py:86
Function
test_dedup_keeps_first_seen_record
()
packages/decepticon/tests/unit/skillogy/test_find_skill_fusion.py:77
Method
test_dedup_same_payload
(self, tmp_path: Path)
packages/decepticon/tests/unit/references/test_payloads_ingest.py:105
Function
test_dedupe_and_drop_empty
()
packages/decepticon-core/tests/test_roe_builder.py:109
Method
test_dedupe_and_topk
(self, tmp_path: Path)
packages/decepticon/tests/unit/research/test_scanner_tools.py:165
Method
test_dedupes_ports_and_dict_records
(self)
packages/decepticon/tests/unit/research/test_osint.py:97
Method
test_deduplicates_identical_gadgets
(self)
packages/decepticon/tests/unit/reversing/test_binary_strings_packer.py:191
Method
test_deduplication_via_set
(self)
packages/decepticon/tests/unit/reversing/test_reversing_internals.py:759
Method
test_dedups_across_files
(self, tmp_path: Path)
packages/decepticon/tests/unit/references/test_h1_corpus.py:68
Function
test_deeper_host_requires_explicit_scope
()
packages/decepticon-core/tests/test_roe_wildcards.py:104
Method
test_deepest_named_lex_not_numeric
Sort is lexicographic, not numeric — ``host_10`` < ``host_2``. Captures the documented selector semantics so a future "fix" that swit
packages/decepticon/tests/unit/benchmark/test_mhbench_provider.py:223
Method
test_deepest_named_returns_lex_max
(self)
packages/decepticon/tests/unit/benchmark/test_mhbench_provider.py:219
Method
test_defang_inside_realistic_payload
(self)
packages/decepticon/tests/unit/middleware/test_injection_detector.py:310
Method
test_default_bedrock_models_are_registered
(self)
packages/decepticon/tests/unit/llm/test_models.py:103
Function
test_default_cancel_propagates_during_real_navigation
(tmp_path: Path)
packages/decepticon/tests/integration/test_browser_native.py:205
Function
test_default_command_includes_allow_blocking
Without LANGGRAPH_STRICT_ASYNC set, --allow-blocking should be in the command.
tests/test_compose_langgraph_command.py:61
Method
test_default_empty
(self)
packages/decepticon/tests/unit/llm/test_models.py:156
Method
test_default_engagement_name
(self)
packages/decepticon/tests/unit/reporting/test_reporting_tools_and_executive.py:321
Method
test_default_engagement_name_used
(self)
packages/decepticon/tests/unit/reporting/test_reporting_tools_and_executive.py:463
Function
test_default_env_path_decepticon_home_whitespace_falls_through
(monkeypatch, tmp_path)
packages/decepticon/tests/unit/cli/test_auth_branches.py:145
Function
test_default_env_path_returns_none_when_nothing_exists
(monkeypatch, tmp_path)
packages/decepticon/tests/unit/cli/test_auth_branches.py:159
Function
test_default_env_path_with_decepticon_home
(monkeypatch, tmp_path)
packages/decepticon/tests/unit/cli/test_auth_branches.py:135
Method
test_default_factory_is_registered
(self)
packages/decepticon/tests/unit/middleware/test_roe.py:840
← previous
next →
6,501–6,600 of 10,737, ranked by callers