The skill is vulnerable to command injection via unsanitized CLI arguments and relies on insecure, hardcoded local file paths that compromise portability and environment integrity.
Findings (3)
Behavioural Control
Hightargets Action
#1Potential for arbitrary command injection via --statementhighcommand execution70% confidence
The 'lean' proof tool accepts a '--statement' argument that is passed to a CLI. If not properly sanitized, this could allow for command injection or arbitrary code execution within the Lean prover environment.
theory --json prove lean --statement="..."
#2Hardcoded absolute path dependencymediumsupply chain90% confidenceline 15
The skill relies on a hardcoded absolute path (/home/mikeb/theory2/.venv/bin/theory), which is non-portable and suggests a specific, potentially unauthorized local environment dependency.
/home/mikeb/theory2/.venv/bin/theory
Hygiene
Infotargets Packaging & Manifest
#1Missing licenseinfo100% confidence
Skill does not specify a license field. Specifying a license helps users understand usage terms.