Back to skill

Security audit

Rust + Python Interop

Security checks for vulnerabilities and agentic risk

Overview

The skill provides coherent Rust–Python development guidance and examples, with no supported evidence of malicious or unrelated behavior.

Use a project virtual environment and a trusted locally built sidecar executable. Treat the templates as starting points: verify builds and add input/output limits before processing large or untrusted data.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (3)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
92% confidence
Finding

The code's only demonstrated purpose is string normalization. It contains no Python integration, cross-language boundary, profiling, or distribution behavior. Although Rust error handling and unit testing overlap with supporting aspects of the description, they do not establish the declared primary purpose. No external resource access or unrelated triggers are present.

Content

No source excerpt is available for this finding.

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: shell.

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · templates/python_bridge.py (reported line 9)May include surrounding context.

python
def call_rust(exe: Path, payload: dict) -> dict:
    p = subprocess.run(
        [str(exe)],
        input=json.dumps(payload, ensure_ascii=False),
        capture_output=True,

Static analysis

No suspicious patterns detected.