Back to skill

Security audit

endpoint-aiops

Security checks for vulnerabilities and agentic risk

Overview

Review before enabling writes: the agent guidance overstates confirmation safeguards for actions that change device profiles or reboot devices.

Start with a server-enforced read-only account and test away from production. Before enabling writes, require explicit approval for the device and action through your MCP client. CLI confirmations do not protect MCP calls, and a reboot cannot be undone.

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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • Rogue AgentSelf-Modification, Session Persistence
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
Findings (8)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
90% confidence
Finding

The supplied chunk functions as a plugin installer and discovery check rather than the described fleet-management implementation. Although installation could support the advertised functionality, it is the only substantive action shown and introduces an undeclared environment modification. The installed plugin's behavior and claimed governance safeguards cannot be verified from this chunk.

Content

No source excerpt is available for this finding.

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
70% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

Scanner excerpt · references/cli-reference.md (reported line 10)May include surrounding context.

bash
endpoint-aiops init                      # interactive onboarding wizard
endpoint-aiops doctor [--skip-auth]      # config + secret store + connectivity (/version)
endpoint-aiops mcp                       # start the MCP server (stdio transport)

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/cli-reference.md (reported line 20)May include surrounding context.

endpoint-aiops secret set [--value ] # store API key (hidden prompt if no --value) endpoint-aiops secret list # names only — values never shown endpoint-aiops secret rm endpoint-aiops secret migrate # import legacy plaintext .env (ENDPOINT__APIKEY) endpoint-aiops secret rotate-password # re-encrypt under a new master password

text

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
70% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

Scanner excerpt · references/setup-guide.md (reported line 114)May include surrounding context.

text

`doctor` checks the config file, the encrypted store and its permissions,
that an API key is present per target, and (unless `--skip-auth`) connectivity
by hitting `/version`.

Session Persistence

Medium
Category
Rogue Agent
Confidence
60% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · SKILL.md (reported line 23)May include surrounding context.

md
metadata: {"openclaw":{"requires":{"anyBins":["endpoint-aiops","uvx"]},"optional":{"env":["ENDPOINT_AIOPS_CONFIG","ENDPOINT_AIOPS_MASTER_PASSWORD"]},"homepage":"https://github.com/AIops-tools/Endpoint-AIops","emoji":"💻","os":["macos","linux"]}}
compatibility: >
  Standalone, self-governed managed-endpoint operations. The governance harness (audit, policy, token/runaway budget, undo, risk-tiers) is bundled in the package — no external skill-family dependency.
  All write operations are audited to a local SQLite DB under ~/.endpoint-aiops/ (relocatable via ENDPOINT_AIOPS_HOME).
  Credentials: the endpoint-management server's API key is stored ENCRYPTED in ~/.endpoint-aiops/secrets.enc (Fernet/AES-128 + scrypt-derived key) — never plaintext on disk. Run 'endpoint-aiops init' to onboard, or 'endpoint-aiops secret set <target>' to add one. The store is unlocked by a master password from ENDPOINT_AIOPS_MASTER_PASSWORD (non-interactive/MCP/CI) or an interactive prompt (CLI on a TTY). A legacy

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
91% confidence
Finding

The guide advises removing destructive-action confirmation instructions because the harness supposedly supplies that safeguard, but its stated confirmations apply only to the CLI while the recommended agent uses MCP tools. With write-capable credentials, this guidance leaves mistaken or injection-induced profile changes and reboots without a demonstrated approval boundary; server permissions and audit records do not establish user approval for a particular action.

Content

Scanner excerpt · references/agent-guardrails.md (reported line 15)May include surrounding context.

md
## Authorization is not this tool's job — decide it where it belongs

Whether a write should happen is your decision, or the account's. The tool does
not gate it — there is no read-only switch and no approval prompt to configure.
The two right places to control read vs write:

- **The account you connect with.** Give it a management-console account or API

Unsafe Defaults

Medium
Category
Tool Misuse
Confidence
80% confidence
Finding

Tool defaults are unsafe or overly permissive (e.g. disabled TLS verification, no authentication, world-writable permissions). Unsafe defaults widen the attack surface.

Content

Scanner excerpt · references/cli-reference.md (reported line 10)May include surrounding context.

bash
endpoint-aiops init                      # interactive onboarding wizard
endpoint-aiops doctor [--skip-auth]      # config + secret store + connectivity (/version)
endpoint-aiops mcp                       # start the MCP server (stdio transport)

Unsafe Defaults

Medium
Category
Tool Misuse
Confidence
80% confidence
Finding

Tool defaults are unsafe or overly permissive (e.g. disabled TLS verification, no authentication, world-writable permissions). Unsafe defaults widen the attack surface.

Content

Scanner excerpt · references/setup-guide.md (reported line 114)May include surrounding context.

text

`doctor` checks the config file, the encrypted store and its permissions,
that an API key is present per target, and (unless `--skip-auth`) connectivity
by hitting `/version`.