rakefile_definitions.rb
UNKNOWN
Verdict: BENIGN
Local reference
Suspicious dependency
Inferred
rakefile_definitions.rb
ruby
| 25:6 |
…in |
|
| 26 |
Object.new.instance_eval { task :xyzzy } |
|
| 27 |
puts "BAD:D Rake DSL are polluting objects" |
|
| 28 |
rescu… |
|
| 62:12 |
…ile_comments |
|
| 63 |
rakefile <<-COMMENTS |
|
| 64 |
# comment for t1 |
Contains common English function words |
| 65 |
task :t1 do |
|
| 66 |
end |
|
| 67 |
|
|
| 68 |
# no comment or task because there's a blank line |
|
| 69 |
|
|
| 70 |
task :t2 do |
|
| 71 |
end |
|
| 72 |
|
|
| 73 |
desc "override comment for t3" |
|
| 74 |
# this is not the description |
Contains common English function words |
| 75 |
multitask :t3 do |
|
| 76 |
end |
|
| 77 |
|
|
| 78 |
# this is not the description |
|
| 79 |
desc "override comment for t4" |
|
| 240:21 |
…pace |
|
| 241 |
rakefile <<-NAMESPACE |
|
| 242 |
desc "copy" |
|
| 243 |
task :copy do |
|
| 244 |
puts "COPY" |
WebDAV COPY or MOVE request method |
| 245 |
end |
|
| 246 |
|
|
| 247 |
namespace "nest" do |
|
| 248 |
desc "nest copy" |
|
| 249 |
task :copy do |
|
| 250 |
puts "NEST COPY" |
|
| 251 |
end |
|
| 252 |
task :xx => :copy |
|
| 253 |
end |
|
| 254 |
|
|
| 255 |
anon_ns = names… |
|
| 408 |
io << 'puts "ATEST"' << "\n" |
|
| 409 |
io << '$stdout.flush' << "\n" |
References the stdout stream name |
| 410 |
io << 'Process.kill("TERM", $$)' << "\n" |
|
| 411 |
end |
|
| 412 |
open 'b_test.rb', 'w' do |i… |
|
Micro-behaviors
| 240:21 |
…pace |
|
| 241 |
rakefile <<-NAMESPACE |
|
| 242 |
desc "copy" |
|
| 243 |
task :copy do |
|
| 244 |
puts "COPY" |
|
| 245 |
end |
|
| 246 |
|
|
| 247 |
namespace "nest" do |
|
| 248 |
desc "nest copy" |
|
| 249 |
task :copy do |
|
| 250 |
puts "NEST COPY" |
|
| 251 |
end |
|
| 252 |
task :xx => :copy |
|
| 253 |
end |
|
| 254 |
|
|
| 255 |
anon_ns = names… |
|
| 25:6 |
…in |
|
| 26 |
Object.new.instance_eval { task :xyzzy } |
|
| 27 |
puts "BAD:D Rake DSL are polluting objects" |
|
| 28 |
rescu… |
|
Metadata
| 62:12 |
…ile_comments |
|
| 63 |
rakefile <<-COMMENTS |
|
| 64 |
# comment for t1 |
|
| 65 |
task :t1 do |
|
| 66 |
end |
|
| 67 |
|
|
| 68 |
# no comment or task because there's a blank line |
|
| 69 |
|
|
| 70 |
task :t2 do |
|
| 71 |
end |
|
| 72 |
|
|
| 73 |
desc "override comment for t3" |
|
| 74 |
# this is not the description |
|
| 75 |
multitask :t3 do |
|
| 76 |
end |
|
| 77 |
|
|
| 78 |
# this is not the description |
|
| 79 |
desc "override comment for t4" |
|
-
0
module RakefileDefinitions
include FileUtils
def rakefile_access
rakefile <<-ACCESS
TOP_LEVEL_CONSTANT = 0
def a_to
Identity
| SHA-256 |
6722e292ffe009f6aa7e5a91e33a885cb2ee4890121289c70bea85bdc2a198ef |
| Filename |
rakefile_definitions.rb |
Timeline
| First seen |
24 Apr 2026 16:15 UTC |
| First analyzed |
22 Aug 2026 07:20 UTC |
| Last analyzed |
22 Aug 2026 07:29 UTC |
| Last updated |
22 Aug 2026 07:31 UTC |
Labeling
| Label |
good |
| Label source |
harvest |
| Traits version |
f6eaa |