MCPcopy Create free account

hub / github.com/NVIDIA/SkillSpector / functions

Functions2,044 in github.com/NVIDIA/SkillSpector

Methodtest_structured_output_parses_and_validates
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_llm_utils.py:263
Methodtest_subprocess_check_output_produces_ast4
(self)
tests/nodes/analyzers/test_behavioral_ast.py:80
Methodtest_subprocess_popen_produces_ast4
(self)
tests/nodes/analyzers/test_behavioral_ast.py:75
Methodtest_subprocess_run_produces_ast4
(self)
tests/nodes/analyzers/test_behavioral_ast.py:68
Methodtest_success_records_ok_true
(self)
tests/nodes/test_semantic_quality_policy.py:269
Methodtest_success_records_ok_true
(self)
tests/nodes/analyzers/test_semantic_developer_intent.py:240
Methodtest_success_records_ok_true
(self, base_state)
tests/nodes/analyzers/test_semantic_security_discovery.py:316
Methodtest_successful_batch_query
(self)
tests/unit/test_osv_client.py:126
Methodtest_successful_call_records_ok_true
(self)
tests/test_mcp_tool_poisoning.py:675
Functiontest_suppressed_finding_to_dict
()
tests/unit/test_suppression.py:165
Methodtest_svg_not_treated_as_binary
SVG is text/XML and can carry <script> — must be scanned, not skipped.
tests/nodes/analyzers/test_binary_and_pe3_filtering.py:75
Methodtest_synonym
(self)
tests/nodes/analyzers/test_static_patterns_anti_refusal.py:159
Methodtest_syntax_error_skipped
(self)
tests/nodes/analyzers/test_behavioral_ast.py:199
Methodtest_syntax_error_skipped
(self)
tests/nodes/analyzers/test_behavioral_taint_tracking.py:238
Methodtest_system_token_in_param
Parameter description with 'SYSTEM:' token → TP3, confidence >= 0.90.
tests/test_mcp_tool_poisoning.py:421
Methodtest_tags_present
Any TP finding has 'ASI02' and 'AML.T0080' in tags.
tests/test_mcp_tool_poisoning.py:574
Methodtest_technical_warnings_should_be_clean
(self)
tests/nodes/analyzers/test_static_patterns_anti_refusal.py:138
Methodtest_text_file_still_scanned
(self)
tests/nodes/analyzers/test_binary_and_pe3_filtering.py:118
Methodtest_thread_outside_context_sees_original_class
Thread B outside context sees unpatched __init__ + class response_schema.
contrib/multilingual/tests/test_monkeypatch_invasiveness.py:183
Methodtest_timeout_applied_to_botocore_config
The ``timeout`` argument flows through to the boto3 client. Without this, long Bedrock calls hang indefinitely instead of respecting
tests/unit/test_bedrock_provider.py:185
Methodtest_timeout_is_set
(self, mock_popen: MagicMock, _mock_binary: MagicMock)
tests/unit/test_agent_cli.py:409
Methodtest_timeout_is_set
(self, mock_popen: MagicMock, _mock_binary: MagicMock)
tests/unit/test_agent_cli.py:486
Methodtest_timeout_raises
(self, mock_popen: MagicMock, _mock_binary: MagicMock)
tests/unit/test_agent_cli.py:509
Methodtest_timeout_raises_agent_cli_error
( self, mock_popen: MagicMock, _mock_binary: MagicMock )
tests/unit/test_agent_cli.py:438
Methodtest_timeout_returns_empty
(self)
tests/unit/test_osv_client.py:184
Methodtest_timeout_returns_none
(self)
tests/unit/test_agent_cli.py:631
Methodtest_tm1_confidence_boost_for_python
(self)
tests/unit/test_patterns_new.py:469
Methodtest_tm1_dangerous_rm_stays_high
(self)
tests/unit/test_patterns_new.py:493
Methodtest_tm1_detected
(self, content: str, filename: str, filetype: str)
tests/unit/test_patterns_new.py:466
Methodtest_tm1_dockerfile_apt_cleanup_is_safe
rm -rf /var/lib/apt/lists/* in Dockerfile context should be LOW.
tests/unit/test_patterns_new.py:614
Methodtest_tm1_false_positive_not_flagged
Words containing 'rm'/'delete' as substrings must not trigger TM1.
tests/unit/test_patterns_new.py:546
Methodtest_tm1_genuine_destructive_still_detected
( self, content: str, filename: str, filetype: str )
tests/unit/test_patterns_new.py:562
Methodtest_tm1_rm_outside_dockerfile_stays_high
rm -rf /var/lib/apt/lists/* outside Dockerfile context should remain HIGH.
tests/unit/test_patterns_new.py:657
Methodtest_tm1_safe_container_downgraded
Standard container commands should be LOW severity with low confidence.
tests/unit/test_patterns_new.py:485
Methodtest_tm2_agent_context_section_not_flagged
Agent Context sections in skill docs should not trigger TM2.
tests/unit/test_patterns_new.py:603
Methodtest_tm2_detected
(self, content: str, filename: str, filetype: str)
tests/unit/test_patterns_new.py:586
Methodtest_tm2_doc_steps_with_review_not_flagged
Documentation with Step 1/Step 2 in non-malicious context should not trigger TM2.
tests/unit/test_patterns_new.py:589
Methodtest_tm2_dockerfile_apt_cleanup_chaining_is_safe
&& rm -rf in Dockerfile apt cleanup context should be LOW.
tests/unit/test_patterns_new.py:628
Methodtest_tm2_dockerfile_chown_user_setup_is_safe
&& chown -R in Dockerfile user setup should be LOW.
tests/unit/test_patterns_new.py:642
Methodtest_tm3_detected
(self, content: str, filename: str, filetype: str)
tests/unit/test_patterns_new.py:684
Methodtest_tm4_benign_workload_not_flagged
(self)
tests/unit/test_patterns_new.py:728
Methodtest_tm4_detected
(self, content: str, filename: str, filetype: str)
tests/unit/test_patterns_new.py:718
Methodtest_tm4_documentation_example_excluded
(self)
tests/unit/test_patterns_new.py:735
Methodtest_tm4_severity_high
(self)
tests/unit/test_patterns_new.py:721
Methodtest_to_finding
(self)
tests/nodes/test_llm_analyzer_base.py:707
Methodtest_to_finding_preserves_all_nine_fields
(self)
contrib/multilingual/tests/tests-pro/test_gap_fill.py:310
Methodtest_tr1_overly_broad_word
(self)
tests/unit/test_patterns_new.py:1073
Methodtest_tr1_short_trigger
(self)
tests/unit/test_patterns_new.py:1079
Methodtest_tr1_specific_trigger_not_flagged
(self)
tests/unit/test_patterns_new.py:1087
Methodtest_tr2_non_builtin_not_flagged
(self)
tests/unit/test_patterns_new.py:1108
Methodtest_tr2_shadow_builtin_command
(self)
tests/unit/test_patterns_new.py:1093
Methodtest_tr2_shadow_two_word
(self)
tests/unit/test_patterns_new.py:1099
Methodtest_tr3_keyword_baiting
(self, trigger: str)
tests/unit/test_patterns_new.py:1120
Methodtest_triple_nested_context_restores_only_on_outermost_exit
(self)
contrib/multilingual/tests/tests-pro/test_runner_patches.py:219
Methodtest_triple_nesting_restores_only_on_outermost
(self)
contrib/multilingual/tests/test_monkeypatch_invasiveness.py:405
Methodtest_true_for_claude_cli
(self)
tests/unit/test_providers.py:509
Methodtest_true_for_codex_cli
(self)
tests/unit/test_providers.py:512
Methodtest_try_acquire_returns_none_when_slots_exhausted_then_key_after_release
(self)
contrib/multilingual/tests/tests-pro/test_api_pool.py:90
Methodtest_two_threads_concurrent_contexts_are_independent
Thread A and B each open deepseek_compat(); exit one, other stays patched.
contrib/multilingual/tests/test_monkeypatch_invasiveness.py:217
Methodtest_unanalysed_findings_survive_a_failed_batch
Findings whose batch failed are kept (no verdict != rejection).
tests/nodes/test_meta_analyzer.py:151
Methodtest_unconfirmed_finding_filtered_out
(self)
tests/nodes/test_llm_analyzer_base.py:1110
Methodtest_underdeclared_detected
mcp_underdeclared_skill uses network, shell, env but declares no permissions → LP3 (no LP1 since permissions is empty).
tests/test_mcp_least_privilege.py:191
Methodtest_underdeclared_has_high_severity_for_lp1
When a skill declares some permissions but misses capabilities, LP1 findings are HIGH.
tests/test_mcp_least_privilege.py:207
Methodtest_unknown_category_defaults_to_yr4
(self, tmp_path)
tests/nodes/analyzers/test_static_yara.py:175
Methodtest_unknown_model_logs_warning
( self, monkeypatch: pytest.MonkeyPatch, caplog: pytest.LogCaptureFixture )
tests/unit/test_constants.py:102
Methodtest_unknown_model_returns_default
Unknown model falls back to DEFAULT_CONTEXT_LENGTH with a warning.
tests/unit/test_model_info.py:256
Methodtest_unknown_model_uses_default
Unknown model uses the conftest-mocked context length (131_072).
tests/nodes/test_llm_analyzer_base.py:1700
Methodtest_unknown_provider_raises
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_providers.py:361
Methodtest_unknown_severity_defaults_to_low_points
(self)
tests/nodes/test_report.py:87
Methodtest_unknown_slot_falls_back_to_default
(self)
tests/unit/test_bedrock_provider.py:111
Methodtest_unparseable_response_returns_empty
(self)
tests/test_mcp_tool_poisoning.py:658
Methodtest_unresolvable_host_blocked
(self)
tests/unit/test_input_handler_ssrf.py:58
Methodtest_unset_slot_env_falls_through_to_provider
(self)
tests/unit/test_constants.py:78
Methodtest_untainted_reassignment_no_finding
(self)
tests/nodes/analyzers/test_behavioral_taint_tracking.py:212
Methodtest_untyped_variable_no_false_positive
Method calls on untyped variables should not produce false matches.
tests/nodes/analyzers/test_behavioral_taint_tracking.py:457
Functiontest_use_llm_false_records_nothing
()
tests/nodes/test_meta_analyzer.py:294
Methodtest_use_llm_false_records_nothing
(self)
tests/test_mcp_tool_poisoning.py:707
Methodtest_use_llm_false_records_nothing
(self)
tests/nodes/test_semantic_quality_policy.py:283
Methodtest_use_llm_false_records_nothing
(self)
tests/nodes/analyzers/test_semantic_developer_intent.py:254
Methodtest_use_llm_false_records_nothing
(self)
tests/nodes/analyzers/test_semantic_security_discovery.py:348
Methodtest_use_llm_false_returns_empty
(self)
tests/nodes/test_semantic_quality_policy.py:68
Functiontest_use_llm_false_returns_filtered_findings
When use_llm is False, meta_analyzer uses fallback; graph returns filtered_findings.
tests/integration/test_meta_analyzer_use_llm.py:25
Functiontest_use_llm_false_with_malicious_content
use_llm False still runs analyzers; malicious content yields findings and filtered_findings.
tests/integration/test_meta_analyzer_use_llm.py:40
Methodtest_use_llm_missing_from_state_proceeds
Missing use_llm key should default to enabled (not skip).
tests/nodes/analyzers/test_semantic_security_discovery.py:197
Methodtest_use_llm_true_proceeds
When use_llm is True (default), the node should attempt LLM analysis.
tests/nodes/test_semantic_quality_policy.py:73
Methodtest_use_llm_true_proceeds
(self)
tests/nodes/analyzers/test_semantic_developer_intent.py:55
Functiontest_use_llm_true_without_api_key_raises
When use_llm is True and no LLM API key is configured, the workflow raises ValueError.
tests/integration/test_meta_analyzer_use_llm.py:64
Methodtest_user_module_exec_helper_no_false_positive
A benign helper merely *named* like a sink must not match (FP-neighbor). ``from mymod import exec_helper; exec_helper()`` imports an unrelate
tests/nodes/analyzers/test_behavioral_ast.py:338
Methodtest_uses_analyzer_specific_model
(self, mock_get_model: MagicMock)
tests/nodes/test_semantic_quality_policy.py:187
Methodtest_uses_analyzer_specific_model
(self, mock_get_model: MagicMock)
tests/nodes/analyzers/test_semantic_developer_intent.py:266
Methodtest_uses_analyzer_specific_model
(self, mock_get_model: MagicMock)
tests/nodes/analyzers/test_semantic_security_discovery.py:219
Methodtest_utf8_bom_prepended_json_does_not_crash
#C3: JSON with UTF-8 BOM prefix — should not crash.
contrib/multilingual/tests/tests-pro/test_gap_fill.py:241
Methodtest_v3_all_high_metrics_is_critical
(self)
tests/unit/test_osv_client.py:49
Methodtest_v3_few_high_is_medium
(self)
tests/unit/test_osv_client.py:61
Methodtest_v3_mixed_high_is_high
(self)
tests/unit/test_osv_client.py:57
Methodtest_v3_mostly_high_is_critical
(self)
tests/unit/test_osv_client.py:53
Methodtest_v3_no_high_metrics_is_low
(self)
tests/unit/test_osv_client.py:65
Methodtest_v4_all_high_is_critical
(self)
tests/unit/test_osv_client.py:69
Methodtest_v4_low_severity
(self)
tests/unit/test_osv_client.py:73
Methodtest_v4_mixed_is_high
(self)
tests/unit/test_osv_client.py:77
← previousnext →1,901–2,000 of 2,044, ranked by callers