Re:The Great Suspender: New maintainer is probably malicious
by ufmace on Sunday January 03, 2021 @01:08PM
(#25623570)
Minifying usually doesn't touch string literals. If you have a function like connectToSite, and tell it to connect to "https://mysite.com/", then minification will rename connectToSite to just the letter "a", but the site URL stays the same and will be easy to search for in the code. If you want to connect to www.evil.com and make it not clear, you'd have to do stuff that results in longer code, like split it up into individual characters, add number values to them to get different characters, and string cat a bunch of them together to get the final URL string.
[ Parent
| on HN ]
There are no comments on this comment yet.