Back to skill

Security audit

imac-cam

Security checks across malware telemetry and agentic risk

Overview

This skill does capture the iMac camera view, but it also automatically publishes sensitive camera output through an unauthenticated local-network web server.

Review carefully before installing. Use only if you understand that it can open Photo Booth, take a camera screenshot, save it under /tmp, and start a background unauthenticated web server on port 8765 that may expose more than the intended image to the local network. A safer version should serve only a dedicated private directory or local-only URL, require explicit consent before capture/sharing, delete the image after use, and stop the server when finished.

SkillSpector

By NVIDIA
Vulnerability Patterns
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
Findings (13)

subprocess module call

Medium
Category
Dangerous Code Execution
Content
def get_ip():
    """获取本机 IP"""
    result = subprocess.run(['/usr/sbin/scutil', '--nwi'], capture_output=True, text=True)
    for line in result.stdout.split('\n'):
        if 'address' in line and '2408' not in line:
            parts = line.strip().split()
Confidence
93% confidence
Finding
This call gathers local network interface information, which is unrelated to merely capturing a camera image. In this skill it is used to construct a network-accessible URL, increasing exposure of captured camera content and host network details.

subprocess module call

Medium
Category
Dangerous Code Execution
Content
sock.close()
        if result != 0:
            os.chdir('/tmp')
            subprocess.Popen(['python3', '-m', 'http.server', '8765'], 
                           stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
            time.sleep(1)
    except:
Confidence
99% confidence
Finding
Starting a Python HTTP server in /tmp exposes the captured camera image over the network on port 8765, which exceeds the stated purpose of local camera capture. This can leak sensitive webcam content to other devices on the local network and may also expose other files in /tmp.

Lp3

Medium
Category
MCP Least Privilege
Confidence
90% confidence
Finding
The skill declares no permissions while its described behavior clearly implies shell execution and local file/screenshot handling. This undermines informed consent and platform security review, because users and administrators cannot accurately assess that the skill launches apps, captures camera output, and manipulates local resources.

Tp4

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding
The skill claims to help view the iMac camera, but also starts an HTTP server and exposes captured camera images over the local network. That materially expands the attack surface from a local UI action to network-accessible surveillance, enabling unintended disclosure of sensitive live imagery to other devices on the LAN.

Description-Behavior Mismatch

High
Confidence
99% confidence
Finding
The skill claims to capture the iMac camera view but additionally hosts the resulting image over HTTP and prints a LAN-accessible URL. This materially changes the security model from local capture to network disclosure of webcam content, creating a significant privacy leak.

Context-Inappropriate Capability

High
Confidence
99% confidence
Finding
The network-serving capability is unjustified by the advertised function of the skill and creates a hidden data exfiltration path. In the context of webcam imagery, exposing files via HTTP is especially dangerous because the data is highly sensitive and unexpectedly shareable.

Context-Inappropriate Capability

Medium
Confidence
95% confidence
Finding
Collecting the machine's IP address is unnecessary for simple camera capture and is used to enable network access to the image. In context, this increases the likelihood of unauthorized viewing and reveals local network information without clear need.

Description-Behavior Mismatch

High
Confidence
99% confidence
Finding
The skill claims to expose an iMac camera view, but the script actually launches a generic Python HTTP server rooted at /tmp. That creates a functionality mismatch consistent with deceptive behavior and can expose arbitrary temporary files over the network to anyone who can reach port 8765.

Context-Inappropriate Capability

Medium
Confidence
95% confidence
Finding
Starting a network-accessible HTTP server is not justified by the stated camera-viewing purpose and unnecessarily expands the attack surface. Serving /tmp can disclose sensitive temporary data, tokens, screenshots, logs, or other files to other hosts on the local network.

Intent-Code Divergence

Medium
Confidence
89% confidence
Finding
The comment explicitly states the script starts an HTTP server, which directly contradicts the advertised camera-capture purpose. In the context of a skill presented as camera-related, this mismatch is a strong indicator of deceptive packaging that may hide unintended file exposure or other unauthorized behavior.

Vague Triggers

Medium
Confidence
84% confidence
Finding
The trigger phrase '监控' is overly broad and can be invoked in ordinary conversation unrelated to camera access. In this context, accidental activation is especially risky because the skill may launch Photo Booth, capture camera output, and potentially expose the result via a local server without a sufficiently deliberate user action.

Missing User Warnings

High
Confidence
96% confidence
Finding
The description does not clearly warn that the skill launches the camera app, captures camera output, closes the app afterward, and starts an HTTP server. Because camera access and network exposure are privacy-sensitive operations, omission of these warnings prevents meaningful informed consent and increases the likelihood of covert or surprising surveillance behavior.

Ssd 4

High
Confidence
95% confidence
Finding
The skill is presented as a simple camera-view utility, but its combined behavior supports covert monitoring of another person's iMac by opening Photo Booth, capturing the feed, and serving the result over the network. The context makes this more dangerous because it targets another person's device ('黄哥 iMac') and normalizes surveillance-oriented use without clear consent or access controls.

VirusTotal

65/65 vendors flagged this skill as clean.

View on VirusTotal

Static analysis

No suspicious patterns detected.