Back to skill

Security audit

Amber Electric 的实时电价、预测电价及站点信息

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward Amber Electric integration that uses the user's Amber API token to read site and pricing data.

Install this only if you are an Amber Electric customer and are comfortable giving OpenClaw access to your AMBER_API_KEY for read-only site, price, and forecast lookups through Amber's API. Treat the token like a credential and remove or rotate it if you no longer use the skill.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • 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)

External Transmission

Medium
Category
Data Exfiltration
Content
type: string
    description: "The unique ID of the site. Required for price/forecast actions. 站点的唯一 ID (执行实时价格或预测时必填)。"
handler: |
  const baseUrl = 'https://api.amber.com.au/v1';
  const headers = {
    'Authorization': `Bearer ${process.env.AMBER_API_KEY}`,
    'Accept': 'application/json'
Confidence
50% confidence
Finding
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Missing User Warnings

Medium
Confidence
93% confidence
Finding
The handler reads `process.env.AMBER_API_KEY` and uses it to authenticate outbound requests to the Amber Electric API. In this file there is configuration information about setting the token, but no warning that the skill will transmit account-linked data to a third-party service or use a sensitive credential when invoked.

Natural-Language Policy Violations

Low
Confidence
71% confidence
Finding
The natural-language description states that the skill accesses Amber Electric data for Australia, but it does not clearly frame this as an explicit region-specific limitation for users. Because locale/region constraints should be clearly justified or presented as an opt-in limitation, this is a mild policy concern.

Static analysis

No suspicious patterns detected.