Back to skill

Security audit

Mock Weather

Security checks for vulnerabilities and agentic risk

Overview

This skill is a simple local mock-weather generator with disclosed simulated output and no evidence of hidden access, persistence, or data exfiltration.

Use this skill only for demos, tests, or placeholder weather responses. It does not provide real weather data, and its formatted output is Chinese-labeled even when the city name is English.

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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (3)

Natural-Language Policy Violations

Medium
Confidence
96% confidence
Finding
This code hard-codes Chinese weather terms and wind directions in user-facing output, and the formatter also emits Chinese labels. Under the natural-language policy rules, forcing a specific language is a policy violation unless the user is given a language choice or the locale restriction is clearly documented and justified.

Natural-Language Policy Violations

Low
Confidence
80% confidence
Finding
The manifest description combines Chinese and English instructions in a fixed way, which can be interpreted as imposing a language presentation choice without explicit user opt-in. The policy guidance says to flag language or locale constraints unless the skill offers a language choice or clearly justifies the constraint.

Natural-Language Policy Violations

Low
Confidence
85% confidence
Finding
The top-level description says the script returns simulated weather data for any city, but it does not mention that all conditions and labels are output in Chinese. This can mislead users and reinforces the forced-locale behavior without opt-in.

Static analysis

No suspicious patterns detected.