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_non_json_string_returns_empty_list
(self)
contrib/multilingual/tests/tests-pro/test_gap_fill.py:213
Method
test_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
Method
test_non_pe3_rule_not_filtered
(self)
tests/nodes/analyzers/test_binary_and_pe3_filtering.py:177
Method
test_non_python_files_skipped
(self)
tests/nodes/analyzers/test_behavioral_ast.py:191
Method
test_non_python_skipped
(self)
tests/nodes/analyzers/test_behavioral_taint_tracking.py:230
Method
test_non_skill_md_still_filtered
Regular markdown docs are still filtered.
tests/nodes/analyzers/test_binary_and_pe3_filtering.py:204
Method
test_none_in_range
(self)
tests/nodes/test_llm_analyzer_base.py:132
Method
test_none_like_manifest_returns_placeholder
(self)
tests/nodes/analyzers/test_semantic_developer_intent.py:330
Method
test_none_matched_text_kept
Findings with None matched_text are preserved.
tests/nodes/test_deduplicate.py:142
Method
test_none_message_filtered
(self)
tests/nodes/test_sarif_rules_and_empty_findings.py:79
Method
test_none_rule_id_bucketed_as_unknown
Findings with empty/None rule_id all share one bucket.
tests/nodes/test_report.py:191
Method
test_none_rule_id_filtered
(self)
tests/nodes/test_sarif_rules_and_empty_findings.py:59
Method
test_none_severity_below_threshold_dropped
None severity at low confidence is dropped (no severity floor protection).
tests/nodes/test_meta_analyzer_fallback.py:107
Method
test_none_severity_treated_as_low
Finding with None severity does not crash — treated as LOW.
tests/nodes/test_meta_analyzer_fallback.py:101
Method
test_none_url_no_warning
(self, caplog: pytest.LogCaptureFixture)
tests/unit/test_reviewer_nits.py:64
Method
test_nonexistent_path
Non-existent path returns not multi-skill.
tests/test_multi_skill.py:127
Method
test_nonexistent_rules_dir_returns_empty
(self)
tests/nodes/analyzers/test_static_yara.py:272
Method
test_nonzero_exit_raises
(self, mock_popen: MagicMock, _mock_binary: MagicMock)
tests/unit/test_agent_cli.py:504
Method
test_nonzero_exit_raises_agent_cli_error
( self, mock_popen: MagicMock, _mock_binary: MagicMock )
tests/unit/test_agent_cli.py:431
Method
test_normal_code_context_kept
Finding with regular code context (no example indicators) passes.
tests/nodes/test_meta_analyzer_fallback.py:165
Method
test_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
Method
test_normal_file_access_not_flagged
Ordinary project file access produces no agent-snooping finding.
tests/nodes/analyzers/test_static_patterns.py:446
Method
test_normal_roundtrip
(self)
tests/unit/test_agent_cli.py:616
Method
test_normal_zip_extracts_fine
(self, tmp_path: Path)
tests/unit/test_input_handler_ssrf.py:165
Method
test_novel_phrasing_flagged
(self)
tests/nodes/analyzers/test_semantic_security_discovery.py:585
Method
test_npm_ecosystem
(self)
tests/unit/test_osv_client.py:242
Method
test_null_byte_content_skipped
(self)
tests/nodes/analyzers/test_binary_and_pe3_filtering.py:107
Method
test_null_byte_in_content_detected
(self)
tests/nodes/analyzers/test_binary_and_pe3_filtering.py:64
Function
test_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
Method
test_oh1_confidence_boost_for_python
(self)
tests/unit/test_patterns_new.py:247
Method
test_oh1_detected
(self, content: str, filename: str, filetype: str)
tests/unit/test_patterns_new.py:244
Method
test_oh1_severity_is_high
(self)
tests/unit/test_patterns_new.py:295
Method
test_oh2_detected
(self, content: str)
tests/unit/test_patterns_new.py:262
Method
test_oh3_detected
(self, content: str, filename: str, filetype: str)
tests/unit/test_patterns_new.py:286
Method
test_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
Method
test_open_read_to_exec
(self)
tests/nodes/analyzers/test_behavioral_taint_tracking.py:140
Method
test_open_read_to_requests
(self)
tests/nodes/analyzers/test_behavioral_taint_tracking.py:83
Method
test_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
Method
test_openai_base_url_used_when_set
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_llm_utils.py:82
Method
test_openai_fallback_uses_openai_default_model
( self, monkeypatch: pytest.MonkeyPatch )
tests/unit/test_llm_utils.py:318
Method
test_openai_project_id_sets_default_header
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_providers.py:225
Function
test_openai_provider_makes_live_structured_request
OpenAI provider reaches its default endpoint and returns structured output.
tests/provider/test_provider_endpoint.py:52
Method
test_openai_used_when_provider_unset
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_llm_utils.py:76
Method
test_original_asyncio_run_is_true_stdlib
(self)
contrib/multilingual/tests/test_monkeypatch_fragility.py:525
Method
test_original_base_init_is_true_upstream
(self)
contrib/multilingual/tests/test_monkeypatch_fragility.py:512
Method
test_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
Method
test_original_chatopenai_init_is_not_none
(self)
contrib/multilingual/tests/test_monkeypatch_fragility.py:518
Method
test_os_popen_produces_ast5
(self)
tests/nodes/analyzers/test_behavioral_ast.py:94
Method
test_os_system_produces_ast5
(self)
tests/nodes/analyzers/test_behavioral_ast.py:87
Method
test_output_format_text
(self)
tests/unit/test_agent_cli.py:156
Method
test_output_sorted_by_severity_then_file
Output is sorted: CRITICAL > HIGH > MEDIUM > LOW, then by file.
tests/nodes/test_deduplicate.py:164
Method
test_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
Method
test_overflow_caps_and_kills
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_agent_cli.py:623
Method
test_overlap_between_chunks
(self)
tests/nodes/test_llm_analyzer_base.py:91
Method
test_oversized_file_chunked
(self)
tests/nodes/test_llm_analyzer_base.py:965
Method
test_oversized_file_multiple_batches
(self, base_state)
tests/nodes/analyzers/test_semantic_security_discovery.py:172
Method
test_oversized_file_skipped
(self)
tests/nodes/analyzers/test_behavioral_taint_tracking.py:261
Method
test_oversized_file_skipped
(self, tmp_path)
tests/nodes/analyzers/test_static_yara.py:264
Method
test_oversized_prompt_raises
(self, _mock: MagicMock)
tests/unit/test_agent_cli.py:543
Method
test_p1_ignore_instructions
Detection of 'ignore previous instructions' pattern.
tests/unit/test_patterns.py:39
Method
test_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
Method
test_p1_jailbreak_mode
Detection of jailbreak mode pattern.
tests/unit/test_patterns.py:53
Method
test_p1_override_safety
Detection of 'override safety' pattern.
tests/unit/test_patterns.py:46
Method
test_p2_bidi_control_chars_produce_finding
Bidi control characters (Trojan Source CVE-2021-42574) yield P2.
tests/nodes/analyzers/test_static_patterns.py:75
Method
test_p2_bidi_rlo_edge_cases
Bidi override variants all yield P2.
tests/nodes/analyzers/test_static_patterns.py:89
Method
test_p2_emoji_flag_not_flagged
Emoji subdivision flags use tag chars legitimately — no P2.
tests/unit/test_patterns.py:91
Method
test_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
Method
test_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
Method
test_p2_hidden_comment_produces_finding
Hidden instructions in HTML comment yield P2.
tests/nodes/analyzers/test_static_patterns.py:63
Method
test_p2_html_comment
Hidden instructions in HTML comments.
tests/unit/test_patterns.py:60
Method
test_p2_markdown_comment
Hidden instructions in markdown comments.
tests/unit/test_patterns.py:72
Method
test_p2_unicode_tag_smuggling
Invisible Unicode Tag-block instruction (ASCII smuggling) yields P2.
tests/unit/test_patterns.py:84
Method
test_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
Method
test_p2_unicode_tag_smuggling_produces_finding
Unicode Tag-block 'ASCII smuggling' (U+E0000-E007F) yields P2.
tests/nodes/analyzers/test_static_patterns.py:103
Method
test_p5_bleach_ammonia
Detection of dangerous chemical mixing instructions.
tests/unit/test_patterns.py:302
Method
test_p5_cyanide_in_recipe
Detection of poison in recipe context.
tests/unit/test_patterns.py:267
Method
test_p5_educational_context
Lower or no finding for educational context.
tests/unit/test_patterns.py:291
Method
test_p5_instructional_context
Higher confidence in instructional context.
tests/unit/test_patterns.py:280
Method
test_p6_detected
(self, content: str)
tests/unit/test_patterns_new.py:318
Method
test_p7_detected
(self, content: str)
tests/unit/test_patterns_new.py:331
Method
test_p8_detected
(self, content: str)
tests/unit/test_patterns_new.py:347
Method
test_parse_handles_json_and_plaintext
(self)
tests/unit/test_agent_cli.py:694
Method
test_parse_handles_multiple_text_keys
(self)
tests/unit/test_agent_cli.py:698
Method
test_parse_meta_defaults
A match with no meta fields should get default rule_id and severity.
tests/nodes/analyzers/test_static_yara.py:430
Method
test_parses_one_hundred_findings_within_one_second
(self)
contrib/multilingual/tests/tests-pro/test_gap_fill.py:267
Method
test_partial_coverage_reports_skipped
(self)
tests/nodes/test_analysis_completeness.py:75
Method
test_partial_manifest_includes_present_fields
(self)
tests/nodes/analyzers/test_semantic_developer_intent.py:347
Method
test_partial_match
(self)
tests/nodes/test_llm_analyzer_base.py:123
Function
test_partition_empty_baseline_keeps_all
()
tests/unit/test_suppression.py:147
Function
test_partition_no_baseline_keeps_all
()
tests/unit/test_suppression.py:140
Function
test_partition_splits_and_records_reason
()
tests/unit/test_suppression.py:154
Method
test_passes_when_all_params_present
(self)
contrib/multilingual/tests/test_monkeypatch_fragility.py:132
Method
test_passthrough_adds_default_remediation
Passthrough adds default remediation to findings without one.
tests/nodes/test_meta_analyzer_fallback.py:226
Method
test_passthrough_preserves_all_findings
_passthrough_with_defaults keeps all findings regardless of confidence.
tests/nodes/test_meta_analyzer_fallback.py:216
Method
test_patch1_instance_response_schema_is_none_inside_context
Functional test for Patch 1.
contrib/multilingual/tests/tests-pro/test_runner_patches.py:191
Method
test_patch1_response_schema_not_leaked_after_context_exit
(self)
contrib/multilingual/tests/tests-pro/test_runner_patches.py:197
Method
test_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
Method
test_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
Method
test_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
Method
test_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
← previous
next →
1,401–1,500 of 2,044, ranked by callers