{"id":36941932,"url":"https://github.com/acebot712/promptguard-vscode","last_synced_at":"2026-04-18T21:07:06.436Z","repository":{"id":326840977,"uuid":"1106940762","full_name":"acebot712/promptguard-vscode","owner":"acebot712","description":"VS Code extension for PromptGuard - Drop-in LLM security for your applications","archived":false,"fork":false,"pushed_at":"2026-04-18T19:26:45.000Z","size":135,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-18T20:34:21.685Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/acebot712.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-11-30T09:05:08.000Z","updated_at":"2026-04-18T19:26:40.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/acebot712/promptguard-vscode","commit_stats":null,"previous_names":["acebot712/promptguard-vscode"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/acebot712/promptguard-vscode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acebot712%2Fpromptguard-vscode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acebot712%2Fpromptguard-vscode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acebot712%2Fpromptguard-vscode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acebot712%2Fpromptguard-vscode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/acebot712","download_url":"https://codeload.github.com/acebot712/promptguard-vscode/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acebot712%2Fpromptguard-vscode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31984610,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"ssl_error","status_checked_at":"2026-04-18T20:23:29.375Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-13T10:58:14.279Z","updated_at":"2026-04-18T21:07:06.416Z","avatar_url":"https://github.com/acebot712.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CI](https://github.com/acebot712/promptguard-vscode/actions/workflows/ci.yml/badge.svg)](https://github.com/acebot712/promptguard-vscode/actions/workflows/ci.yml)\n[![License](https://img.shields.io/github/license/acebot712/promptguard-vscode)](https://github.com/acebot712/promptguard-vscode/blob/main/LICENSE)\n\n# PromptGuard VS Code Extension\n\nScan, detect, and secure LLM SDK usage in your codebase - directly in VS Code.\n\n## Features\n\n- **LLM SDK Detection**: Automatically detects OpenAI, Anthropic, Cohere, HuggingFace, Gemini, Groq, and AWS Bedrock SDKs in your code\n- **Status Indicator**: See PromptGuard status at a glance in the status bar\n- **One-Click Setup**: Initialize PromptGuard with a single command\n- **Real-time Diagnostics**: Get warnings when LLM SDKs are detected without PromptGuard protection\n- **Security Scanning**: Scan selected text or files for prompt injection and PII\n- **PII Redaction**: Redact sensitive data from selected text\n- **CLI Integration**: Seamlessly wraps the PromptGuard CLI\n\n\u003e **Tip:** For new projects, the [PromptGuard SDK](https://docs.promptguard.co/sdks/python) with auto-instrumentation (`promptguard.init()`) is the recommended integration - one line of code secures all LLM calls. The CLI and this extension are best for scanning existing codebases and applying proxy-mode transforms.\n\n## Requirements\n\n- VS Code 1.80.0 or higher\n- PromptGuard CLI installed (see [Installation](#installation))\n\n## Installation\n\n### 1. Install the PromptGuard CLI\n\n```bash\ncurl -fsSL https://raw.githubusercontent.com/acebot712/promptguard-cli/main/install.sh | sh\n```\n\nOr install manually from [GitHub Releases](https://github.com/acebot712/promptguard-cli/releases).\n\n### 2. Install the Extension\n\n1. Open VS Code\n2. Go to Extensions (Cmd+Shift+X / Ctrl+Shift+X)\n3. Search for \"PromptGuard\"\n4. Click Install\n\nOr install from the command line:\n\n```bash\ncode --install-extension promptguard.promptguard-vscode\n```\n\n## Usage\n\n### Initialize PromptGuard\n\n1. Open Command Palette (Cmd+Shift+P / Ctrl+Shift+P)\n2. Run `PromptGuard: Initialize`\n3. Enter your API key when prompted\n4. Select providers (or press Escape to use all)\n\n### Scan for LLM SDKs\n\n1. Run `PromptGuard: Scan for LLM SDKs` from Command Palette\n2. View results in the Output channel\n\n### Check Status\n\n- Click the status bar indicator (bottom right)\n- Or run `PromptGuard: Show Status` from Command Palette\n\n### Apply Transformations\n\n1. Run `PromptGuard: Apply Transformations` from Command Palette\n2. Confirm the action\n3. Your code will be automatically transformed to use PromptGuard\n\n## Configuration\n\n### CLI Path\n\nIf the CLI is not in your PATH, you can set a custom path:\n\n1. Open Settings (Cmd+, / Ctrl+,)\n2. Search for \"PromptGuard\"\n3. Set `PromptGuard: Cli Path` to the full path to the binary\n\nExample: `/usr/local/bin/promptguard` or `C:\\Program Files\\PromptGuard\\promptguard.exe`\n\n## Commands\n\n- `PromptGuard: Initialize` - Set up PromptGuard in your project\n- `PromptGuard: Scan for LLM SDKs` - Scan project for LLM SDK usage\n- `PromptGuard: Show Status` - Display current configuration\n- `PromptGuard: Apply Transformations` - Apply PromptGuard transformations\n- `PromptGuard: Disable` - Temporarily disable PromptGuard\n- `PromptGuard: Enable` - Re-enable PromptGuard\n\n## Status Bar\n\nThe status bar shows:\n- **Active** - PromptGuard is active and protecting your app\n- **Disabled** - PromptGuard is temporarily disabled\n- **Not initialized** - PromptGuard hasn't been set up yet\n\nClick the status bar to view detailed status.\n\n## Supported Languages\n\n- TypeScript (`.ts`, `.tsx`)\n- JavaScript (`.js`, `.jsx`)\n- Python (`.py`)\n\n## Supported Providers\n\n- OpenAI\n- Anthropic\n- Cohere\n- HuggingFace\n- Gemini (Google)\n- Groq\n- AWS Bedrock\n\n## Troubleshooting\n\n### CLI Not Found\n\nIf you see \"CLI not found\" errors:\n\n1. Verify the CLI is installed: `promptguard --version`\n2. Check it's in your PATH: `which promptguard` (macOS/Linux) or `where promptguard` (Windows)\n3. Set the `promptguard.cliPath` setting to the full path\n\n### Extension Not Working\n\n1. Check the Output channel: View → Output → Select \"PromptGuard\"\n2. Reload the window: Cmd+Shift+P → \"Developer: Reload Window\"\n3. Check VS Code version: Must be 1.80.0 or higher\n\n## Links\n\n- [PromptGuard Website](https://promptguard.co)\n- [Documentation](https://docs.promptguard.co)\n- [CLI Repository](https://github.com/acebot712/promptguard-cli)\n- [Report Issues](https://github.com/acebot712/promptguard-vscode/issues)\n\n## License\n\nApache 2.0\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facebot712%2Fpromptguard-vscode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Facebot712%2Fpromptguard-vscode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facebot712%2Fpromptguard-vscode/lists"}