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-...