MCPcopy Create free account

hub / github.com/NVIDIA/SkillSpector / functions

Functions2,044 in github.com/NVIDIA/SkillSpector

Methodtest_scan_completes_with_claude_cli
( self, monkeypatch: pytest.MonkeyPatch, tmp_path )
tests/integration/test_agent_cli_live.py:112
Methodtest_scan_extracts_metadata
Metadata is correctly extracted from SKILL.md.
tests/integration/test_graph_scanner.py:59
Methodtest_scan_malicious_skill
Scanning a malicious skill returns findings and high risk when implemented.
tests/integration/test_graph_scanner.py:91
Functiontest_scan_multi_skill_json_output_unchanged
JSON recursive scan still produces a valid combined JSON file.
tests/unit/test_cli.py:161
Functiontest_scan_multi_skill_markdown_output_to_file
Non-JSON recursive scan writes concatenated report to file, not stdout.
tests/unit/test_cli.py:121
Methodtest_scan_safe_skill
Scanning a safe skill returns low risk and has components.
tests/integration/test_graph_scanner.py:26
Methodtest_scan_single_file
Scanning a directory with only SKILL.md.
tests/integration/test_graph_scanner.py:37
Methodtest_scan_state_returns_correct_keys_with_llm_disabled
(self)
contrib/multilingual/tests/tests-pro/test_runner_patches.py:604
Methodtest_scan_state_returns_correct_keys_with_llm_enabled
(self)
contrib/multilingual/tests/tests-pro/test_runner_patches.py:597
Methodtest_scope_creep_flagged
(self)
tests/nodes/analyzers/test_semantic_developer_intent.py:448
Methodtest_score_0_to_20_is_low
(self)
tests/nodes/test_report.py:251
Methodtest_score_21_to_50_is_medium
(self)
tests/nodes/test_report.py:258
Methodtest_score_51_to_80_is_high
(self)
tests/nodes/test_report.py:269
Methodtest_score_81_plus_is_critical
(self)
tests/nodes/test_report.py:280
Functiontest_scp_disallowed_host_raises
_validate_url_host rejects an scp URL whose host is not in the allowlist.
tests/unit/test_input_handler.py:126
Functiontest_scp_private_ip_raises
_validate_url_host rejects an scp URL whose extracted host is not in the allowlist.
tests/unit/test_input_handler.py:132
Functiontest_scp_ssrf_gate_fires
SSRF gate raises ValueError for an scp URL whose host resolves to a private IP.
tests/unit/test_input_handler.py:144
Functiontest_scp_url_is_git_url
scp-style SSH URL is recognised as a Git URL.
tests/unit/test_input_handler.py:100
Functiontest_scp_valid_host_clones
resolve() calls git clone with the scp URL when the host is allowed.
tests/unit/test_input_handler.py:111
Methodtest_select_anthropic
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_providers.py:330
Methodtest_select_anthropic_proxy
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_anthropic_proxy_provider.py:234
Methodtest_select_antigravity_cli
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_providers.py:425
Methodtest_select_bedrock
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_bedrock_provider.py:250
Methodtest_select_claude_cli
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_providers.py:406
Methodtest_select_codex_cli
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_providers.py:413
Methodtest_select_gemini_cli
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_providers.py:419
Methodtest_select_nv_build
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_providers.py:354
Methodtest_select_openai
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_providers.py:321
Methodtest_semantic_injection_flagged
(self)
tests/nodes/analyzers/test_semantic_security_discovery.py:533
Methodtest_separator_line_not_detected
Single-char separators like '=' * 80 should be suppressed.
tests/nodes/analyzers/test_mp2_regex_backtracking.py:53
Methodtest_set_api_pool_none_restores_original_get_chat_model
(self)
contrib/multilingual/tests/tests-pro/test_runner_patches.py:573
Methodtest_setup_applies_patches
(self)
contrib/multilingual/tests/test_monkeypatch_invasiveness.py:427
Methodtest_setup_deepseek_compat_applies_patches_and_sets_response_schema_none
(self)
contrib/multilingual/tests/tests-pro/test_runner_patches.py:250
Methodtest_setup_deepseek_compat_is_idempotent_on_double_call
(self)
contrib/multilingual/tests/tests-pro/test_runner_patches.py:259
Methodtest_setup_is_idempotent
(self)
contrib/multilingual/tests/test_monkeypatch_invasiveness.py:433
Methodtest_setup_then_context_does_not_restore_on_inner_exit
setup() then with deepseek_compat(): inner exit must not restore.
contrib/multilingual/tests/test_monkeypatch_invasiveness.py:439
Methodtest_severity_levels
(self)
tests/unit/test_patterns_new.py:203
Methodtest_severity_levels
(self)
tests/unit/test_patterns_new.py:358
Methodtest_severity_validation
(self)
tests/nodes/test_llm_analyzer_base.py:676
Methodtest_shell_false_implied_by_list
(self)
tests/unit/test_agent_cli.py:147
Methodtest_shell_is_false
(self, mock_popen: MagicMock, _mock_binary: MagicMock)
tests/unit/test_agent_cli.py:379
Methodtest_shell_is_false
(self, mock_popen: MagicMock, _mock_binary: MagicMock)
tests/unit/test_agent_cli.py:471
Methodtest_shell_true_in_executable_python_is_not_filtered
subprocess with shell=True in Python code should NOT be filtered.
tests/nodes/analyzers/test_static_runner_filtering.py:50
Methodtest_short_repetition_not_detected
Under 20 repetitions should not trigger the repetition pattern.
tests/nodes/analyzers/test_mp2_regex_backtracking.py:44
Methodtest_short_string
(self)
tests/nodes/test_llm_analyzer_base.py:56
Methodtest_single_critical_vulnerability_scores_appropriately
One genuine CRITICAL should register strongly.
tests/nodes/test_report.py:322
Methodtest_single_file_one_batch
(self, base_state)
tests/nodes/analyzers/test_semantic_security_discovery.py:160
Methodtest_single_file_single_batch
(self)
tests/nodes/test_llm_analyzer_base.py:922
Methodtest_single_finding_full_confidence_scores_base_points
( self, severity: str, expected_points: int )
tests/nodes/test_report.py:75
Methodtest_single_finding_partial_confidence_scales_score
(self)
tests/nodes/test_report.py:82
Methodtest_single_finding_unchanged
A single finding passes through unchanged.
tests/nodes/test_deduplicate.py:157
Methodtest_single_line
(self)
tests/nodes/test_llm_analyzer_base.py:196
Methodtest_single_match_produces_finding
(self, tmp_path)
tests/nodes/analyzers/test_static_yara.py:92
Methodtest_single_skill_not_multi
Directory with root SKILL.md is not multi-skill.
tests/test_multi_skill.py:84
Methodtest_single_sub_skill_not_multi
Only one sub-skill is not considered multi-skill (need >= 2).
tests/test_multi_skill.py:103
Methodtest_single_valid_finding_returns_all_fields_correctly
(self)
contrib/multilingual/tests/tests-pro/test_gap_fill.py:82
Methodtest_single_very_long_line
(self)
tests/nodes/test_llm_analyzer_base.py:103
Methodtest_skill_directory_paths_are_absolute
SkillDirectory.path should be an absolute path.
tests/test_multi_skill.py:132
Methodtest_skill_md_env_exfil_not_filtered
Malicious .env-exfil instruction in SKILL.md must NOT be filtered.
tests/nodes/analyzers/test_binary_and_pe3_filtering.py:236
Methodtest_skill_md_exempt_from_pe3_env_filter
SKILL.md is the agent instruction file — .env references there are real threats.
tests/nodes/analyzers/test_binary_and_pe3_filtering.py:194
Methodtest_skill_md_findings_are_not_filtered_by_backticks
SKILL.md is the primary instruction file — backticks alone shouldn't filter.
tests/nodes/analyzers/test_static_runner_filtering.py:135
Methodtest_skill_md_is_not_documentation_path
SKILL.md should never get documentation confidence reduction.
tests/nodes/analyzers/test_static_runner_filtering.py:203
Methodtest_skill_names_extracted_from_frontmatter
Skill names come from SKILL.md frontmatter.
tests/test_multi_skill.py:78
Methodtest_skipped_no_description
(self)
tests/test_mcp_tool_poisoning.py:640
Methodtest_skipped_no_llm
(self)
tests/test_mcp_tool_poisoning.py:634
Methodtest_skipped_when_use_llm_false
(self, base_state)
tests/nodes/analyzers/test_semantic_security_discovery.py:82
Methodtest_skips_invalid_json_lines
(self)
tests/unit/test_agent_cli.py:353
Methodtest_slot_env_overrides_global_model
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_constants.py:70
Methodtest_slot_env_overrides_provider_default
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_constants.py:65
Methodtest_small_file_single_chunk
(self)
tests/nodes/test_llm_analyzer_base.py:71
Methodtest_snapshot_reflects_peak_and_total_after_usage
(self)
contrib/multilingual/tests/tests-pro/test_api_pool.py:257
Methodtest_snapshot_shows_initial_state_with_all_fields
(self)
contrib/multilingual/tests/tests-pro/test_api_pool.py:244
Methodtest_socket_recv_as_source
socket.socket().recv() should be detected as a network-input source.
tests/nodes/analyzers/test_behavioral_taint_tracking.py:401
Methodtest_socket_send_as_sink
socket.socket().send() should be detected as a network-output sink.
tests/nodes/analyzers/test_behavioral_taint_tracking.py:407
Methodtest_specific_triggers_not_flagged
(self)
tests/nodes/test_semantic_quality_policy.py:736
Methodtest_ssrf1_cloud_metadata_produces_finding
A request to the cloud metadata IP yields SSRF1 (HIGH).
tests/nodes/analyzers/test_static_patterns.py:703
Methodtest_ssrf2_internal_host_produces_finding
A request to an internal/loopback host yields SSRF2 (MEDIUM).
tests/nodes/analyzers/test_static_patterns.py:720
Methodtest_ssrf3_dynamic_host_produces_finding
A request whose host is built from a variable yields SSRF3.
tests/nodes/analyzers/test_static_patterns.py:733
Methodtest_start_line_optional
(self)
tests/nodes/test_llm_analyzer_base.py:827
Methodtest_static_finding_with_none_end_line_confirmed_by_start
Issue #67: static finding with end_line=None must not be dropped when the LLM confirms the same start_line with an explicit end_line.
tests/nodes/test_llm_analyzer_base.py:1314
Methodtest_static_findings_at_different_lines_only_confirmed_kept
Two static findings (end_line=None) at different start_lines; LLM confirms only one. The unconfirmed finding must not survive the filter.
tests/nodes/test_llm_analyzer_base.py:1348
Methodtest_strict_mcp_config_present
(self)
tests/unit/test_agent_cli.py:191
Methodtest_strict_validation_case_insensitive
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_constants.py:144
Methodtest_strict_validation_disabled_by_default
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_constants.py:138
Methodtest_strict_validation_passes_with_known_model
( self, monkeypatch: pytest.MonkeyPatch )
tests/unit/test_constants.py:130
Methodtest_strict_validation_raises_on_unknown_model
( self, monkeypatch: pytest.MonkeyPatch )
tests/unit/test_constants.py:122
Methodtest_strips_anthropic_api_key
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_agent_cli.py:264
Methodtest_strips_aws_credentials
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_agent_cli.py:279
Methodtest_strips_fenced_json_with_jsonp_suffix
Edge: ```jsonp fence — strip logic should handle unknown language tags.
contrib/multilingual/tests/tests-pro/test_gap_fill.py:152
Methodtest_strips_fenced_json_with_language_tag
(self)
contrib/multilingual/tests/tests-pro/test_gap_fill.py:137
Methodtest_strips_fenced_json_with_surrounding_whitespace
(self)
contrib/multilingual/tests/tests-pro/test_gap_fill.py:147
Methodtest_strips_fenced_json_without_language_tag
(self)
contrib/multilingual/tests/tests-pro/test_gap_fill.py:142
Methodtest_strips_github_token
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_agent_cli.py:291
Methodtest_strips_json_markdown_fence_with_language_tag
(self)
contrib/multilingual/tests/tests-pro/test_runner_patches.py:531
Methodtest_strips_markdown_fence_without_language_tag
(self)
contrib/multilingual/tests/tests-pro/test_runner_patches.py:535
Methodtest_strips_nvidia_inference_key
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_agent_cli.py:274
Methodtest_strips_openai_api_key
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_agent_cli.py:269
Methodtest_strips_ssh_auth_sock
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_agent_cli.py:286
Methodtest_strips_surrounding_whitespace
(self)
tests/unit/test_agent_cli.py:316
Methodtest_structured_output_fail_closed_on_garbage
( self, monkeypatch: pytest.MonkeyPatch )
tests/unit/test_llm_utils.py:284
← previousnext →1,801–1,900 of 2,044, ranked by callers