MCPcopy Create free account

hub / github.com/NVIDIA/SkillSpector / functions

Functions2,044 in github.com/NVIDIA/SkillSpector

Methodtest_non_json_string_returns_empty_list
(self)
contrib/multilingual/tests/tests-pro/test_gap_fill.py:213
Methodtest_non_matching_random_input_completes_fast
Non-repeating input of moderate size should complete within 5 seconds. The old regex with nested lazy quantifier and backreference would hang
tests/nodes/analyzers/test_mp2_regex_backtracking.py:72
Methodtest_non_pe3_rule_not_filtered
(self)
tests/nodes/analyzers/test_binary_and_pe3_filtering.py:177
Methodtest_non_python_files_skipped
(self)
tests/nodes/analyzers/test_behavioral_ast.py:191
Methodtest_non_python_skipped
(self)
tests/nodes/analyzers/test_behavioral_taint_tracking.py:230
Methodtest_non_skill_md_still_filtered
Regular markdown docs are still filtered.
tests/nodes/analyzers/test_binary_and_pe3_filtering.py:204
Methodtest_none_in_range
(self)
tests/nodes/test_llm_analyzer_base.py:132
Methodtest_none_like_manifest_returns_placeholder
(self)
tests/nodes/analyzers/test_semantic_developer_intent.py:330
Methodtest_none_matched_text_kept
Findings with None matched_text are preserved.
tests/nodes/test_deduplicate.py:142
Methodtest_none_message_filtered
(self)
tests/nodes/test_sarif_rules_and_empty_findings.py:79
Methodtest_none_rule_id_bucketed_as_unknown
Findings with empty/None rule_id all share one bucket.
tests/nodes/test_report.py:191
Methodtest_none_rule_id_filtered
(self)
tests/nodes/test_sarif_rules_and_empty_findings.py:59
Methodtest_none_severity_below_threshold_dropped
None severity at low confidence is dropped (no severity floor protection).
tests/nodes/test_meta_analyzer_fallback.py:107
Methodtest_none_severity_treated_as_low
Finding with None severity does not crash — treated as LOW.
tests/nodes/test_meta_analyzer_fallback.py:101
Methodtest_none_url_no_warning
(self, caplog: pytest.LogCaptureFixture)
tests/unit/test_reviewer_nits.py:64
Methodtest_nonexistent_path
Non-existent path returns not multi-skill.
tests/test_multi_skill.py:127
Methodtest_nonexistent_rules_dir_returns_empty
(self)
tests/nodes/analyzers/test_static_yara.py:272
Methodtest_nonzero_exit_raises
(self, mock_popen: MagicMock, _mock_binary: MagicMock)
tests/unit/test_agent_cli.py:504
Methodtest_nonzero_exit_raises_agent_cli_error
( self, mock_popen: MagicMock, _mock_binary: MagicMock )
tests/unit/test_agent_cli.py:431
Methodtest_normal_code_context_kept
Finding with regular code context (no example indicators) passes.
tests/nodes/test_meta_analyzer_fallback.py:165
Methodtest_normal_external_request_not_flagged
A request to a normal public HTTPS host produces no SSRF finding.
tests/nodes/analyzers/test_static_patterns.py:756
Methodtest_normal_file_access_not_flagged
Ordinary project file access produces no agent-snooping finding.
tests/nodes/analyzers/test_static_patterns.py:446
Methodtest_normal_roundtrip
(self)
tests/unit/test_agent_cli.py:616
Methodtest_normal_zip_extracts_fine
(self, tmp_path: Path)
tests/unit/test_input_handler_ssrf.py:165
Methodtest_novel_phrasing_flagged
(self)
tests/nodes/analyzers/test_semantic_security_discovery.py:585
Methodtest_npm_ecosystem
(self)
tests/unit/test_osv_client.py:242
Methodtest_null_byte_content_skipped
(self)
tests/nodes/analyzers/test_binary_and_pe3_filtering.py:107
Methodtest_null_byte_in_content_detected
(self)
tests/nodes/analyzers/test_binary_and_pe3_filtering.py:64
Functiontest_nv_build_provider_makes_live_structured_request
NVIDIA Build provider reaches its default endpoint and returns structured output.
tests/provider/test_provider_endpoint.py:92
Methodtest_oh1_confidence_boost_for_python
(self)
tests/unit/test_patterns_new.py:247
Methodtest_oh1_detected
(self, content: str, filename: str, filetype: str)
tests/unit/test_patterns_new.py:244
Methodtest_oh1_severity_is_high
(self)
tests/unit/test_patterns_new.py:295
Methodtest_oh2_detected
(self, content: str)
tests/unit/test_patterns_new.py:262
Methodtest_oh3_detected
(self, content: str, filename: str, filetype: str)
tests/unit/test_patterns_new.py:286
Methodtest_omits_profile_when_aws_profile_unset
No AWS_PROFILE → boto3.Session called without profile_name. Defers to the standard boto3 credential chain (env vars, instance metadat
tests/unit/test_bedrock_provider.py:137
Methodtest_open_read_to_exec
(self)
tests/nodes/analyzers/test_behavioral_taint_tracking.py:140
Methodtest_open_read_to_requests
(self)
tests/nodes/analyzers/test_behavioral_taint_tracking.py:83
Methodtest_open_write_not_a_source
open() in write mode should not be treated as a source.
tests/nodes/analyzers/test_behavioral_taint_tracking.py:94
Methodtest_openai_base_url_used_when_set
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_llm_utils.py:82
Methodtest_openai_fallback_uses_openai_default_model
( self, monkeypatch: pytest.MonkeyPatch )
tests/unit/test_llm_utils.py:318
Methodtest_openai_project_id_sets_default_header
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_providers.py:225
Functiontest_openai_provider_makes_live_structured_request
OpenAI provider reaches its default endpoint and returns structured output.
tests/provider/test_provider_endpoint.py:52
Methodtest_openai_used_when_provider_unset
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_llm_utils.py:76
Methodtest_original_asyncio_run_is_true_stdlib
(self)
contrib/multilingual/tests/test_monkeypatch_fragility.py:525
Methodtest_original_base_init_is_true_upstream
(self)
contrib/multilingual/tests/test_monkeypatch_fragility.py:512
Methodtest_original_chatopenai_init_is_captured_at_import_time
Verify P2 fix: _original_chatopenai_init is not None after import.
contrib/multilingual/tests/tests-pro/test_runner_patches.py:331
Methodtest_original_chatopenai_init_is_not_none
(self)
contrib/multilingual/tests/test_monkeypatch_fragility.py:518
Methodtest_os_popen_produces_ast5
(self)
tests/nodes/analyzers/test_behavioral_ast.py:94
Methodtest_os_system_produces_ast5
(self)
tests/nodes/analyzers/test_behavioral_ast.py:87
Methodtest_output_format_text
(self)
tests/unit/test_agent_cli.py:156
Methodtest_output_sorted_by_severity_then_file
Output is sorted: CRITICAL > HIGH > MEDIUM > LOW, then by file.
tests/nodes/test_deduplicate.py:164
Methodtest_over_declared_detected
mcp_overprivileged_skill declares bash/network/write but code only reads → LP4 for network and write.
tests/test_mcp_least_privilege.py:329
Methodtest_overflow_caps_and_kills
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_agent_cli.py:623
Methodtest_overlap_between_chunks
(self)
tests/nodes/test_llm_analyzer_base.py:91
Methodtest_oversized_file_chunked
(self)
tests/nodes/test_llm_analyzer_base.py:965
Methodtest_oversized_file_multiple_batches
(self, base_state)
tests/nodes/analyzers/test_semantic_security_discovery.py:172
Methodtest_oversized_file_skipped
(self)
tests/nodes/analyzers/test_behavioral_taint_tracking.py:261
Methodtest_oversized_file_skipped
(self, tmp_path)
tests/nodes/analyzers/test_static_yara.py:264
Methodtest_oversized_prompt_raises
(self, _mock: MagicMock)
tests/unit/test_agent_cli.py:543
Methodtest_p1_ignore_instructions
Detection of 'ignore previous instructions' pattern.
tests/unit/test_patterns.py:39
Methodtest_p1_ignore_instructions_produces_finding
Content that triggers P1 yields Finding with rule_id P1 and HIGH severity.
tests/nodes/analyzers/test_static_patterns.py:44
Methodtest_p1_jailbreak_mode
Detection of jailbreak mode pattern.
tests/unit/test_patterns.py:53
Methodtest_p1_override_safety
Detection of 'override safety' pattern.
tests/unit/test_patterns.py:46
Methodtest_p2_bidi_control_chars_produce_finding
Bidi control characters (Trojan Source CVE-2021-42574) yield P2.
tests/nodes/analyzers/test_static_patterns.py:75
Methodtest_p2_bidi_rlo_edge_cases
Bidi override variants all yield P2.
tests/nodes/analyzers/test_static_patterns.py:89
Methodtest_p2_emoji_flag_not_flagged
Emoji subdivision flags use tag chars legitimately — no P2.
tests/unit/test_patterns.py:91
Methodtest_p2_emoji_subdivision_flag_no_false_positive
A legitimate emoji subdivision flag (uses tag chars) must NOT yield P2.
tests/nodes/analyzers/test_static_patterns.py:124
Methodtest_p2_emoji_wrapped_smuggling_still_flagged
Adversarial: an attacker wraps a smuggled instruction between the emoji base U+1F3F4 and U+E007F CANCEL TAG to mimic a subdivision flag
tests/nodes/analyzers/test_static_patterns.py:134
Methodtest_p2_hidden_comment_produces_finding
Hidden instructions in HTML comment yield P2.
tests/nodes/analyzers/test_static_patterns.py:63
Methodtest_p2_html_comment
Hidden instructions in HTML comments.
tests/unit/test_patterns.py:60
Methodtest_p2_markdown_comment
Hidden instructions in markdown comments.
tests/unit/test_patterns.py:72
Methodtest_p2_unicode_tag_smuggling
Invisible Unicode Tag-block instruction (ASCII smuggling) yields P2.
tests/unit/test_patterns.py:84
Methodtest_p2_unicode_tag_smuggling_detected_in_python_script
Tag smuggling is caught even in a .py file, where the bidi/zero-width classes are gated out by file_type.
tests/nodes/analyzers/test_static_patterns.py:113
Methodtest_p2_unicode_tag_smuggling_produces_finding
Unicode Tag-block 'ASCII smuggling' (U+E0000-E007F) yields P2.
tests/nodes/analyzers/test_static_patterns.py:103
Methodtest_p5_bleach_ammonia
Detection of dangerous chemical mixing instructions.
tests/unit/test_patterns.py:302
Methodtest_p5_cyanide_in_recipe
Detection of poison in recipe context.
tests/unit/test_patterns.py:267
Methodtest_p5_educational_context
Lower or no finding for educational context.
tests/unit/test_patterns.py:291
Methodtest_p5_instructional_context
Higher confidence in instructional context.
tests/unit/test_patterns.py:280
Methodtest_p6_detected
(self, content: str)
tests/unit/test_patterns_new.py:318
Methodtest_p7_detected
(self, content: str)
tests/unit/test_patterns_new.py:331
Methodtest_p8_detected
(self, content: str)
tests/unit/test_patterns_new.py:347
Methodtest_parse_handles_json_and_plaintext
(self)
tests/unit/test_agent_cli.py:694
Methodtest_parse_handles_multiple_text_keys
(self)
tests/unit/test_agent_cli.py:698
Methodtest_parse_meta_defaults
A match with no meta fields should get default rule_id and severity.
tests/nodes/analyzers/test_static_yara.py:430
Methodtest_parses_one_hundred_findings_within_one_second
(self)
contrib/multilingual/tests/tests-pro/test_gap_fill.py:267
Methodtest_partial_coverage_reports_skipped
(self)
tests/nodes/test_analysis_completeness.py:75
Methodtest_partial_manifest_includes_present_fields
(self)
tests/nodes/analyzers/test_semantic_developer_intent.py:347
Methodtest_partial_match
(self)
tests/nodes/test_llm_analyzer_base.py:123
Functiontest_partition_empty_baseline_keeps_all
()
tests/unit/test_suppression.py:147
Functiontest_partition_no_baseline_keeps_all
()
tests/unit/test_suppression.py:140
Functiontest_partition_splits_and_records_reason
()
tests/unit/test_suppression.py:154
Methodtest_passes_when_all_params_present
(self)
contrib/multilingual/tests/test_monkeypatch_fragility.py:132
Methodtest_passthrough_adds_default_remediation
Passthrough adds default remediation to findings without one.
tests/nodes/test_meta_analyzer_fallback.py:226
Methodtest_passthrough_preserves_all_findings
_passthrough_with_defaults keeps all findings regardless of confidence.
tests/nodes/test_meta_analyzer_fallback.py:216
Methodtest_patch1_instance_response_schema_is_none_inside_context
Functional test for Patch 1.
contrib/multilingual/tests/tests-pro/test_runner_patches.py:191
Methodtest_patch1_response_schema_not_leaked_after_context_exit
(self)
contrib/multilingual/tests/tests-pro/test_runner_patches.py:197
Methodtest_patch2_parse_response_functionally_parses_json
P2: Functional — patched parse_response returns findings from raw JSON.
contrib/multilingual/tests/tests-pro/test_runner_patches.py:130
Methodtest_patch3_meta_parse_returns_valid_results
P3: Functional — patched meta parse processes valid JSON correctly.
contrib/multilingual/tests/tests-pro/test_runner_patches.py:146
Methodtest_patch4_base_build_prompt_appends_json_instruction
P4: Functional — build_prompt output includes JSON format instruction.
contrib/multilingual/tests/tests-pro/test_runner_patches.py:120
Methodtest_patch5_meta_build_prompt_appends_json_instruction
P5: Functional — meta build_prompt output includes JSON instruction.
contrib/multilingual/tests/tests-pro/test_runner_patches.py:166
← previousnext →1,401–1,500 of 2,044, ranked by callers