git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git log -p unexpected behaviour - security risk?
@ 2013-04-11 10:36 John Tapsell
  2013-04-11 15:19 ` Tay Ray Chuan
  2013-04-20 14:00 ` Simon Ruderich
  0 siblings, 2 replies; 22+ messages in thread
From: John Tapsell @ 2013-04-11 10:36 UTC (permalink / raw)
  To: Git List

Hi,

  I noticed that code that you put in merge will not be visible by
default.  This seems like a pretty horrible security problem, no?

I made the following test tree, with just 3 commits:

https://github.com/johnflux/ExampleEvilness.git

Doing "git log -p"  shows all very innocent commits.  Completely
hidden is the change to add "EVIL CODE MUWHAHAHA".

This seems really dangerous!

The evil code only shows up with the non-default  --cc or -m  option.

Is there a way to make --cc default?

John

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2013-05-01  7:23 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-11 10:36 git log -p unexpected behaviour - security risk? John Tapsell
2013-04-11 15:19 ` Tay Ray Chuan
2013-04-20 14:00 ` Simon Ruderich
2013-04-21  7:26   ` Junio C Hamano
2013-04-21  8:56     ` John Tapsell
2013-04-21 10:21       ` Jonathan Nieder
2013-04-21 13:46         ` John Tapsell
2013-04-21 15:56           ` Thomas Rast
2013-04-21 16:09           ` Jonathan Nieder
2013-04-21 18:42             ` Junio C Hamano
2013-04-30 10:09               ` John Szakmeister
2013-04-30 16:37                 ` Junio C Hamano
2013-04-30 16:47                   ` John Szakmeister
2013-04-30 17:05                   ` Matthieu Moy
2013-04-30 17:58                     ` John Szakmeister
2013-04-30 19:31                       ` John Tapsell
2013-04-30 19:44                         ` git log -p unexpected behaviour Junio C Hamano
2013-04-30 20:12                           ` John Tapsell
2013-04-30 20:38                             ` Junio C Hamano
2013-05-01  7:23                               ` John Tapsell
2013-04-30 11:48             ` git log -p unexpected behaviour - security risk? shawn wilson
2013-04-21 18:25         ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).