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_structured_output_parses_and_validates
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_llm_utils.py:263
Method
test_subprocess_check_output_produces_ast4
(self)
tests/nodes/analyzers/test_behavioral_ast.py:80
Method
test_subprocess_popen_produces_ast4
(self)
tests/nodes/analyzers/test_behavioral_ast.py:75
Method
test_subprocess_run_produces_ast4
(self)
tests/nodes/analyzers/test_behavioral_ast.py:68
Method
test_success_records_ok_true
(self)
tests/nodes/test_semantic_quality_policy.py:269
Method
test_success_records_ok_true
(self)
tests/nodes/analyzers/test_semantic_developer_intent.py:240
Method
test_success_records_ok_true
(self, base_state)
tests/nodes/analyzers/test_semantic_security_discovery.py:316
Method
test_successful_batch_query
(self)
tests/unit/test_osv_client.py:126
Method
test_successful_call_records_ok_true
(self)
tests/test_mcp_tool_poisoning.py:675
Function
test_suppressed_finding_to_dict
()
tests/unit/test_suppression.py:165
Method
test_svg_not_treated_as_binary
SVG is text/XML and can carry <script> — must be scanned, not skipped.
tests/nodes/analyzers/test_binary_and_pe3_filtering.py:75
Method
test_synonym
(self)
tests/nodes/analyzers/test_static_patterns_anti_refusal.py:159
Method
test_syntax_error_skipped
(self)
tests/nodes/analyzers/test_behavioral_ast.py:199
Method
test_syntax_error_skipped
(self)
tests/nodes/analyzers/test_behavioral_taint_tracking.py:238
Method
test_system_token_in_param
Parameter description with 'SYSTEM:' token → TP3, confidence >= 0.90.
tests/test_mcp_tool_poisoning.py:421
Method
test_tags_present
Any TP finding has 'ASI02' and 'AML.T0080' in tags.
tests/test_mcp_tool_poisoning.py:574
Method
test_technical_warnings_should_be_clean
(self)
tests/nodes/analyzers/test_static_patterns_anti_refusal.py:138
Method
test_text_file_still_scanned
(self)
tests/nodes/analyzers/test_binary_and_pe3_filtering.py:118
Method
test_thread_outside_context_sees_original_class
Thread B outside context sees unpatched __init__ + class response_schema.
contrib/multilingual/tests/test_monkeypatch_invasiveness.py:183
Method
test_timeout_applied_to_botocore_config
The ``timeout`` argument flows through to the boto3 client. Without this, long Bedrock calls hang indefinitely instead of respecting
tests/unit/test_bedrock_provider.py:185
Method
test_timeout_is_set
(self, mock_popen: MagicMock, _mock_binary: MagicMock)
tests/unit/test_agent_cli.py:409
Method
test_timeout_is_set
(self, mock_popen: MagicMock, _mock_binary: MagicMock)
tests/unit/test_agent_cli.py:486
Method
test_timeout_raises
(self, mock_popen: MagicMock, _mock_binary: MagicMock)
tests/unit/test_agent_cli.py:509
Method
test_timeout_raises_agent_cli_error
( self, mock_popen: MagicMock, _mock_binary: MagicMock )
tests/unit/test_agent_cli.py:438
Method
test_timeout_returns_empty
(self)
tests/unit/test_osv_client.py:184
Method
test_timeout_returns_none
(self)
tests/unit/test_agent_cli.py:631
Method
test_tm1_confidence_boost_for_python
(self)
tests/unit/test_patterns_new.py:469
Method
test_tm1_dangerous_rm_stays_high
(self)
tests/unit/test_patterns_new.py:493
Method
test_tm1_detected
(self, content: str, filename: str, filetype: str)
tests/unit/test_patterns_new.py:466
Method
test_tm1_dockerfile_apt_cleanup_is_safe
rm -rf /var/lib/apt/lists/* in Dockerfile context should be LOW.
tests/unit/test_patterns_new.py:614
Method
test_tm1_false_positive_not_flagged
Words containing 'rm'/'delete' as substrings must not trigger TM1.
tests/unit/test_patterns_new.py:546
Method
test_tm1_genuine_destructive_still_detected
( self, content: str, filename: str, filetype: str )
tests/unit/test_patterns_new.py:562
Method
test_tm1_rm_outside_dockerfile_stays_high
rm -rf /var/lib/apt/lists/* outside Dockerfile context should remain HIGH.
tests/unit/test_patterns_new.py:657
Method
test_tm1_safe_container_downgraded
Standard container commands should be LOW severity with low confidence.
tests/unit/test_patterns_new.py:485
Method
test_tm2_agent_context_section_not_flagged
Agent Context sections in skill docs should not trigger TM2.
tests/unit/test_patterns_new.py:603
Method
test_tm2_detected
(self, content: str, filename: str, filetype: str)
tests/unit/test_patterns_new.py:586
Method
test_tm2_doc_steps_with_review_not_flagged
Documentation with Step 1/Step 2 in non-malicious context should not trigger TM2.
tests/unit/test_patterns_new.py:589
Method
test_tm2_dockerfile_apt_cleanup_chaining_is_safe
&& rm -rf in Dockerfile apt cleanup context should be LOW.
tests/unit/test_patterns_new.py:628
Method
test_tm2_dockerfile_chown_user_setup_is_safe
&& chown -R in Dockerfile user setup should be LOW.
tests/unit/test_patterns_new.py:642
Method
test_tm3_detected
(self, content: str, filename: str, filetype: str)
tests/unit/test_patterns_new.py:684
Method
test_tm4_benign_workload_not_flagged
(self)
tests/unit/test_patterns_new.py:728
Method
test_tm4_detected
(self, content: str, filename: str, filetype: str)
tests/unit/test_patterns_new.py:718
Method
test_tm4_documentation_example_excluded
(self)
tests/unit/test_patterns_new.py:735
Method
test_tm4_severity_high
(self)
tests/unit/test_patterns_new.py:721
Method
test_to_finding
(self)
tests/nodes/test_llm_analyzer_base.py:707
Method
test_to_finding_preserves_all_nine_fields
(self)
contrib/multilingual/tests/tests-pro/test_gap_fill.py:310
Method
test_tr1_overly_broad_word
(self)
tests/unit/test_patterns_new.py:1073
Method
test_tr1_short_trigger
(self)
tests/unit/test_patterns_new.py:1079
Method
test_tr1_specific_trigger_not_flagged
(self)
tests/unit/test_patterns_new.py:1087
Method
test_tr2_non_builtin_not_flagged
(self)
tests/unit/test_patterns_new.py:1108
Method
test_tr2_shadow_builtin_command
(self)
tests/unit/test_patterns_new.py:1093
Method
test_tr2_shadow_two_word
(self)
tests/unit/test_patterns_new.py:1099
Method
test_tr3_keyword_baiting
(self, trigger: str)
tests/unit/test_patterns_new.py:1120
Method
test_triple_nested_context_restores_only_on_outermost_exit
(self)
contrib/multilingual/tests/tests-pro/test_runner_patches.py:219
Method
test_triple_nesting_restores_only_on_outermost
(self)
contrib/multilingual/tests/test_monkeypatch_invasiveness.py:405
Method
test_true_for_claude_cli
(self)
tests/unit/test_providers.py:509
Method
test_true_for_codex_cli
(self)
tests/unit/test_providers.py:512
Method
test_try_acquire_returns_none_when_slots_exhausted_then_key_after_release
(self)
contrib/multilingual/tests/tests-pro/test_api_pool.py:90
Method
test_two_threads_concurrent_contexts_are_independent
Thread A and B each open deepseek_compat(); exit one, other stays patched.
contrib/multilingual/tests/test_monkeypatch_invasiveness.py:217
Method
test_unanalysed_findings_survive_a_failed_batch
Findings whose batch failed are kept (no verdict != rejection).
tests/nodes/test_meta_analyzer.py:151
Method
test_unconfirmed_finding_filtered_out
(self)
tests/nodes/test_llm_analyzer_base.py:1110
Method
test_underdeclared_detected
mcp_underdeclared_skill uses network, shell, env but declares no permissions → LP3 (no LP1 since permissions is empty).
tests/test_mcp_least_privilege.py:191
Method
test_underdeclared_has_high_severity_for_lp1
When a skill declares some permissions but misses capabilities, LP1 findings are HIGH.
tests/test_mcp_least_privilege.py:207
Method
test_unknown_category_defaults_to_yr4
(self, tmp_path)
tests/nodes/analyzers/test_static_yara.py:175
Method
test_unknown_model_logs_warning
( self, monkeypatch: pytest.MonkeyPatch, caplog: pytest.LogCaptureFixture )
tests/unit/test_constants.py:102
Method
test_unknown_model_returns_default
Unknown model falls back to DEFAULT_CONTEXT_LENGTH with a warning.
tests/unit/test_model_info.py:256
Method
test_unknown_model_uses_default
Unknown model uses the conftest-mocked context length (131_072).
tests/nodes/test_llm_analyzer_base.py:1700
Method
test_unknown_provider_raises
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_providers.py:361
Method
test_unknown_severity_defaults_to_low_points
(self)
tests/nodes/test_report.py:87
Method
test_unknown_slot_falls_back_to_default
(self)
tests/unit/test_bedrock_provider.py:111
Method
test_unparseable_response_returns_empty
(self)
tests/test_mcp_tool_poisoning.py:658
Method
test_unresolvable_host_blocked
(self)
tests/unit/test_input_handler_ssrf.py:58
Method
test_unset_slot_env_falls_through_to_provider
(self)
tests/unit/test_constants.py:78
Method
test_untainted_reassignment_no_finding
(self)
tests/nodes/analyzers/test_behavioral_taint_tracking.py:212
Method
test_untyped_variable_no_false_positive
Method calls on untyped variables should not produce false matches.
tests/nodes/analyzers/test_behavioral_taint_tracking.py:457
Function
test_use_llm_false_records_nothing
()
tests/nodes/test_meta_analyzer.py:294
Method
test_use_llm_false_records_nothing
(self)
tests/test_mcp_tool_poisoning.py:707
Method
test_use_llm_false_records_nothing
(self)
tests/nodes/test_semantic_quality_policy.py:283
Method
test_use_llm_false_records_nothing
(self)
tests/nodes/analyzers/test_semantic_developer_intent.py:254
Method
test_use_llm_false_records_nothing
(self)
tests/nodes/analyzers/test_semantic_security_discovery.py:348
Method
test_use_llm_false_returns_empty
(self)
tests/nodes/test_semantic_quality_policy.py:68
Function
test_use_llm_false_returns_filtered_findings
When use_llm is False, meta_analyzer uses fallback; graph returns filtered_findings.
tests/integration/test_meta_analyzer_use_llm.py:25
Function
test_use_llm_false_with_malicious_content
use_llm False still runs analyzers; malicious content yields findings and filtered_findings.
tests/integration/test_meta_analyzer_use_llm.py:40
Method
test_use_llm_missing_from_state_proceeds
Missing use_llm key should default to enabled (not skip).
tests/nodes/analyzers/test_semantic_security_discovery.py:197
Method
test_use_llm_true_proceeds
When use_llm is True (default), the node should attempt LLM analysis.
tests/nodes/test_semantic_quality_policy.py:73
Method
test_use_llm_true_proceeds
(self)
tests/nodes/analyzers/test_semantic_developer_intent.py:55
Function
test_use_llm_true_without_api_key_raises
When use_llm is True and no LLM API key is configured, the workflow raises ValueError.
tests/integration/test_meta_analyzer_use_llm.py:64
Method
test_user_module_exec_helper_no_false_positive
A benign helper merely *named* like a sink must not match (FP-neighbor). ``from mymod import exec_helper; exec_helper()`` imports an unrelate
tests/nodes/analyzers/test_behavioral_ast.py:338
Method
test_uses_analyzer_specific_model
(self, mock_get_model: MagicMock)
tests/nodes/test_semantic_quality_policy.py:187
Method
test_uses_analyzer_specific_model
(self, mock_get_model: MagicMock)
tests/nodes/analyzers/test_semantic_developer_intent.py:266
Method
test_uses_analyzer_specific_model
(self, mock_get_model: MagicMock)
tests/nodes/analyzers/test_semantic_security_discovery.py:219
Method
test_utf8_bom_prepended_json_does_not_crash
#C3: JSON with UTF-8 BOM prefix — should not crash.
contrib/multilingual/tests/tests-pro/test_gap_fill.py:241
Method
test_v3_all_high_metrics_is_critical
(self)
tests/unit/test_osv_client.py:49
Method
test_v3_few_high_is_medium
(self)
tests/unit/test_osv_client.py:61
Method
test_v3_mixed_high_is_high
(self)
tests/unit/test_osv_client.py:57
Method
test_v3_mostly_high_is_critical
(self)
tests/unit/test_osv_client.py:53
Method
test_v3_no_high_metrics_is_low
(self)
tests/unit/test_osv_client.py:65
Method
test_v4_all_high_is_critical
(self)
tests/unit/test_osv_client.py:69
Method
test_v4_low_severity
(self)
tests/unit/test_osv_client.py:73
Method
test_v4_mixed_is_high
(self)
tests/unit/test_osv_client.py:77
← previous
next →
1,901–2,000 of 2,044, ranked by callers