Project

General

Profile

Feature #14250 ยป gems-using-safe.txt

mame (Yusuke Endoh), 12/28/2017 02:31 AM

 
JustinLove-bondage-0.1.0/synopsis.rb: p b.globals # => {:#!=>nil, :$SAFE=>0, ...}
arcadia-1.1.1/ext/ae-editor/ae-editor.rb: to_iniect = "$SAFE = 3\n"
arcadia-1.1.1/ext/ae-editor/ae-editor.rb: @modified_source = "#{@modified_source}$SAFE = 3\n"
arcadia-1.1.1/ext/ae-editor/ae-editor.rb: _custom_text = "#{_custom_text}$SAFE = 3\n"
arrow-1.0.8/spec/arrow/dispatcher_spec.rb: describe " running under $SAFE = 1" do
bondage-0.1.2/synopsis.rb: p b.globals # => {:#!=>nil, :$SAFE=>0, ...}
brawl-0.0.3/_spike/battle.rb: instance_eval("Thread.start{$SAFE=3;#{@code}}.join")
brawl-0.0.3/lib/brawl/bot_proxy.rb: instance_eval("Thread.start{$SAFE=3;#{@code}}.join")
brendanlim-mms2r-2.2.0.1/dev_tools/github.rb:result = Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
brightbox-object-factory-0.2.2/github.rb: Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
brontes3d-xmpp4r-0.4/tools/xmpp4r-gemspec-test.rb:Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
capistrano-ec2group-1.0.9/test/ec2group_test.rb: Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
capistrano_mailer-4.0.2/test/build_gem_test.rb: Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
capistrano_mailer_railsless-3.2.11/test/build_gem_test.rb: Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
cerberus-0.8.0/lib/vendor/xmpp4r/tools/xmpp4r-gemspec-test.rb:Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
chida_fib-0.1.0/shoulda/ruby/1.8/gems/jeweler-1.8.3/lib/jeweler/gemspec_helper.rb: Thread.new { parsed_gemspec = eval("$SAFE = 3\n#{data}", binding, path) }.join
classroom-0.0.2/lib/classroom.rb: eval("module ClassRoom; module ClassContainer\n$SAFE = 3\n" + code + "\nend; end")
clickable_link-0.0.2/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.14.5/spec/support/helper_methods.rb: ignoring_warnings { $SAFE = 3 }
cmer-diff_dirs-0.1.2/test/github-test.rb: Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
couchdb-ruby-0.8.0/lib/couch_db/sandbox.rb: lambda{ $SAFE=4; eval(string) }.call
cwninja-make-gem-now-0.5.0/lib/make_gem_now/builder.rb: puts eval("$SAFE = 3\n (\n#{spec_file}\n).to_yaml")
cwninja-make_gem_now-0.2/lib/make_gem_now/builder.rb: puts eval("$SAFE = 3\n (\n#{spec_file}\n).to_yaml")
data_doc-0.2.0/lib/data_doc/document.rb: mark_down = ERB.new(erb_content, 0).result(binding.taint) # TODO: $SAFE = 4
data_doc-0.2.0/lib/data_doc/document.rb: ERB.new(@layout, 4, '<>').result(block_binding.taint) # $SAFE = 4
devise_sociable-0.1.0/vendor/bundle/gems/jeweler-1.8.4/lib/jeweler/gemspec_helper.rb: Thread.new { parsed_gemspec = eval("$SAFE = 3\n#{data}", binding, path) }.join
digger-0.1.4/lib/digger/pattern.rb: proc{ $SAFE = 2; eval block }.call
dima-jeweler-1.2.0/lib/jeweler/gemspec_helper.rb: Thread.new { parsed_gemspec = eval("$SAFE = 3\n#{data}", binding, path) }.join
dirty_history-0.7.3/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/gemspec_helper.rb: Thread.new { parsed_gemspec = eval("$SAFE = 3\n#{data}", binding, path) }.join
dirty_history-0.7.3/dirty_history/ruby/1.9.1/gems/jeweler-1.6.4/lib/jeweler/gemspec_helper.rb: Thread.new { parsed_gemspec = eval("$SAFE = 3\n#{data}", binding, path) }.join
dxruby_rp5-0.0.4/spec/vendor/rspec-core-2.14.7/spec/support/helper_methods.rb: ignoring_warnings { $SAFE = 3 }
edavey-xmpp4r-0.4.2/tools/xmpp4r-gemspec-test.rb:Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
edavis10-cerberus-0.7.8/lib/vendor/xmpp4r/tools/xmpp4r-gemspec-test.rb:Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
expression_processor-0.0.1/lib/expression_processor.rb: result = valid? ? proc { $SAFE = 3; proxy.instance_eval(untainted) }.call : 0
gemrage-1.0.0/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/gemspec_helper.rb: Thread.new { parsed_gemspec = eval("$SAFE = 3\n#{data}", binding, path) }.join
gmcmillan-xmpp4r-0.6.2/tools/xmpp4r-gemspec-test.rb:Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
gohanlonllc-jeweler-1.0.0.20090513153819/lib/jeweler/gemspec_helper.rb: Thread.new { parsed_gemspec = eval("$SAFE = 3\n#{data}", binding, path) }.join
howcast-0.7.15/script/github-test.rb: Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
impostor-1.3.2/dev_tools/github.rb:result = Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
isaac-malline-1.1.0/github.rb:Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
jeffrafter-gemstalker-0.3.4/lib/gem_stalker.rb: Thread.new { gemspec = eval("$SAFE = 3\n#{gemspec_file}") }.join
jeweler-2.3.7/lib/jeweler/gemspec_helper.rb: Thread.new { parsed_gemspec = eval("$SAFE = #{PARSE_SAFE}\n#{data}", binding, path) }.join
jeweler2-2.0.9/lib/jeweler/gemspec_helper.rb: Thread.new { parsed_gemspec = eval("$SAFE = 3\n#{data}", binding, path) }.join
juwelier-2.4.7/lib/juwelier/gemspec_helper.rb: Thread.new { parsed_gemspec = eval("$SAFE = 1\n#{data}", binding, path) }.join
libgems-0.1.3/test/gemutilities.rb:at_exit { $SAFE = 1 }
ln-xmpp4r-0.5/tools/xmpp4r-gemspec-test.rb:Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
logandk-capistrano-ec2group-1.0.8/test/ec2group_test.rb: Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
mack-notifier-0.8.3.1/lib/gems/xmpp4r-0.4/tools/xmpp4r-gemspec-test.rb:Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
mad-p-xmpp4r-0.6.3/tools/xmpp4r-gemspec-test.rb:Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
mattknox-jeweler-0.7.0/lib/jeweler/gemspec.rb: Thread.new { eval("$SAFE = 3\n#{data}", binding, path) }.join
mattknox-jeweler-0.7.0/test/test_jeweler.rb: @parsed_spec = eval("$SAFE = 3\n#{data}", binding, gemspec_path)
mcornick-jeweler-1.2.0/lib/jeweler/gemspec_helper.rb: Thread.new { parsed_gemspec = eval("$SAFE = 3\n#{data}", binding, path) }.join
mixtli-fred-0.1.8/github-test.rb: Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
mixtli-mixtli-fred-0.1.5/github-test.rb: Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
mod_spox-0.3.0/data/mod_spox/extras/RubyCli.rb: result = lambda{$SAFE=4; eval(params[:code])}.call
mojodna-xmpp4r-0.4.0.3/tools/xmpp4r-gemspec-test.rb:Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
monkeyhelper-jeweler-1.0.1/lib/jeweler/gemspec_helper.rb: Thread.new { parsed_gemspec = eval("$SAFE = 3\n#{data}", binding, path) }.join
namelessjon-jeweler-1.0.1/lib/jeweler/gemspec_helper.rb: Thread.new { parsed_gemspec = eval("$SAFE = 3\n#{data}", binding, path) }.join
nuggets-1.5.0/lib/nuggets/log_parser/rails.rb: eval("$SAFE = 3\n#{md[3].gsub(/#<.*?>/, '%q{\&}')}", nil, __FILE__, __LINE__) # !!!
object-factory-0.2.4/github.rb: Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
ohajiki-0.0.9/lib/ohajiki/config.rb: conf = "$SAFE = 2;"+conf
opal-connect-rspec-0.5.0/rspec-core/spec/support/helper_methods.rb: ignoring_warnings { $SAFE = 3 }
opal-rspec-0.6.1/rspec-core/spec/support/helper_methods.rb: ignoring_warnings { $SAFE = 3 }
pivotal-jeweler-1.0.1.1/lib/jeweler/gemspec_helper.rb: Thread.new { parsed_gemspec = eval("$SAFE = 3\n#{data}", binding, path) }.join
raml-0.2.1/lib/raml/eval_parser.rb: $SAFE = safe_level unless $SAFE == safe_level
rb2exe-0.3.0/bin/traveling-ruby-2.2.2/win/lib/ruby/2.2.0/multi-tk.rb: Kernel.eval("$SAFE=#{safe} if $SAFE < #{safe};" << cmd,
rb2exe-0.3.0/bin/traveling-ruby-2.2.2/win/lib/ruby/2.2.0/multi-tk.rb: Kernel.eval("$SAFE=#{safe} if $SAFE < #{safe};" << cmd,
relaxo-query-server-0.1.5/lib/relaxo/query_server/context.rb: function = lambda { $SAFE = safe_level; eval(text, scope, filename) }.call
rfs-0.3/lib/innate/debug.rb: if $SAFE == 0
rgrove-synchrotron-0.0.1/lib/synchrotron/ignore.rb: regexes << Thread.start { $SAFE = 4; eval($1) }.value
rtinspect-0.0.19/lib/rti/thread.rb: eval_args = ["$SAFE=#{safe_level};" +
ruby-compiler-0.1.1/vendor/ruby/test/ruby/test_file.rb: in_safe = proc {|safe| $SAFE = safe; File.stat(cwd)}
ruby-compiler-0.1.1/vendor/ruby/test/rubygems/test_gem_specification.rb: loader = Thread.new { $SAFE = 1; Gem::Specification.load full_path }
ruby-compiler-0.1.1/vendor/ruby/test/test_tempfile.rb: proc {$SAFE = 1; File.expand_path(Dir.tmpdir)}.call
ruby_ex-0.5.6.2/lib/safe_eval.rb: code = "$SAFE = #@safe\n#{code_str}"
rubygems-update-2.6.14/test/rubygems/test_gem_specification.rb: loader = Thread.new { $SAFE = 1; Gem::Specification.load full_path }
rubysl-delegate-2.0.1/spec/delegator/trust_spec.rb: @delegate = lambda { $SAFE=4; DelegateSpecs::Delegator.new([]) }.call
rubysl-delegate-2.0.1/spec/delegator/trust_spec.rb: lambda { $SAFE=4; @delegate.data = :foo }.should raise_error(SecurityError)
rubysl-delegate-2.0.1/spec/delegator/trust_spec.rb: lambda { $SAFE=4; @delegate << 42 }.should raise_error(SecurityError)
s3lib-0.1.1/github-test.rb: Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
safe_eval-0.1.0/lib/safe_eval.rb: new_str = "$SAFE=#{eval_safe_level}; #{str}"
safe_eval-0.1.0/lib/safe_eval.rb: new_str = "$SAFE=#{level}; #{str}"
sake-1.0.15/lib/sake.rb: Thread.new { instance.instance_eval "$SAFE = 3\n#{body}" }.join
seanohalpin-xmpp4r-0.4.1/tools/xmpp4r-gemspec-test.rb:Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
slimgems-1.3.9.5/test/gemutilities.rb:at_exit { $SAFE = 1 }
spox-mod_spox-0.3.2/data/mod_spox/extras/RubyCli.rb: result = lambda{$SAFE=4; eval(params[:code])}.call
sproutit-sproutcore-1.0.20090721145285/vendor/github_gem_lint.rb: Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
sprsquish-rainpress-1.0/spec/build_safe.rb: Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
sr-mg-0.0.5/lib/mg.rb: Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
syllable_counter-1.0.0/vendor/bundle/gems/rspec-core-2.14.5/spec/support/helper_methods.rb: ignoring_warnings { $SAFE = 3 }
synchrotron-0.0.8/lib/synchrotron/ignore.rb: regexes << Thread.start { $SAFE = 4; eval($1) }.value
technicalpickles-gemstalker-0.5.0/lib/gem_stalker.rb: Thread.new { gemspec = eval("$SAFE = 3\n#{gemspec_file}") }.join
technicalpickles-jeweler-1.2.1/lib/jeweler/gemspec_helper.rb: Thread.new { parsed_gemspec = eval("$SAFE = 3\n#{data}", binding, path) }.join
textgoeshere-capistrano_mailer-3.2.0/test/build_gem_test.rb: Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
themekit-0.1.1/github-test.rb: Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
thread_variables-0.2.0/test/thread_variables_test.rb: Thread.new { $SAFE = 4; t.thread_variable_get(:foo) }.join
thread_variables-0.2.0/test/thread_variables_test.rb: Thread.new { $SAFE = 4; t.thread_variable_set(:foo, :baz) }.join
tk-0.2.0/lib/multi-tk.rb: Kernel.eval("$SAFE=#{safe} if $SAFE < #{safe};" << cmd,
tk-0.2.0/lib/multi-tk.rb: Kernel.eval("$SAFE=#{safe} if $SAFE < #{safe};" << cmd,
tk-0.2.0/lib/tk/optiondb.rb: eval("$SAFE = #{@safe_mode};\nProc.new" + proc_str)
tk-0.2.0/sample/safe-tk.rb:puts 'x = proc{p [\'proc x\', "$SAFE==#{$SAFE}"]; exit}'
tk-0.2.0/sample/safe-tk.rb:x = proc{p ['proc x', "$SAFE==#{$SAFE}"]; exit}
tk-0.2.0/sample/safe-tk.rb:TkLabel.new(:text=>'x = proc{p [\'proc x\', "$SAFE==#{$SAFE}"]; exit}',
tk-0.2.0/sample/safe-tk.rb:puts 'y = proc{|label| p [\'proc y\', "$SAFE==#{$SAFE}", label]; label.text($SAFE)}'
tk-0.2.0/sample/safe-tk.rb:y = proc{|label| p ['proc y', "$SAFE==#{$SAFE}", label]; label.text($SAFE)}
tk-0.2.0/sample/safe-tk.rb:TkLabel.new(:text=>'y = proc{|label| p [\'proc y\', "$SAFE==#{$SAFE}", label]; label.text($SAFE)}',
tk-0.2.0/sample/safe-tk.rb:puts 'z = proc{p [\'proc z\', "$SAFE==#{$SAFE}"]; exit}'
tk-0.2.0/sample/safe-tk.rb:z = proc{p ['proc z', "$SAFE==#{$SAFE}"]; exit}
tk-0.2.0/sample/safe-tk.rb:TkLabel.new(:text=>'z = proc{p [\'proc z\', "$SAFE==#{$SAFE}"]; exit}',
tk-0.2.0/sample/safe-tk.rb: TkLabel.new(:text=>"1st eval_proc : $SAFE == #{$SAFE}").pack
tk-0.2.0/sample/safe-tk.rb: TkLabel.new(f, :text=>"$SAFE == ").pack(:side=>:left)
tk-0.2.0/sample/safe-tk.rb: safe0_p["'exit' is called at $SAFE=#{$SAFE}"];exit}
tk-0.2.0/sample/safe-tk.rb: TkLabel.new(:text=>"2nd eval_proc : $SAFE == #{$SAFE}").pack
tk-0.2.0/sample/safe-tk.rb: TkLabel.new(f, :text=>"$SAFE == ").pack(:side=>:left)
tk-0.2.0/sample/safe-tk.rb: TkLabel.new(:text=>"1st and 2nd eval_str : $SAFE == #{$SAFE}").pack
tk-0.2.0/sample/safe-tk.rb: TkLabel.new(f, :text=>"$SAFE == ").pack(:side=>:left)
tk-0.2.0/sample/safe-tk.rb: TkLabel.new(:text=>"3rd and 4th eval_proc : $SAFE == #{$SAFE}").pack
tk-0.2.0/sample/safe-tk.rb:puts "\n---- start event-loop ( current $SAFE == #{$SAFE} ) ----------"
tk-0.2.0/sample/tkoptdb.rb: print "($SAFE=#{$SAFE} >>>) check!! str.tainted?::#{str.tainted?}"
tk-0.2.0/sample/tkoptdb.rb: print "==>#{str.tainted?} (<<< $SAFE=#{$SAFE}): "
tk-0.2.0/sample/tkoptdb.rb: print "($SAFE=#{$SAFE} >>>) : "
tk-0.2.0/sample/tkoptdb.rb: print "(<<< $SAFE=#{$SAFE})"
tk-0.2.0/sample/tkoptdb.rb: print "($SAFE=#{$SAFE} >>>) : "
tk-0.2.0/sample/tkoptdb.rb: print "(<<< $SAFE=#{$SAFE} ) : "
tk-0.2.0/sample/tkoptdb.rb: print "($SAFE=#{$SAFE} >>>) : "
tk-0.2.0/sample/tkoptdb.rb: print "(<<< $SAFE=#{$SAFE})"
tk-0.2.0/sample/tkoptdb.rb: print "($SAFE=#{$SAFE} >>>) : "
tk-0.2.0/sample/tkoptdb.rb: print "(<<< $SAFE=#{$SAFE})"
tk-0.2.0/sample/tkoptdb.rb: print "($SAFE=#{$SAFE} >>>) : "
tk-0.2.0/sample/tkoptdb.rb: print "(<<< $SAFE=#{$SAFE})"
tk-0.2.0/sample/tkoptdb.rb: print "($SAFE=#{$SAFE} >>>) : "
tk-0.2.0/sample/tkoptdb.rb: print "(<<< $SAFE=#{$SAFE})"
tk_as_gem-0.1.0/ext/lib/multi-tk.rb: Thread.new{ip.eval_proc(proc{$SAFE=ip.safe_level; Proc.new}.call)}
tk_as_gem-0.1.0/ext/lib/multi-tk.rb: Thread.new{ip.eval_proc(proc{$SAFE=ip.safe_level; Proc.new}.call)}
tk_as_gem-0.1.0/ext/lib/multi-tk.rb: Thread.new{ip.eval_proc(proc{$SAFE=ip.safe_level; Proc.new}.call)}
tk_as_gem-0.1.0/ext/lib/multi-tk.rb: Kernel.eval("$SAFE=#{safe} if $SAFE < #{safe};" << cmd,
tk_as_gem-0.1.0/ext/lib/multi-tk.rb: Kernel.eval("$SAFE=#{safe} if $SAFE < #{safe};" << cmd,
tk_as_gem-0.1.0/ext/lib/tk/optiondb.rb: eval("$SAFE = #{@safe_mode};\nProc.new" + proc_str)
tuktuk-rails-0.0.10/vendor/bundle/ruby/2.0.0/gems/rspec-core-2.14.7/spec/support/helper_methods.rb: ignoring_warnings { $SAFE = 3 }
wunderbar-1.2.4/lib/wunderbar/environment.rb: if $SAFE == 0 and not @@unsafe
wunderbar-1.2.4/lib/wunderbar/rack.rb: if Wunderbar.safe? and $SAFE==0
wunderbar-1.2.4/lib/wunderbar/rack.rb: Proc.new { $SAFE=1; Wunderbar::CGI.call(self) }.call
wunderbar-1.2.4/lib/wunderbar/server.rb: if Wunderbar.safe? and $SAFE==0
wunderbar-1.2.4/lib/wunderbar/server.rb: Proc.new { $SAFE=1; Wunderbar::CGI.call(cgi) }.call
wunderbar-1.2.4/lib/wunderbar/sinatra.rb: if Wunderbar.safe? and $SAFE==0
wunderbar-1.2.4/lib/wunderbar/sinatra.rb: Proc.new { $SAFE=1; _evaluate(*args, &block) }.call
xmpp4r-0.5.6/tools/xmpp4r-gemspec-test.rb:Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
yardstick-themekit-0.0.8/github-test.rb: Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
    (1-1/1)