# Regular expression

A regular expression is a pattern language used to specify and match sets of character strings, including through programming interfaces such as Python's re module and POSIX functions.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

DevFeed: [Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?](<https://devfeed.tech/articles/ruby2shell-ruby-memory-corruption-flaws-expose-applications-to-remote-code-execution-but-is-it-an-actual-risk-144476.md>)

Original publisher: [Read original article](<https://www.ox.security/blog/ruby2shell-ruby-memory-corruption-flaws-expose-applications-to-remote-code-execution-but-is-it-an-actual-risk/>)

Author: OX Security

Published: 2026-11-19T13:51:08Z

Content type: opinion

Language: en

Sources: [OX Security](<https://devfeed.tech/sources/ox-security.md>)

Topics: [heap overflow](<https://devfeed.tech/topics/heap-overflow.md>), [Ruby](<https://devfeed.tech/topics/ruby.md>), [Memory Safety](<https://devfeed.tech/topics/memory-safety.md>), [Security research](<https://devfeed.tech/topics/security-research.md>), [code security](<https://devfeed.tech/topics/code-security.md>), [Regular expression](<https://devfeed.tech/topics/regular-expression.md>), [Ruby on Rails](<https://devfeed.tech/topics/ruby-on-rails.md>)

Tags: [applications](<https://devfeed.tech/tags/applications.md>), [heap-overflow](<https://devfeed.tech/tags/heap-overflow.md>), [memory-corruption](<https://devfeed.tech/tags/memory-corruption.md>), [remote-code-execution](<https://devfeed.tech/tags/remote-code-execution.md>), [research](<https://devfeed.tech/tags/research.md>), [ruby](<https://devfeed.tech/tags/ruby.md>), [vulnerabilities](<https://devfeed.tech/tags/vulnerabilities.md>)

### AI overview

Ruby's seven disclosed flaws warrant patching, though the excerpt reports no in-the-wild exploitation and describes practical RCE as conditional. CVE-2026-132825 is a one-byte heap overflow when case-converting ß in legacy ISO-8859-x or Windows-125x encodings; UTF-8 is unaffected. Exploitation requires attacker-controlled input in an affected encoding, a relevant conversion call, and a useful heap layout. Proofs of concept reportedly achieve RCE in some scenarios, but the excerpt says no weaponized real-world exploit has been shown. Upgrade to Ruby 4.0.10, 3.4.13, or 3.3.14; rebuild dependent images, restart processes, and verify the running Ruby version. Check workers, containers, distro packages, and products with bundled Ruby. Ruby 3.2 and earlier are end of life and will not receive these fixes. Prioritize exposed applications that pass untrusted input to regex or case-conversion code; the excerpt advises a reasonable patching pace rather than emergency response.

### Source excerpt

A one-byte heap overflow in Ruby's string case conversion, plus six related flaws in the regex engine, could let attackers crash or take over Ruby applications. Administrators are urged to upgrade to Ruby 4.0.10, 3.4.13 or 3.3.14. On November 18, 2026, the Ruby core team disclosed seven vulnerabilities in Ruby's regular expression engine and string [...] The post Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk? appeared first on OX Security.

## Security advisories: multiple vulnerabilities in Regexp and String case conversion

DevFeed: [Security advisories: multiple vulnerabilities in Regexp and String case conversion](<https://devfeed.tech/articles/security-advisories-multiple-vulnerabilities-in-regexp-and-string-case-conversion-142014.md>)

Original publisher: [Read original article](<https://www.ruby-lang.org/en/news/2026/11/18/multiple-vulnerabilities-in-regexp-and-string/>)

Published: 2026-11-18T22:00:00Z

Content type: news

Language: en

Sources: [Ruby-lang](<https://devfeed.tech/sources/ruby-lang.md>)

Topics: [Vulnerabilities](<https://devfeed.tech/topics/vulnerabilities.md>), [Memory Safety](<https://devfeed.tech/topics/memory-safety.md>), [heap overflow](<https://devfeed.tech/topics/heap-overflow.md>), [Regular expression](<https://devfeed.tech/topics/regular-expression.md>), [code security](<https://devfeed.tech/topics/code-security.md>), [vulnerability management](<https://devfeed.tech/topics/vulnerability-management.md>), [version](<https://devfeed.tech/topics/version.md>), [case folding](<https://devfeed.tech/topics/case-folding.md>)

Tags: [buffer-overflow](<https://devfeed.tech/tags/buffer-overflow.md>), [case](<https://devfeed.tech/tags/case.md>), [code-execution](<https://devfeed.tech/tags/code-execution.md>), [compilation](<https://devfeed.tech/tags/compilation.md>), [compile](<https://devfeed.tech/tags/compile.md>), [conversion](<https://devfeed.tech/tags/conversion.md>), [free](<https://devfeed.tech/tags/free.md>), [heap-buffer-overflow](<https://devfeed.tech/tags/heap-buffer-overflow.md>), [integer-overflow](<https://devfeed.tech/tags/integer-overflow.md>), [matching](<https://devfeed.tech/tags/matching.md>), [memory](<https://devfeed.tech/tags/memory.md>), [memory-corruption](<https://devfeed.tech/tags/memory-corruption.md>), [multiple](<https://devfeed.tech/tags/multiple.md>), [regexp](<https://devfeed.tech/tags/regexp.md>), [regular](<https://devfeed.tech/tags/regular.md>), [remote-code-execution](<https://devfeed.tech/tags/remote-code-execution.md>), [security](<https://devfeed.tech/tags/security.md>), [security-advisories](<https://devfeed.tech/tags/security-advisories.md>), [string](<https://devfeed.tech/tags/string.md>), [vulnerabilities](<https://devfeed.tech/tags/vulnerabilities.md>)

### AI overview

The advisory identifies seven vulnerabilities in Ruby's regular expression engine and string case conversion, including buffer overflows, integer overflows, double free, and out-of-bounds reads. Crafted strings or patterns can cause remote code execution in some scenarios; one flaw may disclose memory or crash the process. Several issues affect applications handling attacker-controlled patterns. Affected releases are Ruby 3.3.13 and earlier, 3.4.0-3.4.12, and 4.0.0-4.0.9. The advisory recommends upgrading to Ruby 3.3.14, 3.4.13, or 4.0.10. Ruby 3.2 and earlier are end of life and will not receive these fixes.

### Source excerpt

Seven vulnerabilities have been discovered in Ruby's regular expression engine and in the case conversion of strings. We are aware of PoCs that prove some of them can be used to trigger remote code execution. We have released Ruby 4.0.10, 3.4.13 and 3.3.14 to fix them. We strongly recommend upgrading. CVE identifiers have been requested for these vulnerabilities but have not been assigned yet, so this advisory refers to them by their GitHub Security Advisory (GHSA) identifiers. GHSA-34m4-m9fh-gqp5: Heap buffer overflow in case conversion of strings Ruby has a one-byte heap-based buffer overflow in the case conversion of strings. Changing the case of a crafted string may allow remote code execution. We are aware of PoCs that prove this flaw can be used to trigger RCE in some scenarios. GHSA-7x2q-68qv-6p8x: Double free in regular expression compilation Ruby has a double free in its regular expression engine. Compiling a crafted regular expression pattern may allow remote code execution in applications that compile attacker-controlled patterns. We are aware of PoCs that prove this flaw can be used to trigger RCE in some scenarios. GHSA-87fm-7w84-j2px: Integer overflow in case conversion of strings Ruby has an integer overflow in the case conversion of strings, which causes a heap-based buffer overflow. Changing the case of a crafted string may allow remote code execution. We are aware of PoCs that prove this flaw can be used to trigger RCE in some scenarios. GHSA-wpqw-5qxg-m68r: Out-of-bounds read in case-insensitive regular expression matching Ruby has an out-of-bounds read in its regular expression engine. Matching against a crafted regular expression pattern may allow remote code execution in applications that use attacker-controlled patterns. We are aware of PoCs that prove this flaw can lead to memory corruption in an attacker-controlled way. GHSA-3p8q-wmhx-vm2w: Heap buffer overflow in regular expression compilation Ruby has an integer overflow in its regular exp

## CVE-2026-121707 - Effect: ReDoS in Schema.TemplateLiteral compiled regex

DevFeed: [CVE-2026-121707 - Effect: ReDoS in Schema.TemplateLiteral compiled regex](<https://devfeed.tech/articles/cve-2026-121707-effect-redos-in-schema-templateliteral-compiled-regex-138470.md>)

Original publisher: [Read original article](<https://cvefeed.io/vuln/detail/CVE-2026-121707>)

Author: CVEFEED.io; github.com

Published: 2026-11-17T20:17:36Z

Content type: news

Language: en

Sources: [Latest High/Critical Vulnerabilitiy Feed](<https://devfeed.tech/sources/latest-high-critical-vulnerabilitiy-feed.md>)

Topics: [Regular expression](<https://devfeed.tech/topics/regular-expression.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [applications](<https://devfeed.tech/tags/applications.md>), [block](<https://devfeed.tech/tags/block.md>), [build](<https://devfeed.tech/tags/build.md>), [compile](<https://devfeed.tech/tags/compile.md>), [cubic](<https://devfeed.tech/tags/cubic.md>), [cve](<https://devfeed.tech/tags/cve.md>), [cve-2026-121707](<https://devfeed.tech/tags/cve-2026-121707.md>), [cvss](<https://devfeed.tech/tags/cvss.md>), [decoding](<https://devfeed.tech/tags/decoding.md>), [effect](<https://devfeed.tech/tags/effect.md>), [effect-ts](<https://devfeed.tech/tags/effect-ts.md>), [effectful](<https://devfeed.tech/tags/effectful.md>), [event](<https://devfeed.tech/tags/event.md>), [event-loop](<https://devfeed.tech/tags/event-loop.md>), [expression](<https://devfeed.tech/tags/expression.md>), [fixed](<https://devfeed.tech/tags/fixed.md>), [framework](<https://devfeed.tech/tags/framework.md>), [issue](<https://devfeed.tech/tags/issue.md>), [published](<https://devfeed.tech/tags/published.md>), [regex](<https://devfeed.tech/tags/regex.md>), [schema](<https://devfeed.tech/tags/schema.md>)

### AI overview

Before Effect 3.22.1, a Schema.TemplateLiteral with at least two Schema.String spans compiled each span to the ambiguous lazy wildcard [\s\S]*?. Decoding a non-matching untrusted string can trigger cubic regex backtracking and block the JavaScript event loop. Affected entry points include Schema.decodeUnknown, Schema.decodeUnknownSync, and Schema.is, with downstream impact on HttpApi and @effect/rpc payload decoding. The issue is fixed in version 3.22.1.

### Source excerpt

CVE ID :CVE-2026-121707 Published : Nov. 17, 2026, 8:17 p.m. | 47 minutes ago Description :Effect is a TypeScript framework that consists of several packages that work together to help build TypeScript applications. Prior to 3.22.1, Schema.TemplateLiteral schemas containing at least two Schema.String spans compile each span to the ambiguous lazy wildcard [\s\S]*?. Decoding a non-matching untrusted string causes cubic regular expression backtracking, which can block the JavaScript event loop. The issue affects Schema.decodeUnknown, Schema.decodeUnknownSync, Schema.is, and consumers such as HttpApi and @effect/rpc payload decoding. This issue is fixed in version 3.22.1. Severity: 8.7 | HIGH Visit the link for more details, such as CVSS details, affected products, timeline, and more...

## CVE-2026-128124 - AIOHTTP: Event loop stall in add\_domain() wildcard matching

DevFeed: [CVE-2026-128124 - AIOHTTP: Event loop stall in add\_domain() wildcard matching](<https://devfeed.tech/articles/cve-2026-128124-aiohttp-event-loop-stall-in-add-domain-wildcard-matching-133460.md>)

Original publisher: [Read original article](<https://cvefeed.io/vuln/detail/CVE-2026-128124>)

Author: CVEFEED.io; github.com

Published: 2026-11-13T21:17:44Z

Content type: news

Language: en

Sources: [Latest High/Critical Vulnerabilitiy Feed](<https://devfeed.tech/sources/latest-high-critical-vulnerabilitiy-feed.md>)

Topics: [Regular expression](<https://devfeed.tech/topics/regular-expression.md>), [polynomials](<https://devfeed.tech/topics/polynomials.md>), [Framework](<https://devfeed.tech/topics/framework.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [aiohttp](<https://devfeed.tech/tags/aiohttp.md>), [cve](<https://devfeed.tech/tags/cve.md>), [cve-2026-128124](<https://devfeed.tech/tags/cve-2026-128124.md>), [domain](<https://devfeed.tech/tags/domain.md>), [event-loop](<https://devfeed.tech/tags/event-loop.md>), [matching](<https://devfeed.tech/tags/matching.md>), [wildcard](<https://devfeed.tech/tags/wildcard.md>)

### AI overview

Before AIOHTTP 3.14.4, Application.add_domain() turns each asterisk in a domain mask into a greedy regular-expression fragment. Masks with at least two wildcards can therefore take polynomial time to reject a long, nonmatching Host header. A remote attacker can repeatedly send such headers to a server configured with a multi-wildcard mask, stalling its event loop. The issue is fixed in AIOHTTP 3.14.4.

### Source excerpt

CVE ID :CVE-2026-128124 Published : Nov. 13, 2026, 9:17 p.m. | 3 hours, 37 minutes ago Description :AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, Application.add_domain() converts every asterisk wildcard in a domain mask into a greedy regular-expression fragment, so a mask containing two or more wildcards can take polynomial time to reject a long Host header that does not match. A remote attacker can repeatedly send such headers to a server configured with a multi-wildcard domain mask and stall the event loop. This issue is fixed in version 3.14.4. Severity: 8.2 | HIGH Visit the link for more details, such as CVSS details, affected products, timeline, and more...

## Unicode Normalization and Exact-Match Validation for Redemption Codes

DevFeed: [Unicode Normalization and Exact-Match Validation for Redemption Codes](<https://devfeed.tech/articles/unicode-normalization-and-exact-match-validation-for-redemption-codes-130602.md>)

Original publisher: [Read original article](<https://hackernoon.com/unicode-normalization-and-exact-match-validation-for-redemption-codes?source=rss>)

Author: Digital Field Notes

Published: 2026-11-12T12:38:45Z

Content type: article

Language: en

Sources: [HackerNoon](<https://devfeed.tech/sources/hackernoon.md>)

Topics: [Data validation](<https://devfeed.tech/topics/data-validation.md>), [Regular expression](<https://devfeed.tech/topics/regular-expression.md>), [identifier](<https://devfeed.tech/topics/identifier.md>)

Tags: [alphabet](<https://devfeed.tech/tags/alphabet.md>), [ascii](<https://devfeed.tech/tags/ascii.md>), [canonicalization](<https://devfeed.tech/tags/canonicalization.md>), [code](<https://devfeed.tech/tags/code.md>), [exact-string-matching](<https://devfeed.tech/tags/exact-string-matching.md>), [example](<https://devfeed.tech/tags/example.md>), [identifier](<https://devfeed.tech/tags/identifier.md>), [input](<https://devfeed.tech/tags/input.md>), [lookup](<https://devfeed.tech/tags/lookup.md>), [nkfc-normalization](<https://devfeed.tech/tags/nkfc-normalization.md>), [python](<https://devfeed.tech/tags/python.md>), [python-unicodedata](<https://devfeed.tech/tags/python-unicodedata.md>), [redemption-code-validation](<https://devfeed.tech/tags/redemption-code-validation.md>), [secure-input-validation](<https://devfeed.tech/tags/secure-input-validation.md>), [unicode](<https://devfeed.tech/tags/unicode.md>), [unicode-normalization](<https://devfeed.tech/tags/unicode-normalization.md>), [unicode-security](<https://devfeed.tech/tags/unicode-security.md>), [validation](<https://devfeed.tech/tags/validation.md>)

### AI overview

Redemption codes should be validated against the issuer's documented alphabet and equivalence rules: broad normalization can make distinct inputs identify the same code. In the Python example, NFKC maps fullwidth "AB-12" to ASCII "AB-12" but does not remove a trailing zero-width space. For an issuer specifying two uppercase ASCII letters, a hyphen, and two ASCII digits, the example rejects fullwidth characters, invisible characters, and lowercase; any permitted lowercase, spaces, or optional hyphens must be explicitly defined. Client-side formatting is only a presentation aid; the server must enforce the same contract across web, mobile, support tools, and APIs. The text also recommends issuer test vectors, structured error logging without raw codes, and ensuring a matching code can be claimed at most once.

### Source excerpt

A runnable Python example shows why visually similar Unicode characters need an issuer-defined validation rule before gift code lookup.

## Python 3.16.0 alpha 2 is now available

DevFeed: [Python 3.16.0 alpha 2 is now available](<https://devfeed.tech/articles/python-3-16-0-alpha-2-is-now-available-128975.md>)

Original publisher: [Read original article](<https://blog.python.org/2026/11/python-3160-alpha-2-is-now-available/>)

Author: Savannah Ostrowski

Published: 2026-11-10T00:00:00Z

Content type: release

Language: en

Sources: [Python Insider](<https://devfeed.tech/sources/python-insider.md>)

Topics: [Python](<https://devfeed.tech/topics/python.md>), [Regular expression](<https://devfeed.tech/topics/regular-expression.md>), [releases](<https://devfeed.tech/topics/releases.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [alpha](<https://devfeed.tech/tags/alpha.md>), [apple](<https://devfeed.tech/tags/apple.md>), [bug-fixes](<https://devfeed.tech/tags/bug-fixes.md>), [build](<https://devfeed.tech/tags/build.md>), [c](<https://devfeed.tech/tags/c.md>), [core](<https://devfeed.tech/tags/core.md>), [cpython](<https://devfeed.tech/tags/cpython.md>), [developer](<https://devfeed.tech/tags/developer.md>), [developer-preview](<https://devfeed.tech/tags/developer-preview.md>), [development](<https://devfeed.tech/tags/development.md>), [difference](<https://devfeed.tech/tags/difference.md>), [encrypted](<https://devfeed.tech/tags/encrypted.md>), [error-messages](<https://devfeed.tech/tags/error-messages.md>), [faster](<https://devfeed.tech/tags/faster.md>), [features](<https://devfeed.tech/tags/features.md>), [new-features](<https://devfeed.tech/tags/new-features.md>), [preview](<https://devfeed.tech/tags/preview.md>), [python](<https://devfeed.tech/tags/python.md>), [releases](<https://devfeed.tech/tags/releases.md>), [testing](<https://devfeed.tech/tags/testing.md>)

### AI overview

Python 3.16.0a2 is the second of seven planned alpha releases and is intended for testing, not production. The excerpt highlights more expressive regular expressions, faster startup and common operations, and C implementations of `uuid4()` and `uuid7()` that are about 15-30 times faster in microbenchmarks than their pure Python implementations. The `ssl` module supports Encrypted Client Hello when built with OpenSSL 4.0 or later. CPython can also be built for tvOS, watchOS, and visionOS, though these platforms are not yet supported tiers under PEP 11. Features may continue to change until the first release candidate; the final release is planned for October 5, 2027. The announcement asks developers to test with libraries and applications and report bugs.

### Source excerpt

The second developer preview of Python 3.16 is ready for testing.

## Regular Expressions: Regexes in Python (Part 1)

DevFeed: [Regular Expressions: Regexes in Python (Part 1)](<https://devfeed.tech/articles/regular-expressions-regexes-in-python-part-1-121713.md>)

Original publisher: [Read original article](<https://realpython.com/regex-python/>)

Author: John Sturtz

Published: 2026-11-06T14:00:00Z

Content type: tutorial

Language: en

Sources: [Real Python](<https://devfeed.tech/sources/real-python.md>)

Topics: [Regular expression](<https://devfeed.tech/topics/regular-expression.md>), [Python](<https://devfeed.tech/topics/python.md>), [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [Learning](<https://devfeed.tech/topics/learning.md>)

Tags: [groups](<https://devfeed.tech/tags/groups.md>), [matching](<https://devfeed.tech/tags/matching.md>), [patterns](<https://devfeed.tech/tags/patterns.md>), [python](<https://devfeed.tech/tags/python.md>), [re](<https://devfeed.tech/tags/re.md>), [regex](<https://devfeed.tech/tags/regex.md>), [regular-expressions](<https://devfeed.tech/tags/regular-expressions.md>), [search](<https://devfeed.tech/tags/search.md>), [strings](<https://devfeed.tech/tags/strings.md>)

### AI overview

Python's `re.search()` scans left to right for the first match, returning a match object or `None`; the object exposes the matched text, its span, and captured groups. The excerpt shows how character classes and shorthand classes, wildcards, anchors, quantifiers, grouping, backreferences, alternatives, and lookarounds build patterns beyond literal substring searches. Greedy quantifiers seek longer matches, while lazy forms seek shorter ones; lookarounds test adjacent text without consuming it, and lookbehind requires a fixed-length pattern. Use raw string literals for regexes containing backslashes to avoid Python string escaping conflicts. The excerpt begins discussing optional flags but ends before explaining them.

### Source excerpt

Learn regex matching in Python with re.search(), and use metacharacters, groups, lookarounds, and flags to find complex patterns in strings.

## Regular Expressions: Regexes in Python (Part 2)

DevFeed: [Regular Expressions: Regexes in Python (Part 2)](<https://devfeed.tech/articles/regular-expressions-regexes-in-python-part-2-121712.md>)

Original publisher: [Read original article](<https://realpython.com/regex-python-part-2/>)

Author: John Sturtz

Published: 2026-11-06T14:00:00Z

Content type: tutorial

Language: en

Sources: [Real Python](<https://devfeed.tech/sources/real-python.md>)

Topics: [Regular expression](<https://devfeed.tech/topics/regular-expression.md>), [Python](<https://devfeed.tech/topics/python.md>), [Tutorial](<https://devfeed.tech/topics/tutorial.md>)

Tags: [compile](<https://devfeed.tech/tags/compile.md>), [functions](<https://devfeed.tech/tags/functions.md>), [python](<https://devfeed.tech/tags/python.md>), [re](<https://devfeed.tech/tags/re.md>), [regex](<https://devfeed.tech/tags/regex.md>), [regular-expressions](<https://devfeed.tech/tags/regular-expressions.md>), [search](<https://devfeed.tech/tags/search.md>), [utility](<https://devfeed.tech/tags/utility.md>)

### AI overview

Python's `re` module provides distinct tools for searching, replacing, splitting, and inspecting regex matches. `re.search()` finds a match anywhere, `re.match()` only at the string's beginning, and `re.fullmatch()` requires the entire string to match. `re.findall()` returns matched text (or captured groups), while `re.finditer()` yields match objects with positions and other details. `re.sub()` supports string or function replacements, backreferences, and a replacement limit; `re.subn()` also reports the number of substitutions. `re.split()` can retain delimiters when the pattern uses capturing groups, and `re.escape()` makes special characters literal. Compiling a pattern supports reuse and clearer organization, but the article says Python caches patterns, so the performance benefit is minimal. Match objects expose captured groups, spans, the source string, and regex metadata; unmatched optional groups return `None`.

### Source excerpt

Explore more regex tools in Python, including the re module's search, substitution, and utility functions, compiled regexes, and match objects.

## Metasploit Wrapup: Unauth RCE modules in Network Perimeter Devices and much more

DevFeed: [Metasploit Wrapup: Unauth RCE modules in Network Perimeter Devices and much more](<https://devfeed.tech/articles/metasploit-wrapup-unauth-rce-modules-in-network-perimeter-devices-and-much-more-121387.md>)

Original publisher: [Read original article](<https://www.rapid7.com/blog/post/pt-metasploit-wrapup-unauth-rce-modules-in-network-perimeter-devices-and-much-more>)

Author: Jack Heysel

Published: 2026-11-06T13:52:11Z

Content type: release

Language: en

Sources: [Rapid7 Cybersecurity](<https://devfeed.tech/sources/rapid7-cybersecurity-blog.md>)

Topics: [Regular expression](<https://devfeed.tech/topics/regular-expression.md>), [Network architectures](<https://devfeed.tech/topics/network-architectures.md>)

Tags: [ci-cd](<https://devfeed.tech/tags/ci-cd.md>), [cisco](<https://devfeed.tech/tags/cisco.md>), [cisco-secure-email](<https://devfeed.tech/tags/cisco-secure-email.md>), [citrix](<https://devfeed.tech/tags/citrix.md>), [citrix-netscaler](<https://devfeed.tech/tags/citrix-netscaler.md>), [cybersecurity-company](<https://devfeed.tech/tags/cybersecurity-company.md>), [devices](<https://devfeed.tech/tags/devices.md>), [exposure-assessment-platform](<https://devfeed.tech/tags/exposure-assessment-platform.md>), [exposure-management](<https://devfeed.tech/tags/exposure-management.md>), [gitlab](<https://devfeed.tech/tags/gitlab.md>), [gitlab-ci](<https://devfeed.tech/tags/gitlab-ci.md>), [integer-overflow](<https://devfeed.tech/tags/integer-overflow.md>), [managed-detection-and-response](<https://devfeed.tech/tags/managed-detection-and-response.md>), [managed-security-solutions](<https://devfeed.tech/tags/managed-security-solutions.md>), [metasploit](<https://devfeed.tech/tags/metasploit.md>), [metasploit-weekly-wrapup](<https://devfeed.tech/tags/metasploit-weekly-wrapup.md>), [modules](<https://devfeed.tech/tags/modules.md>), [network](<https://devfeed.tech/tags/network.md>), [products-and-tools](<https://devfeed.tech/tags/products-and-tools.md>), [rce](<https://devfeed.tech/tags/rce.md>), [release](<https://devfeed.tech/tags/release.md>), [remote-code-execution](<https://devfeed.tech/tags/remote-code-execution.md>), [vulnerability-management](<https://devfeed.tech/tags/vulnerability-management.md>)

### AI overview

This Metasploit Framework release adds unauthenticated RCE modules for Citrix NetScaler and Cisco Secure Email Gateway, plus GitLab CI/CD RCE requiring credentials with write access to a public project. Other additions include Flowise account takeover through a password reset token exposed in the API response, SPIP password changes without an authorization check, and OpenBullet2 RCE and NTLMv2 hash disclosure affecting releases from 0.2.5 onward. Portainer's module requires valid credentials and access to a managed Docker environment to run a command as host root. The release also adds LoongArch64 fetch payloads and Windows AArch64 SMB payload generation, alongside Docker persistence support on Windows and assorted scanner, cleanup, dependency, and documentation fixes. The supplied text describes the listed release changes; it does not establish broader coverage.

### Source excerpt

Buckle up Metasploit-Framework enthusiasts because we have another action packed release for you. I'm talking, unauthenticated remote code execution modules in some of the biggest names in network perimeter devices like Citrix NetScaler and Cisco Secure Email Gateway. That's not all, we have an authenticated GitLab CI/CD regular expression integer overflow RCE module that was recently making head lines among many other awesome exploit modules. Looking for auxiliary modules?

## Complexity of conjunctive regular path query homomorphisms

DevFeed: [Complexity of conjunctive regular path query homomorphisms](<https://devfeed.tech/articles/complexity-of-conjunctive-regular-path-query-homomorphisms-115952.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2305.07271>)

Author: Laurent Beaudou, Florent Foucaud, Florent R. Madelaine, Lhouari Nourine, Anantha Padmanabha, Ga\\'etan Richad

Published: 2026-11-04T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Databases](<https://devfeed.tech/sources/arxiv-databases.md>)

Topics: [graph-database](<https://devfeed.tech/topics/graph-database.md>), [computational complexity](<https://devfeed.tech/topics/computational-complexity.md>), [Regular expression](<https://devfeed.tech/topics/regular-expression.md>), [polynomials](<https://devfeed.tech/topics/polynomials.md>)

Tags: [abstract](<https://devfeed.tech/tags/abstract.md>), [algorithm](<https://devfeed.tech/tags/algorithm.md>), [alphabet](<https://devfeed.tech/tags/alphabet.md>), [also](<https://devfeed.tech/tags/also.md>), [applications](<https://devfeed.tech/tags/applications.md>), [arc](<https://devfeed.tech/tags/arc.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [based](<https://devfeed.tech/tags/based.md>), [can](<https://devfeed.tech/tags/can.md>), [cases](<https://devfeed.tech/tags/cases.md>), [complete](<https://devfeed.tech/tags/complete.md>), [complexity](<https://devfeed.tech/tags/complexity.md>), [cs-db](<https://devfeed.tech/tags/cs-db.md>), [cs-dm](<https://devfeed.tech/tags/cs-dm.md>), [cs-fl](<https://devfeed.tech/tags/cs-fl.md>), [cs-lo](<https://devfeed.tech/tags/cs-lo.md>), [database](<https://devfeed.tech/tags/database.md>), [databases](<https://devfeed.tech/tags/databases.md>), [extend](<https://devfeed.tech/tags/extend.md>), [f](<https://devfeed.tech/tags/f.md>), [fixed](<https://devfeed.tech/tags/fixed.md>), [form](<https://devfeed.tech/tags/form.md>), [query](<https://devfeed.tech/tags/query.md>), [regular](<https://devfeed.tech/tags/regular.md>)

### AI overview

The paper studies whether one regular graph pattern (RGP) has a navigational homomorphism to another, a homomorphism-based form of conjunctive regular path query (CRPQ) containment. With general walks, the problem is solvable in EXPSPACE. Restricting witnesses to simple paths or trails yields PSPACE-completeness. For restricted RGPs over a unary alphabet, the problem is in NP, and the authors identify certain cases that are solvable in polynomial time; the excerpt does not specify which cases.

### Source excerpt

arXiv:2305.07271v2 Announce Type: replace Abstract: A graph database is a digraph whose arcs are labeled with symbols from a fixed alphabet. A regular graph pattern (RGP) is a digraph whose arcs are labeled with regular expressions over the alphabet. RGPs model navigational queries for graph databases called \emph{conjunctive regular path queries} (CRPQs). A match of a CRPQ in the database is witnessed by a special navigational homomorphism of the corresponding RGP to the database, where vertices of the RGP are mapped by a function $f$ to the vertices of the database, and for each arc $uv$ of the RGP, we require the existence of a walk in the database from $f(u)$ to $f(v)$, such that the word corresponding to the sequence of labels of that walk belongs to the regular language labeling the arc $uv$. We extend this definition to one of navigational homomorphisms between two RGPs, modeling a homomorphism-based form of CRPQ containment. We study the complexity of deciding the existence of such a homomorphism between RGPs. We show that this problem, in the case where general walks are considered, can still be solved by an EXPSPACE algorithm (just like general CRPQ Containment, which is known to be EXPSPACE-complete). In the case of simple paths or trails, in fact the navigational homomorphism problem considered here becomes much more tractable, as it is PSPACE-complete. We also study the problem for restricted RGPs over a unary alphabet, that arise from some applications like XPath or SPARQL. For this case, homomorphism-based CRPQ containment is in NP. We prove that certain interesting cases are in fact polynomial-time solvable.

## Certified Splitting: Decidability and Anchor Supply for Maximal-Munch Tokenization

DevFeed: [Certified Splitting: Decidability and Anchor Supply for Maximal-Munch Tokenization](<https://devfeed.tech/articles/certified-splitting-decidability-and-anchor-supply-for-maximal-munch-tokenization-113767.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.08854>)

Author: Nicklas Nidh\\"ogg

Published: 2026-11-03T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Distributed Computing](<https://devfeed.tech/sources/arxiv-distributed-computing.md>)

Topics: [tokenization](<https://devfeed.tech/topics/tokenization.md>), [content defined chunking](<https://devfeed.tech/topics/content-defined-chunking.md>), [Regular expression](<https://devfeed.tech/topics/regular-expression.md>), [Finite-state machine](<https://devfeed.tech/topics/finite-state-machine.md>)

Tags: [abstract](<https://devfeed.tech/tags/abstract.md>), [anchor](<https://devfeed.tech/tags/anchor.md>), [arithmetic](<https://devfeed.tech/tags/arithmetic.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [audits](<https://devfeed.tech/tags/audits.md>), [boundary](<https://devfeed.tech/tags/boundary.md>), [budget](<https://devfeed.tech/tags/budget.md>), [campaign](<https://devfeed.tech/tags/campaign.md>), [certificate](<https://devfeed.tech/tags/certificate.md>), [certification](<https://devfeed.tech/tags/certification.md>), [commit](<https://devfeed.tech/tags/commit.md>), [completeness](<https://devfeed.tech/tags/completeness.md>), [covering](<https://devfeed.tech/tags/covering.md>), [cs-dc](<https://devfeed.tech/tags/cs-dc.md>), [cs-fl](<https://devfeed.tech/tags/cs-fl.md>), [cs-pl](<https://devfeed.tech/tags/cs-pl.md>), [decidability](<https://devfeed.tech/tags/decidability.md>), [either](<https://devfeed.tech/tags/either.md>), [follow](<https://devfeed.tech/tags/follow.md>), [free](<https://devfeed.tech/tags/free.md>), [input](<https://devfeed.tech/tags/input.md>), [inside](<https://devfeed.tech/tags/inside.md>), [tokenization](<https://devfeed.tech/tags/tokenization.md>)

### AI overview

The paper defines certified byte windows whose occurrences identify safe starting points for independent maximal-munch scans, preserving sequential token boundaries without speculation or a fixup pass. It decides certification from the token set using two methods: an online method with a completeness cutoff for literal vocabularies, and an offline armed-run verifier for arbitrary regular token sets. It also derives bounds on boundary movement after edits, gives exact conditions for delimiter-based cuts, and presents tools to measure anchor-free spans and detect boundary differences between token sets. The abstract says the results have executable checks and that a threaded scanner in the munch library reproduced the sequential boundary stream on an archived campaign corpus.

### Source excerpt

arXiv:2610.08854v2 Announce Type: replace-cross Abstract: A certificate is a window of bytes with an origin inside it such that, wherever the window occurs in a completely tokenizable input, the token covering the window's final byte begins at that origin. Certification is decided from the token set alone, and a certificate's occurrences mark where work may soundly begin. This paper decides certification and applies it to cuts, edits and audits. It is decided two ways, online with a completeness cutoff for literal vocabularies and offline through an armed-run verifier for arbitrary regular token sets. Either route, under a declared window budget, yields the anchor inventory, with a counterexample on each refutation. Cutting a completely tokenizable input at certified anchors and scanning the chunks independently reproduces the sequential segmentation, with no speculation or fixup pass. A tokenizability-preserving byte substitution moves boundaries only strictly between the certified anchors witnessed in the unchanged bytes on either side of it. For tokens of length at most L, an edit at p moves no boundary at or below p - L + 1. Cutting at every occurrence of a delimiter is sound exactly when it occurs only at token starts, and cutting after every occurrence exactly when it occurs only at token ends. Two instruments follow. The anchor-free span of a finite certified inventory is decided bounded or not with its exact supremum, three for the UTF-8 shape; and a differential auditor decides whether two token sets place different boundaries on an input both tokenize, with a differing input. Every theorem carries an executable check. Every measurement is a named program's output or arithmetic on such outputs, and each program ships with the paper or is pinned by commit in the munch library. That library's threaded scanner splits the archived campaign corpus at certified anchors and reproduces the sequential boundary stream byte for byte.

## How to stop PII and national IDs from reaching LLMs

DevFeed: [How to stop PII and national IDs from reaching LLMs](<https://devfeed.tech/articles/how-to-stop-pii-and-national-ids-from-reaching-llms-119450.md>)

Original publisher: [Read original article](<https://nirmata.com/2026/10/29/how-to-stop-pii-and-national-ids-from-reaching-llms/>)

Author: Ritesh Patel

Published: 2026-10-29T19:00:00Z

Content type: tutorial

Language: en

Sources: [Nirmata](<https://devfeed.tech/sources/nirmata.md>)

Topics: [pii](<https://devfeed.tech/topics/pii.md>), [Claude Code](<https://devfeed.tech/topics/claude-code.md>), [ner](<https://devfeed.tech/topics/ner.md>), [gateway](<https://devfeed.tech/topics/gateway.md>), [Regular expression](<https://devfeed.tech/topics/regular-expression.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [ai-governance](<https://devfeed.tech/tags/ai-governance.md>), [block](<https://devfeed.tech/tags/block.md>), [checksums](<https://devfeed.tech/tags/checksums.md>), [claude-code](<https://devfeed.tech/tags/claude-code.md>), [claude-code-hooks](<https://devfeed.tech/tags/claude-code-hooks.md>), [data-protection](<https://devfeed.tech/tags/data-protection.md>), [gateway](<https://devfeed.tech/tags/gateway.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [ids](<https://devfeed.tech/tags/ids.md>), [llms](<https://devfeed.tech/tags/llms.md>), [ner](<https://devfeed.tech/tags/ner.md>), [pii](<https://devfeed.tech/tags/pii.md>), [security](<https://devfeed.tech/tags/security.md>), [stop](<https://devfeed.tech/tags/stop.md>)

### AI overview

Keep PII from reaching an LLM by checking prompts and tool results before they leave your network, using checksum recognizers for structured IDs and named-entity models for names, then redacting, holding or blocking matches. Coverage depends on checking each route: Claude Code's UserPromptSubmit can block but cannot rewrite typed prompts; PreToolUse can alter tool inputs, and PostToolUse can redact results only after the tool has run. A gateway can inspect model requests routed through it, but separate scripts or MCP servers may bypass it, and gateway redaction support must be verified. Presidio's Aadhaar recognizer is disabled by default and must be added explicitly; its checksum still allows about 10% of random 12-digit numbers through, so matches need review. Detection is not complete, and hook timeouts pass prompts unless onFailure is set to block. The excerpt recommends testing with synthetic valid and near-miss numbers, starting with redaction and review, and limiting agent file access.

### Source excerpt

Stop PII and national IDs reaching LLMs: detect them with checksums and NER, then redact, hold or block each match in Claude Code hooks or at a gateway.

## Reversible Pseudonymisation of Documents Sent to External LLMs: an Open Bilingual Benchmark and an Engine

DevFeed: [Reversible Pseudonymisation of Documents Sent to External LLMs: an Open Bilingual Benchmark and an Engine](<https://devfeed.tech/articles/reversible-pseudonymisation-of-documents-sent-to-external-llms-an-open-bilingual-benchmark-and-an-engine-101415.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.34012>)

Author: Vladimir Beskorovainyi

Published: 2026-10-27T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>)

Topics: [Benchmark](<https://devfeed.tech/topics/benchmark.md>), [Self Hosted AI Tools](<https://devfeed.tech/topics/self-hosted-ai-tools.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>), [Regular expression](<https://devfeed.tech/topics/regular-expression.md>)

Tags: [abstract](<https://devfeed.tech/tags/abstract.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [code](<https://devfeed.tech/tags/code.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [data](<https://devfeed.tech/tags/data.md>), [dataset](<https://devfeed.tech/tags/dataset.md>), [datasets](<https://devfeed.tech/tags/datasets.md>), [detection](<https://devfeed.tech/tags/detection.md>), [engine](<https://devfeed.tech/tags/engine.md>), [english](<https://devfeed.tech/tags/english.md>), [evaluation](<https://devfeed.tech/tags/evaluation.md>), [expression](<https://devfeed.tech/tags/expression.md>), [external](<https://devfeed.tech/tags/external.md>), [files](<https://devfeed.tech/tags/files.md>), [identifier](<https://devfeed.tech/tags/identifier.md>), [language](<https://devfeed.tech/tags/language.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [llms](<https://devfeed.tech/tags/llms.md>), [open](<https://devfeed.tech/tags/open.md>), [synthetic](<https://devfeed.tech/tags/synthetic.md>)

### AI overview

The proposed engine substantially reduced visible personal-data values on held-out synthetic documents from its development generator: whole values remained visible in 0.3% of Russian and 0.2% of UK English documents, compared with 61% and 58% for the best existing tools. It met the stated detection thresholds in both languages and restored at least 99% of placeholders in UK English, but Russian name restoration reached only 94.6%, below the 99% threshold, mainly due to incorrect surname inflections borrowed from pii-guard. The benchmark covers five open tools and a regex baseline, excludes each tool's authors' dataset from its verdict, and tests placeholder survival with two local LLMs. Results are limited to synthetic data; real documents were not tested, and the benchmark was run by the engine's author.

### Source excerpt

arXiv:2610.34012v1 Announce Type: cross Abstract: Professionals send working documents to external large language models. A common safeguard is reversible pseudonymisation: personal data are replaced with placeholders before the request and restored locally in the answer. We present an open benchmark of five existing open tools and a regular-expression baseline on Russian and UK English, and an open engine built on the two strongest tools. The benchmark excludes each tool's own authors' dataset from its verdict, compares the engine with each tool on identical datasets for detection, reports masking precision, and tests on a held-out set of synthetic documents whose files, hashes, decision rules, run plan and stopping rule were published before any run. Two local LLMs test whether placeholders survive. All evaluation data are synthetic, and the benchmark was run by the author of the engine; code, data, predictions and raw answers are released. On external datasets no existing tool meets all predefined thresholds: in UK English the identifier and leak thresholds are not met, in Russian the identifier threshold is borderline. On the last held-out set of 1,000 documents per language, the best existing tools leave a whole value visible in 61% (Russian) and 58% (UK) of documents. On these documents, from the generator it was developed on, the engine does so in 0.3% [0.1; 0.9] and 0.2% [0.1; 0.7], leaves any part of a value visible in 0.8% and 0.2%, and meets all detection thresholds in both languages. In UK English it also restores at least 99% of its placeholders after 760 answers. In Russian it restores only 94.6% [93.6; 95.6] of name placeholders, against a 99% threshold, mainly because the inflection it borrows from pii-guard produces wrong surname forms. The engine was developed over six earlier held-out sets from the same generator; real documents were not tested.

## CVE-2026-116588 - Datadog dd-trace-py: ReDOS in URL query string obfuscation

DevFeed: [CVE-2026-116588 - Datadog dd-trace-py: ReDOS in URL query string obfuscation](<https://devfeed.tech/articles/cve-2026-116588-datadog-dd-trace-py-redos-in-url-query-string-obfuscation-100815.md>)

Original publisher: [Read original article](<https://cvefeed.io/vuln/detail/CVE-2026-116588>)

Author: CVEFEED.io; github.com

Published: 2026-10-26T22:16:55Z

Content type: news

Language: en

Sources: [Latest High/Critical Vulnerabilitiy Feed](<https://devfeed.tech/sources/latest-high-critical-vulnerabilitiy-feed.md>)

Topics: [Regular expression](<https://devfeed.tech/topics/regular-expression.md>), [Query (disambiguation)](<https://devfeed.tech/topics/query.md>), [tracing](<https://devfeed.tech/topics/tracing.md>), [datadog](<https://devfeed.tech/topics/datadog.md>)

Tags: [1-5](<https://devfeed.tech/tags/1-5.md>), [2026](<https://devfeed.tech/tags/2026.md>), [3](<https://devfeed.tech/tags/3.md>), [apm](<https://devfeed.tech/tags/apm.md>), [cause](<https://devfeed.tech/tags/cause.md>), [client](<https://devfeed.tech/tags/client.md>), [cpu](<https://devfeed.tech/tags/cpu.md>), [cve](<https://devfeed.tech/tags/cve.md>), [cve-2026-116588](<https://devfeed.tech/tags/cve-2026-116588.md>), [cvss](<https://devfeed.tech/tags/cvss.md>), [datadog](<https://devfeed.tech/tags/datadog.md>), [expression](<https://devfeed.tech/tags/expression.md>), [fixed](<https://devfeed.tech/tags/fixed.md>), [http](<https://devfeed.tech/tags/http.md>), [obfuscation](<https://devfeed.tech/tags/obfuscation.md>), [published](<https://devfeed.tech/tags/published.md>), [query](<https://devfeed.tech/tags/query.md>), [string](<https://devfeed.tech/tags/string.md>), [trace](<https://devfeed.tech/tags/trace.md>), [url](<https://devfeed.tech/tags/url.md>)

### AI overview

Datadog dd-trace-py versions from 1.5.0 up to (but not including) 3.19.9 and 4.15.6 are vulnerable to excessive backtracking in the default query-string obfuscation regex. In affected HTTP tracing integrations that include query strings in URL span tags, the regex processes attacker-controlled input synchronously and is enabled by default; a remote attacker can cause prolonged CPU use, request latency and service unavailability. The issue is fixed in versions 3.19.9 and 4.15.6.

### Source excerpt

CVE ID :CVE-2026-116588 Published : Oct. 26, 2026, 10:16 p.m. | 32 minutes ago Description :Datadog dd-trace-py is the Datadog Python APM client. From 1.5.0 until 3.19.9 and 4.15.6, the default query-string obfuscation regular expression can exhibit excessive backtracking while synchronously processing attacker-controlled URL query strings for HTTP span metadata. A remote attacker can cause prolonged CPU consumption, request latency, and service unavailability in affected HTTP tracing integrations that include query strings in URL span tags. The vulnerable processing is enabled by default for those integrations. This issue is fixed in versions 3.19.9 and 4.15.6. Severity: 8.7 | HIGH Visit the link for more details, such as CVSS details, affected products, timeline, and more...

## A Practical Introduction to Web Scraping in Python

DevFeed: [A Practical Introduction to Web Scraping in Python](<https://devfeed.tech/articles/a-practical-introduction-to-web-scraping-in-python-100536.md>)

Original publisher: [Read original article](<https://realpython.com/python-web-scraping-practical-introduction/>)

Author: David Amos

Published: 2026-10-26T14:00:00Z

Content type: tutorial

Language: en

Sources: [Real Python](<https://devfeed.tech/sources/real-python.md>)

Topics: [Web Scraping](<https://devfeed.tech/topics/web-scraping.md>), [Python](<https://devfeed.tech/topics/python.md>), [HTML](<https://devfeed.tech/topics/html.md>), [Regular expression](<https://devfeed.tech/topics/regular-expression.md>), [Forms](<https://devfeed.tech/topics/forms.md>), [pip](<https://devfeed.tech/topics/pip.md>), [import](<https://devfeed.tech/topics/import.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [3](<https://devfeed.tech/tags/3.md>), [about](<https://devfeed.tech/tags/about.md>), [acceptable-use](<https://devfeed.tech/tags/acceptable-use.md>), [added](<https://devfeed.tech/tags/added.md>), [all](<https://devfeed.tech/tags/all.md>), [allows](<https://devfeed.tech/tags/allows.md>), [beautiful](<https://devfeed.tech/tags/beautiful.md>), [data](<https://devfeed.tech/tags/data.md>), [forms](<https://devfeed.tech/tags/forms.md>), [html](<https://devfeed.tech/tags/html.md>), [introduction](<https://devfeed.tech/tags/introduction.md>), [practical](<https://devfeed.tech/tags/practical.md>), [python](<https://devfeed.tech/tags/python.md>), [scraping](<https://devfeed.tech/tags/scraping.md>), [using](<https://devfeed.tech/tags/using.md>), [web](<https://devfeed.tech/tags/web.md>), [web-scraping](<https://devfeed.tech/tags/web-scraping.md>), [websites](<https://devfeed.tech/tags/websites.md>), [with](<https://devfeed.tech/tags/with.md>)

### AI overview

The tutorial shows a workflow for fetching and extracting website data in Python: use `urllib.request.urlopen()` to retrieve HTML, then parse it with string searches, regular expressions, or Beautiful Soup. String searches can fail on small markup variations; regex can handle some irregular tags but requires care with greedy matching. Beautiful Soup offers tag and attribute searches, while `lxml` is noted as a more flexible but trickier option; badly formed HTML can still defeat parsers. For forms and navigation, MechanicalSoup provides a programmable browser that stores cookies, follows redirects, and submits forms, but it does not run JavaScript. The examples also poll a page at intervals to read updated content. The text advises checking site terms and acceptable use policies and respecting request volume, since prohibited scraping may have legal consequences, lead to IP blocking, or burden servers.

### Source excerpt

Get started with Python web scraping: parse data from websites and interact with HTML forms using Beautiful Soup and MechanicalSoup.

## Ruby Fixes Three Regex Engine Bugs Responsible for Four Critical GitLab RCE Flaws

DevFeed: [Ruby Fixes Three Regex Engine Bugs Responsible for Four Critical GitLab RCE Flaws](<https://devfeed.tech/articles/ruby-fixes-three-regex-engine-bugs-responsible-for-four-critical-gitlab-rce-flaws-98290.md>)

Original publisher: [Read original article](<https://thehackernews.com/2026/10/ruby-fixes-three-regex-engine-bugs.html>)

Author: The Hacker News

Published: 2026-10-23T17:54:08Z

Content type: news

Language: en

Sources: [Cyber Newsroom](<https://devfeed.tech/sources/cyber-newsroom.md>)

Topics: [Ruby](<https://devfeed.tech/topics/ruby.md>), [GitLab](<https://devfeed.tech/topics/gitlab.md>), [Regular expression](<https://devfeed.tech/topics/regular-expression.md>), [bugfixes](<https://devfeed.tech/topics/bugfixes.md>), [Memory Safety](<https://devfeed.tech/topics/memory-safety.md>), [Bug Bounty](<https://devfeed.tech/topics/bugbounty.md>), [gitlab-ci](<https://devfeed.tech/topics/gitlab-ci.md>), [cybersecurity and infrastructure security agency](<https://devfeed.tech/topics/cybersecurity-and-infrastructure-security-agency.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [application-security](<https://devfeed.tech/tags/application-security.md>), [applications](<https://devfeed.tech/tags/applications.md>), [bug-bounty](<https://devfeed.tech/tags/bug-bounty.md>), [bugs](<https://devfeed.tech/tags/bugs.md>), [ci-cd](<https://devfeed.tech/tags/ci-cd.md>), [code-execution](<https://devfeed.tech/tags/code-execution.md>), [compile](<https://devfeed.tech/tags/compile.md>), [copy](<https://devfeed.tech/tags/copy.md>), [critical](<https://devfeed.tech/tags/critical.md>), [cve](<https://devfeed.tech/tags/cve.md>), [cve-2026-110264](<https://devfeed.tech/tags/cve-2026-110264.md>), [cves](<https://devfeed.tech/tags/cves.md>), [engine](<https://devfeed.tech/tags/engine.md>), [gitlab](<https://devfeed.tech/tags/gitlab.md>), [rce](<https://devfeed.tech/tags/rce.md>), [regex](<https://devfeed.tech/tags/regex.md>), [regular](<https://devfeed.tech/tags/regular.md>), [ruby](<https://devfeed.tech/tags/ruby.md>), [security](<https://devfeed.tech/tags/security.md>), [software-security](<https://devfeed.tech/tags/software-security.md>), [vulnerabilities](<https://devfeed.tech/tags/vulnerabilities.md>), [vulnerability](<https://devfeed.tech/tags/vulnerability.md>), [web-security](<https://devfeed.tech/tags/web-security.md>)

### AI overview

Ruby 4.0.9, 3.4.12, and 3.3.13 fix three Onigmo bugs tied to four critical GitLab remote code execution flaws. Applications are affected when they compile attacker-controlled regex text through Regexp.new, Regexp.union, Regexp.compile, or interpolation; apps using only developer-written patterns are not affected. Ruby says Regexp.timeout and pattern-length caps do not reliably prevent the bugs. Ruby 3.2 and earlier will not receive fixes; it recommends upgrading to 3.4 or 4.0, or avoiding regex compilation from untrusted input until then. For self-managed GitLab, install a release patched for CVE-2026-110264 (18.11.13 or the listed newer release branches); GitLab.com is already patched. Ruby has not assigned its own CVEs for these fixes, which may limit scanners that rely on CVE records.

### Source excerpt

Ruby Fixes Three Regex Engine Bugs Responsible for Four Critical GitLab RCE Flaws Ruby has released versions 4.0.9, 3.4.12, and 3.3.13 to fix three bugs in Onigmo, the regular expression engine built into the language. The bugs lie behind four critical security flaws that GitLab pa ... Read more Published Date: Oct 23, 2026 (1 hour, 46 minutes ago) Vulnerabilities has been mentioned in this article. CVE-2026-110264 CVE-2026-97229 CVE-2024-27282 CVE-2022-28738

## Regexp compilation fixes related to GitLab's CVE-2026-89078, CVE-2026-93577, CVE-2026-97229 and CVE-2026-110264

DevFeed: [Regexp compilation fixes related to GitLab's CVE-2026-89078, CVE-2026-93577, CVE-2026-97229 and CVE-2026-110264](<https://devfeed.tech/articles/regexp-compilation-fixes-related-to-gitlab-s-cve-2026-89078-cve-2026-93577-cve-2026-97229-and-cve-2026-110264-96745.md>)

Original publisher: [Read original article](<https://www.ruby-lang.org/en/news/2026/10/23/regexp-fixes-for-gitlab-cves/>)

Published: 2026-10-23T03:11:22Z

Content type: release

Language: en

Sources: [Ruby-lang](<https://devfeed.tech/sources/ruby-lang.md>)

Topics: [Regular expression](<https://devfeed.tech/topics/regular-expression.md>), [Memory Safety](<https://devfeed.tech/topics/memory-safety.md>), [Parser](<https://devfeed.tech/topics/parser.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [code-execution](<https://devfeed.tech/tags/code-execution.md>), [compilation](<https://devfeed.tech/tags/compilation.md>), [compile](<https://devfeed.tech/tags/compile.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [cve](<https://devfeed.tech/tags/cve.md>), [engine](<https://devfeed.tech/tags/engine.md>), [gitlab](<https://devfeed.tech/tags/gitlab.md>), [integer-overflow](<https://devfeed.tech/tags/integer-overflow.md>), [regexp](<https://devfeed.tech/tags/regexp.md>), [regular-expressions](<https://devfeed.tech/tags/regular-expressions.md>), [release](<https://devfeed.tech/tags/release.md>), [releases](<https://devfeed.tech/tags/releases.md>), [remote-code-execution](<https://devfeed.tech/tags/remote-code-execution.md>), [ruby](<https://devfeed.tech/tags/ruby.md>)

### AI overview

Ruby 4.0.9, 3.4.12 and 3.3.13 fix three Onigmo regular-expression compilation bugs associated with four CVEs GitLab identified after attacker-controlled patterns caused memory corruption and could enable remote code execution. The bugs include a parser double free, overflow in compiled-pattern size, and overflow of internal pattern IDs. They affect applications that compile attacker-controlled strings using APIs such as Regexp.new, Regexp.union or Regexp.compile, or interpolate them into regexp literals. Applications using only developer-written patterns are not affected. Regexp.timeout and pattern-length limits do not reliably protect against these issues. The recommended action is to upgrade to one of the patched releases or later; if upgrading is not possible, avoid compiling regexps from untrusted input. The article says Ruby has not yet requested CVE identifiers for its fixes and plans to discuss how Ruby should document and classify this risk.

### Source excerpt

We have released Ruby 4.0.9, 3.4.12 and 3.3.13. They fix several bugs in Ruby's regular expression engine (Onigmo) that GitLab found could be used for remote code execution on GitLab servers. GitLab published four CVEs for these issues, and the Ruby releases contain the fixes for the underlying bugs in Ruby. Background GitLab compiles regular expressions supplied by its users, such as patterns in CI configuration, with Regexp.new. GitLab found that specially crafted patterns could corrupt memory while Ruby compiles them, and that this could be turned into remote code execution on GitLab servers. GitLab addressed these issues in its own releases by patching the Ruby it ships, and assigned the following CVE identifiers: CVE-2026-89078: Double Free issue in Regular Expression Parser (GitLab 19.4.1) CVE-2026-93577: Integer Overflow issue in Regular Expression Compiler (GitLab 19.4.1) CVE-2026-97229: Integer Overflow issue in CI/CD Regular Expression Compiler (GitLab 19.4.2) CVE-2026-110264: Integer Overflow issue in Regular Expression Compiler (GitLab 19.5.1) Fixes in Ruby The following table shows the change in Ruby that fixes the bug behind each CVE, and the first release of each series that contains it. GitLab CVE Bug in Ruby Change Ruby 4.0 Ruby 3.4 Ruby 3.3 CVE-2026-89078 Double free when parsing a pattern fails after an alternation #13332 4.0.0 3.4.12 3.3.13 CVE-2026-93577, CVE-2026-97229 Integer overflow in the size of a compiled pattern #19020 4.0.8 3.4.12 3.3.13 CVE-2026-110264 Overflow of internal IDs in a pattern with many repeats #16801 4.0.9 3.4.12 3.3.13 Ruby 4.0.9, 3.4.12 and 3.3.13 contain all of these fixes. Who is affected These bugs are reached only when an application compiles a regular expression from a string that an attacker controls, for example by passing it to Regexp.new, Regexp.union or Regexp.compile, or by interpolating it into a regexp literal such as /#{input}/. Applications that only use regular expressions written by their own developers

## Visualize Regular Expressions with Marbles

DevFeed: [Visualize Regular Expressions with Marbles](<https://devfeed.tech/articles/visualize-regular-expressions-with-marbles-90957.md>)

Original publisher: [Read original article](<https://hackaday.com/2026/10/20/visualize-regular-expressions-with-marbles/>)

Author: Al Williams

Published: 2026-10-20T08:00:52Z

Content type: article

Language: en

Sources: [Hackaday](<https://devfeed.tech/sources/hackaday.md>)

Topics: [Regular expression](<https://devfeed.tech/topics/regular-expression.md>), [Tutorial](<https://devfeed.tech/topics/tutorial.md>)

Tags: [marble-machine](<https://devfeed.tech/tags/marble-machine.md>), [regex](<https://devfeed.tech/tags/regex.md>), [regexp](<https://devfeed.tech/tags/regexp.md>), [regular-expressions](<https://devfeed.tech/tags/regular-expressions.md>), [software-development](<https://devfeed.tech/tags/software-development.md>), [string](<https://devfeed.tech/tags/string.md>)

### AI overview

Regex Marble Run turns a regular expression and test string into a virtual marble machine, showing each character passing through the expression; successful and failed matches end in separate boxes. The excerpt illustrates how the pattern `^[hH]ack.[dD][^0-9]*$` works: it anchors matching at the start and end of the string, accepts either case for H and D, matches any single character after "ack," and then allows zero or more nondigit characters. This explains why `HackxDXYZabc` matches while `HackxDXYZabc123` does not.

### Source excerpt

If you are one of those people who visualize things physically better than in the abstract, then Regex Marble Run by [bottomless] might be for you. You enter a test ...read more

## Rapid7 Analysis: GitLab CI/CD Regex Integer Overflow (CVE-2026-97229)

DevFeed: [Rapid7 Analysis: GitLab CI/CD Regex Integer Overflow (CVE-2026-97229)](<https://devfeed.tech/articles/rapid7-analysis-gitlab-ci-cd-regex-integer-overflow-cve-2026-97229-88757.md>)

Original publisher: [Read original article](<https://www.rapid7.com/blog/post/ra-gitlab-ci-cd-regex-integer-overflow-technical-analysis-cve-2026-97229>)

Author: Jonah Burgess

Published: 2026-10-16T13:31:56Z

Content type: article

Language: en

Sources: [Rapid7 Cybersecurity](<https://devfeed.tech/sources/rapid7-cybersecurity-blog.md>)

Topics: [GitLab](<https://devfeed.tech/topics/gitlab.md>), [Regular expression](<https://devfeed.tech/topics/regular-expression.md>), [gitlab-ci](<https://devfeed.tech/topics/gitlab-ci.md>), [code analysis](<https://devfeed.tech/topics/code-analysis.md>), [lint](<https://devfeed.tech/topics/lint.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [analysis](<https://devfeed.tech/tags/analysis.md>), [ci-cd](<https://devfeed.tech/tags/ci-cd.md>), [code-execution](<https://devfeed.tech/tags/code-execution.md>), [cve](<https://devfeed.tech/tags/cve.md>), [cybersecurity-company](<https://devfeed.tech/tags/cybersecurity-company.md>), [emergent-threat-response](<https://devfeed.tech/tags/emergent-threat-response.md>), [exposure-assessment-platform](<https://devfeed.tech/tags/exposure-assessment-platform.md>), [exposure-management](<https://devfeed.tech/tags/exposure-management.md>), [gitlab](<https://devfeed.tech/tags/gitlab.md>), [integer-overflow](<https://devfeed.tech/tags/integer-overflow.md>), [managed-detection-and-response](<https://devfeed.tech/tags/managed-detection-and-response.md>), [managed-security-solutions](<https://devfeed.tech/tags/managed-security-solutions.md>), [rapid7](<https://devfeed.tech/tags/rapid7.md>), [rapid7-analysis](<https://devfeed.tech/tags/rapid7-analysis.md>), [rapid7-intelligence](<https://devfeed.tech/tags/rapid7-intelligence.md>), [regex](<https://devfeed.tech/tags/regex.md>), [research](<https://devfeed.tech/tags/research.md>), [vulnerabilities-and-exploits](<https://devfeed.tech/tags/vulnerabilities-and-exploits.md>), [vulnerability-management](<https://devfeed.tech/tags/vulnerability-management.md>)

### AI overview

GitLab fixed CVE-2026-97229 in releases 19.2.8, 19.3.5, and 19.4.2. Rapid7's PoC chains an unchecked UTF-8 recompilation of attacker-controlled regex pcode with a signed integer overflow in Onigmo, redirecting execution to run commands as GitLab's `git` account. The demonstrated route requires malicious CI configuration and a specially named path already pushed to a public project; only the final CI lint request is unauthenticated, a prerequisite the researchers say conflicts with GitLab's PR:N rating. The PoC worked on Linux amd64 GitLab CE 19.4.1 with ASLR, but needs target-specific offsets and substantial memory. Self-managed users are advised to upgrade; temporarily restricting credential-free access to attacker-writable public projects or blocking the lint route may mitigate exposure. The Ruby fix prevents overflow in the compiler size check and limits compiled program size.

### Source excerpt

Overview On October 12, 2026, GitLab released 19.4.2, 19.3.5, and 19.2.8 to fix CVE-2026-97229, an integer overflow in its CI/CD regular-expression handling. The issue was reported through HackerOne by joaxcar. GitLab assigned it a CVSS score of 10.0 and described possible code execution by an unauthenticated user. The advisory states that CVE-2026-97229 affects GitLab CE and EE from 19.2 before 19.2.8, 19.3 before 19.3.5, and 19.4 before 19.4.2. GitLab says all deployment types are affected unless stated otherwise. GitLab.com was patched before disclosure, and Dedicated customers do not need to act. Rapid7 researchers developed an end-to-end PoC that reliably runs arbitrary commands as GitLab's git operating-system account on the official Linux amd64 gitlab/gitlab-ce:19.4.1-ce.0 image with ASLR enabled. GitLab's release notes do not report exploitation in the wild occurring at the time of disclosure. This analysis covers one end-to-end route. It begins after an attacker has pushed both the malicious CI configuration and a specially named path to a public project; only the final CI lint request is unauthenticated. That prerequisite conflicts with GitLab's PR:N rating, and because the underlying report remains private, we do not yet know how the reported attack avoids it. Technical analysis At a high level, the chain crosses from attacker-controlled repository input into Onigmo pcode and finally native code execution. Figure 1: From repository inputs to command execution. CI rules pass repository paths to Onigmo GitLab supports regular-expression matching over repository paths in rules:exists:regexp and rules:changes:regexp. One way to evaluate such an expression during static configuration processing is to place it on a conditional include: include: - local: /benign.yml rules: - exists: regexp: "ATTACKER_PATTERN" RegexpMatcher expands the expression, compiles it with Ruby's native regular-expression engine, and tests it against paths from the selected Git worktree:

## CodeQL 2.27.2 improves C++, Go, Rust, and JavaScript analysis

DevFeed: [CodeQL 2.27.2 improves C++, Go, Rust, and JavaScript analysis](<https://devfeed.tech/articles/codeql-2-27-2-improves-c-go-rust-and-javascript-analysis-84417.md>)

Original publisher: [Read original article](<https://github.blog/changelog/2026-10-09-codeql-2-27-2-improves-c-go-rust-and-javascript-analysis>)

Author: Allison

Published: 2026-10-09T21:32:54Z

Content type: release

Language: en

Sources: [GitHub Changelog](<https://devfeed.tech/sources/github-changelog.md>)

Topics: [Static code analysis](<https://devfeed.tech/topics/static-code-analysis.md>), [Rust](<https://devfeed.tech/topics/rust.md>), [c/c++](<https://devfeed.tech/topics/c-c-plus-plus.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Regular expression](<https://devfeed.tech/topics/regular-expression.md>)

Tags: [analysis](<https://devfeed.tech/tags/analysis.md>), [application-security](<https://devfeed.tech/tags/application-security.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [code-scanning](<https://devfeed.tech/tags/code-scanning.md>), [codeql](<https://devfeed.tech/tags/codeql.md>), [go](<https://devfeed.tech/tags/go.md>), [improvement](<https://devfeed.tech/tags/improvement.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [rust](<https://devfeed.tech/tags/rust.md>), [static-analysis](<https://devfeed.tech/tags/static-analysis.md>)

### AI overview

CodeQL 2.27.2 adds analysis coverage and updates across languages and tooling. C/C++ gains ECMAScript `std::regex` parsing, Comdb2 SQL-injection sink models, and flow summaries for Bloomberg BDE codecs and byte-stream deserializers. Go adds the `github.com/coder/websocket` import path; Rust improves async-block data flow and adds TLS-library summaries; JavaScript/TypeScript recognizes Workflow SDK directives and improves Hapi route tracking. C# clickjacking and XSS queries also change. Go's CFG now uses a shared library, changing nodes, edges and basic-block boundaries; queries relying on its old representation may need updates. On macOS 27 with any Xcode, and macOS 26 with Xcode 27, `autobuild` and `manual` are unsupported for compiled languages because required multi-architecture binaries are no longer shipped. The release also includes CLI and query-suite changes; GitHub deploys new versions automatically on github.com, while older GHES users can upgrade manually.

### Source excerpt

CodeQL 2.27.2 is now available, adding a C++ regular-expression parser and analysis improvements across several languages. CodeQL is the static analysis engine behind GitHub code scanning, which helps you find... The post CodeQL 2.27.2 improves C++, Go, Rust, and JavaScript analysis appeared first on The GitHub Blog.

## Strings and Character Data in Python

DevFeed: [Strings and Character Data in Python](<https://devfeed.tech/articles/strings-and-character-data-in-python-64542.md>)

Original publisher: [Read original article](<https://realpython.com/python-strings/>)

Author: Leodanis Pozo Ramos

Published: 2026-10-04T14:00:00Z

Content type: tutorial

Language: en

Sources: [Real Python](<https://devfeed.tech/sources/real-python.md>)

Topics: [Python](<https://devfeed.tech/topics/python.md>), [data type](<https://devfeed.tech/topics/data-type.md>), [Regular expression](<https://devfeed.tech/topics/regular-expression.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [data](<https://devfeed.tech/tags/data.md>), [python](<https://devfeed.tech/tags/python.md>), [string](<https://devfeed.tech/tags/string.md>)

### AI overview

This tutorial explains how to create and manipulate Python strings. It covers string literals and conversion with str(), escape sequences, concatenation, interpolation and formatting, indexing and slicing, and commonly used string methods. It also describes string immutability and character representations, including Unicode.

### Source excerpt

Work with Python strings using a rich set of operators and functions: string literals, the str() function, and the methods you'll use most.

## Using Generative Testing and Oracles to Find Bugs in Regular Expression Algorithms

DevFeed: [Using Generative Testing and Oracles to Find Bugs in Regular Expression Algorithms](<https://devfeed.tech/articles/finding-bugs-55444.md>)

Original publisher: [Read original article](<https://matklad.github.io/2026/09/19/finding-bugs.html>)

Author: Alex Kladov

Published: 2026-09-19T00:00:00Z

Content type: opinion

Language: en

Sources: [Matklad](<https://devfeed.tech/sources/matklad.md>)

Topics: [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [Unit testing](<https://devfeed.tech/topics/unit-testing.md>), [Algorithms](<https://devfeed.tech/topics/algorithms.md>), [computational complexity](<https://devfeed.tech/topics/computational-complexity.md>), [Regular expression](<https://devfeed.tech/topics/regular-expression.md>)

Tags: [algorithms](<https://devfeed.tech/tags/algorithms.md>), [bugs](<https://devfeed.tech/tags/bugs.md>), [extra](<https://devfeed.tech/tags/extra.md>), [unit-tests](<https://devfeed.tech/tags/unit-tests.md>)

### AI overview

The article examines whether generative testing is more effective than example-based unit tests for finding bugs. It presents fuzzing a regular expression implementation and emphasizes comparing algorithm results with a known correct answer, or oracle.

### Source excerpt

Are generative (randomized) tests significantly more effective than example-based unit-tests at discovering bugs? There's an interesting discussion about this on lobste.rs. One argument in favor of unit tests is, paraphrasing

## Minimizing the length of regular expressions, in practice

DevFeed: [Minimizing the length of regular expressions, in practice](<https://devfeed.tech/articles/minimizing-the-length-of-regular-expressions-in-practice-27405.md>)

Original publisher: [Read original article](<http://engineering.khanacademy.org/posts/shortest-regex.htm>)

Author: Khan Academy

Published: 2016-05-23T22:00:00Z

Content type: article

Language: en

Sources: [Khan Academy](<https://devfeed.tech/sources/khan-academy.md>)

Topics: [Regular expression](<https://devfeed.tech/topics/regular-expression.md>), [Optimization](<https://devfeed.tech/topics/optimization.md>), [Algorithms](<https://devfeed.tech/topics/algorithms.md>), [computational complexity](<https://devfeed.tech/topics/computational-complexity.md>), [Software Engineering](<https://devfeed.tech/topics/software-engineering.md>)

Tags: [algorithms](<https://devfeed.tech/tags/algorithms.md>), [appengine](<https://devfeed.tech/tags/appengine.md>), [deterministic-finite-automata](<https://devfeed.tech/tags/deterministic-finite-automata.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [interviews](<https://devfeed.tech/tags/interviews.md>), [news](<https://devfeed.tech/tags/news.md>), [questions](<https://devfeed.tech/tags/questions.md>), [regular-expressions](<https://devfeed.tech/tags/regular-expressions.md>)

### AI overview

To fit a CDN's 512-character limit while routing Khan Academy static URLs separately from dynamic ones, the author reduced a 402,025-character regex listing every file to a 294-character pattern. Combining shared prefixes cut a config-derived pattern to 824 characters, but the key step was recognizing that the regex only needed to distinguish known static paths from dynamic routes; it could match invalid URLs too, since either provider could return a 404. The shortest resulting prefixes risked misrouting future dynamic routes, so the author extended them to end at a slash. The final pattern was readable and within the limit, with a small robustness tradeoff against future route changes.

### Source excerpt

By Craig Silverstein The problem Software engineering interviews tend to be full of "algorithms" questions, because they're easy ... Read more

## Your redaction filter works. Are you quite sure?

DevFeed: [Your redaction filter works. Are you quite sure?](<https://devfeed.tech/articles/your-redaction-filter-works-are-you-quite-sure-12662.md>)

Original publisher: [Read original article](<https://tyk.io/blog/your-redaction-filter-works-are-you-quite-sure/>)

Author: Hal Tyk's tutorial bot

Published: 2026-09-03T09:03:23Z

Content type: tutorial

Language: en

Sources: [Tyk API Management](<https://devfeed.tech/sources/tyk-api-management.md>)

Topics: [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [pii](<https://devfeed.tech/topics/pii.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Script](<https://devfeed.tech/topics/script.md>), [Regular expression](<https://devfeed.tech/topics/regular-expression.md>), [payload](<https://devfeed.tech/topics/payload.md>), [API](<https://devfeed.tech/topics/api.md>)

Tags: [ai-gateway](<https://devfeed.tech/tags/ai-gateway.md>), [ai-studio](<https://devfeed.tech/tags/ai-studio.md>), [api](<https://devfeed.tech/tags/api.md>), [api-management](<https://devfeed.tech/tags/api-management.md>), [api-platform-teams](<https://devfeed.tech/tags/api-platform-teams.md>), [data-privacy](<https://devfeed.tech/tags/data-privacy.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [llm-governance](<https://devfeed.tech/tags/llm-governance.md>), [payload](<https://devfeed.tech/tags/payload.md>), [pii](<https://devfeed.tech/tags/pii.md>), [pii-redaction](<https://devfeed.tech/tags/pii-redaction.md>), [tengo](<https://devfeed.tech/tags/tengo.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

### AI overview

This tutorial explains how to create and test a Tyk request filter that redacts personal data before a request reaches an AI model. It covers Enterprise licensing, request and response filter behavior, the PII Redaction template, and the Tengo scripting contract using the Tyk module and regular expressions.

### Source excerpt

Hello. I'm Hal, Tyk's tutorial bot, and today I have been given something genuinely useful to explain: how to stop personal data reaching a model in the first place. We are going to write a filter, find a gap in it before a single request has been sent, fix the gap, and only then let [...] The post Your redaction filter works. Are you quite sure? appeared first on Tyk API Management.

[Next page](<https://devfeed.tech/topics/regular-expression.md?cursor=WyIyMDI2LTA5LTAzVDA5OjAzOjIzKzAwOjAwIiwgIjhlYjU1NDg3LTMwMjctNDJjMy1hNDdmLTg4MGFiN2FiNTM4NiJd>)