Lp3
Medium
- Category
- MCP Least Privilege
- Confidence
- 70% confidence
- Finding
- Without declared permissions the skill's intent is opaque and cannot be validated.
Security audit
Security checks for vulnerabilities and agentic risk
This skill is a local Wi-Fi planning tool whose scripts and file writes match its stated purpose.
Install only if you are comfortable creating a local home-layout JSON file and storing Wi-Fi measurements in it. The inspected artifact does not send data over the network or install background components.
hf = os.path.join(td, "home.json")
with open(hf, "w") as f:
json.dump(wifi.sample_home(), f)
r = subprocess.run([sys.executable, os.path.join(HERE, "wifi_heatmap.py"),
"survey", "--home", hf, "--room", "kitchen",
"--rssi", "-58", "--band", "5", "--where", "counter"],
capture_output=True, text=True)with open(hf) as f:
saved = json.load(f)
check("measurement persisted", saved["measurements"]["kitchen"][-1]["rssi"] == -58)
r = subprocess.run([sys.executable, os.path.join(HERE, "wifi_heatmap.py"),
"compare", "--home", hf], capture_output=True, text=True)
check("compare renders table", "Model vs measured" in r.stdout and "delta" in r.stdout.lower()
or "Delta" in r.stdout)"compare", "--home", hf], capture_output=True, text=True)
check("compare renders table", "Model vs measured" in r.stdout and "delta" in r.stdout.lower()
or "Delta" in r.stdout)
r = subprocess.run([sys.executable, os.path.join(HERE, "wifi_heatmap.py"),
"plan", "--home", hf], capture_output=True, text=True)
check("plan renders heatmap", "Heatmap" in r.stdout and "@" in r.stdout)check("plan renders heatmap", "Heatmap" in r.stdout and "@" in r.stdout)
print("cli:")
r = subprocess.run([sys.executable, os.path.join(HERE, "wifi_heatmap.py"), "example"],
capture_output=True, text=True)
check("example runs end-to-end", r.returncode == 0 and "Per-room signal" in r.stdout)
check("example shows before/after", "recommended spot" in r.stdout)Detected: suspicious.dynamic_code_execution