Back to skill

Security audit

Controld

Security checks for vulnerabilities and agentic risk

Overview

This Control D skill is coherent for DNS management, but it needs review because it can make live account changes and includes high-risk endpoint deployment commands without strong safeguards.

Install only if you are comfortable giving the skill access to a Control D API token. Prefer a least-privilege or read-only token unless you truly need write operations, restrict the token by IP where possible, and require manual confirmation before deletes, organization updates, default-rule changes, provisioning changes, or mass deployment. Do not run the documented RMM installer one-liners across endpoints unless you independently verify the installer source, signature or checksum, and test it in a controlled environment first.

Vulnerability Patterns
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (2)

T03 · Remote Payload Retrieval and Execution

Error
Location
SKILL.md:421
Finding

Unpinned Remote Installer Is Downloaded and Executed

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/controld.sh:105
Finding

Unescaped CLI Arguments Are Interpolated into Privileged API JSON Payloads

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (110)

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The provisioning section includes remote deployment commands that download and execute scripts directly on endpoints, including PowerShell Invoke-Expression and shell piping from curl. This materially expands the skill from DNS management into remote code execution on managed devices, creating a severe compromise path if misused, substituted, or invoked without strong operator review.

Content

No source excerpt is available for this finding.

Missing User Warnings

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The provisioning workflow presents downloaded-script execution on endpoints without an explicit warning that it runs remote code with elevated privileges. This normalizes a high-risk practice and could lead operators or agents to execute unreviewed code across many systems.

Content

No source excerpt is available for this finding.

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
Use `scripts/controld.sh` for common operations:

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
Use `scripts/controld.sh` for common operations:

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
Use `scripts/controld.sh` for common operations:

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
Use `scripts/controld.sh` for common operations:

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
Use `scripts/controld.sh` for common operations:

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
Use `scripts/controld.sh` for common operations:

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
Use `scripts/controld.sh` for common operations:

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
Use `scripts/controld.sh` for common operations:

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
Use `scripts/controld.sh` for common operations:

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
Use `scripts/controld.sh` for common operations:

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
Use `scripts/controld.sh` for common operations:

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
Use `scripts/controld.sh` for common operations:

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
Use `scripts/controld.sh` for common operations:

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
Use `scripts/controld.sh` for common operations:

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
Use `scripts/controld.sh` for common operations:

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
Use `scripts/controld.sh` for common operations:

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
Use `scripts/controld.sh` for common operations:

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
Use `scripts/controld.sh` for common operations:

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
Use `scripts/controld.sh` for common operations:

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
94% confidence
Finding

The function deletes a profile based solely on a supplied identifier, with no validation of intent, confirmation, or guardrails. In an agent setting, untrusted prompt content or parameter manipulation could coerce deletion of critical DNS policy objects, causing loss of service controls or operational disruption.

Content

Scanner excerpt · scripts/controld.sh (reported line 127)May include surrounding context.

sh
profiles_delete() {
    local id="$1"
    api DELETE "/profiles/$id" | jq '.'
}

profiles_options() {

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
94% confidence
Finding

This endpoint removes devices by arbitrary supplied ID without safety checks. Abuse could disconnect endpoints from intended DNS policies or delete production device registrations, leading to outages or security policy bypass.

Content

Scanner excerpt · scripts/controld.sh (reported line 164)May include surrounding context.

sh
devices_delete() {
    local id="$1"
    api DELETE "/devices/$id" | jq '.'
}

# Filters

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
92% confidence
Finding

Folder deletion is performed directly from user-controlled parameters with no confirmation or validation. An incorrect or injected folder ID could remove groups of DNS rules, potentially weakening or disabling filtering policy at scale.

Content

Scanner excerpt · scripts/controld.sh (reported line 257)May include surrounding context.

sh
folders_delete() {
    local profile_id="$1"
    local folder_id="$2"
    api DELETE "/profiles/$profile_id/groups/$folder_id" | jq '.'
}

# Custom rules

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
93% confidence
Finding

The script deletes custom DNS rules using a raw hostname path parameter, again without guardrails. If driven by an LLM agent, an attacker could influence parameters to remove allow/block rules, undermining protections or changing traffic handling for targeted domains.

Content

Scanner excerpt · scripts/controld.sh (reported line 303)May include surrounding context.

sh
rules_delete() {
    local profile_id="$1"
    local hostname="$2"
    api DELETE "/profiles/$profile_id/rules/$hostname" | jq '.'
}

# Default rule