Skip to content

Commit 75c1e92

Browse files
authored
Release v1.26.0 (#423)
1 parent 2eceefe commit 75c1e92

File tree

3 files changed

+22
-5
lines changed

3 files changed

+22
-5
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -369,9 +369,12 @@ jobs:
369369
baseline_size=$(du -b ./baseline/$file | awk '{print $1}')
370370
candidate_size=$(du -b ./candidate/$file | awk '{print $1}')
371371
372-
diff=$(( (candidate_size-baseline_size)/(baseline_size+1) ))
373-
374-
echo "| $( echo $file | sed 's@\([^/]*\)/\([^/]*/\)*\(.*\)@\1::\3@g')| $baseline_size | $candidate_size | $diff% |" >> comparison.md
372+
if [[ $baseline_size -gt 0 ]]; then
373+
diff=$(echo "scale=2; ($candidate_size-$baseline_size)/($baseline_size + 1)" | bc -l | awk '{printf "%.2f\n", $0}')
374+
echo "| $( echo $file | sed 's@\([^/]*\)/\([^/]*/\)*\(.*\)@\1::\3@g')| $baseline_size | $candidate_size | $diff% |" >> comparison.md
375+
else
376+
echo "| $( echo $file | sed 's@\([^/]*\)/\([^/]*/\)*\(.*\)@\1::\3@g')| $baseline_size | $candidate_size | ∞ |" >> comparison.md
377+
fi
375378
done
376379
377380
- name: Post PR comment

CHANGELOG.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,23 @@
11
# libddwaf release
22

3-
## v1.25.2 ([unstable](https://github.com/DataDog/libddwaf/blob/master/README.md#versioning-semantics))
3+
## v1.26.0 ([unstable](https://github.com/DataDog/libddwaf/blob/master/README.md#versioning-semantics))
4+
5+
### New features
6+
7+
This release introduces a new operator, `hidden_ascii_match`, designed to detect hidden ASCII characters within arbitrary text inputs. Hidden ASCII refers specifically to characters found within the Unicode range [U+E0000, U+E007F]. This Unicode block was initially defined to provide non-printable mappings of standard ASCII characters, effectively allowing ASCII data to be embedded invisibly within text.
8+
9+
Hidden ASCII characters have been increasingly leveraged to inject concealed instructions into prompts provided to LLMs, manipulating their behavior without explicit visibility to users or systems. The introduction of the `hidden_ascii_match` operator represents the first step toward a deterministic AI security strategy, proactively identifying and flagging these character sequences to support the effective monitoring and mitigation of potential Unicode-based prompt injection exploits.
10+
11+
#### Changes
12+
- Hidden ASCII Matcher ([#411](https://github.com/DataDog/libddwaf/pull/411))
13+
414
#### Fixes
515
- Add missing `ddwaf_builder_get_config_paths` export to windows shared libraries ([#421](https://github.com/DataDog/libddwaf/pull/421))
616

17+
#### Miscellaneous
18+
- Replace `re2::StringPiece` with `std::string_view` ([#412](https://github.com/DataDog/libddwaf/pull/412))
19+
- Add artifact comparison to PR ([#422](https://github.com/DataDog/libddwaf/pull/422))
20+
721
## v1.25.1 ([unstable](https://github.com/DataDog/libddwaf/blob/master/README.md#versioning-semantics))
822
#### Fixes
923
- Support backwards-incompatible rules through the `rules_compat` key ([#409](https://github.com/DataDog/libddwaf/pull/409))

version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.25.1
1+
1.26.0

0 commit comments

Comments
 (0)