Skip to content

feat(vercel_ai): detect privileged tools without approval - #102

Open
CodingWCal wants to merge 3 commits into
trustabl:mainfrom
CodingWCal:justin/vercel-tool-approval
Open

feat(vercel_ai): detect privileged tools without approval#102
CodingWCal wants to merge 3 commits into
trustabl:mainfrom
CodingWCal:justin/vercel-tool-approval

Conversation

@CodingWCal

@CodingWCal CodingWCal commented Aug 24, 2026

Copy link
Copy Markdown

Change

Adds VAI-013, which flags a Vercel AI tool that shells out or evaluates dynamic code without a tool-level needsApproval gate.

Scope boundary

AI SDK 7 moved approval to call or agent-level toolApproval. This tool-scoped rule cannot verify that setting, so an SDK 7 finding needs manual review. Call or agent-level correlation is future work.

Validation

  • Production rule commits: 2bddcde, 537731a
  • YAML matches the engine fixture exactly
  • Targeted Go test: go test ./internal/rules
  • Full Go test suite: go test ./...
  • Rulebook check adds no new errors; known baseline remains OAI-112 and PYD-106

Companion PRs

Team

Justin (@jj-javascript): production rule
Calvin: engine integration, scope correction, and release coordination
Karlee (@kperpignant): consulting partner, threat model, and QA review (credited contributor)

@CodingWCal CodingWCal changed the title draft: feat(vercel_ai): detect privileged tools without approval feat(vercel_ai): detect privileged tools without approval Aug 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants