Currently, I am facing an issue with my index.html files. One is dedicated for the login page, and once a user successfully logs in, the entire index.html file gets loaded. This main index.html file contains various library files such as AngularJS and others served from the server.
The security scan I ran flagged that there is no CSRF token present for these files. While I have implemented CSRF tokens for all post requests, the question arises whether they are necessary for fetching library files as well. I am utilizing AngularJS and JavaScript for this project.