Back to skill

Security audit

FOSMVVM ServerRequest Test Generator

Security checks for vulnerabilities and agentic risk

Overview

This skill is a Markdown-only code-generation guide for creating Vapor ServerRequest tests, with no hidden execution, persistence, or credential handling found.

Install only for projects using the FOSMVVM/VaporTesting patterns it documents. Review generated create, update, and delete tests before running them, and make sure they target test fixtures or isolated test databases rather than real 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
  • 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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (5)

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
See [reference.md](reference.md) for complete file templates.

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
See [reference.md](reference.md) for complete file templates.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
86% confidence
Finding

The reference section states these templates show the proper way to test typed ServerRequest flows and warns against incorrect approaches. However, later examples include route registrations such as only registering {Feature}CRUDController() while the tests invoke Create{Feature}Request, Show{Feature}Request, Update{Feature}Request, and Delete{Feature}Request, and other templates invoke requests without registering the corresponding controllers, contradicting the claim that the templates are proper reference material.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
79% confidence
Finding

The reference repeatedly hard-codes locales such as Locale(identifier: "en") and Locale(identifier: "es"), presenting them as the default testing pattern without offering opt-in language selection or explaining why only those locales are used. This can be read as a language/locale policy issue because the natural-language guidance implicitly constrains behavior to specific languages.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

This markdown file provides a reusable 'DeleteRequest Test Suite' template centered on entity removal and verification of deletion, but it does not include any warning that the covered behavior is destructive or affects persisted data. Under the markdown-file criteria, descriptions of behaviors that could affect user data or system integrity should disclose that risk.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.