Code:
My client provided me with code for your shopping.com feed that they wanted to install. I went to validate that the code in fact didn't violate their terms of use and privacy policy. I was unable to do so.
Let me explain the problem. pre-compiled code may contain in it things to ensure your security (the code is being used and purchased on only the one site it is licensed to), but I am libel for ensuring that the code doesn't do anything that is malicious and violates their security policy. For instance, I can not confirm that your code doesn't use cURL to find out the last time it was run and grab the e-mail addresses for customers that have added accounts since the last run along with their billing data and then uses cURL to send them to a server where that information is then used to spam my clients customer base (since I can easily write such a module, I know that it is only not possible, but would be very easy to add that functionality to the code and no one would be the wiser if they ran the compiled code). Such a piece of code included in the compiled product would in fact be a massive violation of their security policy.
Since you are not a US based company, if you were to do this I would have no legal recourse against you if the client were to find out that this was done and sued me. Because of that, unless I can confirm the source code I can not have my client add the product to their store.
So, it becomes a matter of trust. I need to see and confirm the source before I will let the code run (and I will run the source, not the compiled version). I will make whatever promises are necessary to ensure that the code reports back to you and confirms the runs (which I assume is what is embedded in the compiled code). But, unless I can be assured that I have looked at all calls to the database and that the code doesn't in any way do anything that violates their terms of use policy or the privacy policy, I am afraid that I can not run the code.
When you purchase and use a pre-compiled module you are assuming that the module is ONLY doing what the vendor stated. I can easily see a company adding a cURL call to their site that:
1) uses cURL to go to their site and looks at the last day run
2) gets all e-mail addresses and personal data on the customers from that date to current from the database
3) packs the data into a CSV file and uses cURL to post that data to a third party site
4) updates the run date via cURL on their website
5) then does what you paid for
If I can write this simple piece of code (and I can), how can I know that this simple piece of code does not exist in the code processed and encrypted via zend?
The bottom line is that I can't. And if I can't then I can not be assured that the application is not violating the privacy policies of the site and is not passing data that is supposed to be secure to a third party for nefarious purposes.
So, this post is really to make sure that you, the reader, are aware of the exceptionally high risks associated to the use of compiled code modules against your shopping cart application.
As the used to say on Hill Street Blues. "Be careful out there."
Bookmarks