Back to skill

Security audit

ice-dam-defense

Security checks for vulnerabilities and agentic risk

Overview

This is a local winter de-icing and ice-dam calculator with no hidden access or persistence, though users should treat roof leak advice cautiously and use professionals for unsafe conditions.

Install only if you want a local informational calculator for residential de-icing and ice-dam triage. Do not use it as a substitute for a licensed roofer, structural professional, electrician, or emergency services; avoid roof or ladder work in icy conditions, and get professional help for active leaks, electrical exposure, sagging, cracking, jammed doors, or uncertainty.

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
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • 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 (3)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The example workflow includes actionable emergency repair advice such as drilling a drain hole in a bulging ceiling and using a CaCl2 sock for dam relief, but the example itself does not repeat an explicit recommendation to stop and call a qualified professional when active leaks, electrical hazards, structural uncertainty, or severe roof conditions are present. In a high-stress home-emergency scenario, users may follow the example literally and attempt risky interventions beyond their competence, increasing the chance of injury or property damage.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
86% confidence
Finding

The roof guidance includes actionable physical repair instructions such as laying calcium chloride across an ice dam and handling leak-related interior damage, but the safety framing is incomplete for a consumer-facing tool. In this context, unsafe or oversimplified home-repair advice can lead to falls, roof damage, electrical hazards, or injury during active winter conditions.

Content

No source excerpt is available for this finding.

Dynamic attribute access via getattr()

Low
Category
Dangerous Code Execution
Confidence
50% confidence
Finding

Dynamic getattr() with a non-literal attribute name can access arbitrary object attributes, potentially bypassing access controls.

Content

Scanner excerpt · scripts/ice_dam_defense.py (reported line 323)May include surrounding context.

python
print(render_sidewalk(sidewalk_plan(
            args.area_sqm, args.temp_c, args.material, args.heavy, args.refreeze_c)))
    if args.cmd == "roof":
        answers = {k: getattr(args, k) for k in RISK_FACTORS}
        rr = roof_risk(args.depth_cm, args.roof_sqm, answers, args.snow_type)
        print(render_roof(rr, args.depth_cm, args.roof_sqm, args.snow_type))

Static analysis

No suspicious patterns detected.