pnp / blog

holds all blogs published on the Microsoft 365 Platform Community blog
https://pnp.github.io/blog
MIT License
76 stars 107 forks source link

SPFx solutions as a spyware #1893

Closed kkazala closed 3 months ago

kkazala commented 3 months ago

Category

Contents of the Pull Request

SharePoint solutions may read all user's SharePoint data and user's auth token (2 lines of code for this one) and send it to external APIs without administrator's or user's consent. It's impossible to disable it or control it in any way.

We are typically focusing on Microsoft Graph, but I feel like nobody realizes (or talks about) the risks associated with these solutions being practically full trust code. And as much as I love the PnP Samples, I would like more users, administrators, governance teams implement more robust security audits. It's time we talk about it openly =)