Live data from Hacker News

Copilot broke audit logs, but Microsoft won't tell customers

pistachioapp.com

271–280 of 324 posts

Re: Copilot broke audit logs, but Microsoft won't tell customers

#271

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.

[deleted]

Re: Copilot broke audit logs, but Microsoft won't tell customers

#272

Earlier 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

At least it's terrible user experience to have to click on the "more" button several times to see the number of items you actually wanted to see.

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

#273

I 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...…

It seems to me that the contents of the file cached in the index has to be dumped into the LLM's context at some point for it to show up in the result, so you can do the audit reports at that point.

Re: Copilot broke audit logs, but Microsoft won't tell customers

#274
post #158

I 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…

No need for a per-user database, simply attach ACL to your vector DB (in my case I am use postgres, RLS for example or a baked ACL policy list if you're using opensearch for example)

Re: Copilot broke audit logs, but Microsoft won't tell customers

#275

Earlier 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…

> If so, then as the wise man says: "well, there‘s your problem!"

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

#276
post #158

I 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…

> 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 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

#277
post #179

Earlier 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…

> Vector embeddings are lossy encodings of documents roughly in the same way a SHA256 hash is a lossy encoding.

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

#278

Generally 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.

Makes sense. I was wondering if that would be an issue. Thanks for the detail.

Re: Copilot broke audit logs, but Microsoft won't tell customers

#279

This is exactly the kind of issue that makes trust in large vendors like Microsoft feel more like a gamble than a guarantee

So who do you trust? A small mom and pop software biz?

I'd rather be a big fish in a small pond than a minnow in Microsoft's ocean.

Re: Copilot broke audit logs, but Microsoft won't tell customers

#280
post #72
post #63

Earlier 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.

You're conflating two issues. The Purview search used to get the bad result wasn't clear, so unsure what system is doing the logging.
Post reply on HN