composer/composer — pull request #981 by nickl- (2012-08-05 23:46:15+00:00)
Title: Prevent possible security exploit

While doing development on Respect/Loader a massive security vulnerability was discovered which has the possibility to have huge repercussions as it gives any include file scope to hijack the autoloader.
see Respect/Loader#6 for more information.

This fix will also prevent an included script from auto-outputting anything as a result from the include call which will prevent any unwanted source code from ever being revealed as a result of faulty tags or phising for information when a script manages to be included by someone trying to exploit the application.

I only fixed the class loader it might be wise to verify other occurrences where include or require gets called from within the context of a class.