-
Notifications
You must be signed in to change notification settings - Fork 38.9k
IMPORTANT SECURITY BREACH (.env) #294753
Copy link
Copy link
Open
Description
Type: Bug
Product: Copilot AI Integration
- Create a .env file with sensitive data
- Exclude it from git
- Exclude it from the AI using .copilot-ignore
- Ask if the AI can attempt to read it
- AI reads it without any issues
I have just had my entire env file scraped and sent to who knows where. I did not ask it anything about the env file. It was attempting to fix a Vite issue and decided it needed to look at the env file. Now I have the pleasure of spending the next 4 hours updating passwords.
Extension version: 0.36.2
VS Code version: Code 1.108.2 (c9d7799, 2026-01-21T13:52:09.270Z)
OS version: Windows_NT x64 10.0.26200
Modes:
System Info
| Item | Value |
|---|---|
| CPUs | 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz (8 x 2803) |
| GPU Status | 2d_canvas: enabled direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_graphite: disabled_off trees_in_viz: disabled_off video_decode: enabled video_encode: enabled webgl: enabled webgl2: enabled webgpu: enabled webnn: disabled_off |
| Load (avg) | undefined |
| Memory (System) | 47.69GB (19.24GB free) |
| Process Argv | --crash-reporter-id d1031150-c7f0-4eca-b7f8-16e7c4a27086 |
| Screen Reader | no |
| VM | 0% |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels