Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/SkillSpector
/ functions
Functions
2,044 in github.com/NVIDIA/SkillSpector
⨍
Functions
2,044
◇
Types & classes
379
↳
Endpoints
141
Method
test_actual_env_access_in_python_not_filtered
(self)
tests/nodes/analyzers/test_binary_and_pe3_filtering.py:160
Method
test_adapter_invoke_returns_content
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_llm_utils.py:254
Method
test_agent_message_type
(self)
tests/unit/test_agent_cli.py:357
Method
test_aliased_chain_via_from_import
``from base64 import b64decode; eval(b64decode(...))`` is still a chain (AST8).
tests/nodes/analyzers/test_behavioral_ast.py:260
Method
test_aliased_credential_to_aliased_network
(self)
tests/nodes/analyzers/test_behavioral_taint_tracking.py:340
Method
test_aliased_environ_subscript_to_network
(self)
tests/nodes/analyzers/test_behavioral_taint_tracking.py:350
Method
test_aliased_network_input_to_exec
(self)
tests/nodes/analyzers/test_behavioral_taint_tracking.py:360
Method
test_aliased_safe_flow_no_false_positive
(self)
tests/nodes/analyzers/test_behavioral_taint_tracking.py:365
Method
test_aliased_safe_import_no_false_positive
(self)
tests/nodes/analyzers/test_behavioral_ast.py:267
Method
test_all_batches_failed_keeps_everything_via_fallback
(self)
tests/nodes/test_meta_analyzer.py:187
Method
test_all_batches_failed_returns_empty
(self)
tests/nodes/test_llm_analyzer_base.py:581
Method
test_all_empty_produces_zero_results
(self)
tests/nodes/test_sarif_rules_and_empty_findings.py:88
Method
test_all_five_methods_replaced_inside_context
(self)
contrib/multilingual/tests/test_monkeypatch_invasiveness.py:366
Method
test_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
Method
test_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
Method
test_all_five_methods_restored_after_exit
(self)
contrib/multilingual/tests/test_monkeypatch_invasiveness.py:370
Method
test_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
Method
test_all_five_restored_even_after_exception
(self)
contrib/multilingual/tests/test_monkeypatch_invasiveness.py:375
Method
test_all_in_range
(self)
tests/nodes/test_llm_analyzer_base.py:119
Method
test_all_nine_gap_fill_rule_ids_accepted
(self)
contrib/multilingual/tests/tests-pro/test_gap_fill.py:196
Method
test_all_rules_compatible_for_english_skill
(self)
contrib/multilingual/tests/tests-pro/test_annotation.py:77
Method
test_all_ssd_rule_ids_pass_through
(self, base_state)
tests/nodes/analyzers/test_semantic_security_discovery.py:118
Method
test_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
Method
test_allowed_tools_deny_by_default
(self)
tests/unit/test_agent_cli.py:176
Method
test_allowed_tools_fully_covered_no_lp1
allowed-tools: [Bash] + only shell code → no LP1 (capability is covered).
tests/test_mcp_least_privilege.py:310
Method
test_allowed_tools_list_no_lp3
allowed-tools list form ([Bash, Read]) is a declaration → no LP3.
tests/test_mcp_least_privilege.py:262
Method
test_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
Method
test_always_comply
(self)
tests/nodes/analyzers/test_static_patterns_anti_refusal.py:49
Method
test_analyzer_id_is_correct
(self)
tests/nodes/test_semantic_quality_policy.py:303
Method
test_analyzer_id_is_correct
(self)
tests/nodes/analyzers/test_semantic_developer_intent.py:316
Method
test_analyzer_id_is_correct
(self)
tests/nodes/analyzers/test_semantic_security_discovery.py:149
Method
test_analyzer_node_ids_match_expected
ANALYZER_NODE_IDS equals the expected list.
tests/nodes/analyzers/test_registry.py:54
Method
test_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
Method
test_analyzer_nodes_has_no_extra_entries
ANALYZER_NODES has no entries beyond ANALYZER_NODE_IDS.
tests/nodes/analyzers/test_registry.py:63
Function
test_anthropic_provider_makes_live_structured_request
Anthropic provider reaches its default endpoint and returns structured output.
tests/provider/test_provider_endpoint.py:74
Method
test_anthropic_provider_wins_with_native_credentials
( self, monkeypatch: pytest.MonkeyPatch )
tests/unit/test_llm_utils.py:99
Method
test_approximation
(self)
tests/nodes/test_llm_analyzer_base.py:53
Method
test_arbitrary_host_blocked
(self)
tests/unit/test_input_handler_ssrf.py:115
Method
test_argv_has_binary_and_model_no_bypass
(self)
tests/unit/test_agent_cli.py:677
Method
test_arn_pins_provider_to_anthropic
ChatBedrockConverse requires explicit provider= when model is an ARN.
tests/unit/test_bedrock_provider.py:210
Method
test_arun_batches_calls_ainvoke_per_batch
(self, mock_get_model: MagicMock)
tests/nodes/test_llm_analyzer_base.py:1622
Method
test_arun_batches_results_compatible_with_apply_filter
( self, mock_get_model: MagicMock, )
tests/nodes/test_llm_analyzer_base.py:1653
Method
test_arun_batches_uses_message_text_for_content_blocks
(self)
tests/nodes/test_llm_analyzer_base.py:380
Method
test_as1_agent_config_dir_access_python
Reading .claude/ config files in Python code yields AS1.
tests/nodes/analyzers/test_static_patterns.py:324
Method
test_as1_agent_config_dir_produces_finding
Reading the agent config/home dir yields AS1 (HIGH).
tests/nodes/analyzers/test_static_patterns.py:405
Method
test_as1_codex_config_dir_access
Reading .codex/ config directory in instructions yields AS1.
tests/nodes/analyzers/test_static_patterns.py:338
Method
test_as2_mcp_config_access
Accessing mcp.json files yields AS2.
tests/nodes/analyzers/test_static_patterns.py:349
Method
test_as2_mcp_config_produces_finding
Reading MCP configuration yields AS2 (HIGH).
tests/nodes/analyzers/test_static_patterns.py:417
Method
test_as3_other_skill_produces_finding
Reading another skill's manifest yields AS3.
tests/nodes/analyzers/test_static_patterns.py:428
Method
test_as3_skill_enumeration
Listing installed skills from skill directories yields AS3.
tests/nodes/analyzers/test_static_patterns.py:360
Method
test_asyncio_run_is_replaced_inside_context
(self)
contrib/multilingual/tests/tests-pro/test_runner_patches.py:437
Method
test_asyncio_run_replaced_and_restored
(self)
contrib/multilingual/tests/test_monkeypatch_invasiveness.py:383
Method
test_at_threshold_kept
Finding with confidence exactly 0.4 is kept (>= 0.4).
tests/nodes/test_meta_analyzer_fallback.py:65
Method
test_auth_check_reports_disabled
(self)
tests/unit/test_agent_cli.py:710
Method
test_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
Method
test_bad_registry_path_returns_empty
When registry path doesn't exist, falls through to default.
tests/unit/test_model_info.py:232
Method
test_bare_flag_absent
(self)
tests/unit/test_agent_cli.py:198
Method
test_bare_numeric_score_returns_none
(self)
tests/unit/test_osv_client.py:87
Method
test_base64_in_description
Base64-encoded payload (>50 chars) in description → TP1, confidence >= 0.75.
tests/test_mcp_tool_poisoning.py:251
Function
test_baseline_default_reason_when_blank
()
tests/unit/test_suppression.py:127
Function
test_baseline_from_dict_full
()
tests/unit/test_suppression.py:177
Function
test_baseline_from_dict_rejects_all_wildcard_rule
()
tests/unit/test_suppression.py:196
Function
test_baseline_from_dict_rejects_non_mapping
()
tests/unit/test_suppression.py:201
Function
test_baseline_reason_for_rule_then_fingerprint
()
tests/unit/test_suppression.py:116
Method
test_basic_numbering
(self)
tests/nodes/test_llm_analyzer_base.py:185
Method
test_benign_constant_attr_no_ast9
(self)
tests/nodes/analyzers/test_behavioral_ast.py:154
Method
test_build_argv_refuses_to_run
(self)
tests/unit/test_agent_cli.py:706
Function
test_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
Function
test_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
Function
test_build_context_empty_skill_path
Empty skill_path raises instead of producing a clean empty scan.
tests/nodes/test_build_context.py:101
Function
test_build_context_missing_skill_path
Missing skill_path raises instead of producing a clean empty scan.
tests/nodes/test_build_context.py:94
Function
test_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
Function
test_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
Function
test_build_context_nonexistent_path
Non-existent path raises instead of producing a clean empty scan.
tests/nodes/test_build_context.py:108
Function
test_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
Function
test_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
Function
test_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
Function
test_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
Function
test_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
Function
test_build_context_skill_md_lowercase
skill.md (lowercase) is used when SKILL.md absent; skill spec layout.
tests/nodes/test_build_context.py:178
Function
test_build_context_skips_skip_dirs
Skip dirs like __pycache__ and node_modules are not included in components.
tests/nodes/test_build_context.py:134
Function
test_build_dump_load_round_trip
(tmp_path: Path)
tests/unit/test_suppression.py:214
Method
test_build_message_default_namespace
(self)
tests/nodes/analyzers/test_static_yara.py:448
Method
test_build_message_with_description
(self)
tests/nodes/analyzers/test_static_yara.py:442
Method
test_build_namespace_map
(self, tmp_path)
tests/nodes/analyzers/test_static_yara.py:415
Method
test_build_prompt_includes_language_tag_and_file_label
(self)
contrib/multilingual/tests/tests-pro/test_gap_fill.py:357
Method
test_build_prompt_includes_numbered_content
(self)
contrib/multilingual/tests/tests-pro/test_gap_fill.py:364
Function
test_build_server_registers_scan_skill
build_server wires up the scan_skill tool (requires the mcp extra).
tests/unit/test_mcp_server.py:86
Method
test_builds_chat_openai_from_credentials
(self)
tests/unit/test_providers.py:291
Method
test_cache_hit_avoids_api_call
(self)
tests/unit/test_osv_client.py:197
Method
test_cache_invalidated_on_new_rule
(self, tmp_path)
tests/nodes/analyzers/test_static_yara.py:383
Method
test_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
Method
test_case_insensitive_extension
(self)
tests/nodes/analyzers/test_binary_and_pe3_filtering.py:71
Method
test_category_maps_to_rule_id
(self, tmp_path, category, expected_rule_id)
tests/nodes/analyzers/test_static_yara.py:164
Method
test_chat_model_credentials_fall_back_to_openai
( self, monkeypatch: pytest.MonkeyPatch )
tests/unit/test_providers.py:347
Method
test_chatopenai_init_receives_both_timeout_and_request_timeout
(self)
contrib/multilingual/tests/tests-pro/test_runner_patches.py:393
Method
test_check_signature_passes_when_all_params_present
(self)
contrib/multilingual/tests/tests-pro/test_runner_patches.py:343
Method
test_check_signature_raises_when_param_becomes_keyword_only
(self)
contrib/multilingual/tests/tests-pro/test_runner_patches.py:357
Method
test_check_signature_raises_when_param_missing
(self)
contrib/multilingual/tests/tests-pro/test_runner_patches.py:350
Method
test_chunk_label
(self)
tests/nodes/test_llm_analyzer_base.py:148
← previous
next →
701–800 of 2,044, ranked by callers