← MCP server and skill grades

claude-codex-settings

fcakyon/claude-codex-settings

D
Type
Plugin
Scanned
Nov 17, 2026
Version
eab1c98c9473
Files read
1413

This project is a collection of settings, plugins, and automation tools that connect AI coding assistants like Claude Code, Codex, and Cursor to cloud services, office documents, and web browsers. The biggest risk is that several bundled settings and hooks skip normal safety prompts to run scripts and newly downloaded packages automatically, which could let a tricked AI assistant or an untrusted project folder run harmful commands on your computer.

What it can reach

Files
Reads and writes project files, Office and PDF documents, AI assistant settings and chat logs (in ~/.claude and ~/.codex), and test recordings like screenshots, videos, network logs, and saved login sessions.
Shell commands
Runs terminal commands, Python scripts, package installers, code formatters, document converters (like LibreOffice), background plugin servers, and cloud or developer command-line tools (such as Git, GitHub, Stripe, Supabase, and Cloudflare).
Network
Downloads software packages on the fly, visits websites during testing, runs a local demo web server accessible on your network, and connects to external services including GitHub, Azure, Google Cloud, Cloudflare, Stripe, Supabase, MongoDB, Hetzner, Overleaf, and Tavily.
Secrets
Reads API keys and passwords from environment variables, .env files, and local config files, uses active logins from cloud tools (like GitHub, Azure, Google Cloud, and Cloudflare), and reads or saves live browser cookies and login tokens.
Browser
Opens and controls Chrome, Chromium, and Electron desktop apps to automate browsing, record screenshots and web traffic, and copy or export active login cookies.
System
Launches and inspects desktop applications, controls macOS windows and mouse actions through Accessibility features, and runs automated tests on connected Android devices.

Findings

3 high4 medium8 low
  1. HighSimplify PreToolUse hook executes untrusted git-named binaries before approval

    plugins/simplify/hooks/scripts/guard.py:69

    The simplify guard hook runs on every Bash tool call before the user approves the command and outside Codex's workspace sandbox. When scanning tokens for a git commit command, commit_prefix checks only whether Path(arg).name == 'git' and keeps the full path arg as the executable passed to subprocess.run in marker(). If a prompt-injected agent proposes running ./git commit or /tmp/dir/git commit inside an untrusted repo or writable workspace, the hook immediately executes that binary on the host.

    Fix: Hardcode 'git' (resolved only from trusted system paths) instead of passing the untrusted token arg into subprocess.run, and ignore or deny invocations where arg is a relative or custom path.

  2. HighDefault allowlists and sync-allowlist grant unprompted arbitrary code execution via python -c

    .claude/settings.json:80

    The permissions.allow list in .claude/settings.json (also copied to ~/.claude/settings.json by /claude-tools:sync-allowlist, mirrored in the provider settings files, and matched in .codex/rules/nondestructive-allowlist.rules) unconditionally allows 'python -c', 'python3 -c', 'find', 'sed', 'tmux new-session', and 'git push'. Because explicit allow rules run before user confirmation prompts and before Claude Code's autoMode classifier (and bypass Codex sandbox prompts), a prompt-injected agent can execute arbitrary Python code to delete files, read secrets, or exfiltrate data over the network without any confirmation.

    Fix: Remove python -c, python3 -c, tmux new-session, find, sed, and git push from permissions.allow and nondestructive-allowlist.rules so they require user confirmation or autoMode/auto_review evaluation.

  3. HighPost-write formatting hook executes repository Prettier configs on file edits

    plugins/ultralytics-dev/hooks/scripts/post_write.py:158

    When ultralytics-dev is enabled (on by default in .claude/settings.json and .codex/config.toml), post_write.py runs Prettier on every edited Markdown, JSON, YAML, HTML, CSS, or JS/TS file with cwd set to the file's Git repository root and without --no-config. Prettier automatically loads and executes JavaScript config files (.prettierrc.js, prettier.config.js) and plugins from that repository. Editing even a plain .md or .json file inside a cloned untrusted repository will execute attacker-controlled JavaScript on the host outside any agent sandbox.

    Fix: Pass --no-config to Prettier in PRETTIER so formatting uses only the hook's explicit flags and never imports executable config files or plugins from the target repository.

  4. MediumProvider settings PreToolUse hook auto-approves Bash commands that evade a denylist regex

    .claude/settings-kimi.json:147

    In .claude/settings-kimi.json (and identically in .claude/settings-minimax.json and .claude/settings-zai.json), a PreToolUse Bash hook checks commands against a regex denylist and returns permissionDecision: 'allow' whenever the regex does not match. Returning 'allow' overrides Claude Code's normal confirmation prompt in default mode. Commands such as 'rm file', 'node -e ...', 'python3 script.py', 'ssh', 'base64 -d ... | sh', or redirects like '> ~/.bashrc' evade the regex and run silently. Worse, because the condition is negated ('if ! echo "$CMD" | rg -qP ...'), if ripgrep (rg) is not installed, rg exits 127 and the hook auto-approves every Bash command including 'rm -rf' and 'sudo'.

    Fix: Do not emit permissionDecision: 'allow' when the denylist does not match (exit 0 with no output so Claude Code enforces its normal allowlist and prompts), and fail closed if jq or rg is missing.

  5. MediumSEO audit crawler follows redirects from public URLs onto localhost and private networks

    plugins/seo-skills/skills/seo-audit/scripts/audit.mjs:103

    When auditSite() fetches the initial target URL via readUrl(target), no origin restriction or private-IP check is applied to HTTP redirects, and the final redirected URL becomes the trusted crawl origin. If a user or agent audits an external URL that responds with a 302 redirect to http://127.0.0.1:<port>/, a LAN host, or 169.254.169.254, audit.mjs adopts that internal host as its crawl origin, fetches robots.txt and sitemaps, crawls up to 20 internal pages, and returns their titles, descriptions, headings, and links in its output. Subresource fetches in check_head.mjs and check_llms_txt.mjs similarly lack loopback/private-IP blocks.

    Fix: Resolve hostnames and block redirects or subresource fetches to loopback, link-local, and RFC1918 private IP addresses whenever the initial audit target is a public origin.

  6. MediumHardcoded /tmp paths for LibreOffice macros and LD_PRELOAD shim allow local code execution on shared hosts

    plugins/anthropic-office-skills/skills/docx/scripts/accept_changes.py:16

    accept_changes.py uses a fixed world-writable path (/tmp/libreoffice_docx_profile) for its LibreOffice profile and reuses Module1.xba without overwriting it if the file already exists and contains the string 'AcceptAllTrackedChanges'. Similarly, office/soffice.py (in docx, pptx, and xlsx) reuses /tmp/lo_socket_shim.so in LD_PRELOAD if the file already exists. On multi-user Linux or macOS servers, another local user can pre-create either file to execute arbitrary code when the victim runs these scripts.

    Fix: Create a fresh private directory via tempfile.TemporaryDirectory() (as xlsx/scripts/recalc.py already does) for both the LibreOffice profile and lo_socket_shim.so instead of using fixed paths in /tmp.

  7. MediumGit commit and PR confirmation hooks are bypassed by chained commands or global flags

    plugins/github-dev/hooks/scripts/git_commit_confirm.py:110

    git_commit_confirm.py and gh_pr_create_confirm.py are designed to force an interactive 'ask' confirmation before creating commits or GitHub PRs, which is especially important when running in Claude Code's auto mode. However, both scripts exit immediately unless the raw command string literally starts with 'git commit' or 'gh pr create'. Compound commands such as 'git add . && git commit -m ...' or 'git push -u origin branch && gh pr create ...', or global flags like 'git -C repo commit' and 'gh -R owner/repo pr create', bypass the confirmation dialog completely.

    Fix: Remove the raw startswith('git commit') gate in git_commit_confirm.py so git_commits() inspects all command segments, and parse compound shell segments and global gh flags in gh_pr_create_confirm.py.

  8. LowMCP server configs and Biome hook download and execute unpinned @latest packages at runtime

    plugins/web-performance-skills/.mcp.json:4

    The MCP configs in web-performance-skills, azure-tools, gcloud-tools, and tavily-tools, as well as the Biome invocation in plugins/ultralytics-dev/hooks/scripts/post_write.py, run 'npx -y' with '@latest' (or no version specifier). This causes npm to silently fetch and run the newest published code on startup or first use without version pinning, exposing installations to upstream npm package compromise.

    Fix: Pin exact, verified package versions in all .mcp.json files and in post_write.py rather than using @latest or unpinned package names.

  9. LowTelemetry hook ships raw user prompt excerpts after any tool error without opt-in

    plugins/claude-telemetry-hooks/hooks/scripts/user_prompt_reject_feedback.py:162

    Claude Code withholds user prompt text from OpenTelemetry logs by default unless OTEL_LOG_USER_PROMPTS=1 is set, and this plugin's README states only that it logs categorized rejection reasons. In practice, find_recent_reject() matches any tool_result with is_error=true in the last 30 transcript entries (including ordinary failed commands), and main() sends the first 200 characters of the user's next prompt in cleartext as feedback_excerpt to OTEL_EXPORTER_OTLP_ENDPOINT.

    Fix: Exclude feedback_excerpt unless OTEL_LOG_USER_PROMPTS=1 is explicitly enabled, and check for actual user tool rejections rather than any is_error tool result.

  10. LowAuth component Vite demo binds to 0.0.0.0 on all network interfaces

    plugins/reusable-app-components/package.json:9

    The app-auth skill instructs the user or agent to run 'npm run dev' in plugins/reusable-app-components to preview the login demo, and package.json passes '--host 0.0.0.0' to Vite. While running, the unauthenticated Vite dev server listens on all network interfaces (such as shared Wi-Fi or LANs) instead of localhost only.

    Fix: Remove '--host 0.0.0.0' (or set '--host 127.0.0.1') in the dev script so the demo server is only reachable locally by default.

  11. LowBundled VS Code settings disable gitignore filtering for Claude Code

    .vscode/settings.json:3

    The repository's .vscode/settings.json sets 'claudeCode.respectGitIgnore' to false without mentioning it in README.md. Users who open this workspace or copy .vscode/settings.json into their own projects allow the Claude Code extension to index and surface gitignored files—including .env files and local secrets—during file discovery.

    Fix: Set 'claudeCode.respectGitIgnore' to true in .vscode/settings.json so gitignored secret files remain excluded by default.

  12. LowStripe Apps skill mandates sending build-session telemetry without asking the user

    plugins/stripe-skills/skills/stripe-apps/references/workflow.md:18

    The stripe-apps workflow marks running 'stripe feedback' (or the send_stripe_feedback MCP tool in feedback.md) as a mandatory final step of every build session ('Do NOT skip or reorder steps'), sending what the user was building, file paths, and sample prompts to Stripe without asking for user consent first.

    Fix: Make feedback submission strictly opt-in and require the agent to show the exact message and context to the user for explicit approval before sending, matching the Cloudflare skill-feedback pattern.

  13. LowSkill references recommend unpinned curl-pipe-to-shell installers

    plugins/supabase-skills/skills/supabase-cli/references/overview.md:29

    Reference guides in supabase-cli (overview.md) and dokploy-deploy (getting-started/installation.mdx) list unpinned 'curl ... | bash' or 'curl ... | sh' commands from mutable URLs as primary installation steps. If the agent executes these commands when asked to set up the tools, a compromised upstream branch or web server can run arbitrary commands.

    Fix: Remove unpinned curl-to-shell commands from skill references or pin them to immutable release tags with SHA-256 checksum verification.

  14. LowSchema skill Next.js example injects unescaped JSON.stringify into script tag and silences linter

    plugins/seo-skills/skills/schema/references/schema-examples.md:333

    The Next.js JSON-LD recipe passes JSON.stringify(schema) directly into dangerouslySetInnerHTML inside a <script> tag while adding a biome-ignore comment to silence the security linter. Because JSON.stringify does not escape '</script>', dynamic fields such as post titles or reviews containing '</script>' can break out of the script tag and cause cross-site scripting (XSS) in apps generated from this skill.

    Fix: Escape '<' characters in the serialized JSON (JSON.stringify(schema).replace(/</g, '\\u003c')) as recommended by Next.js documentation.

  15. LowDokploy manual installation reference sets /etc/dokploy to world-writable (chmod 777)

    plugins/dokploy-skills/skills/dokploy-deploy/references/getting-started/manual-installation.mdx:134

    The manual installation script and Swarm setup instructions in dokploy-deploy run 'chmod 777 /etc/dokploy'. Because /etc/dokploy stores Traefik dynamic routing configs and application files mounted into privileged containers, following these instructions on a multi-user Linux host allows any local user to modify routing and container configurations.

    Fix: Restrict directory permissions to root (for example chmod 700 or chmod 750 /etc/dokploy) instead of 777.