Back to skill

Security audit

shift-planning

Security checks for vulnerabilities and agentic risk

Overview

ClawScan marked this skill suspicious because scanners report several access-control and scheduling-integrity weaknesses, and parts of the artifact could not be fully inspected.

Consider avoiding installation until the author clarifies or fixes the reported requester-attribution and staff-record access issues, resolves the conflicting station requirements, and the incomplete scan coverage is addressed. The suspicious verdict indicates review-worthy risk, not a conclusion that the author acted maliciously.

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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (12)

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
| 1 | [phase1.md](references/phase1.md) | master data and plan for managers: business, site, stations, staff, templates, periods, shifts, staffing, publishing,

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
- [phase1.md](references/phase1.md) — master data, templates, plan, staffing, publishing

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
| 2 | [phase2.md](references/phase2.md) | requests (swap, takeover, handover, shift request) and absences incl. day-off wish through the team door, result in pl

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
- [phase2.md](references/phase2.md) — requests, absences, decisions

Anti-Refusal Statement

High
Category
Anti-Refusal
Confidence
80% confidence
Finding

Skill instructs the agent to omit warnings, disclaimers, or ethical commentary. Stripping safety caveats hides risk from the user and is a common jailbreak preamble.

Content

Scanner excerpt · references/acceptance-scenario.md (reported line 201)May include surrounding context.

md
| N10 | M | `sp_week_request` a second time on the week-B period; `sp_period_create` again for 2026-11-16…22 | week request refused (P1-11); the period is **not** refused (the `external_id` carries a random part); the agent must list the periods first and not create it (phase 1 §4.3) — record the result |
| N11 | S2 | swap with a partner not qualified for service | partner not offered / refused |
| N12 | M | `onto_startcard_save` in the team scope with a planning view | refused |
| N13 | M | payroll month A, row P5 (fullTime, 643.50 EUR) | no warning (contract condition); a warning here means `bedingung` is missing |
| N14 | S1 | staff account at 0 credits, press Clock in | HTTP 402; dialog may hang; nothing written |
| N15 | M | absence approve on a person with a shift without confirming | nothing released |
| N16 | S1 / S3 | open shifts: compare kitchen-only and service-qualified accounts | qualification changes rows, not planning rights; staffed rows absent |

Anti-Refusal Statement

High
Category
Anti-Refusal
Confidence
80% confidence
Finding

Skill instructs the agent to omit warnings, disclaimers, or ethical commentary. Stripping safety caveats hides risk from the user and is a common jailbreak preamble.

Content

Scanner excerpt · references/phase4.md (reported line 533)May include surrounding context.

md
| P4-10 | `onto_object_show` master person | no `contractType`, `hourlyRate`, private phone or address |
| P4-11 | `onto_object_show` staff record | protected fields present; link `staffRecordOf` → master person |
| P4-12 | `onto_interface_show sp_payroll_prep` | planning scope, `access.require` planning, definition uses blocks only |
| P4-13 | browser `sp_payroll_prep?monat=YYYY-MM` for the test month | expected sums of the acceptance scenario; warning only on `minijob` rows above the limit; a non-minijob row above the limit shows no warning (`bedingung`) |
| P4-14 | CSV export | header `person;month;contractType;hourlyRate;shiftsInMonth;plannedHours;actualHours;miniJobWarning`; conventions from the country module |
| P4-15 | staff: payroll view or CSV URL | refused: redirect to the overview with a notice, no file |
| P4-16 | an account that is neither author nor planning writer deletes a change-log comment | refused |

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
75% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

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

md
## Definition of Done — per phase, checkable

"The workspace is configured" means one sentence, and it has a test: **a person who has
never seen the build can do their daily work without asking anyone.** Everything below is
a precondition for saying that, not a description of it.

| Phase | Minimum artefact | The proof you must quote |

The final design rule prohibits storing both station representations, but shift creation explicitly writes and requires both.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The final rule contradicts the implementation: views require the station option, while qualification matching requires the station link. An agent following the final rule could omit one representation, breaking qualification matching or causing managers to see a different station from the one used to determine staff eligibility; this is security-relevant scheduling-integrity risk, not evidence of privilege escalation.

Content

No source excerpt is available for this finding.

The open-shift request action allows requester impersonation despite documentation claiming it is bound to the signed-in person.

Medium
Category
Excessive Agency
Confidence
98% confidence
Finding

The staff-accessible sp_shift_request action accepts an arbitrary person prompt and uses it for the requestedBy link instead of binding that link to the authenticated caller. A staff member could therefore submit applications attributed to colleagues, misleading managers and directing request visibility and notifications to the impersonated person; manager approval and separate staffing limit the immediate impact. The surrounding text explicitly recommends replacing this prompt, but the executable example and recipe retain the unsafe version, making this a likely implementation mistake rather than malicious intent.

Content

No source excerpt is available for this finding.

Staff-record creation contradicts the documented manager-only access boundary.

Medium
Category
Excessive Agency
Confidence
96% confidence
Finding

The creation recipe links protected staff records to master persons using concerns, which the document acknowledges lets staff open their own records despite the stated manager-only boundary. The planning-write gate protects creation, but does not prevent this link-mediated disclosure of pay, address, phone, and potentially manager notes. Access is reportedly limited to the employee's own record, reducing the scope of exposure, but the contradictory browser test could give deployers false assurance.

Content

No source excerpt is available for this finding.

The publication checklist mandates English text without user opt-in.

Medium
Category
Output Handling
Confidence
95% confidence
Finding

The requirement that text be “English throughout” imposes a specific natural language on published content. Although German country-module content is exempted, the file offers no user language choice or justification requiring English for the remaining text.

Content

No source excerpt is available for this finding.

Option values are required to be English without user opt-in.

Low
Category
Output Handling
Confidence
90% confidence
Finding

The instructions mandate English option values regardless of the business's chosen label language; line 33 also requires English contract-type values. Although ASCII camelCase formatting is specified, no technical requirement for English itself is documented, and the language choice in question 19 applies only to labels.

Content

No source excerpt is available for this finding.