MCPcopy Create free account

hub / github.com/NVIDIA/SkillSpector / functions

Functions2,044 in github.com/NVIDIA/SkillSpector

Methodtest_actual_env_access_in_python_not_filtered
(self)
tests/nodes/analyzers/test_binary_and_pe3_filtering.py:160
Methodtest_adapter_invoke_returns_content
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_llm_utils.py:254
Methodtest_agent_message_type
(self)
tests/unit/test_agent_cli.py:357
Methodtest_aliased_chain_via_from_import
``from base64 import b64decode; eval(b64decode(...))`` is still a chain (AST8).
tests/nodes/analyzers/test_behavioral_ast.py:260
Methodtest_aliased_credential_to_aliased_network
(self)
tests/nodes/analyzers/test_behavioral_taint_tracking.py:340
Methodtest_aliased_environ_subscript_to_network
(self)
tests/nodes/analyzers/test_behavioral_taint_tracking.py:350
Methodtest_aliased_network_input_to_exec
(self)
tests/nodes/analyzers/test_behavioral_taint_tracking.py:360
Methodtest_aliased_safe_flow_no_false_positive
(self)
tests/nodes/analyzers/test_behavioral_taint_tracking.py:365
Methodtest_aliased_safe_import_no_false_positive
(self)
tests/nodes/analyzers/test_behavioral_ast.py:267
Methodtest_all_batches_failed_keeps_everything_via_fallback
(self)
tests/nodes/test_meta_analyzer.py:187
Methodtest_all_batches_failed_returns_empty
(self)
tests/nodes/test_llm_analyzer_base.py:581
Methodtest_all_empty_produces_zero_results
(self)
tests/nodes/test_sarif_rules_and_empty_findings.py:88
Methodtest_all_five_methods_replaced_inside_context
(self)
contrib/multilingual/tests/test_monkeypatch_invasiveness.py:366
Methodtest_all_five_methods_replaced_inside_context
#14: Check all 5 methods, not just 2. Uses runner._original_* references (module-load time, immune to test order).
contrib/multilingual/tests/tests-pro/test_runner_patches.py:92
Methodtest_all_five_methods_restored_after_context_exit
#13: Reference check + functional verification after exit. Uses runner._original_* (module-load time, immune to test order).
contrib/multilingual/tests/tests-pro/test_runner_patches.py:104
Methodtest_all_five_methods_restored_after_exit
(self)
contrib/multilingual/tests/test_monkeypatch_invasiveness.py:370
Methodtest_all_five_methods_restored_even_after_exception_inside_context
#12: Check all 5 after exception, not just __init__.
contrib/multilingual/tests/tests-pro/test_runner_patches.py:176
Methodtest_all_five_restored_even_after_exception
(self)
contrib/multilingual/tests/test_monkeypatch_invasiveness.py:375
Methodtest_all_in_range
(self)
tests/nodes/test_llm_analyzer_base.py:119
Methodtest_all_nine_gap_fill_rule_ids_accepted
(self)
contrib/multilingual/tests/tests-pro/test_gap_fill.py:196
Methodtest_all_rules_compatible_for_english_skill
(self)
contrib/multilingual/tests/tests-pro/test_annotation.py:77
Methodtest_all_ssd_rule_ids_pass_through
(self, base_state)
tests/nodes/analyzers/test_semantic_security_discovery.py:118
Methodtest_allowed_tools_comma_string_no_lp3
allowed-tools comma-string form ('Bash, Read') is also a declaration → no LP3.
tests/test_mcp_least_privilege.py:274
Methodtest_allowed_tools_deny_by_default
(self)
tests/unit/test_agent_cli.py:176
Methodtest_allowed_tools_fully_covered_no_lp1
allowed-tools: [Bash] + only shell code → no LP1 (capability is covered).
tests/test_mcp_least_privilege.py:310
Methodtest_allowed_tools_list_no_lp3
allowed-tools list form ([Bash, Read]) is a declaration → no LP3.
tests/test_mcp_least_privilege.py:262
Methodtest_allowed_tools_underdeclared_fires_lp1
allowed-tools: [Read] + Bash code → LP3 suppressed but LP1 fires HIGH for shell.
tests/test_mcp_least_privilege.py:286
Methodtest_always_comply
(self)
tests/nodes/analyzers/test_static_patterns_anti_refusal.py:49
Methodtest_analyzer_id_is_correct
(self)
tests/nodes/test_semantic_quality_policy.py:303
Methodtest_analyzer_id_is_correct
(self)
tests/nodes/analyzers/test_semantic_developer_intent.py:316
Methodtest_analyzer_id_is_correct
(self)
tests/nodes/analyzers/test_semantic_security_discovery.py:149
Methodtest_analyzer_node_ids_match_expected
ANALYZER_NODE_IDS equals the expected list.
tests/nodes/analyzers/test_registry.py:54
Methodtest_analyzer_nodes_has_entry_for_every_id
Every ANALYZER_NODE_IDS entry has a corresponding ANALYZER_NODES entry.
tests/nodes/analyzers/test_registry.py:58
Methodtest_analyzer_nodes_has_no_extra_entries
ANALYZER_NODES has no entries beyond ANALYZER_NODE_IDS.
tests/nodes/analyzers/test_registry.py:63
Functiontest_anthropic_provider_makes_live_structured_request
Anthropic provider reaches its default endpoint and returns structured output.
tests/provider/test_provider_endpoint.py:74
Methodtest_anthropic_provider_wins_with_native_credentials
( self, monkeypatch: pytest.MonkeyPatch )
tests/unit/test_llm_utils.py:99
Methodtest_approximation
(self)
tests/nodes/test_llm_analyzer_base.py:53
Methodtest_arbitrary_host_blocked
(self)
tests/unit/test_input_handler_ssrf.py:115
Methodtest_argv_has_binary_and_model_no_bypass
(self)
tests/unit/test_agent_cli.py:677
Methodtest_arn_pins_provider_to_anthropic
ChatBedrockConverse requires explicit provider= when model is an ARN.
tests/unit/test_bedrock_provider.py:210
Methodtest_arun_batches_calls_ainvoke_per_batch
(self, mock_get_model: MagicMock)
tests/nodes/test_llm_analyzer_base.py:1622
Methodtest_arun_batches_results_compatible_with_apply_filter
( self, mock_get_model: MagicMock, )
tests/nodes/test_llm_analyzer_base.py:1653
Methodtest_arun_batches_uses_message_text_for_content_blocks
(self)
tests/nodes/test_llm_analyzer_base.py:380
Methodtest_as1_agent_config_dir_access_python
Reading .claude/ config files in Python code yields AS1.
tests/nodes/analyzers/test_static_patterns.py:324
Methodtest_as1_agent_config_dir_produces_finding
Reading the agent config/home dir yields AS1 (HIGH).
tests/nodes/analyzers/test_static_patterns.py:405
Methodtest_as1_codex_config_dir_access
Reading .codex/ config directory in instructions yields AS1.
tests/nodes/analyzers/test_static_patterns.py:338
Methodtest_as2_mcp_config_access
Accessing mcp.json files yields AS2.
tests/nodes/analyzers/test_static_patterns.py:349
Methodtest_as2_mcp_config_produces_finding
Reading MCP configuration yields AS2 (HIGH).
tests/nodes/analyzers/test_static_patterns.py:417
Methodtest_as3_other_skill_produces_finding
Reading another skill's manifest yields AS3.
tests/nodes/analyzers/test_static_patterns.py:428
Methodtest_as3_skill_enumeration
Listing installed skills from skill directories yields AS3.
tests/nodes/analyzers/test_static_patterns.py:360
Methodtest_asyncio_run_is_replaced_inside_context
(self)
contrib/multilingual/tests/tests-pro/test_runner_patches.py:437
Methodtest_asyncio_run_replaced_and_restored
(self)
contrib/multilingual/tests/test_monkeypatch_invasiveness.py:383
Methodtest_at_threshold_kept
Finding with confidence exactly 0.4 is kept (>= 0.4).
tests/nodes/test_meta_analyzer_fallback.py:65
Methodtest_auth_check_reports_disabled
(self)
tests/unit/test_agent_cli.py:710
Methodtest_backoff_timestamp_computed_from_real_release_failure
#2: Tests pool's actual backoff calculation via release(fail).
contrib/multilingual/tests/tests-pro/test_api_pool.py:151
Methodtest_bad_registry_path_returns_empty
When registry path doesn't exist, falls through to default.
tests/unit/test_model_info.py:232
Methodtest_bare_flag_absent
(self)
tests/unit/test_agent_cli.py:198
Methodtest_bare_numeric_score_returns_none
(self)
tests/unit/test_osv_client.py:87
Methodtest_base64_in_description
Base64-encoded payload (>50 chars) in description → TP1, confidence >= 0.75.
tests/test_mcp_tool_poisoning.py:251
Functiontest_baseline_default_reason_when_blank
()
tests/unit/test_suppression.py:127
Functiontest_baseline_from_dict_full
()
tests/unit/test_suppression.py:177
Functiontest_baseline_from_dict_rejects_all_wildcard_rule
()
tests/unit/test_suppression.py:196
Functiontest_baseline_from_dict_rejects_non_mapping
()
tests/unit/test_suppression.py:201
Functiontest_baseline_reason_for_rule_then_fingerprint
()
tests/unit/test_suppression.py:116
Methodtest_basic_numbering
(self)
tests/nodes/test_llm_analyzer_base.py:185
Methodtest_benign_constant_attr_no_ast9
(self)
tests/nodes/analyzers/test_behavioral_ast.py:154
Methodtest_build_argv_refuses_to_run
(self)
tests/unit/test_agent_cli.py:706
Functiontest_build_context_allowed_tools_malformed_value
A non-list, non-string `allowed-tools` value normalizes to an empty list.
tests/nodes/test_build_context.py:225
Functiontest_build_context_empty_directory_is_valid_empty_scan
An existing empty directory is a valid scan target with no components.
tests/nodes/test_build_context.py:124
Functiontest_build_context_empty_skill_path
Empty skill_path raises instead of producing a clean empty scan.
tests/nodes/test_build_context.py:101
Functiontest_build_context_missing_skill_path
Missing skill_path raises instead of producing a clean empty scan.
tests/nodes/test_build_context.py:94
Functiontest_build_context_no_executable_scripts_when_only_markdown
Directory with only .md files has has_executable_scripts False.
tests/nodes/test_build_context.py:166
Functiontest_build_context_no_skill_md_returns_empty_manifest
Skill spec dir without SKILL.md or skill.md yields empty manifest.
tests/nodes/test_build_context.py:153
Functiontest_build_context_nonexistent_path
Non-existent path raises instead of producing a clean empty scan.
tests/nodes/test_build_context.py:108
Functiontest_build_context_parses_allowed_tools_comma_string
`allowed-tools` comma-separated string form is normalized to a list.
tests/nodes/test_build_context.py:236
Functiontest_build_context_parses_allowed_tools_list
`allowed-tools` list form is preserved so LP3 treats it as a declaration.
tests/nodes/test_build_context.py:214
Functiontest_build_context_parses_parameters_from_frontmatter
`parameters` frontmatter is preserved as dicts so MCP TP checks can reach it. Regression guard: without this, the mcp_tool_poisoning parameter ch
tests/nodes/test_build_context.py:189
Functiontest_build_context_path_is_file_not_dir
Path that is a file raises instead of producing a clean empty scan.
tests/nodes/test_build_context.py:115
Functiontest_build_context_real_directory_with_skill_md
skill_path with skill spec (SKILL.md, references/, scripts/, assets/) yields components, file_cache, manifest.
tests/nodes/test_build_context.py:52
Functiontest_build_context_skill_md_lowercase
skill.md (lowercase) is used when SKILL.md absent; skill spec layout.
tests/nodes/test_build_context.py:178
Functiontest_build_context_skips_skip_dirs
Skip dirs like __pycache__ and node_modules are not included in components.
tests/nodes/test_build_context.py:134
Functiontest_build_dump_load_round_trip
(tmp_path: Path)
tests/unit/test_suppression.py:214
Methodtest_build_message_default_namespace
(self)
tests/nodes/analyzers/test_static_yara.py:448
Methodtest_build_message_with_description
(self)
tests/nodes/analyzers/test_static_yara.py:442
Methodtest_build_namespace_map
(self, tmp_path)
tests/nodes/analyzers/test_static_yara.py:415
Methodtest_build_prompt_includes_language_tag_and_file_label
(self)
contrib/multilingual/tests/tests-pro/test_gap_fill.py:357
Methodtest_build_prompt_includes_numbered_content
(self)
contrib/multilingual/tests/tests-pro/test_gap_fill.py:364
Functiontest_build_server_registers_scan_skill
build_server wires up the scan_skill tool (requires the mcp extra).
tests/unit/test_mcp_server.py:86
Methodtest_builds_chat_openai_from_credentials
(self)
tests/unit/test_providers.py:291
Methodtest_cache_hit_avoids_api_call
(self)
tests/unit/test_osv_client.py:197
Methodtest_cache_invalidated_on_new_rule
(self, tmp_path)
tests/nodes/analyzers/test_static_yara.py:383
Methodtest_cache_serves_fresh_rules_after_edit
_load_rules recompiles when a rule file is edited to same-length content.
tests/nodes/analyzers/test_static_yara.py:479
Methodtest_case_insensitive_extension
(self)
tests/nodes/analyzers/test_binary_and_pe3_filtering.py:71
Methodtest_category_maps_to_rule_id
(self, tmp_path, category, expected_rule_id)
tests/nodes/analyzers/test_static_yara.py:164
Methodtest_chat_model_credentials_fall_back_to_openai
( self, monkeypatch: pytest.MonkeyPatch )
tests/unit/test_providers.py:347
Methodtest_chatopenai_init_receives_both_timeout_and_request_timeout
(self)
contrib/multilingual/tests/tests-pro/test_runner_patches.py:393
Methodtest_check_signature_passes_when_all_params_present
(self)
contrib/multilingual/tests/tests-pro/test_runner_patches.py:343
Methodtest_check_signature_raises_when_param_becomes_keyword_only
(self)
contrib/multilingual/tests/tests-pro/test_runner_patches.py:357
Methodtest_check_signature_raises_when_param_missing
(self)
contrib/multilingual/tests/tests-pro/test_runner_patches.py:350
Methodtest_chunk_label
(self)
tests/nodes/test_llm_analyzer_base.py:148
← previousnext →701–800 of 2,044, ranked by callers