MCPcopy Create free account

hub / github.com/NVIDIA/SkillSpector / functions

Functions2,044 in github.com/NVIDIA/SkillSpector

Methodtest_metadata_unknown_model_returns_none
(self)
tests/unit/test_anthropic_proxy_provider.py:102
Methodtest_metadata_unknown_model_returns_none
(self)
tests/unit/test_providers.py:110
Methodtest_metadata_unknown_model_returns_none
(self)
tests/unit/test_providers.py:176
Methodtest_metadata_unknown_model_returns_none
(self)
tests/unit/test_bedrock_provider.py:87
Methodtest_method_call_on_file_object_not_tracked
f.write() is a method call on a variable — not a recognized sink.
tests/nodes/analyzers/test_behavioral_taint_tracking.py:219
Methodtest_mismatch_detected
(self)
tests/test_mcp_tool_poisoning.py:619
Methodtest_mismatch_produces_finding
(self)
tests/nodes/analyzers/test_semantic_developer_intent.py:400
Methodtest_missing_binary_raises
(self, _mock: MagicMock)
tests/unit/test_agent_cli.py:531
Methodtest_missing_file_cache_returns_empty
(self)
tests/nodes/test_semantic_quality_policy.py:97
Methodtest_missing_file_gets_sentinel
(self)
tests/nodes/test_llm_analyzer_base.py:957
Methodtest_missing_file_in_cache
(self)
tests/nodes/analyzers/test_behavioral_ast.py:231
Methodtest_missing_file_in_cache
(self)
tests/nodes/analyzers/test_behavioral_taint_tracking.py:256
Methodtest_missing_file_in_cache
(self, tmp_path)
tests/nodes/analyzers/test_static_yara.py:259
Methodtest_missing_file_in_cache_skipped
Components without file_cache entry are skipped.
tests/nodes/analyzers/test_static_patterns.py:386
Methodtest_missing_findings_key_returns_empty_list
(self)
contrib/multilingual/tests/tests-pro/test_gap_fill.py:226
Methodtest_missing_previous_manifest_key_skips
Returns empty findings when previous_manifest key is missing in state.
tests/nodes/analyzers/test_mcp_rug_pull.py:39
Methodtest_missing_rule_id_field_does_not_crash
#C6: Finding with missing rule_id — must not crash.
contrib/multilingual/tests/tests-pro/test_annotation.py:106
Methodtest_missing_triggers_key
(self)
tests/unit/test_patterns_new.py:1127
Methodtest_missing_warnings_flagged
(self)
tests/nodes/test_semantic_quality_policy.py:764
Methodtest_mixed_dedup_scenario
Mix of same-file, cross-file, and unique findings.
tests/nodes/test_deduplicate.py:190
Methodtest_mixed_findings_filtered
Mix of low-confidence, code-example, and genuine findings.
tests/nodes/test_meta_analyzer_fallback.py:186
Methodtest_mixed_rules_diminishing_applies_per_rule
(self)
tests/nodes/test_report.py:132
Methodtest_mixed_rules_partial_compatibility
Mix of English-keyword and LLM rules.
contrib/multilingual/tests/tests-pro/test_annotation.py:92
Methodtest_mixed_script
Name with Greek sigma (U+03C3, NOT in confusables) → TP2 (mixed-script), message contains 'script'.
tests/test_mcp_tool_poisoning.py:355
Methodtest_mixed_valid_and_invalid_only_keeps_valid
(self)
contrib/multilingual/tests/tests-pro/test_gap_fill.py:184
Methodtest_model_dump
(self)
tests/nodes/test_llm_analyzer_base.py:728
Methodtest_model_dump
(self)
tests/nodes/test_llm_analyzer_base.py:847
Methodtest_model_flag
(self)
tests/unit/test_agent_cli.py:164
Methodtest_model_flag_omitted_when_empty
(self)
tests/unit/test_agent_cli.py:170
Methodtest_model_flag_omitted_when_empty
(self)
tests/unit/test_agent_cli.py:689
Methodtest_model_label_validated_against_injection
(self)
tests/unit/test_agent_cli.py:685
Methodtest_mp1_detected
(self, content: str)
tests/unit/test_patterns_new.py:384
Methodtest_mp2_detected
(self, content: str)
tests/unit/test_patterns_new.py:403
Methodtest_mp2_repeated_pattern
(self)
tests/unit/test_patterns_new.py:387
Methodtest_mp2_separator_not_flagged
(self)
tests/unit/test_patterns_new.py:390
Methodtest_mp3_detected
(self, content: str)
tests/unit/test_patterns_new.py:417
Methodtest_mp3_severity_is_high
(self)
tests/unit/test_patterns_new.py:428
Methodtest_mp3_sv_code_clear_context_not_flagged
SystemVerilog comment 'Clear context' in code block should not trigger MP3.
tests/unit/test_patterns_new.py:432
Methodtest_multi_file_skill_same_rule_does_not_saturate
A skill using subprocess in 10 files should NOT hit 100.
tests/nodes/test_report.py:295
Methodtest_multi_hop_propagation
(self)
tests/nodes/analyzers/test_behavioral_taint_tracking.py:200
Methodtest_multi_key_pool_from_env_var
(self)
contrib/multilingual/tests/tests-pro/test_api_pool.py:328
Methodtest_multi_skill_directory_detected
Directory with no root SKILL.md and multiple sub-skills is detected.
tests/test_multi_skill.py:71
Methodtest_multiline_response_preserved
(self)
tests/unit/test_agent_cli.py:327
Methodtest_multiple_dangerous_calls_in_one_file
(self)
tests/nodes/analyzers/test_behavioral_ast.py:273
Methodtest_multiple_files
(self, tmp_path)
tests/nodes/analyzers/test_static_yara.py:228
Methodtest_multiple_files_multiple_batches
(self)
tests/nodes/test_llm_analyzer_base.py:932
Methodtest_multiple_files_produce_findings
(self)
tests/nodes/test_semantic_quality_policy.py:136
Methodtest_multiple_files_produce_findings
(self)
tests/nodes/analyzers/test_behavioral_taint_tracking.py:269
Methodtest_multiple_findings_same_file
(self)
tests/nodes/test_llm_analyzer_base.py:1166
Methodtest_multiple_flows_in_one_file
(self)
tests/nodes/analyzers/test_behavioral_taint_tracking.py:303
Methodtest_multiple_rules_deduplicated
(self)
tests/nodes/test_sarif_rules_and_empty_findings.py:124
Methodtest_multiple_rules_produce_multiple_findings
(self, tmp_path)
tests/nodes/analyzers/test_static_yara.py:208
Methodtest_multiple_slots_independently_overridden
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_constants.py:83
Methodtest_multiple_valid_findings_returns_correct_rule_ids
#11: Checks specific content, not just count.
contrib/multilingual/tests/tests-pro/test_gap_fill.py:93
Methodtest_narrative_always_comply_should_be_clean
(self)
tests/nodes/analyzers/test_static_patterns_anti_refusal.py:131
Methodtest_narrative_deception_flagged
(self)
tests/nodes/analyzers/test_semantic_security_discovery.py:686
Methodtest_near_miss_pattern_completes_fast
Input with almost-repeating but not-quite structure completes quickly. This is the classic ReDoS vector: content that almost matches but
tests/nodes/analyzers/test_mp2_regex_backtracking.py:85
Methodtest_negative_confidence_clamped_to_zero_and_skipped
(self)
tests/nodes/test_report.py:180
Methodtest_nested_skill_md_exempt
SKILL.md under a subdirectory is still exempt.
tests/nodes/analyzers/test_binary_and_pe3_filtering.py:199
Methodtest_network_failure_returns_empty
(self)
tests/unit/test_osv_client.py:171
Methodtest_network_to_subprocess
(self)
tests/nodes/analyzers/test_behavioral_taint_tracking.py:125
Methodtest_never_refuse
(self)
tests/nodes/analyzers/test_static_patterns_anti_refusal.py:38
Methodtest_nl_exfiltration_flagged
(self)
tests/nodes/analyzers/test_semantic_security_discovery.py:636
Methodtest_no_context_kept
Finding with no context (None) passes through.
tests/nodes/test_meta_analyzer_fallback.py:176
Methodtest_no_credentials_raises_with_helpful_message
(self)
tests/unit/test_llm_utils.py:109
Methodtest_no_disclaimers
(self)
tests/nodes/analyzers/test_static_patterns_anti_refusal.py:57
Methodtest_no_env_defaults_to_nvidia_path
(self)
tests/unit/test_providers.py:306
Methodtest_no_failures_keeps_strict_confirm_or_drop
When every batch returns, unconfirmed findings are dropped as before.
tests/nodes/test_meta_analyzer.py:207
Methodtest_no_findings
mcp_clean_skill: permissions match capabilities → zero LP findings.
tests/test_mcp_least_privilege.py:347
Functiontest_no_findings_records_nothing
()
tests/nodes/test_meta_analyzer.py:299
Methodtest_no_findings_still_creates_batch
(self)
tests/nodes/test_llm_analyzer_base.py:981
Methodtest_no_host_warns
(self, caplog: pytest.LogCaptureFixture)
tests/unit/test_reviewer_nits.py:79
Methodtest_no_injection_in_argv
Injecting the payload as a model name is blocked by validation.
tests/unit/test_agent_cli.py:214
Methodtest_no_issues_zero_score
No issues results in zero score.
tests/integration/test_graph_scanner.py:107
Methodtest_no_llm_call_attempted_records_nothing
(self)
tests/test_mcp_tool_poisoning.py:700
Methodtest_no_llm_mode_excludes_tp4
With use_llm=False, TP4 should not appear.
tests/test_mcp_tool_poisoning.py:782
Methodtest_no_manifest_skips
Empty state (no manifest) → empty findings.
tests/test_mcp_least_privilege.py:359
Methodtest_no_match_no_findings
(self, tmp_path)
tests/nodes/analyzers/test_static_yara.py:106
Methodtest_no_matched_text_kept_independently
Findings with empty/None matched_text are all kept.
tests/nodes/test_deduplicate.py:133
Methodtest_no_message_in_output_raises
( self, mock_popen: MagicMock, _mock_binary: MagicMock )
tests/unit/test_agent_cli.py:516
Methodtest_no_message_raises
(self)
tests/unit/test_agent_cli.py:345
Methodtest_no_mismatch_clean
(self)
tests/test_mcp_tool_poisoning.py:626
Methodtest_no_null_byte_not_binary
(self)
tests/nodes/analyzers/test_binary_and_pe3_filtering.py:68
Methodtest_no_permissions_field
mcp_underdeclared_skill has no permissions field → LP3 (MEDIUM, >=0.70).
tests/test_mcp_least_privilege.py:248
Methodtest_no_previous_manifest_skips
Returns empty findings when previous_manifest is absent.
tests/nodes/analyzers/test_mcp_rug_pull.py:27
Methodtest_no_race_conditions_under_high_concurrency
Stress test: 100 batches with random delays to surface race conditions. Verifies that every batch result is present, correctly paired to its
tests/nodes/test_llm_analyzer_base.py:510
Methodtest_no_registry_env_var_returns_empty
When SKILLSPECTOR_MODEL_REGISTRY is unset, registry is empty.
tests/unit/test_model_info.py:220
Methodtest_no_restrictions
(self)
tests/nodes/analyzers/test_static_patterns_anti_refusal.py:69
Methodtest_no_rules_dir_uses_builtin
Without yara_rules_dir, built-in rules are loaded (smoke test).
tests/nodes/analyzers/test_static_yara.py:281
Methodtest_no_severity_defaults_high
(self)
tests/unit/test_osv_client.py:118
Methodtest_no_triggers_no_findings
(self)
tests/unit/test_patterns_new.py:1124
Methodtest_node_fetch_eval_requires_response_text
(self, content)
tests/nodes/analyzers/test_static_yara.py:330
Methodtest_node_fetch_eval_text_rule
(self)
tests/nodes/analyzers/test_static_yara.py:318
Methodtest_node_returns_findings
(self)
tests/nodes/test_semantic_quality_policy.py:110
Methodtest_node_returns_findings
(self)
tests/nodes/analyzers/test_static_patterns_anti_refusal.py:109
Methodtest_node_runs_over_state
The node entrypoint runs the analyzer over state and returns findings.
tests/nodes/analyzers/test_static_patterns.py:455
Methodtest_node_runs_over_state
The node entrypoint runs the analyzer over state and returns findings.
tests/nodes/analyzers/test_static_patterns.py:767
Functiontest_non_degraded_clean_scan_stays_safe
Without degradation, a clean scan still reports SAFE (no over-flooring).
tests/nodes/test_report.py:838
Methodtest_non_dependency_file_skipped
(self)
tests/unit/test_patterns_new.py:929
Methodtest_non_documentation_paths_not_matched
Non-documentation paths are not matched.
tests/nodes/analyzers/test_static_runner_filtering.py:267
← previousnext →1,301–1,400 of 2,044, ranked by callers