Back to skill

Security audit

FOSMVVM Leaf View Generator

Security checks for vulnerabilities and agentic risk

Overview

This skill is a coherent Markdown guide for generating FOSMVVM Leaf templates, with minor context-scope cautions but no hidden execution, persistence, or credential behavior.

Before installing, make sure you invoke this skill only when the current conversation and opened project files are relevant to the Leaf template you want generated. Review generated templates for correct data attributes, localization, and language settings before committing them.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (4)

Hidden Instructions

High
Category
Prompt Injection
Confidence
70% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · SKILL.md (reported line 165)May include surrounding context.

In templates, just use the property:

html
<span class="date">#(card.createdAt)</span>
<!-- Renders: "Dec 27, 2025" (localized) -->

If Localizable types render incorrectly (showing [ds: "2", ls: "...", v: "..."]):

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The skill explicitly says it 'references conversation context automatically' and that 'no file paths or Q&A' are needed. In an agent setting, this can cause the model to incorporate ambient, unrelated, or attacker-seeded context without an explicit user opt-in, creating prompt-scope confusion and increasing the chance of unintended data use or manipulated output.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

This section repeatedly instructs the agent to derive behavior from 'prior conversation', 'ViewModel code into context', and 'existing templates' discovered from codebase context. That broad implicit-context dependency is risky because it enables context poisoning and cross-task leakage: an attacker can shape earlier conversation or nearby files to influence generated output in ways the current user did not explicitly request.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

The base layout sets <html lang="en">, which forces an English locale without indicating user choice or a documented region-specific requirement. This is a natural-language locale policy concern because it bakes a specific language setting into the generated template.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.