A better title would be: Microsoft Copilot isn't HIPAA compliant A title like this will get it fixed faster.
Even better, _ALL USEFUL_ AI retrival systems are insecure by design, because all those RAG vectors that sells vector-databases? That's basically your documents lossily encoded.
Copilot broke audit logs, but Microsoft won't tell customers
271–280 of 324 posts
Re: Copilot broke audit logs, but Microsoft won't tell customers
#272Earlier quoted context omitted.
"Fun" Fact: ServiceNow simply passes this problem on to its users. I've seen a list of what was supposed to be 20 items of something, it only showed 2, plus a comment "18 results were omitted to insufficient permissions". (Servicenow has at least three different ways to do permissions, I don't know if this applies to all of them).
I'm not sure if enumerating the hidden results are a great idea :0
But yes, one could probably also construct a series of queries that reveal properties of hidden objects.
Re: Copilot broke audit logs, but Microsoft won't tell customers
#273I am very curious realistically how can they reliably fix this. So my understanding is that this is that the database/index that copilot used already crawled this file so of course it would not need to access the file to be able to tell the information in it. But then, how do you fix that? Do you then tie audit reports to accessing parts of the database directly? Or are we instructing the LLM to do something like...…
Re: Copilot broke audit logs, but Microsoft won't tell customers
#274I am assigned to develop a company internal chatbot that accesses confidential documents and I am having a really hard time communicating this problem to executives: As long as not ALL the data the agent hat access too is checked against the rights of the current user placing the request, there WILL be ways to leak data. This means Vector databases, Search Indexes or fancy "AI Search Databases" would be required on a…
Re: Copilot broke audit logs, but Microsoft won't tell customers
#275Earlier quoted context omitted.
> I don't understand why you think tracking user access rights would be infeasible and would not scale. Allow me to try to inject my understanding of how these agents work vs regular applications. A regular SaaS will have an API endpoint that has permissions attached. Before the endpoint processes anything, the user making the request has their permissions checked against the endpoint itself. Once this request succee…
> AI Agents, instead, directly access the database, completely bypassing this layer. If so, then as the wise man says: "well, there‘s your problem!" I don't doubt there are implementations like that out there, but we should not judge the potential of a technology by the mistakes of the most boneheaded implementation. Doing the same in the bank analogy would be like giving root SQL access to the phone operators and th…
Of course, I wouldn't defend this! To be clear, it's not possible to know how every AI Agent works, I just go off what I've seen when a company promises to unlock analytics insights on your data: usually by plugging directly into the Prod DB and having your data analysts complain whenever the engineers change the schema.
> we should not judge the potential of a technology by the mistakes of the most boneheaded implementation.
I agree.
Re: Copilot broke audit logs, but Microsoft won't tell customers
#276I am assigned to develop a company internal chatbot that accesses confidential documents and I am having a really hard time communicating this problem to executives: As long as not ALL the data the agent hat access too is checked against the rights of the current user placing the request, there WILL be ways to leak data. This means Vector databases, Search Indexes or fancy "AI Search Databases" would be required on a…
This is the way. This is also a solved problem. We solved it for desktop, web, mobile. Chatbots are just another untrusted frontend and should follow the same patterning to mitigate risks. I.E. do not trust inputs, use the same auth patterns you would for anything else (oauth, ect.).
It is solved and not new.
Re: Copilot broke audit logs, but Microsoft won't tell customers
#277Earlier quoted context omitted.
Even better, _ALL USEFUL_ AI retrival systems are insecure by design, because all those RAG vectors that sells vector-databases? That's basically your documents lossily encoded.
>That's basically your documents lossily encoded. Vector embeddings are lossy encodings of documents roughly in the same way a SHA256 hash is a lossy encoding. It's virtually impossible to reverse the embedding vector to recover the original document. Note: when vectors are combined with other components for search and retrieval, it's trivial to end up with a horribly insecure system, but just vector embeddings are u…
Incorrect. With a hash, I need to have the identical input to know whether it matches. If I'm one bit off, I get no information. Vector embeddings by design will react differently for similar inputs, so if you can reproduce the embedding algorithm then you can know how close you are to the input. It's like a combination lock that tells you how many numbers match so far (and for ones that don't, how close they are).
> It's virtually impossible to reverse the embedding vector to recover the original document.
If you can reproduce the embedding process, it is very possible (with a hot/cold type of search: "you're getting warmer!"). But also, you no longer even need to recover the exact original. You can recover something close enough (and spend more time to make it incrementally closer).
Re: Copilot broke audit logs, but Microsoft won't tell customers
#278Generally speaking, anyone can file a CVE. Go file one yourself and force their response. This blogpost puts forth reasonably compelling evidence.
Not exactly. There are several CVE numbering authorities and some of them (including the original MITRE, national CERTs etc), accept submissions from anyone, but there's evaluation and screening. Since Microsoft is their own CNA, most of them probably wouldn't issue a MS CVE without some kind of exceptional reason.
Re: Copilot broke audit logs, but Microsoft won't tell customers
#279Re: Copilot broke audit logs, but Microsoft won't tell customers
#280Earlier quoted context omitted.
This isn’t an example of escalation. Copilot is using the user’s token similar to any other OAuth app that needs to act on behalf of the user.
If that is true, then how did it not get logged? The audit should not be under the control of the program making the access.