Back to skill

Security audit

Skill Analyzer

Security checks for vulnerabilities and agentic risk

Overview

The skill is not malicious, but its advertised security-review function is materially unreliable and could give users misplaced confidence in unsafe third-party skills.

Install only if you treat it as a lightweight quality checklist, not as a security approval tool. Review any reported LOW risk result manually, especially for skills with nested scripts, non-Python files, network access, subprocess use, persistence, or sensitive data handling.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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 (2)

T09 · Insecure Skill Coding Practices

Error
Location
scripts/analyzer.py:265
Finding

Broken Score Normalization Produces Unreliable Risk Classifications

Content
View full analysis
Dict[str, float]: """Calculate weighted scores.""" scores = {} for dimension, config in self.DIMENSIONS.items(): score = self.results.get(dimension, 0) scores[dimension] = score * config["weight"] * 10 return scores def _weighted_average(self, scores: Dict[str, float]) -> float: """Calculate weighted average.""" return sum(scores.values()) def _assess_risk(self, scores: Dict[str, float]) -> str: """Assess overall risk level.""" overall = sum(scores.values()) if overall >= 7.5: return "LOW" elif overall >= 5: return "MEDIUM" else: return "HIGH" ``` ### Technical Analysis Each raw dimension score is already expressed on a scale from 0 to 10. The calculation multiplies that score by its configured weight and then multiplies it by 10 again: ```python score * config["weight"] * 10 ``` Because the dimension weights sum to 1, this produces an aggregate range of 0 to 100. However, `_assess_risk()` applies thresholds designed for a range of 0 to 10. Consequently, an aggregate score only needs to reach 7.5 out of 100 to be classified as `LOW` risk. The same incorrectly scaled values are exposed as dimension scores and printed as though each were out of 10. For example, the functionality dimension has a weight of 0.25 and can produce a displayed value as high as 25. This is security-relevant because the tool is explicitly presented as a security review mechanism for third-party skills. A severely unsafe skill can receive an authoritative-looking `LOW` risk result when modest points from non-security dimensions overwhelm the incorrectly scaled threshold. ### Attack Path 1. An attacker prepares a malicious or unsafe ...[truncated 1249 chars]
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Error
Location
scripts/analyzer.py:145
Finding

Incomplete and Bypassable Security Scan Can Approve Malicious Skill Content

Content
View full analysis
bool: """Check for hardcoded secrets in code.""" patterns = [ r'password\s*=\s*["\'][^"\']+["\']', r'api_key\s*=\s*["\'][^"\']+["\']', r'secret\s*=\s*["\'][^"\']+["\']', r'token\s*=\s*["\'][^"\']+["\']', ] scripts_dir = self.skill_path / "scripts" if not scripts_dir.exists(): return False for script in scripts_dir.glob("*.py"): content = script.read_text(encoding="utf-8") for pattern in patterns: if re.search(pattern, ...[truncated 3234 chars]
Remediation
View remediation
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (1)

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
83% confidence
Finding

This code performs a file write operation using a path supplied by the user, but there is no preceding warning in comments, docstrings, or user-facing messaging that the tool will create or overwrite an output file. Under the code-file criteria, file writes should have some form of disclosure unless clearly covered by the skill description, which is not visible in this file.

Content

No source excerpt is available for this finding.