MCPcopy Create free account

hub / github.com/NVIDIA/SkillSpector / functions

Functions2,044 in github.com/NVIDIA/SkillSpector

Methodtest_returns_response_text
(self)
tests/unit/test_agent_cli.py:313
Methodtest_returns_string_content_directly
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_llm_utils.py:136
Methodtest_returns_text_from_langchain_content_blocks
( self, monkeypatch: pytest.MonkeyPatch )
tests/unit/test_llm_utils.py:145
Methodtest_returns_text_with_no_pinned_model
``model=""`` -> the CLI runs with the user's own default model.
tests/integration/test_agent_cli_live.py:75
Methodtest_returns_true_via_provider
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_llm_utils.py:179
Methodtest_returns_true_when_credentials_present
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_llm_utils.py:173
Methodtest_rewrites_url
(self)
tests/unit/test_anthropic_proxy_provider.py:169
Methodtest_rm_rf_in_shell_script_is_not_filtered
rm -rf in a .sh file without example context should NOT be filtered.
tests/nodes/analyzers/test_static_runner_filtering.py:83
Methodtest_root_skill_overrides_nested
Root SKILL.md means it's a single skill even with nested SKILL.md.
tests/test_multi_skill.py:91
Functiontest_rp1_docker_unpinned
RP1 detects docker run without tag.
tests/test_mcp_rug_pull.py:73
Functiontest_rp1_multiple_patterns
Multiple unpinned references produce multiple RP1 findings.
tests/test_mcp_rug_pull.py:93
Methodtest_rp1_normalization_avoids_false_positives
RP1 does not trigger when permission case or whitespace differs slightly.
tests/nodes/analyzers/test_mcp_rug_pull.py:98
Functiontest_rp1_npx_pinned_no_finding
RP1 does not fire when npx has @version.
tests/test_mcp_rug_pull.py:48
Functiontest_rp1_npx_unpinned
RP1 detects npx without @version suffix.
tests/test_mcp_rug_pull.py:35
Methodtest_rp1_permission_expansion
RP1 is triggered when a new permission is added in the current manifest.
tests/nodes/analyzers/test_mcp_rug_pull.py:73
Functiontest_rp1_uvx_unpinned
RP1 detects uvx without ==version.
tests/test_mcp_rug_pull.py:60
Methodtest_rp2_trigger_added
RP2 is triggered when a trigger phrase is added.
tests/nodes/analyzers/test_mcp_rug_pull.py:111
Methodtest_rp2_trigger_removed
RP2 is triggered when a trigger phrase is removed.
tests/nodes/analyzers/test_mcp_rug_pull.py:130
Methodtest_rp3_parameter_added
RP3 is triggered when a parameter is added.
tests/nodes/analyzers/test_mcp_rug_pull.py:147
Methodtest_rp3_parameter_default_changed
RP3 is triggered when a parameter default value is modified.
tests/nodes/analyzers/test_mcp_rug_pull.py:206
Methodtest_rp3_parameter_description_changed
RP3 is triggered when a parameter description is modified.
tests/nodes/analyzers/test_mcp_rug_pull.py:219
Methodtest_rp3_parameter_removed
RP3 is triggered when a parameter is removed.
tests/nodes/analyzers/test_mcp_rug_pull.py:171
Methodtest_rp3_parameter_type_changed
RP3 is triggered when a parameter type is modified.
tests/nodes/analyzers/test_mcp_rug_pull.py:193
Functiontest_rp3_version_ok_no_finding
RP3 does not fire on pinned version.
tests/test_mcp_rug_pull.py:118
Functiontest_rp3_version_wildcard
RP3 detects wildcard version.
tests/test_mcp_rug_pull.py:107
Methodtest_rtl_override
Description with U+202E (RTL override) → TP2 finding, confidence >= 0.95.
tests/test_mcp_tool_poisoning.py:337
Methodtest_rule_has_id_and_description
(self)
tests/nodes/test_sarif_rules_and_empty_findings.py:117
Functiontest_rule_matches_exact_rule_id
()
tests/unit/test_suppression.py:74
Functiontest_rule_matches_glob_rule_id
()
tests/unit/test_suppression.py:80
Functiontest_rule_message_glob_is_case_insensitive_substring
()
tests/unit/test_suppression.py:98
Functiontest_rule_scoped_by_path_and_rule_id
()
tests/unit/test_suppression.py:87
Methodtest_rules_are_cached
(self, tmp_path)
tests/nodes/analyzers/test_static_yara.py:374
Methodtest_rules_present_in_output
(self)
tests/nodes/test_sarif_rules_and_empty_findings.py:110
Methodtest_rules_sorted_by_id
(self)
tests/nodes/test_sarif_rules_and_empty_findings.py:136
Methodtest_run_batches_calls_structured_llm_per_batch
(self, mock_get_model: MagicMock)
tests/nodes/test_llm_analyzer_base.py:1578
Methodtest_run_batches_propagates_value_error
(self, mock_get_model: MagicMock)
tests/nodes/test_llm_analyzer_base.py:1607
Methodtest_run_batches_uses_message_text_for_content_blocks
(self)
tests/nodes/test_llm_analyzer_base.py:371
Methodtest_run_gap_fill_with_empty_file_cache_returns_empty_list
(self)
contrib/multilingual/tests/tests-pro/test_gap_fill.py:412
Methodtest_run_gap_fill_with_english_shortcuts_early
Non-English with empty cache is a no-op edge case.
contrib/multilingual/tests/tests-pro/test_gap_fill.py:416
Functiontest_run_scan_llm_accounting_is_honest_without_credentials
Requesting the LLM with no credentials must report it as not used.
tests/unit/test_mcp_server.py:50
Functiontest_run_scan_rejects_invalid_format
An unsupported output_format is rejected before any scan runs.
tests/unit/test_mcp_server.py:80
Functiontest_run_scan_reports_llm_available_with_credentials
Credentials present but use_llm=False: available, but honestly not used.
tests/unit/test_mcp_server.py:65
Functiontest_run_scan_returns_structured_verdict
run_scan returns a JSON-serialisable verdict with the expected shape.
tests/unit/test_mcp_server.py:31
Methodtest_safe_code_no_findings
(self)
tests/nodes/analyzers/test_behavioral_ast.py:207
Methodtest_safe_code_no_findings
(self)
tests/nodes/analyzers/test_behavioral_taint_tracking.py:246
Methodtest_safe_content
Safe content does not trigger false positives.
tests/unit/test_patterns.py:98
Methodtest_safe_content_no_agent_snooping
Legitimate skill content produces no agent snooping findings.
tests/nodes/analyzers/test_static_patterns.py:371
Methodtest_safe_content_no_p1_p2
Safe content does not produce P1/P2.
tests/nodes/analyzers/test_static_patterns.py:148
Methodtest_safe_content_produces_no_findings
(self)
tests/unit/test_patterns_new.py:195
Methodtest_safe_content_produces_no_findings
(self)
tests/unit/test_patterns_new.py:289
Methodtest_safe_content_produces_no_findings
(self)
tests/unit/test_patterns_new.py:350
Methodtest_safe_content_produces_no_findings
(self)
tests/unit/test_patterns_new.py:420
Methodtest_safe_content_produces_no_findings
(self)
tests/unit/test_patterns_new.py:739
Methodtest_safe_content_produces_no_findings
(self)
tests/unit/test_patterns_new.py:812
Methodtest_safe_cooking_skill
Normal cooking content does not trigger.
tests/unit/test_patterns.py:312
Methodtest_safe_skill_no_findings
(self)
tests/nodes/analyzers/test_static_patterns_anti_refusal.py:86
Methodtest_safe_skill_processes_all_files
( self, safe_skill_dir: Path, )
tests/nodes/test_semantic_quality_policy.py:528
Methodtest_safe_skill_produces_no_findings
( self, safe_skill_dir: Path, )
tests/nodes/test_semantic_quality_policy.py:505
Methodtest_safe_skill_produces_no_findings
(self, safe_skill_dir: Path)
tests/nodes/analyzers/test_semantic_security_discovery.py:490
Methodtest_same_line_distinct_matches_preserved
Distinct same-line config reads are preserved as separate findings.
tests/nodes/analyzers/test_static_patterns.py:437
Methodtest_same_pattern_across_files_deduplicated
Same rule + same matched text in different files → one output.
tests/nodes/test_deduplicate.py:88
Methodtest_same_rule_beyond_cap_contributes_zero
(self)
tests/nodes/test_report.py:116
Methodtest_same_rule_low_before_critical_sorted_correctly
LOW before CRITICAL in input order must still score as if CRITICAL came first. Without severity sorting, LOW gets the full weight (5*1.0=5) a
tests/nodes/test_report.py:211
Methodtest_same_rule_mixed_severities
Same rule_id with different severities still uses per-rule diminishing.
tests/nodes/test_report.py:201
Methodtest_same_rule_three_times_third_scores_quarter
(self)
tests/nodes/test_report.py:106
Methodtest_same_rule_twice_second_scores_half
(self)
tests/nodes/test_report.py:97
Methodtest_same_size_different_content_invalidates
Editing a rule file to same-length content must produce a different hash.
tests/nodes/analyzers/test_static_yara.py:457
Methodtest_sandbox_read_only
(self)
tests/unit/test_agent_cli.py:234
Functiontest_sanitize_finding_cleans_text_fields_only
()
tests/nodes/test_report_sanitizer.py:50
Methodtest_sanitize_keeps_valid_values_unchanged
(self)
contrib/multilingual/tests/tests-pro/test_runner_patches.py:515
Methodtest_sanitize_replaces_invalid_impact_string_with_low
(self)
contrib/multilingual/tests/tests-pro/test_runner_patches.py:510
Methodtest_sanitize_replaces_none_impact_with_low
(self)
contrib/multilingual/tests/tests-pro/test_runner_patches.py:505
Methodtest_sanitize_replaces_null_remediation_and_explanation_with_empty_string
(self)
contrib/multilingual/tests/tests-pro/test_runner_patches.py:498
Methodtest_sarif_format_does_not_include_completeness
(self, _mock_llm)
tests/nodes/test_analysis_completeness.py:174
Functiontest_sarif_log_minimal_roundtrip
Building a minimal SarifLog and dumping to dict yields valid SARIF shape.
tests/unit/test_sarif.py:39
Methodtest_sarif_output_contains_tp_rules
SARIF output includes TP rule IDs and ASI02 tags.
tests/test_mcp_tool_poisoning.py:761
Methodtest_sarif_schema_present
(self)
tests/nodes/test_sarif_rules_and_empty_findings.py:153
Methodtest_sc2_curl_bash
Detection of curl | bash pattern.
tests/unit/test_patterns.py:224
Methodtest_sc2_curl_bash_produces_finding
curl | bash yields SC2, HIGH severity.
tests/nodes/analyzers/test_static_patterns.py:306
Methodtest_sc2_evil_domain_stays_high
(self)
tests/unit/test_patterns_new.py:1058
Methodtest_sc2_pip_install_is_safe
(self)
tests/unit/test_patterns_new.py:1044
Methodtest_sc2_trusted_domain_in_query_is_not_downgraded
(self)
tests/unit/test_patterns_new.py:1034
Methodtest_sc2_trusted_source_downgraded
(self, content: str)
tests/unit/test_patterns_new.py:1021
Methodtest_sc2_trusted_source_low_confidence
(self)
tests/unit/test_patterns_new.py:1027
Methodtest_sc2_wget_sh
Detection of wget | sh pattern.
tests/unit/test_patterns.py:234
Methodtest_sc3_base64_exec
Detection of base64 decode + exec.
tests/unit/test_patterns.py:243
Methodtest_sc3_marshal_loads
Detection of marshal.loads.
tests/unit/test_patterns.py:253
Methodtest_sc4_fallback_on_osv_failure
Falls back to static list when OSV returns empty.
tests/unit/test_patterns_new.py:848
Methodtest_sc4_fallback_safe_version_no_finding
(self)
tests/unit/test_patterns_new.py:861
Methodtest_sc4_fallback_version_comparison
(self)
tests/unit/test_patterns_new.py:856
Methodtest_sc4_osv_multiple_vulns_aggregated
Multiple OSV advisories for one package produce a single finding.
tests/unit/test_patterns_new.py:876
Methodtest_sc4_osv_no_vulns_returns_empty
(self)
tests/unit/test_patterns_new.py:844
Methodtest_sc4_osv_npm_malicious
(self)
tests/unit/test_patterns_new.py:865
Methodtest_sc4_osv_returns_vulnerabilities
(self)
tests/unit/test_patterns_new.py:829
Methodtest_sc5_abandoned_npm_package
(self)
tests/unit/test_patterns_new.py:899
Methodtest_sc5_abandoned_python_package
(self)
tests/unit/test_patterns_new.py:894
Methodtest_sc5_maintained_package_not_flagged
(self)
tests/unit/test_patterns_new.py:904
Methodtest_sc6_exact_match_not_flagged
(self)
tests/unit/test_patterns_new.py:923
Methodtest_sc6_typosquat_npm
(self)
tests/unit/test_patterns_new.py:917
Methodtest_sc6_typosquat_pypi
(self)
tests/unit/test_patterns_new.py:910
← previousnext →1,701–1,800 of 2,044, ranked by callers