Back to skill

Security audit

UK Employment Law Calculator & Letters

Security checks for vulnerabilities and agentic risk

Overview

This is a text-only UK employment law calculation and HR letter template skill with clear disclaimers and no hidden code or system access.

Install only if you want UK-specific employment calculations and HR document drafts. Treat outputs as templates for review, especially for dismissal, redundancy, grievance, disciplinary, settlement, immigration, or discrimination-sensitive matters, and check them against current law, contracts, workplace policies, and qualified HR or legal advice before use.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Memory PoisoningPersistent Context Injection, Context Window Stuffing, Memory Manipulation
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (5)

Memory Manipulation

High
Category
Memory Poisoning
Confidence
80% confidence
Finding

Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.

Content

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

md
**Final Written Warning — required content:**
- As above, plus:
- Reference to previous warnings (dates and nature)
- Clear statement that further misconduct/failure may result in dismissal
- Duration (typically 12 months)

### 2.3 Dismissal Letters

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill is marked user-invocable and its description/argument hint are broad enough to match many generic employment, HR, or employee-rights questions. This can cause over-invocation, where the agent routes common requests into this skill even when the user did not explicitly want legal/HR calculation or template generation, increasing the chance of irrelevant or overly authoritative legal-style output.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The skill advertises generation of dismissal, disciplinary, redundancy, grievance, and settlement-related letters as ready to send, but provides no clear warning that these outputs can create significant legal exposure if inaccurate, incomplete, or used without human review. In an employment-law context, users may over-rely on generated documents and issue procedurally defective letters that increase tribunal risk, unfair dismissal exposure, discrimination claims, or settlement misuse.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
96% confidence
Finding

The instructions require the assistant to "Always use formal UK business English," and the rules later state "Use UK English throughout." This is a natural-language locale constraint that does not offer the user a choice or opt-in, which can violate language/locale policy requirements.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
79% confidence
Finding

The file repeatedly frames the skill around UK employment law and UK statutory rates, which is a locale-specific constraint. While this may be justified, the description does not clearly present it as a jurisdictional limitation or instruct users outside the UK not to rely on it, creating a potential language/locale policy concern.

Content

No source excerpt is available for this finding.