disarm 0.18.0-aarch64-linux → 0.20.0-aarch64-linux
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/NOTICE +1 -0
- data/lib/disarm/3.3/disarm.so +0 -0
- data/lib/disarm/3.4/disarm.so +0 -0
- data/lib/disarm/4.0/disarm.so +0 -0
- data/lib/disarm/version.rb +1 -1
- data/lib/disarm.rb +12 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 20b0827b611d9f1306c0900a7ed7320166ff93f4ccc9b94f118d454412c0aee9
|
|
4
|
+
data.tar.gz: c7c04fc94ff70fa6d8a1152f7eac4e10badfd18e1c65a3bbd016becdb1c910e7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 10cbbdb620bb131b8c8eec56056a45bd9c07c3638065e3f4ef87143c299e661e887dfdc07a6ba2a7ad6c9c73bbdb5b53b7bc188f77c165b8356648c7cd277419
|
|
7
|
+
data.tar.gz: 3a025f6f018f514dd85eaaae6d8c55b39e2340565226ce13d74e169e5539aa0e1c443dfb78d0538b418ddbc59402e6553296402958fb62d7fe396003c25698d1
|
data/NOTICE
CHANGED
|
@@ -38,6 +38,7 @@ Unicode data
|
|
|
38
38
|
Python's unicodedata module
|
|
39
39
|
Unicode Security Mechanisms (UTS #39): confusables.txt (vendored as
|
|
40
40
|
data/confusables.txt)
|
|
41
|
+
The Ideographic Variation Database (IVD): IVD_Sequences.txt
|
|
41
42
|
Unicode CLDR emoji annotations: common/annotations/en.xml and
|
|
42
43
|
common/annotationsDerived/en.xml (vendored as data/cldr/en.xml and
|
|
43
44
|
data/cldr/en_derived.xml)
|
data/lib/disarm/3.3/disarm.so
CHANGED
|
Binary file
|
data/lib/disarm/3.4/disarm.so
CHANGED
|
Binary file
|
data/lib/disarm/4.0/disarm.so
CHANGED
|
Binary file
|
data/lib/disarm/version.rb
CHANGED
data/lib/disarm.rb
CHANGED
|
@@ -482,9 +482,10 @@ module Disarm
|
|
|
482
482
|
# `list_scripts` and avoiding a `require "set"` in the gem entrypoint.
|
|
483
483
|
#
|
|
484
484
|
# Read as exposure, not as a score — this is where an adaptive attacker goes once
|
|
485
|
-
# the mapped sources stop working. It includes
|
|
486
|
-
# "1", "I", "m"): TR39 is a skeleton transform, and disarm
|
|
487
|
-
# apply those rows because folding a legitimate "m" to "rn"
|
|
485
|
+
# the mapped sources stop working. It includes eight ASCII characters ('"', "%",
|
|
486
|
+
# "0", "1", "I", "`", "m", "|"): TR39 is a skeleton transform, and disarm's table
|
|
487
|
+
# deliberately does not apply those rows because folding a legitimate "m" to "rn"
|
|
488
|
+
# corrupts prose and folding '"' to "''" breaks every JSON document (#1236).
|
|
488
489
|
def unmapped_confusables(target: :latin)
|
|
489
490
|
translate_errors { _unmapped_confusables(target.to_s) }
|
|
490
491
|
end
|
|
@@ -633,6 +634,14 @@ module Disarm
|
|
|
633
634
|
end
|
|
634
635
|
end
|
|
635
636
|
|
|
637
|
+
# The level a finding of this kind carries, by the name a report holds: "error" or
|
|
638
|
+
# "warning", which are SARIF's names. `smuggled` is the one "error", because it fires
|
|
639
|
+
# only on a run that decodes to readable text. Raises Disarm::InvalidArgument on a
|
|
640
|
+
# name that is no kind.
|
|
641
|
+
def anomaly_severity(kind)
|
|
642
|
+
translate_errors { _anomaly_severity(kind.to_s) }
|
|
643
|
+
end
|
|
644
|
+
|
|
636
645
|
# Full anomaly analysis: a hash with `:anomalous`, `:kinds` (in first-appearance
|
|
637
646
|
# order), `:findings` (each `{ kind:, token:, start:, end:, detail:, reason: }`,
|
|
638
647
|
# with byte offsets), and `:reason` (the first finding's reason, or nil).
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: disarm
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.20.0
|
|
5
5
|
platform: aarch64-linux
|
|
6
6
|
authors:
|
|
7
7
|
- Richard Quinn
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-11-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|