I want to include a feature to add a sort function on an HTML table on my site, using the tablesorter library.
I would be using this on a part of the site that requires a login to access data. But I am worried the library might sneak in malware or try to exfiltrate the data that is displayed in the table. What should I look for in the JS file to make sure that I am not making data on the site vulnerable by including this JS that someone else has written?
I would be hosting the script on my servers and wouldn't be linking out to a 3rd party file.