Back to skill

Security audit

AU Construction SWMS Generator

Security checks for vulnerabilities and agentic risk

Overview

This is a disclosed, text-only Australian construction SWMS drafting skill with no code execution or data access, but its safety outputs still require qualified human review.

Install only if you need Australian construction SWMS drafting. Confirm the jurisdiction and current regulator requirements, and have a competent WHS person or licensed specialist review and sign off before site use. Do not rely on it for asbestos removal decisions, explosives, radiological work, or live high-voltage electrical work without specialist advice.

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
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • 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 (19)

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

Scanner excerpt · README.md (reported line 17)May include surrounding context.

md
## Coverage

| Capability                                                                                                                     | Included |
| ------------------------------------------------------------------------------------------------------------------------------ | -------- |
| All 19 HRCW categories mapped and explained                                                                                    | ✅       |
| Hierarchy of controls applied correctly (Elimination → PPE)                                                                    | ✅       |

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

Scanner excerpt · README.md (reported line 19)May include surrounding context.

md
| Capability                                                                                                                     | Included |
| ------------------------------------------------------------------------------------------------------------------------------ | -------- |
| All 19 HRCW categories mapped and explained                                                                                    | ✅       |
| Hierarchy of controls applied correctly (Elimination → PPE)                                                                    | ✅       |
| Hazard library for 7 major HRCW types (heights, excavation, electrical, asbestos, traffic, mobile plant, drowning, structural) | ✅       |
| General construction hazards (manual handling, silica dust, noise, UV/heat)                                                    | ✅       |

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

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

md
| Capability                                                                                                                     | Included |
| ------------------------------------------------------------------------------------------------------------------------------ | -------- |
| All 19 HRCW categories mapped and explained                                                                                    | ✅       |
| Hierarchy of controls applied correctly (Elimination → PPE)                                                                    | ✅       |
| Hazard library for 7 major HRCW types (heights, excavation, electrical, asbestos, traffic, mobile plant, drowning, structural) | ✅       |
| General construction hazards (manual handling, silica dust, noise, UV/heat)                                                    | ✅       |

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

Scanner excerpt · README.md (reported line 23)May include surrounding context.

md
| Hierarchy of controls applied correctly (Elimination → PPE)                                                                    | ✅       |
| Hazard library for 7 major HRCW types (heights, excavation, electrical, asbestos, traffic, mobile plant, drowning, structural) | ✅       |
| General construction hazards (manual handling, silica dust, noise, UV/heat)                                                    | ✅       |
| 5×5 risk matrix with residual risk calculation                                                                                 | ✅       |
| SWMS mandatory content checklist (WHS Reg s.292–297)                                                                           | ✅       |
| High Risk Work Licence reference table (SB, SI, SA, RI, RA, DG, WP, LF, etc.)                                                  | ✅       |
| WHS penalty structure (2025–26 indexed amounts, Cat 1/2/3 + industrial manslaughter)                                           | ✅       |

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

Scanner excerpt · README.md (reported line 28)May include surrounding context.

md
| High Risk Work Licence reference table (SB, SI, SA, RI, RA, DG, WP, LF, etc.)                                                  | ✅       |
| WHS penalty structure (2025–26 indexed amounts, Cat 1/2/3 + industrial manslaughter)                                           | ✅       |
| Principal contractor obligations ($250k+ projects)                                                                             | ✅       |
| All state/territory WHS regulator references                                                                                   | ✅       |
| SWMS review trigger conditions                                                                                                 | ✅       |
| Worker sign-on register template                                                                                               | ✅       |
| Structured SWMS output format (Sections 1–8)                                                                                   | ✅       |

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

Scanner excerpt · README.md (reported line 31)May include surrounding context.

md
| High Risk Work Licence reference table (SB, SI, SA, RI, RA, DG, WP, LF, etc.)                                                  | ✅       |
| WHS penalty structure (2025–26 indexed amounts, Cat 1/2/3 + industrial manslaughter)                                           | ✅       |
| Principal contractor obligations ($250k+ projects)                                                                             | ✅       |
| All state/territory WHS regulator references                                                                                   | ✅       |
| SWMS review trigger conditions                                                                                                 | ✅       |
| Worker sign-on register template                                                                                               | ✅       |
| Structured SWMS output format (Sections 1–8)                                                                                   | ✅       |

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

Scanner excerpt · README.md (reported line 29)May include surrounding context.

md
| WHS penalty structure (2025–26 indexed amounts, Cat 1/2/3 + industrial manslaughter)                                           | ✅       |
| Principal contractor obligations ($250k+ projects)                                                                             | ✅       |
| All state/territory WHS regulator references                                                                                   | ✅       |
| SWMS review trigger conditions                                                                                                 | ✅       |
| Worker sign-on register template                                                                                               | ✅       |
| Structured SWMS output format (Sections 1–8)                                                                                   | ✅       |

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

Scanner excerpt · README.md (reported line 30)May include surrounding context.

md
| Principal contractor obligations ($250k+ projects)                                                                             | ✅       |
| All state/territory WHS regulator references                                                                                   | ✅       |
| SWMS review trigger conditions                                                                                                 | ✅       |
| Worker sign-on register template                                                                                               | ✅       |
| Structured SWMS output format (Sections 1–8)                                                                                   | ✅       |

---

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The overview states that the skill makes the agent an expert SWMS generator for Australian construction sites, which hard-codes a specific national/legal locale. While the content is coherent for Australia, the skill does not require explicit confirmation that the user's work is in Australia before applying this locale-specific framework, creating a language/locale policy risk for users in other jurisdictions.

Content

No source excerpt is available for this finding.

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

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

md
Under Section 291 of the model Work Health and Safety Regulations (adopted across all harmonised jurisdictions), a SWMS is mandatory before commencing any of the following 19 categories of HRCW:

| #   | HRCW Category                                          | Common trigger description                                                                                                                |
| --- | ------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------- |
| 1   | **Falls >2 metres**                                    | Any work where a person risks falling from a height of 2 metres or more — roofing, scaffolding, elevated platforms, ladders on structures |
| 2   | **Telecommunications tower work**                      | Work on any fixed or portable telecommunications tower                                                                                    |

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

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

md
| --- | ------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------- |
| 1   | **Falls >2 metres**                                    | Any work where a person risks falling from a height of 2 metres or more — roofing, scaffolding, elevated platforms, ladders on structures |
| 2   | **Telecommunications tower work**                      | Work on any fixed or portable telecommunications tower                                                                                    |
| 3   | **Excavation >1.5 metres**                             | Trenches, pits, or shafts deeper than 1.5 metres                                                                                          |
| 4   | **Tunnelling**                                         | Any tunnelling work                                                                                                                       |
| 5   | **Pressurised gas/pipelines**                          | Work on or near gas distribution mains, pipelines, or other pressurised gas lines                                                         |
| 6   | **Chemical, fuel, or refrigerant lines**               | Work on or near a chemical, fuel, or refrigerant line                                                                                     |

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

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

md
| 1   | **Falls >2 metres**                                    | Any work where a person risks falling from a height of 2 metres or more — roofing, scaffolding, elevated platforms, ladders on structures |
| 2   | **Telecommunications tower work**                      | Work on any fixed or portable telecommunications tower                                                                                    |
| 3   | **Excavation >1.5 metres**                             | Trenches, pits, or shafts deeper than 1.5 metres                                                                                          |
| 4   | **Tunnelling**                                         | Any tunnelling work                                                                                                                       |
| 5   | **Pressurised gas/pipelines**                          | Work on or near gas distribution mains, pipelines, or other pressurised gas lines                                                         |
| 6   | **Chemical, fuel, or refrigerant lines**               | Work on or near a chemical, fuel, or refrigerant line                                                                                     |
| 7   | **Energised electrical installations**                 | Work near or on live electrical installations (e.g. switchboards, live conductors)                                                        |

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

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

md
| 3   | **Excavation >1.5 metres**                             | Trenches, pits, or shafts deeper than 1.5 metres                                                                                          |
| 4   | **Tunnelling**                                         | Any tunnelling work                                                                                                                       |
| 5   | **Pressurised gas/pipelines**                          | Work on or near gas distribution mains, pipelines, or other pressurised gas lines                                                         |
| 6   | **Chemical, fuel, or refrigerant lines**               | Work on or near a chemical, fuel, or refrigerant line                                                                                     |
| 7   | **Energised electrical installations**                 | Work near or on live electrical installations (e.g. switchboards, live conductors)                                                        |
| 8   | **Hazardous or contaminated materials**                | Work involving potentially contaminated soil, water, or other materials                                                                   |
| 9   | **Tilt-up or precast concrete**                        | Tilt-up or precast concrete construction                                                                                                  |

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

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

md
| 6   | **Chemical, fuel, or refrigerant lines**               | Work on or near a chemical, fuel, or refrigerant line                                                                                     |
| 7   | **Energised electrical installations**                 | Work near or on live electrical installations (e.g. switchboards, live conductors)                                                        |
| 8   | **Hazardous or contaminated materials**                | Work involving potentially contaminated soil, water, or other materials                                                                   |
| 9   | **Tilt-up or precast concrete**                        | Tilt-up or precast concrete construction                                                                                                  |
| 10  | **Road/rail/traffic corridors**                        | Work on, in, or adjacent to a road, railway, or shipping lane in use by traffic                                                           |
| 11  | **Powered mobile plant**                               | Work in an area where there is any movement of powered mobile plant (excavators, forklifts, bobcats, cranes)                              |
| 12  | **Artificial extreme temperatures**                    | Work in areas with artificial extremes of temperature (cold stores, industrial ovens)                                                     |

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

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

md
| 11  | **Powered mobile plant**                               | Work in an area where there is any movement of powered mobile plant (excavators, forklifts, bobcats, cranes)                              |
| 12  | **Artificial extreme temperatures**                    | Work in areas with artificial extremes of temperature (cold stores, industrial ovens)                                                     |
| 13  | **Drowning risk**                                      | Work in or near water or other liquids involving a risk of drowning                                                                       |
| 14  | **Diving**                                             | Diving work                                                                                                                               |
| 15  | **Explosives**                                         | Work involving use of explosives                                                                                                          |
| 16  | **Structural alterations requiring temporary support** | Structural alterations or repairs requiring temporary support to prevent collapse                                                         |
| 17  | **Asbestos disturbance**                               | Work that involves or is likely to involve disturbing asbestos                                                                            |

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

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

md
| 12  | **Artificial extreme temperatures**                    | Work in areas with artificial extremes of temperature (cold stores, industrial ovens)                                                     |
| 13  | **Drowning risk**                                      | Work in or near water or other liquids involving a risk of drowning                                                                       |
| 14  | **Diving**                                             | Diving work                                                                                                                               |
| 15  | **Explosives**                                         | Work involving use of explosives                                                                                                          |
| 16  | **Structural alterations requiring temporary support** | Structural alterations or repairs requiring temporary support to prevent collapse                                                         |
| 17  | **Asbestos disturbance**                               | Work that involves or is likely to involve disturbing asbestos                                                                            |
| 18  | **Demolition**                                         | Demolition of a load-bearing element of a structure                                                                                       |

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

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

md
| 15  | **Explosives**                                         | Work involving use of explosives                                                                                                          |
| 16  | **Structural alterations requiring temporary support** | Structural alterations or repairs requiring temporary support to prevent collapse                                                         |
| 17  | **Asbestos disturbance**                               | Work that involves or is likely to involve disturbing asbestos                                                                            |
| 18  | **Demolition**                                         | Demolition of a load-bearing element of a structure                                                                                       |
| 19  | **Physical integrity/collapse risk**                   | Demolition of any structural element that could affect the physical integrity of the structure                                            |

**Important — from 1 July 2026:** Category 1 (falls) threshold is confirmed as **more than 2 metres** across all harmonised jurisdictions (SA amendment confirmed March 2025, effective 1 July 2026). Until 1 July 2026, some jurisdictions apply existing state thresholds — confirm the applicable jurisdiction's current threshold with the user if the work involves heights between 1.5m and 2m.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
98% confidence
Finding

The skill contains conflicting asbestos guidance: one guardrail says not to advise on asbestos clearance, licensing, or air monitoring, while later workflow text instructs the agent to mention licensing classes, clearance, monitoring, and notification concepts. In a safety-critical domain, contradictory instructions can cause the agent to provide regulated specialist advice beyond its intended boundary, increasing legal and physical risk if users rely on it for hazardous asbestos work.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Low
Category
Not specified by scanner
Confidence
77% confidence
Finding

The guardrail says the agent must not generate a SWMS for explosives, radiological work, or live high-voltage electrical work. But the example response at L692 broadly offers to generate a SWMS for any project component involving work above 2 metres, without preserving those exclusions, creating contradictory operator guidance.

Content

No source excerpt is available for this finding.