|XP is just a number|
Re^2: Is this code secure, can I test it on my machine?by szabgab (Priest)
|on May 23, 2010 at 10:21 UTC||Need Help??|
Well, I understand that I should explicitly state what do I consider as a threat and what not but that in itself is to difficult for me now. Besides when I am asked if this code can be trusted, usually the person who asks this has even less understanding than I do. Which, you might guess, is really little.
So I go back thinking about the issue at hand.
I guess we have an advantage here that we have the source code so we don't necessarily need to check the behavior. We can check the source code.
In the code that raised the whole question one of the modules only contains some variables. most of the code is just looks like this:
I am not a security expert but I think we can easily agree that such code in itself cannot be dangerous even though we are talking about carnivores here.
That means if I want to evaluate the code - regardless of my threat model or lack of it I can disregard those line when I am checking the source code.
OTOH if I see code like this:
that should immediately raise the red flag and tell me to look for the Carnivores.pm file to see what dangers might lurk in there.