Back to skill

Security audit

agentdots-sync

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed tool for syncing selected local agent configuration files with a Git repository, with meaningful approval and validation safeguards.

Install only if you intend to let an agent sync local agent configuration assets with a Git remote. Review the planned platform, root, assets, backup directory, remote, and branch before approving any --yes command, because approved changes can persist across future agent sessions.

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
  • 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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (3)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
92% confidence
Finding

The skill instructs the agent to read and write local files and execute shell commands, but it declares no explicit tool scope or permissions boundary. In a skill that can modify agent configuration assets and interact with Git remotes, missing scope declarations increases the chance of overbroad invocation and unsafe execution with more capability than intended.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The description contains broad triggers like sync, restore, apply, back up, push, and roll back local agent instructions across multiple platforms, which could cause the skill to activate for common user requests. Because this skill can mutate local configuration and perform Git operations, accidental triggering raises the risk of unintended file changes, backups, restores, or remote pushes.

Content

No source excerpt is available for this finding.

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · scripts/sync.py (reported line 175)May include surrounding context.

python
if not isinstance(args, list) or not args or not all(isinstance(arg, str) for arg in args):
        raise SyncError("command must be a non-empty argument list")
    try:
        result = subprocess.run(
            args,
            cwd=str(cwd) if cwd is not None else None,
            check=False,

Static analysis

No suspicious patterns detected.