by throwaway41597 · 11y ago · 0 comments
Have a look at code delivered by Superfish:
https://www.superfish.com/ws/sf_preloader.jsp
https://www.superfish.com/ws/sf_code.jsp
And grep for track and retarget. Just two snippets:
var url = sfDomain + "trackSession.action?userid=" + similarproducts.b.qsObj.userid + "&sessionid=-10&action=ud_host_failed";
and: function isRetargetingEnabled(){
if( similarproducts.b.enableRetargetingUnit && !isRetargetingBlackList()){
return 1;
} else{
return 0;
}
}"So what's your face doing on all of these security cameras at the scene of the crime?"
"... uh..."
Tracking is more ambiguous a word and I couldn't find where they define the userid. But however it is generated, it reads like it's unique. And in order to retarget users, you'd have to track which products they've viewed in the first place, that would imply storing browsing history (they deny storing user info as well) and uniquely identifying users across websites.
Given the coding style, I don't think the person(s) who wrote this code is/are doing anything clever other than what it seems.
Perhaps this is some sort of style thing specific to javascript, but wouldn't:
function isRetargetingEnabled(){
return (similarproducts.b.enableRetargetingUnit &&
!isRetargetingBlackList());
}
be the better way to write it? Sure say what you want about micro-optimizations, but the function appears to be used in a boolean context, so shouldn't it just return the if condition? Things like this are why I have trouble trusting security claims.EDIT: Fixed double-negative
I also wouldn't read too much into it. It's unlikely that the same person wrote all the code involved, and many smart people I know write these kinds of functions, no matter how much I complain about it.