← MCP server and skill grades

claude-skills

alirezarezvani/claude-skills

F
Type
MCP server
Scanned
Nov 17, 2026
Version
f8593c494121
Files read
3958

This project is a large collection of plugins, prompt instructions, and helper scripts that extend AI coding agents across engineering, product, marketing, finance, research, and compliance tasks. The biggest risk is that several bundled scripts and plugin settings can run untrusted code or system commands without asking (such as when processing crafted test files, AI models, or repository configs, or via pre-approved script runners), letting malicious files or prompt injections execute commands and expose data on your computer.

What it can reach

Files
Reads and writes project files, .env files, documents, AI model files, temporary files in /tmp, and local agent configs, memory stores, and chat transcripts in your home folder (such as ~/.claude, ~/.codex, and ~/.config).
Network
Connects to Atlassian's remote MCP server for Jira and Confluence, fetches live prompt catalogs from signals.forwardfuture.ai, sends code and prompts to external AI and OpenCode endpoints, downloads packages and Terraform plugins, and queries public research APIs, audited URLs, and optional Slack, TestRail, or BrowserStack services.
Shell commands
Runs local programs and scripts (including Python, Node.js, TypeScript runners, Git, Terraform, package managers, tessl, and AI agent CLIs), executes commands defined in test or repository config files, and pre-approves certain script runners without confirmation.
Secrets
Reads API keys and OAuth tokens from environment variables and local config files (including Anthropic, OpenAI, Gemini, Jira, Linear, Slack, TestRail, BrowserStack, Firecrawl, and Google Workspace credentials), and scans or copies .env files and session logs.
Browser
Controls Chrome and Chromium browsers via Playwright and the Chrome DevTools Protocol to open pages, run page JavaScript, capture screenshots, run automated tests, and interact with logged-in web sessions like Google NotebookLM.
System
Reads and edits your user crontab to schedule automated background jobs and can leave persistent local server processes running in the background.

Findings

1 critical7 high24 medium26 low
  1. CriticalArbitrary Command Execution and Argument Injection via JSON Test Payload

    marketing-skill/skills/prompt-engineer-toolkit/scripts/prompt_tester.py:103

    Although the script states that omitting --runner-cmd performs static scoring only, load_payload() reads the full dictionary from --input or stdin and main() extracts runner_cmd = payload.get("runner_cmd"). An untrusted JSON test file can supply anyrunner_cmd and execute arbitrary OS commands via subprocess.run(). In addition, run_runner() formats untrusted prompt and case_input strings into runner_cmd before calling shlex.split(), allowing test-case text to break out of quotes and inject extra command arguments even when the user supplies a benign --runner-cmd.

    Fix: Ignore runner_cmd inside JSON payloads so commands can only come from an explicit CLI flag, and pass placeholders as discrete list elements after shlex.split() rather than formatting untrusted text before splitting.

  2. HighUnsafe torch.load deserialization during PyTorch model analysis

    engineering-team/skills/senior-computer-vision/scripts/inference_optimizer.py:152

    Both _analyze_pytorch() (which runs by default just to count parameters and inspect tensor shapes) and _benchmark_pytorch() call torch.load() without weights_only=True. On PyTorch versions prior to 2.6, torch.load() defaults to weights_only=False and uses Python pickle deserialization, allowing a malicious .pt or .pth model file in a repository or dataset to execute arbitrary code on the user's machine during routine model analysis.

    Fix: Pass weights_only=True to torch.load() in _analyze_pytorch(), and require an explicit opt-in flag with a clear warning before unpickling full model objects in _benchmark_pytorch().

  3. HighPowerShell command injection in generated Microsoft 365 admin scripts

    engineering-team/skills/ms365-tenant-manager/scripts/user_management.py:67

    User fields from the --users JSON input (username, display_name, first_name, last_name, job_title, department, license_sku) as well as --user-email, --tenant-domain, and policy/company names across the ms365-tenant-manager scripts are interpolated unescaped into PowerShell double-quoted strings. Because PowerShell evaluates $(...) subexpressions and $variables inside double quotes and breaks out on double quotes, untrusted applicant or HR onboarding data fed into the generator injects arbitrary PowerShell commands into scripts meant to be run as a Microsoft 365 Global or User Administrator.

    Fix: Emit PowerShell single-quoted string literals with single quotes doubled (value.replace("'", "''")), or load the JSON/CSV file directly inside PowerShell via ConvertFrom-Json or Import-Csv instead of interpolating data into script source.

  4. HighCode injection in generated MCP server scaffolds from OpenAPI descriptions

    engineering/skills/mcp-server-builder/scripts/openapi_to_mcp.py:123

    When generating an MCP server from an OpenAPI specification, operationId is sanitized into a safe identifier, but operation summary and description fields are interpolated raw into triple-quoted Python docstrings in server.py and single-quoted strings in server.ts (as is server_name in TypeScript). If a user or agent scaffolds a server from a third-party or untrusted OpenAPI file containing triple quotes or single quotes and newlines in a summary or description, arbitrary Python or TypeScript code is written into the generated server and executes as soon as the server is started.

    Fix: Serialize description and server_name values with json.dumps() (and escape triple quotes or use repr() in Python) before inserting them into generated source code.

  5. HighUntrusted skills can silence the pre-install security auditor via inline comments

    engineering/skills/skill-security-auditor/scripts/skill_security_auditor.py:622

    The Skill Security Auditor is advertised as a pre-installation security gate to scan external skills for command injection, credential harvesting, data exfiltration, and prompt injection. However, suppressed_lines() unconditionally honors noqa: SEC-AUDITOR, auditor:ignore-line, and auditor:ignore-start / auditor:ignore-end blocks in every scanned code and markdown file without reporting that anything was suppressed. A malicious skill author can wrap scripts in # auditor:ignore-start comments or wrap SKILL.md prompt-injection payloads in invisible HTML comments (<!-- auditor:ignore-start -->) to receive a clean PASS verdict with zero findings. In addition, the symlink check on line 664 uses str(target).startswith(str(skill_path.resolve())) without a trailing path separator, allowing symlinks to sibling directories with a shared name prefix.

    Fix: Ignore inline suppression markers by default when auditing skills (enable them only behind an explicit flag for internal repository self-checks), always display the count of suppressed lines, and use Path.is_relative_to() for symlink containment checks.

  6. HighLocal File Exfiltration, XSS, and Output Redirection via Untrusted Project Config

    markdown-html/skills/md-document/scripts/html_renderer.py:396

    When html_renderer.py (or sibling converters) runs inside a cloned repository, config_loader.load_config() automatically merges <cwd>/.markdown-html/design-system.json with highest precedence. A malicious repository config can set logo_url to a sensitive path such as ~/.ssh/id_rsa or ~/.aws/credentials, causing _embed_logo() to read the file and base64-embed its contents into shareable HTML output; it can also inject unescaped HTML/CSS via design_style or derived_palette, and redirect output writes via default_output_dir.

    Fix: Do not auto-trust .markdown-html/design-system.json from the current working directory without explicit confirmation, restrict logo_url to files inside the project directory, and HTML-escape all config tokens before rendering.

  7. HighAgentHub runs shell commands from session config during diff-only summaries and allows task newline injection

    engineering/agenthub/skills/agenthub/scripts/result_ranker.py:85

    AgentHub stores session configuration in .agenthub/sessions/<id>/config.yaml, which hub_init.py keeps tracked in git rather than gitignoring. When result_ranker.py runs, it loads eval_cmd from config.yaml and executes it via subprocess.run(..., shell=True) before checking whether --diff-summary was passed, contradicting --diff-summary's description that no eval command is needed. In addition, hub_init.py writes the --task argument into config.yaml without escaping newlines, so multi-line task text from an untrusted issue or prompt can inject eval_cmd and metric keys that result_ranker.py will execute.

    Fix: Skip loading and running eval_cmd whenever --diff-summary is set, require explicit user confirmation before executing eval_cmd from a repository config.yaml, and serialize config.yaml as JSON or properly escaped YAML in hub_init.py so multi-line task strings cannot inject keys.

  8. HighPlaywright Pro plugin pre-approves arbitrary code execution via npx tsx

    engineering-team/playwright-pro/settings.json:5

    Installing the Playwright Pro plugin adds Bash(npx tsx*) and Bash(npx playwright*) to permissions.allow, so matching commands run without asking the user. Because tsx is a general-purpose TypeScript and JavaScript runner, an agent tricked by prompt injection in a tested web page, trace, or repository file can execute arbitrary code silently via npx tsx -e, bypassing both confirmation prompts and the command blocklist in test-debugger.md. In addition, omitting --no-install and a space before the wildcard lets npx download and run any public npm package starting with tsx or playwright.

    Fix: Remove Bash(npx tsx*) from settings.json (the TestRail and BrowserStack MCP integrations are already disabled by default) and narrow the Playwright rule to Bash(npx --no-install playwright test *).

  9. MediumOffline session replay enables unrestricted tool execution in Copilot and Claude backends

    engineering/skillopt-sleep/skillopt_sleep/backend.py:1013

    SkillOpt-Sleep harvests prompts and excerpts from past agent transcripts (or a tasks file) and replays them to evaluate skill edits, promising that nothing live changes during replay. However, CopilotCliBackend passes --allow-all-tools on every replay, judge, and reflection call, and ClaudeCliBackend.attempt_with_tools passes --allowedTools Bash. If a harvested session contains prompt injection from untrusted web pages, issues, or logs—or simply a past task with real-world side effects—the replay model can execute arbitrary shell commands and modify live files without confirmation.

    Fix: Disable all tools during text-only replay, judging, and reflection in CopilotCliBackend instead of passing --allow-all-tools, and restrict ClaudeCliBackend.attempt_with_tools to only the specific local shim path rather than unrestricted Bash.

  10. MediumSkillOpt-Sleep adopt trusts unvalidated target paths in project manifest.json

    engineering/skillopt-sleep/skillopt_sleep/staging.py:228

    When adopting a staged proposal from <project>/.skillopt-sleep/staging/<timestamp>/manifest.json, adopt() writes proposed_SKILL.md and proposed_CLAUDE.md directly to manifest['live_skill_path'] and manifest['live_memory_path'] without checking where they point. Because run-sleep.sh changes the working directory to the installed plugin root before invoking Python, a cloned repository containing a pre-staged manifest.json with a relative path like 'hooks/on-session-end.sh' can overwrite the plugin's executable SessionEnd hook while showing a harmless report.md during status review.

    Fix: Ignore or validate paths in manifest.json by resolving live_skill_path and live_memory_path strictly to the expected CLAUDE.md and SKILL.md locations inside the target project or the user's skills directory.

  11. MediumHandoff SessionStart hook auto-loads unowned files and symlinks from shared /tmp

    productivity/handoff/hooks/session_start.py:51

    By default on every SessionStart, the handoff hook scans the system temp directory (/tmp) for the newest file matching *handoff*.md, follows symlinks, does not verify that the file is owned by the current user, and injects up to 12,000 characters into Claude's context. On a shared machine, another local user can plant /tmp/handoff-inject.md (or a symlink to a file readable by the victim) to inject instructions or leak file contents into the victim's session; on single-user machines, handoffs from private projects bleed into unrelated projects.

    Fix: Store handoffs in a user-owned mode-0700 directory (such as ~/.local/share/handoff) scoped per project, reject symlinks, and verify stat.st_uid == os.getuid() before reading.

  12. MediumPlaywright report skill automatically posts test failures to Slack or TestRail without asking

    engineering-team/playwright-pro/skills/report/SKILL.md:47

    Although the report skill's description only says it summarizes Playwright test results when the user asks how tests went, its workflow instructs the agent to automatically push results to TestRail or POST test summaries and failure details to SLACK_WEBHOOK_URL whenever those environment variables exist, without asking the user first. In addition, its curl example interpolates raw failure text directly into a single-quoted JSON payload.

    Fix: Require explicit user confirmation before sending test results to external webhooks or TestRail, and serialize the JSON payload safely instead of interpolating raw failure messages into a shell string.

  13. MediumUnconditional terraform init and validate can download and execute untrusted provider binaries

    engineering-team/skills/senior-devops/scripts/terraform_scaffolder.py:402

    Although the docstring states it optionally runs fmt/validate, scaffold() unconditionally runs terraform init and terraform validate whenever the terraform binary is on PATH. Without --force it skips overwriting existing main.tf or versions.tf files, and even with --force any other pre-existing *.tf files in <target>/modules/<module>/ remain in place. Running the scaffolder on a cloned repository that already has a malicious .tf file in that directory causes terraform init to download attacker-specified provider plugins over the network and terraform validate to execute those provider binaries locally.

    Fix: Gate terraform init and validate behind an explicit --validate flag, refuse to run them if pre-existing or extra .tf files are present in the module directory, and pin upper bounds on provider versions.

  14. MediumUnvalidated --base-url in BYOK launch.sh generator can exfiltrate ANTHROPIC_API_KEY or inject shell commands

    agent-launcher/skills/stage-launch/scripts/launch_script_writer.py:30

    agent-launcher is designed around a BYOK boundary where tools never access ANTHROPIC_API_KEY and instead generate ./my-agent/launch.sh (checked by payload_validator.py) for the user to run in their own shell. However, launch_script_writer.py interpolates --base-url directly into a double-quoted bash assignment without host validation or shell escaping, and payload_validator.py never inspects BASE_URL. A prompt-injected agent can set --base-url to an attacker URL or shell payload, pass validation, and steal $ANTHROPIC_API_KEY (sent in x-api-key) or run arbitrary commands when the user executes launch.sh.

    Fix: Hardcode https://api.anthropic.com in the template (allowing overrides only via the user's own runtime environment if needed), shell-escape any interpolated values, and validate BASE_URL in payload_validator.py.

  15. MediumWeak predictable initial passwords on bulk-provisioned Microsoft 365 accounts

    engineering-team/skills/ms365-tenant-manager/scripts/user_management.py:75

    Bulk user provisioning scripts generated by user_management.py set every new user's initial password to ChangeMe@ followed by a 4-digit number from PowerShell's non-cryptographic Get-Random (only 9,000 possible values). Before a newly created user signs in for the first time and enrolls MFA, an attacker can easily guess or spray ChangeMe@1000..ChangeMe@9999 against new accounts.

    Fix: Generate high-entropy unique passwords with System.Security.Cryptography.RandomNumberGenerator (at least 16 random characters) or provision passwordless onboarding with Microsoft Entra Temporary Access Pass.

  16. MediumCode injection into generated Express routes and Zod schemas from untrusted OpenAPI specs

    engineering-team/skills/senior-backend/scripts/api_scaffolder.py:499

    api_scaffolder.py interpolates OpenAPI path keys, tags, enum values, and regex patterns directly into TypeScript single-quoted strings and regex literals without escaping. Scaffolding server code from an untrusted third-party OpenAPI specification allows crafted fields to break out of literals and inject arbitrary TypeScript/JavaScript code that executes when the generated server is built or started.

    Fix: Encode string literals with json.dumps() instead of raw single-quoted f-strings, and escape or validate regex patterns before emitting .regex(/.../).

  17. MediumOver-broad project-wide secret access paired with public unauthenticated endpoints in GCP templates

    engineering-team/skills/gcp-cloud-architect/scripts/deployment_manager.py:452

    The default serverless_web gcloud script and Terraform configuration grant the Cloud Run service account project-wide roles/secretmanager.secretAccessor (giving it read access to every secret in the GCP project) while simultaneously exposing the Cloud Run service unauthenticated to allUsers (even in the default dev environment) and making the static GCS bucket world-readable. In addition, --app-name, --region, and --project-id are interpolated unescaped into the generated executable deploy.sh script.

    Fix: Bind roles/secretmanager.secretAccessor only to specific secret resources rather than at the project level, require authentication by default on Cloud Run and Storage buckets, and shell-quote variables in deploy.sh.

  18. MediumGit option injection in read-only commit and secret linters allows file overwrite

    engineering/skills/commit-craft/scripts/secret_gate.py:265

    secret_gate.py passes --range directly to git diff without --end-of-options or checking for a leading dash, and message_linter.py (--range), commit_linter.py (--to-ref), and generate_changelog.py (--to-ref / --to-tag) do the same with git log. Both git diff and git log accept --output=<path>, which overwrites arbitrary files on disk (and --ext-diff in git diff re-enables external diff helpers). If prompt injection tricks an agent into passing a malicious range flag to these supposedly read-only linters—which teams often pre-approve in agent permission allowlists—an attacker can overwrite arbitrary files.

    Fix: Reject revision and range arguments that start with '-' and pass '--end-of-options' to git before the revision range.

  19. MediumTemporary Python script executed from /tmp exposes screenshot tool to local import hijacking

    engineering/skills/full-page-screenshot/scripts/full-page-screenshot.mjs:445

    When capturing tall pages that require tile stitching, full-page-screenshot.mjs writes a helper script to outputFile.replace(/\.png$/, '_stitch.py')—which defaults to /tmp/screenshot_stitch.py—beginning with 'from PIL import Image', and runs python3 on that path without isolated mode (-I). Because Python places the script's directory (/tmp) first on sys.path, another local user or unprivileged process on a shared machine can place a malicious /tmp/PIL.py file and execute arbitrary code as the user running the screenshot tool. Also, if outputFile does not end in .png, replace() leaves the path unchanged, overwriting and then deleting outputFile.

    Fix: Write tile images and the stitch helper script inside a private temporary directory created with fs.mkdtempSync(), and invoke python3 with '-I' so /tmp and environment variables are excluded from module search paths.

  20. MediumUnredacted .env secrets printed to stdout leak credentials into agent context

    engineering/skills/env-secrets-manager/scripts/env_auditor.py:85

    Unlike secret_gate.py, secret_scanner.py, and trace_core.py in this repository—which mask matched credentials—env_auditor.py scans .env* files and prints up to 180 characters of each matching line verbatim to stdout in both text and JSON modes. When an AI coding agent runs env_auditor.py to audit a project, live credentials from .env files are captured into plaintext session logs and sent to the LLM provider even if direct Read(./.env*) access is denied in agent settings.

    Fix: Mask or redact matched secret values in snippet output before printing, reporting only the file path, line number, pattern name, and variable key.

  21. MediumCross-Site Scripting in Markdown-to-HTML Inline Renderer

    markdown-html/skills/md-document/scripts/markdown_parser.py:79

    render_inline_html() escapes &, <, and > but does not escape double quotes (") and does not validate URL schemes before interpolating markdown links and images into <a href="..."> and <img src="..." alt="...">. Untrusted markdown containing double quotes in alt/href text (such as ![x" onerror="alert(1)](x)) or a javascript: link executes arbitrary JavaScript when the generated document or slide deck HTML is opened in a browser.

    Fix: Escape double quotes as &quot; (for example with html.escape(text, quote=True)) and allow only safe URL schemes such as http:, https:, mailto:, and fragment anchors.

  22. MediumStored XSS via Unescaped Script-Closing Tag in Interview Insight Board

    research-ops/skills/interview-mapper/scripts/render_board.py:182

    render_board.py embeds untrusted interview quotes and cluster metadata directly into an inline <script> block using json.dumps(clusters, ensure_ascii=False). Because json.dumps() does not escape </script>, a respondent quote or label containing </script><script>... closes the script block early and runs arbitrary JavaScript when the standalone HTML board is opened.

    Fix: Replace </ with <\/ (or escape < as \u003c and > as \u003e) on the JSON string before interpolating it into an HTML <script> element.

  23. MediumUnescaped Code and JSX Interpolation in Generated Next.js Server Component

    product-team/skills/landing-page-generator/scripts/landing_page_scaffolder.py:301

    Unlike generate_html() in the same script, generate_tsx() (the default output format) interpolates config values such as title, meta_description, headline, and testimonials directly into TypeScript string literals and JSX markup without escaping quotes or curly braces. If an agent populates config.json with untrusted text containing quotes or {...} expressions, the generated Next.js App Router Server Component will execute injected server-side JavaScript/TypeScript at build or render time.

    Fix: Serialize TypeScript string literals with json.dumps(), escape {, }, <, and > in JSX text nodes, and reject javascript: URLs in CTA links.

  24. MediumSSRF and Local File Read via Unvalidated URLs and Redirects in Audit Scripts

    marketing-skill/skills/seo-audit/scripts/seo_checker.py:313

    seo_checker.py (along with aeo_audit.py, conversion_audit.py, and sitemap_analyzer.py) passes --url directly to urllib.request.urlopen() with no scheme allowlist, redirect check, or private-IP block. Auditing an untrusted public URL that returns an HTTP redirect to 127.0.0.1, RFC1918 hosts, or cloud metadata (169.254.169.254) fetches the internal resource and exposes its title, meta description, and headings, while prompt injection can also pass file:// URLs directly.

    Fix: Restrict URLs to http and https, resolve hostnames and block loopback, link-local, and private IP ranges on both the initial request and every HTTP redirect, and cap response read size.

  25. MediumHTML sanitizer in human-gate review page builder can be bypassed via SVG animation tags

    engineering/human-gate/skills/human-gate/scripts/review_page_builder.py:41

    review_page_builder.py converts untrusted Markdown or HTML artifacts into a local .review.html file for the user to open in their browser, stripping script/iframe tags, on* handlers, and javascript: URLs. Because its tag denylist leaves <svg>, <animate>, and <set> intact and sanitize_attrs only checks URL schemes on known link attributes, an HTML file containing <svg><a href='x'><set attributeName='href' to='javascript:...'/> passes sanitization and runs JavaScript in the reviewer's browser when clicked, allowing a reviewed page to tamper with review feedback in localStorage.

    Fix: Use an allowlist of safe HTML tags instead of a small denylist, drop <svg>, <math>, <animate>, <set>, and <foreignObject> (or render untrusted HTML inside a sandboxed iframe without allow-scripts), and block external image URLs if offline-only rendering is intended.

  26. MediumRepository-local .handoff/config.json can redirect file writes and deletions outside the repo and disable redaction

    productivity/handoff/skills/session-handoff/scripts/config_loader.py:74

    load_config() automatically merges <cwd>/.handoff/config.json on top of the user's global configuration. If a user clones an untrusted repository containing .handoff/config.json, that file can set save_location to custom with an arbitrary path outside the repository and set redaction to off. Running handoff_template_generator.py or cleanup.py in that directory can then write handoff files to arbitrary folders, weaken secret redaction, or delete *handoff*.md files from the targeted directory (especially on Linux and macOS, where cleanup.py's st_mtime > st_ctime edit check never triggers because st_ctime updates on every write).

    Fix: Restrict project-level .handoff/config.json so save_location paths must resolve inside the project directory, never allow a project config to downgrade global redaction from strict to off, and track file hashes rather than st_ctime in cleanup.py.

  27. MediumSession handoff --refresh reuses files in shared /tmp without checking ownership or symlinks

    productivity/handoff/skills/session-handoff/scripts/handoff_template_generator.py:88

    By default, session-handoff stores files in the system temp directory (/tmp). When --refresh is passed, _find_latest_handoff scans /tmp for the newest file matching *handoff*.md without checking whether the entry is a symbolic link or owned by the current user. On a shared multi-user machine, another local user can pre-create a newer /tmp/handoff-*.md file containing prompt-injection text or a symlink to one of the victim's files, causing the agent to read and overwrite it in place.

    Fix: Store temporary handoffs in a user-owned mode-0700 subdirectory rather than the top-level /tmp directory, and verify not entry.is_symlink() and entry.stat().st_uid == os.getuid() before reusing any existing file.

  28. MediumXML entity and zip-bomb checks in book-to-skill can be bypassed by encoding or file extension

    engineering/book-to-skill/skills/book-to-skill/scripts/book_to_skill/zip_safety.py:113

    Before extracting DOCX or EPUB files, validate_zip_xml_safety() scans archive members ending in a fixed list of suffixes (.xml, .rels, .opf, .ncx, .xhtml, .html, .htm) by decoding them as utf-8, utf-16, utf-16le, utf-16be, or utf-32 with errors ignored and searching for <!DOCTYPE or <!ENTITY. This screen can be bypassed in two ways. First, BOM-less big-endian UTF-32 (utf-32-be) decodes to empty text under Python's utf-32 codec on little-endian machines and leaves NUL bytes between characters in UTF-8/16, hiding <!DOCTYPE and <!ENTITY from the check while standard XML parsers (Python's ElementTree expat parser and lxml) auto-detect UTF-32BE and process the declarations. Second, non-matching filenames (such as an EPUB OPF or NCX given a custom extension in META-INF/container.xml, .xht, .svg, or media entries) skip both the DTD check and safe_read()'s decompression cap before ebooklib or python-docx reads the archive. On a default install, a crafted DOCX can trigger exponential entity expansion (memory exhaustion); if the recommended optional ebooklib package is installed, a crafted EPUB can also trigger XML external entity (XXE) resolution via lxml to read local files into the extracted text.

    Fix: Enforce safe_read() size and compression-ratio budgets across every archive member regardless of suffix, and block DTD/entity declarations at the XML parser level (for example with defusedxml, expat SetEntityDeclHandler, or lxml XMLParser(resolve_entities=False, no_network=True)) rather than matching substrings across a fixed list of encodings.

  29. MediumPath traversal via --session in research citation trackers allows reading or altering arbitrary JSON files

    research/dossier/skills/dossier/scripts/citation_tracker.py:49

    Six citation_tracker.py scripts across the research plugins (dossier, grants, litreview, patent, pulse, and syllabus) and disconfirming_evidence_balance.py build session file paths directly with SESSIONS_DIR / f"{name}.json" without sanitizing --session (unlike their sibling routing_transparency_logger.py, which strips unsafe characters). In Python's pathlib, passing ../ segments or a leading / escapes ~/.dossier_sessions/ to any .json path on disk. If untrusted text being researched tricks the AI agent into supplying a crafted --session name, --action status --output json reads and prints the full contents of any local .json file (such as credential files), while --action start and --action close can create new .json files or append fields to existing .json files outside the session folder. This matters most when a standalone research plugin is installed or its tracker script is allowlisted without granting unrestricted file access.

    Fix: Validate that --session matches a strict pattern such as ^[A-Za-z0-9_-]+$ and verify session_path(name).resolve().is_relative_to(SESSIONS_DIR.resolve()) in all six citation_tracker.py scripts and disconfirming_evidence_balance.py.

  30. MediumInbox triage skill relies on a post-run check of an agent-written log to enforce drafts-only mode

    productivity/email/commands/cs-inbox-triage.md:25

    The inbox-triage workflow processes unread incoming emails from unknown senders and tells users it is safe to run automatically because draft_safety_validator.py enforces the never-send rule. However, that script runs only after triage finishes—when a sent email or outbound request cannot be undone—and it only inspects a Markdown summary file written by the agent itself rather than blocking actual tool calls. Meanwhile, cs-inbox-triage.md grants the agent Bash, WebFetch, WebSearch, Write, and Edit with no disallowedTools or PreToolUse hook blocking email-send tools or data exfiltration if an incoming email contains prompt injection.

    Fix: Enforce the drafts-only boundary before execution with a PreToolUse hook and disallowedTools in cs-inbox-triage.md that block email-send tools and restrict Bash to the specific local Python helper scripts, and add explicit untrusted-data boundaries around email bodies.

  31. MediumShell command injection risk when pasting git diffs and arguments into pre-approved Bash calls

    engineering/hivemind/assets/commands/review-panel.md:14

    The /review-panel command pre-approves Bash(node:*) so commands starting with node run without asking the user, and instructs the agent to paste git diffs under 8,000 characters directly inside a double-quoted bash string (a similar pattern appears in oc.md with "$ARGUMENTS"). In bash, double-quoted strings still execute $(...) and backtick command substitutions before node starts. Reviewing an untrusted pull request or branch whose diff contains command substitutions (or prompt injection steering the agent not to escape them) can execute arbitrary commands on the user's computer during what is presented as a read-only review.

    Fix: Never inline raw diff text or user arguments inside double-quoted shell strings; pass the temporary diff file path created in Step 1 to the worker script or let the read-only worker read the diff from disk.

  32. MediumCode injection in generated test stubs from unescaped Markdown spec headings

    engineering/skills/spec-driven-workflow/scripts/test_extractor.py:190

    test_extractor.py copies the H1 title, acceptance-criteria names, and edge-case text from a Markdown specification file directly into Python triple-quoted docstrings and JavaScript describe/it string literals without escaping quotes or comment terminators. If an agent runs this script on an untrusted spec or issue and then runs pytest or jest on the generated stub file, a heading containing triple quotes or double quotes breaks out of the string and executes arbitrary code during test collection.

    Fix: Sanitize or escape triple quotes and backslashes before embedding spec strings in Python docstrings, and use json.dumps() for JavaScript string literals while stripping */ from block comments.

  33. LowLive external prompt catalog fetched at runtime without version pinning

    loop-library/SKILL.md:53

    When finding or adapting an agent loop, loop-library instructs the agent to fetch live catalog files from https://signals.forwardfuture.ai/loop-library/catalog.md or catalog.json at runtime rather than reading pinned files from the repository. Although the skill tells the model to treat catalog entries as reference data, LLMs cannot reliably enforce a boundary between untrusted data and instructions once external text enters the context window. If that third-party server is compromised or hijacked, it could inject prompt instructions into the agent session or supply malicious loop prompts. While the README notes the live fetch as a feature, it does not warn about this prompt-injection and supply-chain risk.

    Fix: Bundle a reviewed, version-pinned snapshot of the catalog in the repository and only fetch live updates when the user explicitly requests them.

  34. LowConfidential executive memos sent to external AI providers without anonymization

    c-level-agents/skills/cross-eval/SKILL.md:35

    The cross-eval skill can be loaded automatically by the model (disable-model-invocation is not set) when a high-stakes memo is reviewed. Its workflow tells the agent to probe the environment for OPENAI_API_KEY, GEMINI_API_KEY, codex, and gemini, and send the full boardroom memo to each available external provider. Because boardroom memos incorporate ~/.claude/company-context.md and cover M&A, layoffs, fundraising, burn rate, and runway, sending the raw memo bypasses the suite's own context-engine privacy rule against transmitting sensitive company figures and names externally without anonymization.

    Fix: Set disable-model-invocation: true so cross-eval only runs when explicitly invoked, require user confirmation naming each external provider before sending data, and apply the context-engine anonymization protocol first.

  35. LowPermissive PostgreSQL RLS policy template breaks multi-tenant isolation

    engineering/skills/database-schema-designer/SKILL.md:96

    The database-schema-designer skill recommends relying on PostgreSQL Row-Level Security (RLS) over application-level filtering for multi-tenancy, and provides a SQL template combining tasks_org_isolation (FOR ALL) with tasks_no_deleted (FOR SELECT USING (deleted_at IS NULL)) and tasks_delete_policy (FOR DELETE). In PostgreSQL, policies default to AS PERMISSIVE and are combined with OR rather than AND. As written, tasks_no_deleted grants app_user SELECT access to every non-deleted row across all tenant organizations, and tasks_org_isolation overrides tasks_delete_policy so any org member can delete tasks. An agent applying this skill to a user's multi-tenant database will introduce cross-tenant data exposure.

    Fix: Mark narrowing filter policies such as tasks_no_deleted AS RESTRICTIVE, and separate or restrict per-command policies so tenant isolation and role checks are combined with AND.

  36. LowUndocumented tessl MCP server configured in repository root

    .mcp.json:5

    The root .mcp.json defines a stdio MCP server that runs 'tessl mcp start'. Unlike the Atlassian MCP server in project-management/.mcp.json, tessl is not mentioned anywhere in README.md. Users who clone the repository (as instructed for Gemini CLI, OpenClaw, and multi-tool installations) and open it in an MCP-enabled coding agent may approve project MCP servers without realizing an undocumented third-party CLI will be started if installed on PATH.

    Fix: Remove .mcp.json from the repository root if tessl is only used for maintainer workflows, or document its purpose and permissions in README.md.

  37. LowUnpinned third-party npx packages in documented install commands

    README.md:27

    README.md and several domain READMEs instruct users to install skills using unpinned npx commands (npx skills, npx agent-skills-cli, and npx ai-agent-skills). Running npx without a pinned version downloads and executes the latest published version of those third-party npm packages at install time, exposing users to upstream npm compromise or account takeover.

    Fix: Pin exact tested package versions in documented npx commands or direct users to clone a tagged release and run the local installer scripts.

  38. LowHivemind worker spawns a persistent unauthenticated OpenCode server in the background

    engineering/hivemind/scripts/oc-worker.mjs:101

    When no server responds on 127.0.0.1:4096, oc-worker.mjs launches 'opencode serve --port 4096' as a detached background daemon that keeps running after the worker and session exit, without setting OPENCODE_SERVER_PASSWORD or explicitly binding --hostname 127.0.0.1. Any local user or process on the machine can connect to this unauthenticated HTTP daemon to run OpenCode sessions and shell commands as the user, or pre-bind port 4096 before the worker runs so oc-worker.mjs attaches to the untrusted server.

    Fix: Generate a random per-user secret for OPENCODE_SERVER_PASSWORD when starting and attaching to opencode serve, pass --hostname 127.0.0.1 explicitly, and refuse to attach to a pre-existing server that does not authenticate.

  39. LowPredictable /tmp/skillopt_sleep_copilot_home directory allows local COPILOT_HOME hijacking

    engineering/skillopt-sleep/skillopt_sleep/backend.py:998

    CopilotCliBackend sets COPILOT_HOME to a fixed path (/tmp/skillopt_sleep_copilot_home) created with os.makedirs(..., exist_ok=True) and no ownership or permission check. On a multi-user system, another local user can pre-create that directory with a malicious mcp-config.json so that when the victim runs SkillOpt-Sleep with the copilot backend, Copilot CLI spawns the attacker's MCP server commands under the victim's account.

    Fix: Place the isolated COPILOT_HOME inside a user-owned mode-0700 directory (for example under ~/.skillopt-sleep/copilot_home) or create a fresh private directory with tempfile.mkdtemp().

  40. LowAgent-memory SessionStart hook loads hidden .memory/atoms.jsonl from the current directory

    engineering/agent-memory/hooks/session_start.py:126

    On every SessionStart, agent-memory reads <cwd>/.memory/atoms.jsonl and injects L2 and L3 atoms into the session prompt labeled as remembered rules from previous sessions. While opening an untrusted repository in Claude Code already loads a visible CLAUDE.md, a stranger's repository that commits a hidden .memory/atoms.jsonl can smuggle prompt instructions framed as the user's own cross-project persona memory.

    Fix: Store L2 and L3 memory under a user-owned home directory keyed by canonical project path (such as ~/.claude/agent-memory/) rather than reading .memory/atoms.jsonl directly from an untrusted working tree.

  41. LowUnpinned third-party PyPI install in agent-decision-receipts Quick Start

    ra-qm-team/skills/agent-decision-receipts/SKILL.md:30

    While the repository's README states that all Python tools are standard-library-only with zero pip installs, the agent-decision-receipts skill instructs running an unpinned 'pip install "openagentontology[pq]"' and immediately executing it to sign and verify receipts, exposing users or agents following the workflow to PyPI package updates without version or hash pinning.

    Fix: Pin openagentontology to a specific vetted version (and ideally package hashes) and ask for explicit user confirmation before installing external packages.

  42. LowGoogle Workspace CLI skill instructs exporting unmasked credentials to plaintext file

    engineering-team/google-workspace-cli/skills/google-workspace-cli/SKILL.md:95

    In the Headless/CI section, the skill instructs running 'gws auth export --unmasked > credentials.json' into the current directory without restrictive file permissions or gitignore checks, contradicting its own security guidance to never store tokens in plaintext files and risking accidental credential exposure.

    Fix: Write exported credentials outside the repository with mode 0600 (for example 'umask 077 && gws auth export --unmasked > ~/.config/gws/credentials.json') and warn users never to export into a git working tree.

  43. LowGenerated GitHub Actions security workflow references unpinned @master branch

    engineering-team/skills/senior-devops/scripts/pipeline_generator.py:106

    When scaffolding a GitHub Actions pipeline that includes the security stage, pipeline_generator.py emits uses: aquasecurity/trivy-action@master. Tracking a mutable branch on a third-party GitHub Action exposes every CI run (and its repository token and secrets) to immediate compromise if the upstream branch is hijacked or force-pushed.

    Fix: Pin third-party GitHub Actions to a verified full 40-character commit SHA instead of a mutable branch name like @master.

  44. LowGit option injection via unvalidated --base and --head arguments

    engineering-team/skills/code-reviewer/scripts/pr_analyzer.py:173

    pr_analyzer.py passes --base and --head directly to git diff and git log without rejecting leading dashes. If a prompt-injected agent invokes the read-only analyzer with a ref argument such as --output=/path/to/file, git diff interprets it as a flag and overwrites the target file.

    Fix: Reject base or head values starting with '-' and validate refs with git rev-parse --verify --end-of-options before passing them to git diff or git log.

  45. LowCode injection in generated Playwright form-filling and scraping scripts

    engineering/skills/browser-automation/scripts/form_automation_builder.py:85

    form_automation_builder.py interpolates url, selector, value, label, and wait_after fields from the input JSON directly into Python comments and double-quoted string literals when generating an executable (chmod 0755) Python script, and scraping_toolkit.py similarly interpolates --url and --selectors unescaped. If an AI agent builds the field list from an untrusted webpage's DOM labels or attributes containing newlines or double quotes and runs the resulting script, injected Python code will execute on the user's machine.

    Fix: Encode all interpolated string values with json.dumps() or repr() and strip newline characters from generated comment lines.

  46. LowPath traversal in worktree name copies repository .env secrets to arbitrary directories

    engineering/skills/git-worktree-manager/scripts/worktree_manager.py:138

    worktree_manager.py documents --name (also accepted from piped stdin JSON) as a sibling directory name created adjacent to the repository, then computes wt_path = repo.parent / name without rejecting '..' segments or absolute paths. Immediately after creating or locating the worktree, sync_env_files() copies .env, .env.local, .env.development, and .envrc from the main repository into wt_path. If an agent is tricked via prompt injection into supplying an absolute or traversing name (such as /tmp/wt), sensitive environment files are copied outside the repository's parent directory.

    Fix: Verify that name is a single relative directory name with no path separators or '..' components and confirm wt_path.resolve().parent == repo.parent.resolve() before creating the worktree or copying .env files.

  47. LowDeveloper benchmark script runs headless Claude with pre-approved node execution

    engineering/hivemind/scripts/bench/run-bench.mjs:81

    The benchmark runner (not executed during normal skill usage) invokes 'claude -p' with '--allowedTools Bash(node:*) Read(*) Grep(*) Glob(*)' while instructing the agent to scan a target repository for TODO or FIXME comments and implement them. Because 'node -e' can execute arbitrary system commands, running this benchmark script against an untrusted repository could allow prompt injection in a code comment to run arbitrary code without confirmation.

    Fix: Restrict benchmark --allowedTools to the specific worker script path rather than wildcard Bash(node:*), or run benchmarks only inside an isolated container.

  48. LowPath Traversal in X/Twitter Growth Tracker Handle Parameter

    marketing-skill/skills/x-twitter-growth/scripts/growth_tracker.py:28

    get_data_file() strips only leading @ characters from --handle before calling os.path.join(DATA_DIR, f"{clean}.jsonl"). If a prompt-injected agent passes a handle such as @/tmp/target or ../../target, os.path.join() resolves outside DATA_DIR and reads or appends .jsonl files at arbitrary writable paths.

    Fix: Validate that the cleaned handle matches ^[a-z0-9_]{1,15}$ before constructing the file path.

  49. LowPath traversal in session and board name arguments allows writing JSON or Markdown outside state folders

    engineering/grill-me/skills/grill-me/scripts/grill_session_tracker.py:48

    grill_session_tracker.py builds the state file path by joining ~/.grill_sessions with f'{name}.json' without rejecting slashes or '..' segments, and start_session overwrites that path unconditionally. Similar unvalidated path joins exist in inbox-setup's section_progress_tracker.py (--session), andreessen's anti_todo_card.py (--date), and agenthub's board_manager.py (--channel). If prompt injection tricks the agent into passing a value such as ../.claude/settings, the script can overwrite JSON files outside its state directory.

    Fix: Validate session, date, and channel identifiers against a strict pattern such as ^[A-Za-z0-9_-]+$ and verify the resolved path stays inside the intended base directory before reading or writing.

  50. LowBrowserStack MCP server interpolates tool arguments into API URLs without encoding or validation

    engineering-team/playwright-pro/integrations/browserstack-mcp/src/client.ts:74

    BrowserStackClient inserts sessionId, buildId, and status directly into API request paths and query strings without encodeURIComponent or format checks. If a user configures this optional MCP server and prompt injection tricks the agent into passing '../' segments or '?' query parameters in session_id or build_id, fetch() resolves the path against https://api.browserstack.com and sends authenticated GET or PUT requests to BrowserStack API endpoints outside session management.

    Fix: Validate build_id and session_id against expected alphanumeric/hyphen patterns and apply encodeURIComponent to all path and query parameters (and validate numeric IDs at runtime in the companion testrail-mcp server).

  51. LowPredictable /tmp filenames in wiki-linter and engineering review workflows

    agents/engineering/cs-wiki-linter.md:26

    The cs-wiki-linter agent writes vault audit output to fixed paths in world-writable /tmp (/tmp/lint.json and /tmp/graph.json) and then reads them back, and the cs-fullstack-review, cs-frontend-review, cs-backend-review, and cs-engineer-grill workflows instruct the agent to save architecture and data-sensitivity answers to predictable /tmp/*-grill-<date>.md files. On a shared multi-user computer, other local users can read these files under default permissions or pre-create them to interfere with or inject spoofed content into the review.

    Fix: Create a private temporary directory per run with mktemp -d (mode 0700) or write intermediate artifacts inside a gitignored directory within the user's workspace.

  52. LowSkills write sensitive sent emails, transcripts, and intermediate artifacts to predictable /tmp paths

    productivity/email/agents/cs-inbox-setup.md:79

    Several agents and commands instruct the AI to write private user data and intermediate pipeline files to hardcoded filenames directly in /tmp—including pasted real sent emails in /tmp/samples.txt (cs-inbox-setup.md), full conversation transcripts in /tmp/transcript.txt (cs-reflect.md), financial outputs in /tmp/burn.txt (cs-cfo-advisor.md), and parsed HTML sections in /tmp/sections.json (cs-md-document.md). On multi-user systems, files created in /tmp with default permissions can be read by other local users, and pre-existing files with those fixed names can cause collisions or feed tampered data into downstream renderers.

    Fix: Use mktemp -d with 0700 permissions for per-run scratch files (as cs-skill-retro.md already does) instead of fixed filenames in /tmp.

  53. LowOver-broad Bash(node:*) permission in Hivemind slash commands allows unprompted code execution

    engineering/hivemind/assets/commands/hive.md:3

    All seven Hivemind slash commands (hive.md, oc.md, swarm.md, review-panel.md, research-sweep.md, migration.md, and test-fleet.md) grant allowed-tools: Bash(node:*). Because Claude Code matches Bash rules by prefix, allowing Bash(node:*) pre-approves any Node.js command—including node -e arbitrary code execution—not just the intended oc-worker.mjs script. If untrusted repository files, diffs, or fetched web pages trick the orchestrator via prompt injection, it can execute arbitrary code without a permission prompt even in read-only research or review commands.

    Fix: Restrict allowed-tools to the specific Hivemind worker scripts (or wrap them in a dedicated script with fixed arguments) rather than allowing all node invocations.

  54. LowHivemind subagents send repository code and diffs to external free-tier model endpoints

    engineering/hivemind/assets/agents/scout.md:5

    The Hivemind subagent definitions (scout.md, coder.md, tester.md, and verifier.md) hardcode OpenCode free-tier models (opencode/mimo-v2.5-free and opencode/nemotron-3.5-lightning-free). Users who run /hive, /review-panel, /migration, /research-sweep, or /test-fleet—whose descriptions do not mention external free models—will have their source code and diffs sent to third-party free-tier inference endpoints that may log or retain prompts outside the user's primary AI provider agreement.

    Fix: Require users to explicitly choose and configure the worker model instead of defaulting to hosted free-tier endpoints, and disclose external model routing in every Hivemind command description.

  55. LowManaged settings template approves MCP server by name alone and leaves marketplace unpinned

    engineering/coding-agent-rollout/skills/coding-agent-rollout/assets/managed-settings.example.json:24

    The rollout plan instructs administrators to base fleet-wide MDM policies on managed-settings.example.json, but its allowedMcpServers list uses a bare serverName entry for 'github' and its strictKnownMarketplaces entries omit a git ref pin. As the skill's own mcp_and_plugin_governance.md notes, serverName alone is not a security control because any untrusted project .mcp.json can name an arbitrary local command 'github' and satisfy the allowlist.

    Fix: Replace the serverName entry in managed-settings.example.json with a pinned serverCommand array or serverUrl pattern, and add explicit ref pins to strictKnownMarketplaces entries.

  56. LowTroubleshooting guide exports unmasked OAuth credentials into the current directory

    engineering-team/google-workspace-cli/skills/google-workspace-cli/references/troubleshooting.md:268

    For headless Linux setups, the troubleshooting reference instructs running 'gws auth export --unmasked > credentials.json' in the current working directory without restricting file permissions or placing the file outside the project tree, alongside unpinned global installs of pre-v1.0 CLI code. If an agent or user follows this step inside a project workspace, plaintext Google Workspace OAuth credentials may be left with default readable permissions or accidentally committed to git.

    Fix: Write exported credentials to a private user config path outside any git repository (for example ~/.config/gws/credentials.json) under umask 077 / chmod 600, and pin CLI install commands to a specific release version.

  57. LowCommit-craft pre-push secret hook fails open when scanner script is missing

    engineering/commit-craft/skills/commit-craft/assets/hooks/pre-push:17

    Unlike the companion pre-commit and commit-msg hooks, pre-push does not check whether secret_gate.py exists at SCRIPTS (which defaults to $HOME/.claude/skills/commit-craft/scripts rather than the Claude Code plugin cache). When python3 cannot find the script file or hits a CLI argument error, Python exits with status code 2, which this line treats as non-blocking warnings—allowing git push to succeed without scanning outgoing commits for secrets.

    Fix: Verify that secret_gate.py and message_linter.py exist before the loop and exit 1 if missing, and use an exit code other than 2 for warnings so Python CLI errors do not fail open.

  58. LowInstall documentation pipes unpinned remote script from main branch into bash

    docs/plugins/index.md:84

    Both docs/plugins/index.md and docs/getting-started.md instruct OpenClaw users to pipe openclaw-install.sh directly from the mutable main branch on GitHub into bash without pinning a commit hash or release tag (and docs/guides/openclaw-skills-guide.md notes that piping the script does not work without a local clone anyway). Anyone running the snippet executes whatever code is currently on main with no integrity check.

    Fix: Replace the curl-pipe-bash commands in the documentation with instructions to clone a tagged release and inspect or run ./scripts/openclaw-install.sh locally.