And I quote (http://boinc.berkeley.edu/trac/wiki/SecurityIssues):
"Malicious executable distribution
BOINC uses code signing to prevent this. Each project has a key pair for code signing. The private key should be kept on a network-isolated machine used for generating digital signatures for executables. The public key is distributed to, and stored on, clients. All files associated with application versions are sent with digital signatures using this key pair.
Even if attackers break into a project's BOINC servers, they will not be able to cause clients to accept a false code file.
BOINC provides a mechanism by which projects can periodically change their code-signing key pair. The project generates a new key pair, then (using the code-signing machine) generates a signature for the new public key, signed with the old private key. The core client will accept a new key only if it's signed with the old key. This mechanism is designed to prevent attackers from breaking into a BOINC server and distributing a false key."
I also realize this:
"Intentional abuse of participant hosts by projects
BOINC does nothing to prevent this (e.g. there is no 'sandboxing' of applications). Participants must understand that when they join a BOINC project, they are entrusting the security of their systems to that project."
Which is why I will never join a project that I don't trust.