MCPcopy Create free account

hub / github.com/BitterSecurity/Decepticon / functions

Functions10,737 in github.com/BitterSecurity/Decepticon

Methodtest_entropy_two_symbols
(self)
packages/decepticon/tests/unit/reversing/test_reversing_internals.py:551
Methodtest_entry_candidates_extracted
(self, tmp_path: Path)
packages/decepticon/tests/unit/research/test_fuzz.py:60
Methodtest_entrypoint_ids_filter_passed
(self, monkeypatch: pytest.MonkeyPatch)
packages/decepticon/tests/unit/research/test_chain.py:363
Methodtest_env_beats_bundle
(self, monkeypatch)
packages/decepticon/tests/unit/llm/test_role_model_override.py:57
Methodtest_env_creds_still_require_intent_flag
(self, monkeypatch, tmp_path)
packages/decepticon/tests/unit/llm/test_factory.py:161
Methodtest_env_disable
(self, monkeypatch: pytest.MonkeyPatch)
packages/decepticon/tests/unit/prompts/test_claude4_compat.py:129
Methodtest_env_effort_override
(self, monkeypatch)
packages/decepticon/tests/unit/llm/test_oauth_handlers.py:572
Methodtest_env_enabled_no_role_argument_still_works
( self, monkeypatch: pytest.MonkeyPatch )
packages/decepticon/tests/unit/middleware/test_skillogy.py:530
Methodtest_env_enabled_no_skills_does_not_append
(self, monkeypatch: pytest.MonkeyPatch)
packages/decepticon/tests/unit/middleware/test_skillogy.py:544
Methodtest_env_enabled_swaps_skills_for_skillogy
(self, monkeypatch: pytest.MonkeyPatch)
packages/decepticon/tests/unit/middleware/test_skillogy.py:495
Methodtest_env_enabled_unknown_role_yields_no_phase_block
( self, monkeypatch: pytest.MonkeyPatch )
packages/decepticon/tests/unit/middleware/test_skillogy.py:514
Methodtest_env_explicitly_disabled_returns_stack_identity
With Skillogy default-on, the identity short-circuit only triggers when the operator opts out via explicit ``DECEPTICON_USE_SKILLOGY=0
packages/decepticon/tests/unit/middleware/test_skillogy.py:476
Methodtest_env_fallback
(self, monkeypatch: pytest.MonkeyPatch)
packages/decepticon/tests/unit/research/test_engagement_scope.py:92
Methodtest_env_fallback_ignored_when_invalid
(self, monkeypatch: pytest.MonkeyPatch)
packages/decepticon/tests/unit/research/test_engagement_scope.py:96
Functiontest_env_flag_recognizes_falsy_values
Explicit falsy values disable Skillogy under the default-on semantics. Blank string is NOT a disable — anything that isn't an explicit ``0``
packages/decepticon/tests/unit/skillogy/test_middleware.py:102
Functiontest_env_flag_recognizes_truthy_values
(monkeypatch)
packages/decepticon/tests/unit/skillogy/test_middleware.py:96
Functiontest_env_float_blank_and_whitespace_return_default
(monkeypatch: pytest.MonkeyPatch)
packages/decepticon/tests/unit/middleware/test_budget_internals.py:44
Functiontest_env_float_invalid_returns_default
(monkeypatch: pytest.MonkeyPatch)
packages/decepticon/tests/unit/middleware/test_budget_internals.py:49
Functiontest_env_float_unset_returns_default
(monkeypatch: pytest.MonkeyPatch)
packages/decepticon/tests/unit/middleware/test_budget_internals.py:39
Functiontest_env_float_valid_parses
(monkeypatch: pytest.MonkeyPatch)
packages/decepticon/tests/unit/middleware/test_budget_internals.py:54
Methodtest_env_key_absent_hmac_key_stays_none
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
packages/decepticon/tests/unit/middleware/test_audit_sink.py:41
Methodtest_env_key_used_when_hmac_key_none
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
packages/decepticon/tests/unit/middleware/test_audit_sink.py:31
Methodtest_env_markers_stripped
(self, tmp_path: Path)
packages/decepticon/tests/unit/research/test_tools_extended.py:264
Methodtest_env_only_method_is_configured_without_file
(self, monkeypatch, tmp_path)
packages/decepticon/tests/unit/llm/test_factory.py:144
Methodtest_env_override
(self, monkeypatch)
packages/decepticon/tests/unit/llm/test_oauth_handlers.py:536
Methodtest_env_override
(self, monkeypatch)
packages/decepticon/tests/unit/llm/test_role_model_override.py:47
Methodtest_env_override
(self, monkeypatch)
packages/decepticon/tests/unit/core/test_config.py:16
Methodtest_env_override_returns_path_object
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
packages/decepticon/tests/unit/references/test_fetch_comprehensive.py:55
Methodtest_env_override_takes_effect
(self, monkeypatch: pytest.MonkeyPatch)
packages/decepticon/tests/unit/llm/test_factory.py:1950
Methodtest_env_override_takes_precedence
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
packages/decepticon/tests/unit/references/test_fetch_comprehensive.py:48
Methodtest_env_override_wins
(self, monkeypatch)
packages/decepticon/tests/unit/llm/test_factory.py:254
Methodtest_env_overrides
(self, monkeypatch: pytest.MonkeyPatch)
packages/decepticon/tests/unit/tools/test_proxy.py:43
Functiontest_env_overrides_persisted_mode
(tmp_path)
packages/decepticon/tests/unit/telemetry/test_telemetry_behavioral.py:113
Methodtest_env_path_used
(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
packages/decepticon/tests/unit/middleware/test_roe.py:1005
Methodtest_env_present_returns_true_for_each_method
(self, monkeypatch)
packages/decepticon/tests/unit/llm/test_factory.py:131
Methodtest_env_value_from_secret_key_ref_no_literal_value_no_finding
(self)
packages/decepticon/tests/unit/cloud/test_k8s_branches.py:453
Methodtest_env_var_override
(self, monkeypatch: pytest.MonkeyPatch)
packages/decepticon/tests/unit/core/test_logging.py:121
Methodtest_envelope_carries_tool_call_id
(self)
packages/decepticon/tests/unit/middleware/test_untrusted_output.py:232
Methodtest_envelope_format_with_scan_result
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
packages/decepticon/tests/unit/research/test_tools_extended.py:890
Functiontest_envelope_includes_arch_and_py_when_set
()
packages/decepticon/tests/unit/telemetry/test_telemetry_behavioral.py:125
Functiontest_envelope_omits_arch_and_py_when_unset
()
packages/decepticon/tests/unit/telemetry/test_telemetry_behavioral.py:144
Methodtest_envelope_shape_and_values
(self)
packages/decepticon/tests/unit/references/test_tools_wrappers.py:48
Functiontest_environmental_neutral_when_requirements_medium_and_low_impact
()
packages/decepticon/tests/unit/reporting/test_cvss.py:55
Functiontest_environmental_security_requirements_lower_score
()
packages/decepticon/tests/unit/reporting/test_cvss.py:48
Methodtest_equifaxsmall_present_with_priority_selector
Selector encodes the intended attack chain: database (highest-value) → employee → webserver (entry point).
packages/decepticon/tests/unit/benchmark/test_mhbench_provider.py:375
Methodtest_error_carries_full_cypher_for_audit
(self)
packages/decepticon/tests/unit/research/test_apoc_safety.py:115
Methodtest_error_dict_without_message_is_serialized
(self)
packages/decepticon/tests/unit/llm/test_oauth_handlers.py:492
Methodtest_esc1_fires
(self)
packages/decepticon/tests/unit/ad/test_ad.py:43
Methodtest_esc4_low_priv_write_dacl
(self)
packages/decepticon/tests/unit/ad/test_ad.py:78
Methodtest_esc6_san_flag
(self)
packages/decepticon/tests/unit/ad/test_ad.py:60
Methodtest_esc6a_does_not_filter_on_no_security_extension
(self)
packages/decepticon/tests/unit/ad/test_adcs_post.py:478
Methodtest_esc6b_requires_no_security_extension
(self)
packages/decepticon/tests/unit/ad/test_adcs_post.py:468
Methodtest_esc8_http_web_enrollment
(self)
packages/decepticon/tests/unit/ad/test_ad.py:68
Methodtest_esc9a_branches_on_subjectaltrequireupn
(self)
packages/decepticon/tests/unit/ad/test_adcs_post.py:638
Methodtest_esc9b_branches_on_subjectaltrequiredns
(self)
packages/decepticon/tests/unit/ad/test_adcs_post.py:649
Functiontest_eval_js_returns_result
()
packages/decepticon/tests/unit/tools/test_browser.py:200
Functiontest_evaluate_counts_rank_abstention_pollution_and_utf8_bytes
()
packages/decepticon/tests/unit/skillogy/test_evaluation.py:76
Methodtest_evaluate_flag_found
raw_output containing correct flag -> passed=True.
packages/decepticon/tests/unit/benchmark/test_xbow_provider.py:135
Methodtest_evaluate_flag_not_found
raw_output without flag -> passed=False.
packages/decepticon/tests/unit/benchmark/test_xbow_provider.py:149
Methodtest_evaluate_wrong_flag
raw_output with wrong FLAG{} -> passed=False.
packages/decepticon/tests/unit/benchmark/test_xbow_provider.py:161
Functiontest_event_log_appends_to_existing_file
(tmp_path: Path)
packages/decepticon/tests/unit/runtime/test_event_log.py:123
Functiontest_event_log_cached_per_scope
(tmp_path: Path)
packages/decepticon/tests/unit/middleware/test_event_logging.py:232
Functiontest_event_type_accepts_str
(tmp_path: Path)
packages/decepticon/tests/unit/runtime/test_event_log.py:57
Methodtest_events_are_list
(self)
packages/decepticon/tests/unit/reporting/test_reporting_tools_and_executive.py:494
Functiontest_events_jsonl_checkpoint_appended_when_file_present
(tmp_path: Path)
packages/decepticon/tests/unit/runtime/test_shutdown.py:175
Methodtest_events_jsonl_event_appended_when_file_exists
(self, tmp_path: Path)
packages/decepticon/tests/unit/runtime/test_shutdown.py:418
Methodtest_events_jsonl_skipped_when_file_absent
(self, tmp_path: Path)
packages/decepticon/tests/unit/runtime/test_shutdown.py:441
Functiontest_every_catalog_prefix_is_allowed_or_rejected
No catalog provider falls through the cracks: each normalized prefix is either in ALLOWED_DYNAMIC_PROVIDERS or explicitly rejected.
packages/decepticon/tests/unit/llm/test_litellm_dynamic_config.py:794
Functiontest_every_catalog_provider_uses_source_verified_key_env
The api_key env ref must be the source-verified name, not the derived ``<PROVIDER>_API_KEY`` guess. Run with a clean env so alias providers fall
packages/decepticon/tests/unit/llm/test_litellm_dynamic_config.py:696
Functiontest_every_catalog_provider_validates_and_builds
Every supported catalog provider prefix passes validation and builds a route whose ``model_name`` is preserved verbatim.
packages/decepticon/tests/unit/llm/test_litellm_dynamic_config.py:677
Methodtest_every_gateway_has_all_three_tiers
(self)
packages/decepticon/tests/unit/llm/test_models.py:265
Functiontest_every_gateway_prefix_is_an_allowed_dynamic_provider
Each OPENAI_COMPAT_GATEWAYS prefix must be in ALLOWED_DYNAMIC_PROVIDERS or validate_model_name would reject the alias before build_model_entry's
packages/decepticon/tests/unit/llm/test_litellm_dynamic_config.py:413
Functiontest_every_gateway_routed_method_model_is_statically_registered
General form of the cheaper-inference regression above: any METHOD_MODELS entry whose model id uses an OPENAI_COMPAT_GATEWAYS prefix must have
packages/decepticon/tests/unit/llm/test_litellm_dynamic_config.py:968
Functiontest_every_in_tree_subagent_has_a_graph
Each **in-tree** ``decepticon.subagents`` entry point must have a built-in graph. Catches the original defect: a specialist registered as a d
packages/decepticon/tests/unit/agents/test_registry_parity.py:47
Functiontest_every_reserved_character_is_escaped
A stray operator in agent prose must not throw a Lucene parse error.
packages/decepticon/tests/unit/skillogy/test_lexical_terms.py:56
Functiontest_every_slot_role_has_a_model_tier
Every role in ``SLOTS_PER_ROLE`` must have an ``AGENT_TIERS`` entry. ``_resolve_tier`` does ``AGENT_TIERS[role]`` — a missing tier is a hard
packages/decepticon/tests/unit/agents/test_registry_parity.py:67
Functiontest_every_standard_graph_has_a_skillogy_phase
Each standard agent must map to a Skillogy phase, else it loses phase-scoped skill retrieval under ``DECEPTICON_USE_SKILLOGY``.
packages/decepticon/tests/unit/agents/test_registry_parity.py:136
Methodtest_every_untrusted_tool_is_wrapped
(self, tool_name: str)
packages/decepticon/tests/unit/middleware/test_untrusted_output.py:252
Methodtest_evicts_oldest_when_over_capacity
(self, tmp_path: Path)
packages/decepticon/tests/unit/research/test_cve_extended.py:61
Functiontest_evidence_dir_is_workspace_subpath
(monkeypatch: pytest.MonkeyPatch, tmp_path: Path)
packages/decepticon/tests/unit/tools/test_evidence_tools.py:37
Functiontest_evidence_file_paths_are_confined_to_workspace
(tmp_path: Path)
packages/decepticon/tests/unit/capabilities/test_evidence.py:46
Functiontest_evidence_files_must_be_distinct
(tmp_path: Path)
packages/decepticon/tests/unit/capabilities/test_evidence.py:59
Functiontest_evidence_rejects_invalid_regex_instead_of_falling_back_to_substring
()
packages/decepticon/tests/unit/capabilities/test_evidence.py:34
Functiontest_evidence_rejects_signal_that_also_appears_in_negative_control
()
packages/decepticon/tests/unit/capabilities/test_evidence.py:21
Functiontest_evidence_requires_positive_and_baseline_signals
()
packages/decepticon/tests/unit/capabilities/test_evidence.py:8
Methodtest_evidence_tools_list_has_four_items
(self)
packages/decepticon/tests/unit/tools/test_misc_tool_wrappers.py:256
Methodtest_exact_domain_match
(self, monkeypatch: pytest.MonkeyPatch)
packages/decepticon/tests/unit/research/test_bounty_extended.py:177
Methodtest_exact_match
(self)
packages/decepticon/tests/unit/research/test_osint.py:81
Methodtest_exact_path_match
(self, small_registry: list[SkillRecord])
packages/decepticon/tests/unit/tools/test_skills_registry.py:111
Methodtest_exact_path_unsafe_rejected
(self, small_registry: list[SkillRecord])
packages/decepticon/tests/unit/tools/test_skills_registry.py:116
Functiontest_example_declares_correct_entry_point_group
Each example's pyproject.toml wires the matching entry-point group.
packages/decepticon-sdk/tests/test_examples.py:43
Functiontest_example_layout
Each example has the expected pyproject + README + src/ tree.
packages/decepticon-sdk/tests/test_examples.py:31
Functiontest_example_module_is_importable_syntactically
Each generated __init__.py compiles cleanly under py3.13.
packages/decepticon-sdk/tests/test_examples.py:62
Methodtest_exception_wrapped
(self)
packages/decepticon/tests/unit/middleware/test_skillogy.py:336
Methodtest_excerpt_truncation
(self, tmp_path: Path)
packages/decepticon/tests/unit/references/test_methodology.py:78
Methodtest_excerpt_window_bounded_by_text_edges
(self)
packages/decepticon/tests/unit/middleware/test_injection_detector.py:215
Functiontest_exclusion_wildcard_has_the_same_depth_limit
()
packages/decepticon-core/tests/test_roe_wildcards.py:110
Functiontest_exec_uses_only_openshell_stdio_bridge
(admitted)
packages/decepticon/tests/unit/backends/test_openshell_sandbox.py:40
Functiontest_execute_async_baseline_capture_timeout_does_not_escape
execute_async() initial baseline _capture timing out must not raise.
packages/decepticon/tests/unit/backends/test_session_log.py:440
Functiontest_execute_async_poll_loop_capture_timeout_continues
A transient TimeoutExpired from capture-pane during polling must NOT escape; loop should continue (and eventually time out cleanly).
packages/decepticon/tests/unit/backends/test_session_log.py:458
← previousnext →7,001–7,100 of 10,737, ranked by callers