News for hackers. Stuff that matters.
Re:Travis CI Security Advisory: Secured Environment Variables by 0x0 on Monday May 08, 2017 @06:04PM (#14296061)
When I submitted a pull request to a random open source project, I was surprised to see a travis build kick off immediately.

Is there a chance for rogue pull requests to contain (build) code that dumps out travis environment secrets? I didn't explore this but obviously the code is being built by scripts that are part of the commit.

Re:Travis CI Security Advisory: Secured Environment Variables by roidrage on Monday May 08, 2017 @06:08PM (#14296095)
That wouldn't be possible, and that's independent of the security issue we've disclosed in the post.

For pull requests Travis CI has long had security measures in place to prevent this scenario from happening: https://docs.travis-ci.com/user/pull-requests#Pull-Requests-...

Re:Travis CI Security Advisory: Secured Environment Variables by tehlike on Monday May 08, 2017 @06:20PM (#14296175)
Doesnt this still make it potentially available in case some malicious/unmalicious coder leaves some console debugging out?
Re:Travis CI Security Advisory: Secured Environment Variables by nothrabannosir on Monday May 08, 2017 @06:25PM (#14296207)
Only if you merge it in. The point is the secure environment variables are not available at all in the fork build. The bash oneliner they show is to help you run scripts which won't crash if they don't have those env vars available, not to "hide them" by running a test script which doesn't use them.
Re:Travis CI Security Advisory: Secured Environment Variables by tehlike on Monday May 08, 2017 @11:52PM (#14297616)
I know many instances where code reviews didnt catch log statement in huge binaries.
Re:Travis CI Security Advisory: Secured Environment Variables by nothrabannosir on Tuesday May 09, 2017 @03:36AM (#14298341)
Right, but now you're in the "review of a PR didn't catch malicious code" boat. At which point, you've got bigger problems than leaking env vars in your CI.

Not to dismiss it---it's just a different point.