AIToday
AI Coding AssistantsAI Safety & AlignmentZenn AI/MLPublished: Oct 24, 2026, 01:00 JST

Devtools-workspace adds 7 leak guards for GitHub Copilot

Send on LINE
Devtools-workspace adds 7 leak guards for GitHub Copilot

3 Key Points

  1. What happened

    The author published devtools-workspace and devtools-common, Copilot-called tools built so document conversion, validation, logs, temp files and commits never expose full text.

  2. Why it matters

    It treats the chat message, opened files and command output as the leak routes, so teams can shrink what reaches Copilot to converted, checked fragments rather than whole documents.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, every morning.

Context & Analysis

A practical tension is that once an internal AI agent is available, requests to feed it design documents and Excel files arrive quickly, but the same files are exactly what should not leak. Its answer is to stop relying on a written rule — the author notes that busy people forget warnings — and to move the protection into how the tools are built.

The route it maps is specific to Copilot: chat text, open files, and the files Copilot reads along with command results. From that, three policies follow — read only the necessary amount, keep body text and secrets out of tool output and logs, and mask anything that must not be sent before it goes out. The seven measures in the table are concrete instances of those policies, from running tools like doc2md and fieldcheck entirely on the PC, to a Masker that hides emails, Japanese phone numbers and key-like strings before any external send.

Alongside the tool-side work, an organization must confirm the AI service contract and internal rules, Copilot's admin content-exclusion setting for confidential folders and the out/ directory, keeping the repositories internal-only, and rehearsing with fictional data. It also flags prompt injection from document text as a risk that the rules reduce but do not fully eliminate.

FAQ
What does Copilot actually receive in this setup?
Chat text, open files, and the files Copilot read plus the results of commands it ran are listed. The design keeps the last two narrow by converting documents with local tools and reading only the needed parts.
How are API keys and personal data kept out of logs and external calls?
The common library logs only counts, paths and timing, and runs a filter that replaces secrets like AWS access keys and GitHub tokens with ***. Before any external send, a Masker hides emails, Japanese phone numbers, key-like strings and specified company or system names.
What should an organization check before rolling this out?
Confirm the AI service contract and internal rules, set Copilot's content exclusion for confidential folders and the out/ directory, keep repositories internal-only, and test with fictional data.
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleAnthropic launches Claude Duet proactive agent