MCPcopy Create free account

hub / github.com/NVIDIA/SkillSpector / functions

Functions2,044 in github.com/NVIDIA/SkillSpector

Functionformat_file
(path: str)
tests/fixtures/mcp_clean_skill/scripts/format.py:7
Methodget_context_length
(self, model: str)
src/skillspector/providers/_agent_cli_base.py:73
Methodget_max_output_tokens
(self, model: str)
src/skillspector/providers/_agent_cli_base.py:78
Functiongreet
(name: str)
tests/fixtures/mcp_mismatched_skill/scripts/greet.py:8
Methodhandle_async_request
(self, request: httpx.Request)
src/skillspector/providers/anthropic_proxy/provider.py:134
Methodhandle_request
(self, request: httpx.Request)
src/skillspector/providers/anthropic_proxy/provider.py:108
Methodinvoke
(self, prompt: str)
src/skillspector/llm_utils.py:179
Functionis_available
Return ``(available, reason)``: the binary is on PATH AND authenticated.
src/skillspector/providers/_agent_cli.py:588
Functionis_available
Quick connectivity check against the OSV.dev API (HEAD-like POST).
src/skillspector/nodes/analyzers/osv_client.py:304
Methodis_available
(self)
src/skillspector/providers/base.py:102
Methodis_available
Binary on PATH AND authenticated (delegates to the registry probe).
src/skillspector/providers/_agent_cli_base.py:54
Methodis_chunk
(self)
src/skillspector/llm_analyzer_base.py:138
Methodkeys_configured
Total number of keys in the pool.
contrib/multilingual/api_pool.py:324
Functionlookup_context_length
Return ``context_length`` for *model* from the resolved YAML registry.
src/skillspector/providers/registry.py:68
Functionlookup_max_output_tokens
Return ``max_output_tokens`` for *model* from the resolved YAML registry.
src/skillspector/providers/registry.py:76
Functionmain
SkillSpector - Security scanner for AI agent skills (LangGraph). Analyze skill bundles to detect vulnerabilities and security risks. Sup
src/skillspector/cli.py:98
Functionmake_dummy_finding
Create a deterministic dummy finding for a stub analyzer.
src/skillspector/nodes/analyzers/common.py:26
Functionmalicious_skill_dir
Create a malicious skill directory for testing.
tests/conftest.py:60
Functionmcp
Run SkillSpector as an MCP server. Exposes a single tool, ``scan_skill``, so any MCP-capable agent (Claude Code, Codex CLI, Gemini CLI)
src/skillspector/cli.py:450
Functionmock_llm
Patch get_chat_model; configure response via mock_llm.ainvoke = AsyncMock(...).
tests/nodes/analyzers/conftest.py:26
Functionmock_resolve_context_length
Patch the layered resolver so tests never make network requests.
tests/conftest.py:25
Functionmulti_skill_dir
Create a directory with 3 sub-skills, no root SKILL.md.
tests/test_multi_skill.py:28
Functionnested_with_root
A directory with root SKILL.md AND sub-skill SKILL.md files.
tests/test_multi_skill.py:53
Functionnode
Analyze MCP tool manifest for tool-poisoning indicators (TP1-TP4).
src/skillspector/nodes/analyzers/mcp_tool_poisoning.py:830
Functionnode
Run prompt_injection patterns and return findings.
src/skillspector/nodes/analyzers/static_patterns_prompt_injection.py:256
Functionnode
Run data_exfiltration patterns and return findings.
src/skillspector/nodes/analyzers/static_patterns_data_exfiltration.py:222
Functionnode
Parse Python files and detect source\u2192sink data flows.
src/skillspector/nodes/analyzers/behavioral_taint_tracking.py:423
Functionnode
Run SSRF patterns and return findings.
src/skillspector/nodes/analyzers/static_patterns_ssrf.py:98
Functionnode
Run excessive_agency patterns and return findings.
src/skillspector/nodes/analyzers/static_patterns_excessive_agency.py:237
Functionnode
Run rogue_agent patterns and return findings.
src/skillspector/nodes/analyzers/static_patterns_rogue_agent.py:189
Functionnode
Run anti_refusal patterns and return findings.
src/skillspector/nodes/analyzers/static_patterns_anti_refusal.py:168
Functionnode
Analyze manifest permissions vs code capabilities; emit LP1-LP4 findings.
src/skillspector/nodes/analyzers/mcp_least_privilege.py:208
Functionnode
Run output_handling patterns and return findings.
src/skillspector/nodes/analyzers/static_patterns_output_handling.py:196
Functionnode
Run tool_misuse patterns and return findings.
src/skillspector/nodes/analyzers/static_patterns_tool_misuse.py:306
Functionnode
Run privilege_escalation patterns and return findings.
src/skillspector/nodes/analyzers/static_patterns_privilege_escalation.py:257
Functionnode
Run memory_poisoning patterns and return findings.
src/skillspector/nodes/analyzers/static_patterns_memory_poisoning.py:223
Functionnode
Run supply_chain patterns (SC1–SC6) and trigger analysis (TR1–TR3).
src/skillspector/nodes/analyzers/static_patterns_supply_chain.py:954
Functionnode
Run agent_snooping patterns and return findings.
src/skillspector/nodes/analyzers/static_patterns_agent_snooping.py:186
Functionnode
Run harmful_content patterns and return findings.
src/skillspector/nodes/analyzers/static_patterns_harmful_content.py:217
Functionnode
Run system_prompt_leakage patterns and return findings.
src/skillspector/nodes/analyzers/static_patterns_system_prompt_leakage.py:215
Functionnode
Parse Python files via AST and detect dangerous execution patterns.
src/skillspector/nodes/analyzers/behavioral_ast.py:236
Functionorganize
Organize files in the given directory by extension.
tests/fixtures/sqp/sqp2_missing_warnings/organizer.py:7
Methodparse_response
(self, response: object, batch: Batch)
tests/nodes/test_llm_analyzer_base.py:174
Functionprocess_records
Read-only: parses records and returns a list. Makes no changes to disk.
tests/fixtures/sdi/sdi4_divergence/processor.py:6
Functionpytest_collection_modifyitems
(items: list[pytest.Item])
tests/integration/conftest.py:21
Functionpytest_configure
Register custom markers for the contrib.multilingual test suite.
contrib/multilingual/tests/conftest.py:23
Methodrate_limits_hit
Total number of 429 responses encountered across all keys.
contrib/multilingual/api_pool.py:312
Functionread_config
Read a config file and return its contents.
tests/fixtures/sdi/sdi3_scope_creep/config_reader.py:6
Functionread_data
(path: str)
tests/fixtures/mcp_poisoned_tool/scripts/reader.py:4
Functionread_file
(path: str)
tests/fixtures/mcp_overprivileged_skill/scripts/helper.py:4
Methodresolve_credentials
No HTTP credentials needed — the CLI handles auth itself.
src/skillspector/providers/_agent_cli_base.py:48
Methodresolve_credentials
Bedrock uses SigV4, not ``(api_key, base_url)`` — always returns ``None``. ``providers.resolve_chat_model_credentials`` treats ``None`` as "t
src/skillspector/providers/bedrock/provider.py:64
Methodresolve_model
Return the model to forward to the CLI. CLI providers default to the user's OWN CLI-configured model (we omit ``--model`` entirely),
src/skillspector/providers/_agent_cli_base.py:83
Methodresolve_model
Resolve model: ``SKILLSPECTOR_MODEL`` env > slot default > DEFAULT_MODEL.
src/skillspector/providers/anthropic_proxy/provider.py:250
Methodresolve_model
Resolve model: ``SKILLSPECTOR_MODEL`` env > slot default > ``DEFAULT_MODEL``.
src/skillspector/providers/bedrock/provider.py:141
Methodresolve_model
Resolve model: ``SKILLSPECTOR_MODEL`` env > slot default > ``DEFAULT_MODEL``.
src/skillspector/providers/anthropic/provider.py:85
Methodresolve_model
Resolve model: ``SKILLSPECTOR_MODEL`` env > slot default > ``DEFAULT_MODEL``.
src/skillspector/providers/nv_build/provider.py:79
Methodretry_successes
Total number of successful retries after a key switch.
contrib/multilingual/api_pool.py:318
Functionrun
Run the MCP server over ``stdio`` (local agents) or ``http`` (remote/A2A).
src/skillspector/mcp_server.py:172
Functionrun_task
(task: str)
tests/fixtures/mcp_underdeclared_skill/scripts/agent.py:9
Methodruns_non_empty
(self)
src/skillspector/sarif_models.py:172
Functionsafe_skill_dir
Create a safe skill directory for testing.
tests/conftest.py:35
Functionscan
Scan a skill for security vulnerabilities. Examples: skillspector scan ./my-skill/ skillspector scan ./my-skill/ --format j
src/skillspector/cli.py:177
Functionscan_skill
Scan an AI agent skill for security risks before installing it. Use this before installing or loading any skill or MCP server to decide
src/skillspector/mcp_server.py:150
MethodsetUp
(self)
contrib/multilingual/tests/tests-pro/test_runner_patches.py:561
MethodsetUp
(self)
contrib/multilingual/tests/tests-pro/test_runner_patches.py:628
MethodsetUp
(self)
contrib/multilingual/tests/tests-pro/test_api_pool.py:316
MethodsetUp
(self)
contrib/multilingual/tests/tests-pro/test_api_pool.py:353
MethodsetUpClass
#F1: One shared analyzer for all tests — avoids repeated ChatOpenAI creation.
contrib/multilingual/tests/tests-pro/test_gap_fill.py:78
MethodsetUpClass
(cls)
contrib/multilingual/tests/tests-pro/test_gap_fill.py:134
MethodsetUpClass
(cls)
contrib/multilingual/tests/tests-pro/test_gap_fill.py:166
MethodsetUpClass
(cls)
contrib/multilingual/tests/tests-pro/test_gap_fill.py:210
MethodsetUpClass
(cls)
contrib/multilingual/tests/tests-pro/test_gap_fill.py:264
MethodsetUpClass
(cls)
contrib/multilingual/tests/tests-pro/test_gap_fill.py:289
MethodsetUpClass
(cls)
contrib/multilingual/tests/tests-pro/test_gap_fill.py:354
MethodsetUpClass
(cls)
contrib/multilingual/tests/tests-pro/test_gap_fill.py:380
Functionsingle_skill_dir
Create a single-skill directory with root SKILL.md.
tests/test_multi_skill.py:42
MethodstartTest
(self, test)
contrib/multilingual/tests/tests-pro/random_numbered.py:61
Methodstdin_bytes
All bytes written to stdin by the bounded reader.
tests/unit/test_agent_cli.py:106
Methodstream
(self, *args: object, **kwargs: object)
src/skillspector/llm_utils.py:213
Functionsummarize
Summarize text by calling a remote API.
tests/fixtures/sdi/sdi1_mismatch/summarizer.py:6
MethodtearDown
(self)
contrib/multilingual/tests/tests-pro/test_runner_patches.py:565
MethodtearDown
(self)
contrib/multilingual/tests/tests-pro/test_api_pool.py:321
MethodtearDownClass
(cls)
contrib/multilingual/tests/test_monkeypatch_fragility.py:169
MethodtearDownClass
(cls)
contrib/multilingual/tests/test_monkeypatch_fragility.py:216
MethodtearDownClass
(cls)
contrib/multilingual/tests/test_monkeypatch_fragility.py:261
MethodtearDownClass
(cls)
contrib/multilingual/tests/test_monkeypatch_fragility.py:331
MethodtearDownClass
(cls)
contrib/multilingual/tests/test_monkeypatch_fragility.py:383
MethodtearDownClass
(cls)
contrib/multilingual/tests/test_monkeypatch_fragility.py:421
MethodtearDownClass
(cls)
contrib/multilingual/tests/test_monkeypatch_fragility.py:444
MethodtearDownClass
(cls)
contrib/multilingual/tests/test_monkeypatch_fragility.py:480
MethodtearDownClass
(cls)
contrib/multilingual/tests/test_monkeypatch_invasiveness.py:180
MethodtearDownClass
(cls)
contrib/multilingual/tests/test_monkeypatch_invasiveness.py:363
MethodtearDownClass
(cls)
contrib/multilingual/tests/test_monkeypatch_invasiveness.py:394
MethodtearDownClass
(cls)
contrib/multilingual/tests/test_monkeypatch_invasiveness.py:424
MethodtearDownClass
Restore global state mutated by setup_deepseek_compat(). Calls _restore_patches until depth reaches 0 (setup may be called multiple ti
contrib/multilingual/tests/tests-pro/test_runner_patches.py:242
MethodtearDownClass
(cls)
contrib/multilingual/tests/tests-pro/test_runner_patches.py:280
Methodtest_acquire_with_timeout_raises_runtime_error_when_pool_full
(self)
contrib/multilingual/tests/tests-pro/test_api_pool.py:189
Methodtest_active_nvidia_provider_returns_credentials
( self, monkeypatch: pytest.MonkeyPatch )
tests/unit/test_providers.py:310
Methodtest_active_requests_tracks_correctly_through_acquire_and_release
(self)
contrib/multilingual/tests/tests-pro/test_api_pool.py:74
← previousnext →601–700 of 2,044, ranked by callers