Back to skill

Security audit

LYGO Kickstart Wizard

Security checks for vulnerabilities and agentic risk

Overview

The skill is a coherent onboarding tool, but it needs Review because its analysis feature imports an unverified companion Python module and its install guidance uses mutable latest-version commands.

Review this before installing. Prefer pinned, trusted installer and companion versions, and only use analyze with a lygo-ops-detector copy you trust. Avoid feeding private or sensitive text unless you are comfortable with the installed companion module running as local Python code under your user account.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • 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
Findings (1)

T08 · Insecure Dependencies

Warning
Location
scripts/kickstart_cli.py:130
Finding

Unverified Companion Module Is Dynamically Imported and Executed In-Process

Content
View full analysis
Path | None: """Locate lygo_ops_detector.py near this skill or under LYGO_STACK_ROOT.""" here = Path(__file__).resolve() candidates = [ here.parents[2] / "lygo-ops-detector" / "scripts" / "lygo_ops_detector.py", here.parents[1] / "vendor" / "lygo_ops_detector.py", ] stack = os.environ.get("LYGO_STACK_ROOT", "").strip() if stack: candidates.append( Path(stack) / "clawhub" / "mirrors" / "lygo-ops-detector" / "scripts" / "lygo_ops_detector.py" ) # common install locations home = Path.home() candidates += [ home / ".grok" / "skills" / "lygo-ops-detector" / "scripts" / "lygo_ops_detector.py", Path(r"I:\E Drive\.grok\skills\lygo-ops-detector\scripts\lygo_ops_detector.py"), Path(r"D:\lygo-protocol-stack\clawhub\mirrors\lygo-ops-detector\scripts\lygo_ops_detector.py"), ] for p in candidates: if p.is_file(): return p return None ``` `scripts/kickstart_cli.py:283-299`: ```python if not det_path: return { "ok": False, "error": "ops_detector_missing", "plain_english": ( "Ops Detector is not installed next to this skill. " "Install: npx clawhub@latest install deepseekoracle/lygo-ops-detector " "or set LYGO_STACK_ROOT to your lygo-protocol-stack clone." ), "install": "npx clawhub@latest install deepseekoracle/lygo-ops-detector", } # In-process import (no subprocess) scripts_dir = str(det_path.parent) if scripts_dir not in sys.path: sys.path.insert(0, scr ...[truncated 3553 chars]
Remediation
View remediation
Vulnerability Patterns
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (8)

Undeclared Tool Scope

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.

Rp1

Medium
Category
MCP Rug Pull
Confidence
84% confidence
Finding

Using npx clawhub@latest install ... executes whatever version is current at install time, which creates a supply-chain risk if the package is compromised or a breaking/malicious release is published. In a skill-installation context, this is more dangerous because users are encouraged to run the command directly from the documentation.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
84% confidence
Finding

This companion-skill install command also uses npx clawhub@latest, leaving users exposed to unreviewed future package versions at execution time. Because the command is presented as a normal setup step, a compromised upstream package could lead to arbitrary code execution during installation.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
84% confidence
Finding

Like the other install instructions, this command relies on an unpinned @latest package resolution, which is a classic software supply-chain weakness. A malicious or compromised release could change behavior without any change to this skill document, making direct execution risky.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
95% confidence
Finding

The code prints installation guidance using npx clawhub@latest install ..., which relies on fetching and executing the latest package version at runtime rather than a pinned, reviewed version. If the upstream package is compromised or a breaking/malicious release is published, users following this guidance could execute attacker-controlled code on their systems.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
95% confidence
Finding

This line returns an install command containing npx clawhub@latest ..., encouraging execution of an unpinned remote package. Because npx may download and run the current published version, a supply-chain compromise of clawhub could lead to arbitrary code execution on the host that follows the instruction.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
94% confidence
Finding

The skill emits another npx clawhub@latest install ... command for installing a related skill, again delegating trust to whatever package version is live upstream at the moment of execution. In a security-sensitive onboarding tool, this increases supply-chain risk because users are likely to copy-paste these commands without independent verification.

Content

No source excerpt is available for this finding.

Scope Creep

Low
Category
Excessive Agency
Confidence
70% confidence
Finding

Skill's behavior or capabilities extend beyond its stated purpose. Scope creep allows an agent to perform actions unrelated to its documented functionality, increasing the attack surface.

Content

Scanner excerpt · LICENSE (reported line 12)May include surrounding context.

text
permit persons to whom the Software is furnished to do so.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE AND NONINFRINGEMENT.

ClawHub distribution uses MIT-0. Lattice policy in references/SECURITY.md is not waived.

Static analysis

No suspicious patterns detected.