paraxial 0.6.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8acee8353bb32e2bebce880b05661b968904d02f9e0748b6041325d8f24491b
|
4
|
+
data.tar.gz: 4ef0694246bc93ae69c1f88a439be89e5fdbd29bcd0ee53406de63d19a791257
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8127e330796dcea327b3b8b029831c4b851e548df33bf114a4a7b07039e34ed1f48687525747ce11ce08298771a28f95edc0d420bae07d776f08e5b812fdd566
|
7
|
+
data.tar.gz: 40a7c37df1123e0f8dfc87d31e950f8fc35fbea1729f436405ae18c8af9d1f77d76217450e0e21cb44fd3a713afb6bf49d16bcfda8f5ad5ab00c87c42e492712
|
@@ -4,7 +4,7 @@ unless Rails.env.test? || File.basename($0) == 'rake' || defined?(Rails::Generat
|
|
4
4
|
alias_method :original_load, :load
|
5
5
|
|
6
6
|
def load(source, proc = nil)
|
7
|
-
exg = Paraxial.configuration
|
7
|
+
exg = Paraxial.configuration&.exploit_guard || nil
|
8
8
|
if [:monitor, :block].include?(exg)
|
9
9
|
if source.is_a?(String) && source.match?(/ActionView|Net::BufferedIO|ERB|ActiveSupport/)
|
10
10
|
puts "[Paraxial] Exploit Guard triggered, malicious input to Marshal.load"
|
data/lib/paraxial/version.rb
CHANGED
data/lib/paraxial.rb
CHANGED
@@ -83,7 +83,7 @@ module Paraxial
|
|
83
83
|
|
84
84
|
def self.check_exploit_guard
|
85
85
|
if configuration.nil?
|
86
|
-
puts "[Paraxial] Exploit Guard, no
|
86
|
+
puts "[Paraxial] Exploit Guard, no configuration exists, will not run"
|
87
87
|
return
|
88
88
|
end
|
89
89
|
|
@@ -95,7 +95,7 @@ module Paraxial
|
|
95
95
|
when nil
|
96
96
|
puts "[Paraxial] Exploit Guard, not configured, will not run"
|
97
97
|
else
|
98
|
-
puts "[Paraxial] Exploit Guard, bad value"
|
98
|
+
puts "[Paraxial] Exploit Guard, bad configuration value: #{configuration.exploit_guard}, will not run"
|
99
99
|
end
|
100
100
|
end
|
101
101
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: paraxial
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Lubas
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-09-
|
11
|
+
date: 2024-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|