Project

General

Profile

gems-using-safe.txt

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

 
1
JustinLove-bondage-0.1.0/synopsis.rb:  p b.globals # => {:#!=>nil, :$SAFE=>0, ...}
2
arcadia-1.1.1/ext/ae-editor/ae-editor.rb:          to_iniect = "$SAFE = 3\n"
3
arcadia-1.1.1/ext/ae-editor/ae-editor.rb:          @modified_source = "#{@modified_source}$SAFE = 3\n"
4
arcadia-1.1.1/ext/ae-editor/ae-editor.rb:        _custom_text = "#{_custom_text}$SAFE = 3\n"
5
arrow-1.0.8/spec/arrow/dispatcher_spec.rb:		describe " running under $SAFE = 1" do
6
bondage-0.1.2/synopsis.rb:  p b.globals # => {:#!=>nil, :$SAFE=>0, ...}
7
brawl-0.0.3/_spike/battle.rb:            instance_eval("Thread.start{$SAFE=3;#{@code}}.join")
8
brawl-0.0.3/lib/brawl/bot_proxy.rb:            instance_eval("Thread.start{$SAFE=3;#{@code}}.join")
9
brendanlim-mms2r-2.2.0.1/dev_tools/github.rb:result = Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
10
brightbox-object-factory-0.2.2/github.rb:  Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
11
brontes3d-xmpp4r-0.4/tools/xmpp4r-gemspec-test.rb:Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
12
capistrano-ec2group-1.0.9/test/ec2group_test.rb:      Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
13
capistrano_mailer-4.0.2/test/build_gem_test.rb:      Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
14
capistrano_mailer_railsless-3.2.11/test/build_gem_test.rb:      Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
15
cerberus-0.8.0/lib/vendor/xmpp4r/tools/xmpp4r-gemspec-test.rb:Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
16
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
17
classroom-0.0.2/lib/classroom.rb:        eval("module ClassRoom; module ClassContainer\n$SAFE = 3\n" + code + "\nend; end")
18
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 }
19
cmer-diff_dirs-0.1.2/test/github-test.rb:  Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
20
couchdb-ruby-0.8.0/lib/couch_db/sandbox.rb:        lambda{ $SAFE=4; eval(string) }.call
21
cwninja-make-gem-now-0.5.0/lib/make_gem_now/builder.rb:          puts eval("$SAFE = 3\n (\n#{spec_file}\n).to_yaml")
22
cwninja-make_gem_now-0.2/lib/make_gem_now/builder.rb:          puts eval("$SAFE = 3\n (\n#{spec_file}\n).to_yaml")
23
data_doc-0.2.0/lib/data_doc/document.rb:        mark_down = ERB.new(erb_content, 0).result(binding.taint) # TODO: $SAFE = 4
24
data_doc-0.2.0/lib/data_doc/document.rb:      ERB.new(@layout, 4, '<>').result(block_binding.taint) # $SAFE = 4
25
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
26
digger-0.1.4/lib/digger/pattern.rb:          proc{ $SAFE = 2; eval block }.call
27
dima-jeweler-1.2.0/lib/jeweler/gemspec_helper.rb:      Thread.new { parsed_gemspec = eval("$SAFE = 3\n#{data}", binding, path) }.join
28
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
29
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
30
dxruby_rp5-0.0.4/spec/vendor/rspec-core-2.14.7/spec/support/helper_methods.rb:      ignoring_warnings { $SAFE = 3 }
31
edavey-xmpp4r-0.4.2/tools/xmpp4r-gemspec-test.rb:Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
32
edavis10-cerberus-0.7.8/lib/vendor/xmpp4r/tools/xmpp4r-gemspec-test.rb:Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
33
expression_processor-0.0.1/lib/expression_processor.rb:      result    = valid? ? proc { $SAFE = 3; proxy.instance_eval(untainted) }.call : 0
34
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
35
gmcmillan-xmpp4r-0.6.2/tools/xmpp4r-gemspec-test.rb:Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
36
gohanlonllc-jeweler-1.0.0.20090513153819/lib/jeweler/gemspec_helper.rb:      Thread.new { parsed_gemspec = eval("$SAFE = 3\n#{data}", binding, path) }.join
37
howcast-0.7.15/script/github-test.rb:  Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
38
impostor-1.3.2/dev_tools/github.rb:result = Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
39
isaac-malline-1.1.0/github.rb:Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
40
jeffrafter-gemstalker-0.3.4/lib/gem_stalker.rb:      Thread.new { gemspec = eval("$SAFE = 3\n#{gemspec_file}") }.join
41
jeweler-2.3.7/lib/jeweler/gemspec_helper.rb:      Thread.new { parsed_gemspec = eval("$SAFE = #{PARSE_SAFE}\n#{data}", binding, path) }.join
42
jeweler2-2.0.9/lib/jeweler/gemspec_helper.rb:      Thread.new { parsed_gemspec = eval("$SAFE = 3\n#{data}", binding, path) }.join
43
juwelier-2.4.7/lib/juwelier/gemspec_helper.rb:      Thread.new { parsed_gemspec = eval("$SAFE = 1\n#{data}", binding, path) }.join
44
libgems-0.1.3/test/gemutilities.rb:at_exit { $SAFE = 1 }
45
ln-xmpp4r-0.5/tools/xmpp4r-gemspec-test.rb:Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
46
logandk-capistrano-ec2group-1.0.8/test/ec2group_test.rb:      Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
47
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
48
mad-p-xmpp4r-0.6.3/tools/xmpp4r-gemspec-test.rb:Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
49
mattknox-jeweler-0.7.0/lib/jeweler/gemspec.rb:      Thread.new { eval("$SAFE = 3\n#{data}", binding, path) }.join 
50
mattknox-jeweler-0.7.0/test/test_jeweler.rb:          @parsed_spec = eval("$SAFE = 3\n#{data}", binding, gemspec_path)
51
mcornick-jeweler-1.2.0/lib/jeweler/gemspec_helper.rb:      Thread.new { parsed_gemspec = eval("$SAFE = 3\n#{data}", binding, path) }.join
52
mixtli-fred-0.1.8/github-test.rb:  Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
53
mixtli-mixtli-fred-0.1.5/github-test.rb:  Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
54
mod_spox-0.3.0/data/mod_spox/extras/RubyCli.rb:                result = lambda{$SAFE=4; eval(params[:code])}.call
55
mojodna-xmpp4r-0.4.0.3/tools/xmpp4r-gemspec-test.rb:Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
56
monkeyhelper-jeweler-1.0.1/lib/jeweler/gemspec_helper.rb:      Thread.new { parsed_gemspec = eval("$SAFE = 3\n#{data}", binding, path) }.join
57
namelessjon-jeweler-1.0.1/lib/jeweler/gemspec_helper.rb:      Thread.new { parsed_gemspec = eval("$SAFE = 3\n#{data}", binding, path) }.join
58
nuggets-1.5.0/lib/nuggets/log_parser/rails.rb:              eval("$SAFE = 3\n#{md[3].gsub(/#<.*?>/, '%q{\&}')}", nil, __FILE__, __LINE__)  # !!!
59
object-factory-0.2.4/github.rb:  Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
60
ohajiki-0.0.9/lib/ohajiki/config.rb:        conf = "$SAFE = 2;"+conf
61
opal-connect-rspec-0.5.0/rspec-core/spec/support/helper_methods.rb:      ignoring_warnings { $SAFE = 3 }
62
opal-rspec-0.6.1/rspec-core/spec/support/helper_methods.rb:      ignoring_warnings { $SAFE = 3 }
63
pivotal-jeweler-1.0.1.1/lib/jeweler/gemspec_helper.rb:      Thread.new { parsed_gemspec = eval("$SAFE = 3\n#{data}", binding, path) }.join
64
raml-0.2.1/lib/raml/eval_parser.rb:        $SAFE = safe_level unless $SAFE == safe_level
65
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,
66
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,
67
relaxo-query-server-0.1.5/lib/relaxo/query_server/context.rb:				function = lambda { $SAFE = safe_level; eval(text, scope, filename) }.call
68
rfs-0.3/lib/innate/debug.rb:  if $SAFE == 0
69
rgrove-synchrotron-0.0.1/lib/synchrotron/ignore.rb:        regexes << Thread.start { $SAFE = 4; eval($1) }.value
70
rtinspect-0.0.19/lib/rti/thread.rb:            eval_args = ["$SAFE=#{safe_level};" +
71
ruby-compiler-0.1.1/vendor/ruby/test/ruby/test_file.rb:    in_safe = proc {|safe| $SAFE = safe; File.stat(cwd)}
72
ruby-compiler-0.1.1/vendor/ruby/test/rubygems/test_gem_specification.rb:    loader = Thread.new { $SAFE = 1; Gem::Specification.load full_path }
73
ruby-compiler-0.1.1/vendor/ruby/test/test_tempfile.rb:      proc {$SAFE = 1; File.expand_path(Dir.tmpdir)}.call
74
ruby_ex-0.5.6.2/lib/safe_eval.rb:          code = "$SAFE = #@safe\n#{code_str}"
75
rubygems-update-2.6.14/test/rubygems/test_gem_specification.rb:    loader = Thread.new { $SAFE = 1; Gem::Specification.load full_path }
76
rubysl-delegate-2.0.1/spec/delegator/trust_spec.rb:        @delegate = lambda { $SAFE=4; DelegateSpecs::Delegator.new([]) }.call
77
rubysl-delegate-2.0.1/spec/delegator/trust_spec.rb:        lambda { $SAFE=4; @delegate.data = :foo }.should raise_error(SecurityError)
78
rubysl-delegate-2.0.1/spec/delegator/trust_spec.rb:        lambda { $SAFE=4; @delegate << 42 }.should raise_error(SecurityError)
79
s3lib-0.1.1/github-test.rb:  Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
80
safe_eval-0.1.0/lib/safe_eval.rb:    new_str = "$SAFE=#{eval_safe_level}; #{str}"
81
safe_eval-0.1.0/lib/safe_eval.rb:    new_str = "$SAFE=#{level}; #{str}"
82
sake-1.0.15/lib/sake.rb:      Thread.new { instance.instance_eval "$SAFE = 3\n#{body}" }.join
83
seanohalpin-xmpp4r-0.4.1/tools/xmpp4r-gemspec-test.rb:Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
84
slimgems-1.3.9.5/test/gemutilities.rb:at_exit { $SAFE = 1 }
85
spox-mod_spox-0.3.2/data/mod_spox/extras/RubyCli.rb:                result = lambda{$SAFE=4; eval(params[:code])}.call
86
sproutit-sproutcore-1.0.20090721145285/vendor/github_gem_lint.rb:  Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
87
sprsquish-rainpress-1.0/spec/build_safe.rb:  Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
88
sr-mg-0.0.5/lib/mg.rb:      Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
89
syllable_counter-1.0.0/vendor/bundle/gems/rspec-core-2.14.5/spec/support/helper_methods.rb:      ignoring_warnings { $SAFE = 3 }
90
synchrotron-0.0.8/lib/synchrotron/ignore.rb:        regexes << Thread.start { $SAFE = 4; eval($1) }.value
91
technicalpickles-gemstalker-0.5.0/lib/gem_stalker.rb:      Thread.new { gemspec = eval("$SAFE = 3\n#{gemspec_file}") }.join
92
technicalpickles-jeweler-1.2.1/lib/jeweler/gemspec_helper.rb:      Thread.new { parsed_gemspec = eval("$SAFE = 3\n#{data}", binding, path) }.join
93
textgoeshere-capistrano_mailer-3.2.0/test/build_gem_test.rb:      Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
94
themekit-0.1.1/github-test.rb:  Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
95
thread_variables-0.2.0/test/thread_variables_test.rb:      Thread.new { $SAFE = 4; t.thread_variable_get(:foo) }.join
96
thread_variables-0.2.0/test/thread_variables_test.rb:      Thread.new { $SAFE = 4; t.thread_variable_set(:foo, :baz) }.join
97
tk-0.2.0/lib/multi-tk.rb:                     Kernel.eval("$SAFE=#{safe} if $SAFE < #{safe};" << cmd,
98
tk-0.2.0/lib/multi-tk.rb:                       Kernel.eval("$SAFE=#{safe} if $SAFE < #{safe};" << cmd,
99
tk-0.2.0/lib/tk/optiondb.rb:            eval("$SAFE = #{@safe_mode};\nProc.new" + proc_str)
100
tk-0.2.0/sample/safe-tk.rb:puts 'x = proc{p [\'proc x\', "$SAFE==#{$SAFE}"]; exit}'
101
tk-0.2.0/sample/safe-tk.rb:x = proc{p ['proc x', "$SAFE==#{$SAFE}"]; exit}
102
tk-0.2.0/sample/safe-tk.rb:TkLabel.new(:text=>'x = proc{p [\'proc x\', "$SAFE==#{$SAFE}"]; exit}',
103
tk-0.2.0/sample/safe-tk.rb:puts 'y = proc{|label| p [\'proc y\', "$SAFE==#{$SAFE}", label]; label.text($SAFE)}'
104
tk-0.2.0/sample/safe-tk.rb:y = proc{|label| p ['proc y', "$SAFE==#{$SAFE}", label]; label.text($SAFE)}
105
tk-0.2.0/sample/safe-tk.rb:TkLabel.new(:text=>'y = proc{|label| p [\'proc y\', "$SAFE==#{$SAFE}", label]; label.text($SAFE)}',
106
tk-0.2.0/sample/safe-tk.rb:puts 'z = proc{p [\'proc z\', "$SAFE==#{$SAFE}"]; exit}'
107
tk-0.2.0/sample/safe-tk.rb:z = proc{p ['proc z', "$SAFE==#{$SAFE}"]; exit}
108
tk-0.2.0/sample/safe-tk.rb:TkLabel.new(:text=>'z = proc{p [\'proc z\', "$SAFE==#{$SAFE}"]; exit}',
109
tk-0.2.0/sample/safe-tk.rb:  TkLabel.new(:text=>"1st eval_proc : $SAFE == #{$SAFE}").pack
110
tk-0.2.0/sample/safe-tk.rb:  TkLabel.new(f, :text=>"$SAFE == ").pack(:side=>:left)
111
tk-0.2.0/sample/safe-tk.rb:                 safe0_p["'exit' is called at $SAFE=#{$SAFE}"];exit}
112
tk-0.2.0/sample/safe-tk.rb:                 TkLabel.new(:text=>"2nd eval_proc : $SAFE == #{$SAFE}").pack
113
tk-0.2.0/sample/safe-tk.rb:                 TkLabel.new(f, :text=>"$SAFE == ").pack(:side=>:left)
114
tk-0.2.0/sample/safe-tk.rb:  TkLabel.new(:text=>"1st and 2nd eval_str : $SAFE == #{$SAFE}").pack
115
tk-0.2.0/sample/safe-tk.rb:  TkLabel.new(f, :text=>"$SAFE == ").pack(:side=>:left)
116
tk-0.2.0/sample/safe-tk.rb:  TkLabel.new(:text=>"3rd and 4th eval_proc : $SAFE == #{$SAFE}").pack
117
tk-0.2.0/sample/safe-tk.rb:puts "\n---- start event-loop ( current $SAFE == #{$SAFE} ) ----------"
118
tk-0.2.0/sample/tkoptdb.rb:      print "($SAFE=#{$SAFE} >>>) check!! str.tainted?::#{str.tainted?}"
119
tk-0.2.0/sample/tkoptdb.rb:      print "==>#{str.tainted?} (<<< $SAFE=#{$SAFE}): "
120
tk-0.2.0/sample/tkoptdb.rb:      print "($SAFE=#{$SAFE} >>>) : "
121
tk-0.2.0/sample/tkoptdb.rb:      print "(<<< $SAFE=#{$SAFE})"
122
tk-0.2.0/sample/tkoptdb.rb:                 print "($SAFE=#{$SAFE} >>>) : "
123
tk-0.2.0/sample/tkoptdb.rb:                 print "(<<< $SAFE=#{$SAFE} ) : "
124
tk-0.2.0/sample/tkoptdb.rb:      print "($SAFE=#{$SAFE} >>>) : "
125
tk-0.2.0/sample/tkoptdb.rb:      print "(<<< $SAFE=#{$SAFE})"
126
tk-0.2.0/sample/tkoptdb.rb:                 print "($SAFE=#{$SAFE} >>>) : "
127
tk-0.2.0/sample/tkoptdb.rb:                 print "(<<< $SAFE=#{$SAFE})"
128
tk-0.2.0/sample/tkoptdb.rb:      print "($SAFE=#{$SAFE} >>>) : "
129
tk-0.2.0/sample/tkoptdb.rb:      print "(<<< $SAFE=#{$SAFE})"
130
tk-0.2.0/sample/tkoptdb.rb:                 print "($SAFE=#{$SAFE} >>>) : "
131
tk-0.2.0/sample/tkoptdb.rb:                 print "(<<< $SAFE=#{$SAFE})"
132
tk_as_gem-0.1.0/ext/lib/multi-tk.rb:       Thread.new{ip.eval_proc(proc{$SAFE=ip.safe_level; Proc.new}.call)}
133
tk_as_gem-0.1.0/ext/lib/multi-tk.rb:      Thread.new{ip.eval_proc(proc{$SAFE=ip.safe_level; Proc.new}.call)}
134
tk_as_gem-0.1.0/ext/lib/multi-tk.rb:      Thread.new{ip.eval_proc(proc{$SAFE=ip.safe_level; Proc.new}.call)}
135
tk_as_gem-0.1.0/ext/lib/multi-tk.rb:                     Kernel.eval("$SAFE=#{safe} if $SAFE < #{safe};" << cmd,
136
tk_as_gem-0.1.0/ext/lib/multi-tk.rb:                       Kernel.eval("$SAFE=#{safe} if $SAFE < #{safe};" << cmd,
137
tk_as_gem-0.1.0/ext/lib/tk/optiondb.rb:            eval("$SAFE = #{@safe_mode};\nProc.new" + proc_str)
138
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 }
139
wunderbar-1.2.4/lib/wunderbar/environment.rb:    if $SAFE == 0 and not @@unsafe
140
wunderbar-1.2.4/lib/wunderbar/rack.rb:      if Wunderbar.safe? and $SAFE==0
141
wunderbar-1.2.4/lib/wunderbar/rack.rb:        Proc.new { $SAFE=1; Wunderbar::CGI.call(self) }.call
142
wunderbar-1.2.4/lib/wunderbar/server.rb:      if Wunderbar.safe? and $SAFE==0
143
wunderbar-1.2.4/lib/wunderbar/server.rb:        Proc.new { $SAFE=1; Wunderbar::CGI.call(cgi) }.call
144
wunderbar-1.2.4/lib/wunderbar/sinatra.rb:        if Wunderbar.safe? and $SAFE==0
145
wunderbar-1.2.4/lib/wunderbar/sinatra.rb:          Proc.new { $SAFE=1; _evaluate(*args, &block) }.call
146
xmpp4r-0.5.6/tools/xmpp4r-gemspec-test.rb:Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
147
yardstick-themekit-0.0.8/github-test.rb:  Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join