Safety Report: AI Coding Extensions Lack Enforceable Guardrails — AWS Account Destroyed
@roblourens is already working on this.
Since May 30, 2026.
Assessment
This issue has not been assessed yet.
Description
AI Guardrails Do Not Work — 56-Day Empirical Proof
I am a developer who has used AI coding assistants for 56 days in a regulated environment. During that time:
- 32 workflow violations occurred despite configuring every available guardrail mechanism
- The AI destroyed my AWS management account by deploying Terraform to the wrong target
- My business has been down for 15+ days with no recovery path
- 9 AWS Support cases opened — none resolved
- $106,000+ in business losses from a single $0.03 AI operation
Guardrails Configured (All Failed)
| Mechanism | Result |
|---|---|
| Agent system prompt with STOP language | Ignored after relogin |
| Workspace rule files | Not enforced |
| MCP server resources | Not enforced |
| Knowledge base indexing | Not enforced |
| Incident documentation | Not read on session start |
| Control documents | Not enforced |
| Violation counter rules | No persistent state |
The Core Problem
The agent treats workflow rules as suggestions, not constraints. There is no mechanism that prevents implementation from starting. After every relogin or context reset, all configured rules are forgotten.
What Is Needed
- Hard gates — physically block file creation until requirements doc exists
- Persistent violation state — survive relogins, context compaction, session resets
- Authorization taxonomy — "yes" ≠ "approved" — enforce at platform level
- Blast radius limits — one conversational turn = max one infrastructure change
- Mandatory dry-run — destructive operations require preview + separate confirmation
- Session boundary enforcement — re-read and acknowledge rules after any reset
Evidence
- Full case study: https://gist.github.com/tzb1-ai/4758f2720979a03d773815082486933c
- Paper: https://d18gqyv10pt526.cloudfront.net/white-papers/AI-cost-savings-analysis.md
- Presentation: https://d18gqyv10pt526.cloudfront.net/presentation.html
This is not a feature request. This is a safety report. The current architecture of prompt-based governance is fundamentally broken and poses existential risk to businesses using these tools for infrastructure management.
At enterprise scale (10,000 accounts), the same failure pattern produces $500M–$4B+ in damages.
Prompt-based rules are documentation. They are not enforcement.
- Dominant language
- TypeScript
- Stars
- 193k
- Forks
- 42.9k
- PR merge metrics
- PR metrics pending
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/vscode
-
testplan-item
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
new release
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
testplan-item
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
testplan-item
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
All issues in microsoft/vscode
Similar issues
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 76/100
-
code-quality refactoring
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
vercel/react-tweet#225 ·