Back to skill

Security audit

seasonal-allergy-radar

Security checks for vulnerabilities and agentic risk

Overview

This allergy-tracking skill operates locally and mostly as advertised, but users should treat its medication timing output as informational and confirm choices with a clinician or pharmacist.

Install only if you are comfortable keeping allergy symptom data in local JSON files and using the tool as a planning aid. Do not rely on it for diagnosis or urgent symptoms, and confirm medication choices and timing with a pharmacist or clinician, especially for children, pregnancy, other medical conditions, or any breathing symptoms.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Taint TrackingDirect Taint Flow, Variable-Mediated Taint Flow, Credential Exfiltration Chain
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (4)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
88% confidence
Finding

The skill instructs users to read and write local JSON log files via command-line examples, but the manifest does not declare any tool scope such as allowed-tools or permissions. This creates an authorization/expectation gap: a host agent may permit filesystem access implicitly or more broadly than intended, increasing the chance of unintended local file access beyond the allergy log workflow.

Content

No source excerpt is available for this finding.

Ae4

Medium
Category
analysis-evasion
Confidence
80% confidence
Finding

Suspicious Unicode normalization or mixed-script content

Content

No source excerpt is available for this finding.

Tainted flow: 'entries' from pathlib.Path.read_text (line 134, file read) → pathlib.Path.write_text (file write)

Medium
Category
Data Flow
Confidence
65% confidence
Finding

Data from a source is assigned to a variable that is later passed to a sink, creating a variable-mediated taint flow.

Content

Scanner excerpt · scripts/allergy.py (reported line 153)May include surrounding context.

python
entries.append({"date": args.date, "score": args.score,
                        "systems": systems, "note": args.note or ""})
    entries.sort(key=lambda e: e["date"])
    p.write_text(json.dumps(entries, indent=2) + "\n")
    print("Logged %s score=%d systems=%s" % (args.date, args.score,
                                             "+".join(systems) or "-"))
    return 0

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The script gives concrete medication-timing advice such as starting antihistamines immediately and suggesting pre-medication schedules, while only providing a weak disclaimer. In a health-related skill, this can cause users to act on personalized-seeming medical guidance without clinician review, which is especially risky for users with contraindications, comorbidities, pregnancy, pediatric use, or severe respiratory symptoms.

Content

No source excerpt is available for this finding.