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_pathlib_read_bytes_as_source
(self)
tests/nodes/analyzers/test_behavioral_taint_tracking.py:391
Method
test_pathlib_read_text_as_source
pathlib.Path(...).read_text() should be detected as a file-read source.
tests/nodes/analyzers/test_behavioral_taint_tracking.py:380
Method
test_pathlib_write_text_as_sink
(self)
tests/nodes/analyzers/test_behavioral_taint_tracking.py:418
Method
test_pdf_extension_detected
(self)
tests/nodes/analyzers/test_binary_and_pe3_filtering.py:46
Method
test_pdf_produces_no_findings
(self)
tests/nodes/analyzers/test_binary_and_pe3_filtering.py:84
Method
test_pe3_actual_credential_access_still_detected
Genuine credential file access should still be flagged.
tests/unit/test_patterns.py:212
Method
test_pe3_aws_credentials
Detection of AWS credential access.
tests/unit/test_patterns.py:162
Method
test_pe3_cicd_env_var_table_not_flagged
CI/CD variable documentation tables should not be flagged.
tests/unit/test_patterns.py:192
Method
test_pe3_env_file
Detection of .env file access.
tests/unit/test_patterns.py:172
Method
test_pe3_gitlab_settings_access_tokens_not_flagged
GitLab UI navigation 'Settings > Access Tokens' should not be flagged.
tests/unit/test_patterns.py:182
Method
test_pe3_runner_enable_instructions_not_flagged
GitLab runner setup instructions should not be flagged.
tests/unit/test_patterns.py:202
Method
test_pe3_ssh_key_access
Detection of SSH key access.
tests/unit/test_patterns.py:151
Method
test_pe3_ssh_key_not_filtered
(self)
tests/nodes/analyzers/test_binary_and_pe3_filtering.py:164
Method
test_pe4_combined_line_produces_exactly_one_finding
A line matching multiple PE4 patterns must produce exactly one PE4 finding.
tests/nodes/analyzers/test_static_patterns.py:486
Method
test_pe4_docker_client_constructor_produces_finding
DockerClient( instantiation yields PE4 (HIGH).
tests/nodes/analyzers/test_static_patterns.py:516
Method
test_pe4_docker_from_env_produces_finding
docker.from_env() yields PE4 (HIGH).
tests/nodes/analyzers/test_static_patterns.py:503
Method
test_pe4_docker_sock_path_produces_finding
Direct reference to /var/run/docker.sock yields PE4 (HIGH).
tests/nodes/analyzers/test_static_patterns.py:468
Method
test_pe4_documentation_example_not_flagged
docker.from_env() inside a markdown code block is filtered as documentation.
tests/nodes/analyzers/test_static_patterns.py:549
Method
test_pe4_http_unix_socket_produces_finding
http+unix:// reference to docker.sock yields PE4 (HIGH).
tests/nodes/analyzers/test_static_patterns.py:527
Method
test_pe4_node_runs_over_state
The node entrypoint runs PE4 detection over state and returns findings.
tests/nodes/analyzers/test_static_patterns.py:562
Method
test_pe4_safe_docker_subprocess_not_flagged
subprocess call to docker CLI without socket reference produces no PE4.
tests/nodes/analyzers/test_static_patterns.py:538
Method
test_pe5_cap_add_sys_admin_produces_finding
--cap-add=SYS_ADMIN yields PE5.
tests/nodes/analyzers/test_static_patterns.py:606
Method
test_pe5_cgroup_release_agent_produces_finding
cgroup release_agent write (CVE-2022-0492 class) yields PE5 at highest confidence.
tests/nodes/analyzers/test_static_patterns.py:639
Method
test_pe5_combined_line_produces_exactly_one_finding
A single docker run line matching multiple PE5 flags yields exactly one PE5 finding.
tests/nodes/analyzers/test_static_patterns.py:663
Method
test_pe5_documentation_example_not_flagged
--privileged inside a markdown code block is filtered as documentation.
tests/nodes/analyzers/test_static_patterns.py:688
Method
test_pe5_host_namespace_produces_finding
--pid=host / --net=host (shared host namespaces) yields PE5.
tests/nodes/analyzers/test_static_patterns.py:617
Method
test_pe5_host_root_mount_produces_finding
docker run -v /:/host (host root filesystem mount) yields PE5 (HIGH).
tests/nodes/analyzers/test_static_patterns.py:595
Method
test_pe5_nsenter_produces_finding
nsenter into host PID 1 yields PE5 (HIGH).
tests/nodes/analyzers/test_static_patterns.py:628
Method
test_pe5_privileged_flag_produces_finding
docker run --privileged yields PE5 (HIGH).
tests/nodes/analyzers/test_static_patterns.py:577
Method
test_pe5_safe_docker_run_not_flagged
Plain docker run without dangerous flags produces no PE5.
tests/nodes/analyzers/test_static_patterns.py:677
Method
test_pe5_unshare_produces_finding
unshare --user --map-root-user yields PE5.
tests/nodes/analyzers/test_static_patterns.py:652
Method
test_permission_matching_case_insensitive
Permissions 'BASH' and 'Network' should match shell/network capabilities.
tests/test_mcp_least_privilege.py:405
Method
test_permission_mode_dont_ask
(self)
tests/unit/test_agent_cli.py:185
Method
test_plain_json
(self)
tests/unit/test_llm_utils.py:303
Method
test_plain_model_id_does_not_pin_provider
For non-ARN model IDs, provider is inferred from the prefix — omit it.
tests/unit/test_bedrock_provider.py:231
Method
test_png_extension_detected
(self)
tests/nodes/analyzers/test_binary_and_pe3_filtering.py:49
Method
test_preserves_content_type
(self)
tests/unit/test_anthropic_proxy_provider.py:195
Method
test_preserves_other_body_fields
(self)
tests/unit/test_anthropic_proxy_provider.py:201
Method
test_preserves_safe_vars
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_agent_cli.py:296
Method
test_print_flag_present
(self)
tests/unit/test_agent_cli.py:152
Method
test_private_10_range_blocked
(self)
tests/unit/test_input_handler_ssrf.py:43
Method
test_private_172_range_blocked
(self)
tests/unit/test_input_handler_ssrf.py:46
Method
test_private_192_range_blocked
(self)
tests/unit/test_input_handler_ssrf.py:49
Method
test_procedures_subdir_markdown_gets_reduced_confidence
A finding in procedures/reset.md gets confidence reduced.
tests/nodes/analyzers/test_static_runner_filtering.py:185
Method
test_processes_all_batches
(self)
tests/nodes/test_llm_analyzer_base.py:400
Method
test_prompt_contains_all_rule_ids
(self)
tests/nodes/analyzers/test_semantic_security_discovery.py:139
Method
test_prompt_contains_file_content
(self)
tests/nodes/test_llm_analyzer_base.py:998
Method
test_prompt_contains_file_type_scoping
(self)
tests/nodes/test_semantic_quality_policy.py:298
Method
test_prompt_contains_findings
(self)
tests/nodes/test_llm_analyzer_base.py:1006
Method
test_prompt_contains_sdi_rule_ids
(self)
tests/nodes/analyzers/test_semantic_developer_intent.py:309
Method
test_prompt_contains_sqp_rule_ids
(self)
tests/nodes/test_semantic_quality_policy.py:294
Method
test_prompt_has_critical_instructions
(self)
tests/nodes/test_llm_analyzer_base.py:1022
Method
test_prompt_has_manifest_section_placeholder
(self)
tests/nodes/analyzers/test_semantic_developer_intent.py:313
Method
test_prompt_in_stdin_not_argv
(self, mock_popen: MagicMock, _mock_binary: MagicMock)
tests/unit/test_agent_cli.py:385
Method
test_prompt_in_stdin_not_argv
(self, mock_popen: MagicMock, _mock_binary: MagicMock)
tests/unit/test_agent_cli.py:477
Method
test_prompt_injection_hidden_instructions_rule
(self)
tests/nodes/analyzers/test_static_yara.py:334
Method
test_prompt_instructs_residual_gap
(self)
tests/nodes/analyzers/test_semantic_security_discovery.py:143
Method
test_prose_wrapped_json
(self)
tests/unit/test_llm_utils.py:309
Method
test_protocol_declares_default_model
(self)
tests/unit/test_reviewer_nits.py:31
Method
test_protocol_declares_slot_defaults
(self)
tests/unit/test_reviewer_nits.py:35
Method
test_provider_base_url_not_overridden_by_openai_base_url
OPENAI_BASE_URL is the OpenAI tier; it does not affect the provider tier.
tests/unit/test_llm_utils.py:88
Method
test_provider_credentials_use_provider_default_model
( self, monkeypatch: pytest.MonkeyPatch )
tests/unit/test_llm_utils.py:336
Method
test_provider_wins_when_configured
(self, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_llm_utils.py:67
Method
test_public_ip_allowed
(self)
tests/unit/test_input_handler_ssrf.py:55
Method
test_pydantic_model_path_delegates_to_original_parse_response
When response is a GapFillResult Pydantic object, parse_response should process it without JSON parsing.
contrib/multilingual/tests/tests-pro/test_gap_fill.py:292
Method
test_pyproject_build_system_requires_extracted
[build-system].requires packages are scanned (e.g. setuptools, hatchling).
tests/unit/test_patterns_new.py:993
Method
test_pyproject_malformed_returns_no_packages
Unparseable TOML yields no packages rather than raising.
tests/unit/test_patterns_new.py:958
Method
test_pyproject_metadata_keys_not_treated_as_packages
PEP 621 metadata keys (requires-python, name, ...) are not dependencies.
tests/unit/test_patterns_new.py:933
Method
test_pyproject_no_project_table
A tool-only pyproject (no [project] table) yields no packages.
tests/unit/test_patterns_new.py:976
Method
test_pyproject_optional_and_group_deps_extracted
optional-dependencies and PEP 735 dependency-groups are real packages.
tests/unit/test_patterns_new.py:945
Method
test_pyproject_skips_non_pep508_and_include_group_entries
Non-string group entries and non-PEP 508 strings are ignored.
tests/unit/test_patterns_new.py:980
Method
test_pyproject_vanilla_has_no_findings
A normal pyproject.toml produces no SC findings (regression for issue #2).
tests/unit/test_patterns_new.py:962
Method
test_pyproject_vulnerable_dependency_still_detected
Real vulnerable deps in pyproject are still flagged (SC4 via static fallback).
tests/unit/test_patterns_new.py:969
Method
test_python_file_in_docs_is_not_documentation_markdown
A .py file even inside docs/ is not documentation markdown.
tests/nodes/analyzers/test_static_runner_filtering.py:223
Method
test_python_not_binary
(self)
tests/nodes/analyzers/test_binary_and_pe3_filtering.py:61
Method
test_quiet_loop_handler_does_not_suppress_other_exceptions
#C8: Verify that non-event-loop errors still propagate normally.
contrib/multilingual/tests/tests-pro/test_runner_patches.py:483
Method
test_quiet_loop_handler_suppresses_event_loop_closed_error
#C8: Verify _patched_asyncio_run installs quiet handler via loop_factory.
contrib/multilingual/tests/tests-pro/test_runner_patches.py:442
Method
test_ra1_detected
(self, content: str, filename: str, filetype: str)
tests/unit/test_patterns_new.py:772
Method
test_ra1_severity_is_high
(self)
tests/unit/test_patterns_new.py:818
Method
test_ra2_detected
(self, content: str, filename: str, filetype: str)
tests/unit/test_patterns_new.py:809
Method
test_raises_for_unknown_response
(self)
tests/nodes/test_llm_analyzer_base.py:294
Method
test_raises_when_param_becomes_keyword_only
(self)
contrib/multilingual/tests/test_monkeypatch_fragility.py:147
Method
test_raises_when_param_missing
(self)
contrib/multilingual/tests/test_monkeypatch_fragility.py:139
Method
test_raw_githubusercontent_allowed
(self, mock_client_cls)
tests/unit/test_input_handler_ssrf.py:122
Method
test_raw_string_mode
When response_schema is None, arun_batches uses _llm.ainvoke.
tests/nodes/test_llm_analyzer_base.py:481
Method
test_real_pe3_in_python_preserved
(self)
tests/nodes/analyzers/test_binary_and_pe3_filtering.py:261
Method
test_real_world_repetitive_skill
Simulates a skill with subprocess in 5 files — should deduplicate to 1.
tests/nodes/test_deduplicate.py:176
Method
test_reassignment_propagates_taint
(self)
tests/nodes/analyzers/test_behavioral_taint_tracking.py:156
Function
test_records_ok_true_on_success
()
tests/nodes/test_meta_analyzer.py:263
Method
test_recover_expired_keys_restores_availability
(self)
contrib/multilingual/tests/tests-pro/test_api_pool.py:166
Method
test_recovered_key_can_be_acquired_again
(self)
contrib/multilingual/tests/tests-pro/test_api_pool.py:220
Method
test_recovered_key_can_be_acquired_via_try_acquire
try_acquire also recovers rate-limited keys (not just acquire).
contrib/multilingual/tests/tests-pro/test_api_pool.py:206
Method
test_reflective_getattr_does_not_emit_ast7
(self)
tests/nodes/analyzers/test_behavioral_ast.py:149
Method
test_registry_adds_model
Registry can provide limits for any model label.
tests/unit/test_model_info.py:197
Method
test_registry_covers_known_clis
(self)
tests/unit/test_agent_cli.py:644
Method
test_registry_lookup
Model found in registry file pointed to by env var.
tests/unit/test_model_info.py:174
Function
test_rejected_finding_still_dropped
The end_line-agnostic fallback must not resurrect findings the LLM rejected (is_vulnerability=False).
tests/nodes/test_meta_analyzer.py:90
Method
test_rel_name_falls_back_to_skill_name_when_unrelated_paths
(self)
contrib/multilingual/tests/tests-pro/test_runner_patches.py:619
Method
test_rel_name_returns_relative_path_when_skill_is_under_root
(self)
contrib/multilingual/tests/tests-pro/test_runner_patches.py:613
Method
test_relative_path_is_dirname
SkillDirectory.relative_path is just the directory name.
tests/test_multi_skill.py:138
← previous
next →
1,501–1,600 of 2,044, ranked by callers