Back to skill

Security audit

Ddg 1.0.0

Security checks for vulnerabilities and agentic risk

Overview

This skill is a coherent ddgr search helper, but its install instructions include root-level installation from unpinned third-party sources without verification guidance.

Review the install path before using this skill. Prefer a trusted OS package or verified release, avoid running sudo make install from an unpinned clone, and be aware that --ducky or interactive result selection can open third-party pages in your browser.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • 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
Findings (1)

T08 · Insecure Dependencies

Warning
Location
SKILL.md:17
Finding

Unpinned Third-Party Dependencies Installed with Elevated Privileges

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (9)

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

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

Via Snap (recommended for Ubuntu):

bash
sudo snap install ddgr

Via PPA:

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

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

Via Snap (recommended for Ubuntu):

bash
sudo snap install ddgr

Via PPA:

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

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

Via Snap (recommended for Ubuntu):

bash
sudo snap install ddgr

Via PPA:

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

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

Via Snap (recommended for Ubuntu):

bash
sudo snap install ddgr

Via PPA:

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
76% confidence
Finding

sudo make install after cloning from source executes installation steps as root from a freshly downloaded codebase. If the repository or build scripts are compromised, this can lead to arbitrary code execution with full system privileges, making it materially riskier than normal packaged installation guidance.

Content

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

bash
git clone https://github.com/jarun/ddgr.git
cd ddgr
sudo make install

Dependencies: Python 3.8 or later

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

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

md
## Troubleshooting

**Command not found:**
- Ensure ddgr is installed via snap: `sudo snap install ddgr`
- Use full command: `snap run ddgr` instead of just `ddgr`

**No results:**

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
84% confidence
Finding

The skill documentation includes --ducky to open the first result in a browser, which affects the user's system state and launches external content. The surrounding description presents this as a normal usage example but does not include any warning or caution about opening a browser or navigating to third-party sites.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
87% confidence
Finding

The interactive commands state that entering result numbers opens the selected result in a browser, but the markdown does not warn that this launches external sites outside the terminal. For a skill description, this is a user-impacting behavior that should be disclosed where the action is introduced.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
90% confidence
Finding

The document explicitly demonstrates use of ddgr --unsafe but provides no warning that this disables safe-search filtering and may return adult, offensive, or otherwise inappropriate content. In a command-line search skill, users may copy examples directly, so documenting the unsafe mode without context increases the chance of unintended exposure to unfiltered results.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.