VS Code + Claude Code Security Audit

    by Keane

    1

    This skill finds those settings and helps you fix them safely.

    $20

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    VS Code + Claude Code Security Audit

    Example session with this skill installed

    Audit my VS Code and Claude Code setup for security problems and tell me what to fix.

    • Read your context and instructions
    • Compiled the vs code

    Summary

    Scanned VS Code and Cursor user settings, ~/.claude/settings.json, and the VS Code binary fuses.

    2 high, 3 warning, 2 info. 4 findings can be fixed automatically.

    (Example output; your findings depend on your setup.)

    Findings

    SeverityFindingWhereFixable
    HighWorkspace Trust is disabled: every cloned repo can run tasks and debug configsVS Code settings.jsonYes
    Highpermissions.defaultMode is bypassPermissions: Claude runs commands with no prompt~/.claude/settings.jsonYes
    Warningtask.allowAutomaticTasks is on: runOn: folderOpen tasks run on openCursor settings.jsonYes
    WarningAllow rule Bash(*) pre-approves any shell command~/.claude/settings.jsonProposed replacements
    WarningclaudeCode.environmentVariables contains OPENAI_API_KEY (value not shown) in plaintext settingsVS Code settings.jsonManual
    InfoElectron fuse RunAsNode is on (required by VS Code)VS Code binaryReport-only
    Infogit config core.longpaths is unsetWindowsCommand

    Proposed fixes (need your OK)

    1. security.workspace.trust.enabled: false → true (restart VS Code afterwards)
    2. permissions.defaultMode: "bypassPermissions" → "default"
    3. task.allowAutomaticTasks: "on" → "off"
    4. Replace Bash(*) with Bash(npm test:*), Bash(npm run build:*), Bash(git status), Bash(git diff:*) (based on what you actually run)

    Move OPENAI_API_KEY to your OS credential store or shell profile; I won't touch the value.

    Next steps

    Reply

    apply 1-4 and I'll edit only those keys, keep your comments and formatting, and re-run the scan to show the before/after counts.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    What it does

    AI coding agents run inside your editor with your permissions. One wrong setting (Workspace Trust off, auto-approved terminal tools, bypassPermissions, an API key pasted into settings.json) lets a cloned repo or a prompt injection run code on your machine. This skill finds those settings and helps you fix them safely.

    How it works

    1. Read-only scan with a bundled zero-dependency Node.js script (scripts/audit.mjs). No network, no installs. It never prints secret values and shows home paths as ~.
    2. Plain-language report grouped by severity (high / warning / info), with what each finding means and which ones are fixable.
    3. Fix with consent: the agent lists exactly which keys change from what to what, edits only those keys (keeping comments and formatting), then re-runs the scan to show before/after counts.

    What it checks

    • Editor settings for VS Code, Insiders, Cursor, VSCodium and Windsurf: Workspace Trust, untrusted files, automatic tasks, chat.tools.global.autoApprove, protocol-handler prompts, proxy SSL, extension signature verification, update settings.
    • Claude Code extension: allowDangerouslySkipPermissions, initialPermissionMode, secret-looking names in claudeCode.environmentVariables (names only), NODE_OPTIONS, process wrapper.
    • Claude Code settings (~/.claude/settings.json, local and project files): bypassPermissions, skipDangerousModePermissionPrompt, broad Bash / Bash(*) allow rules (with narrow replacements proposed).
    • Electron fuses of the editor binary (RunAsNode, NODE_OPTIONS, inspect args, ASAR integrity, cookie encryption): report-only, with mitigations.
    • Persistent environment: NODE_OPTIONS / ELECTRON_RUN_AS_NODE set system-wide.
    • Windows: long-path support and git core.longpaths.
    • Optional --project <dir> to check a repository's .vscode and .claude settings.

    Safety

    • Never changes anything without asking; global commands and registry changes are given to you to run.
    • Never reads out or moves secret values.
    • Never patches signed editor binaries.

    Requires Node.js 18+. Works on Windows, macOS and Linux. Source and the companion VS Code extension: https://github.com/Keanw234412/vssession

    Requires Node.js 18+. Cannot fix Electron fuses or environment variables automatically. Does not audit remote/container settings.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 16 days ago

    Software
    Node.js

    Permissions

    Terminal / Shell
    Read Files
    Listed16 days ago

    What's inside

    Frequently Asked Questions

    The skill audits the 'big three' of modern AI development: VS Code, Cursor, and the Claude Code CLI. It scans both global user preferences and project-level configuration files to ensure your entire coding environment is hardened.

    Unlike a chatbot, this skill uses a logic-based scanner to identify specific JSON paths and Electron fuses that general LLMs often overlook. It also processes your sensitive configuration files locally, preventing your secrets or private paths from being sent to an external AI model during the audit.

    No. The skill follows a 'consent-first' workflow, meaning it only flags vulnerabilities and provides a report first. It will only modify settings files or permission manifests after you explicitly approve the suggested remediations.

    The skill identifies risky permissions, such as bypassed bash prompts or broad file-system access, and helps you reset them to a 'least-privilege' state. This ensures that AI agents can't execute dangerous commands or exfiltrate data without your knowledge.

    You receive the standalone Node.js scanner, the integration manifest for your agentic workflow, and a guide for manual mitigations (such as registry changes) that cannot be automated. The purchase includes updates for new security benchmarks as VS Code and Claude Code evolve.

    While the skill is highly effective at the user and project levels, it cannot modify signed binaries or override settings enforced by your company's IT Organization Policies. It also does not currently scan remote SSH or WSL-specific settings.

    New in Security

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.