Back to skill

Security audit

Employee Handbook Generator (UK)

Security checks for vulnerabilities and agentic risk

Overview

This is a markdown-only UK employee handbook drafting skill with legal-review disclaimers and no executable, persistent, or hidden system behavior.

Install only if you need draft UK employment handbook or workplace-policy text. Because employment law is high-impact and date-sensitive, have a qualified UK employment solicitor or HR professional verify the generated policies, especially before using them with employees.

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
  • System Prompt LeakageDirect Leakage, Indirect Extraction, Tool-Based Exfiltration
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (5)

Direct Prompt Extraction

High
Category
System Prompt Leakage
Confidence
85% confidence
Finding

Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.

Content

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

md
---

## Output Rules

1. **UK English throughout.** Organisation, colour, behaviour, licence (noun), practice (noun).
2. **Cite legislation for every section.** Reference the specific Act, section, or regulation.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The skill description is broad enough to trigger on common HR or policy-writing requests, which increases the chance of accidental invocation outside the user's intent. In a legal/HR drafting skill, overbroad routing can cause users to receive authoritative-sounding employment guidance when they only wanted general writing help, creating trust and compliance risk.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The listing repeatedly markets the output as 'legally compliant' and 'ERA 2025 compliant' while only saying it is 'ready for solicitor review,' which is weaker than a clear warning not to rely on the generated handbook without professional legal validation. In an employment-law context, users may reasonably treat the output as authoritative legal advice, creating a substantial risk of unlawful policies, regulatory non-compliance, and employment tribunal exposure.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
97% confidence
Finding

The instruction requires UK English throughout as a fixed language/locale rule. Because the file does not offer the user a language choice or frame this as optional, it creates a locale policy constraint without opt-in.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
78% confidence
Finding

The content strongly implies a UK-only scope through repeated references to UK law, but it does not explicitly state that the skill must only be used for UK employers and UK-based employment relationships. That ambiguity can cause users in other jurisdictions to apply UK-specific policies incorrectly, leading to invalid handbook provisions and compliance failures.

Content

No source excerpt is available for this finding.