Install
openclaw skills install mobb-vulnerabilities-fixerScan, fix, and remediate security vulnerabilities in a local code repository using Mobb MCP/CLI. Use when the user asks to scan for vulnerabilities, run a security check, auto-fix issues, remediate findings, or apply Mobb fixes (e.g., \"scan this repo\", \"fix security issues\", \"remediate vulnerabilities\", \"run Mobb on my changes\").
openclaw skills install mobb-vulnerabilities-fixerUse Mobb MCP scan-and-fix behavior to identify security issues in a local repo and apply the generated patches. Follow the MCP workflow exactly, including file selection, pagination, and rescan rules.
Confirm target repository path.
Use an absolute path to the repository root. Reject paths with traversal patterns. If the user gives . and a workspace root is known, use it.
Ensure Mobb authentication is available.
Prefer API_KEY in the environment. If missing or invalid, inform the user a browser window will open for Mobb login and authorization, then proceed once authenticated. If the user has no account, instruct them to create one and generate an API key. See references/mobb-auth.md.
Require MCP to be already running. Do not install or launch MCP yourself. Ask the user to start the Mobb MCP server on their machine using their approved process and confirm it is running before you proceed.
Execute MCP scan-and-fix.
Invoke the MCP tool scan_and_fix_vulnerabilities with the repository path. Use optional parameters only when the user explicitly asks.
Required parameter:
path: absolute path to the repository rootOptional parameters:
offset: pagination offset for additional fixeslimit: maximum number of fixes to return (default is 3)maxFiles: scan up to N recently changed files (default is 10); setting this triggers a fresh scanrescan: force a full rescan; only when user explicitly asksscanRecentlyChangedFiles: when true and no git changes are found, scan recently changed files from historyApply returned fixes only with explicit user consent. If the tool returns patches, summarize what will change and ask the user to confirm before applying. Apply patches exactly as provided, modify nothing else, and explain after applying. If a patch cannot be applied, report the exact conflict and continue with others the user approved.
Never auto-rescan or auto-page. Do not rescan or fetch additional pages of fixes unless the user explicitly asks. If more fixes are available, inform the user how to request the next page.
Use when the user wants a summary of available fixes without uploading/scanning or applying patches.
Call fetch_available_fixes with:
path: absolute path to the repo rootoffset and limit: optional paginationfileFilter: optional list of relative paths to filter fixesfetchFixesFromAnyFile: optional boolean to fetch fixes for all filesfileFilter and fetchFixesFromAnyFile are mutually exclusive. If neither is provided, the tool filters to files with git status changes.
Call check_for_new_available_fixes once at the end of a session after edits/tests, or when the user explicitly asks to check for fresh fixes.
Behavior notes:
origin remote.scanRecentlyChangedFiles is true (or maxFiles is set), scan recently changed files from git history.If no changed files are detected, explain the situation and offer a follow-up scan using scanRecentlyChangedFiles and/or maxFiles, but do not run it unless explicitly requested.
references/mcp-scan-fix.md: MCP scan-and-fix, fetch, and monitoring tool detailsreferences/mobb-auth.md: authentication and login flow details