Skip to content

Potential fix for code scanning alert no. 112: Incomplete regular expression for hostnames - #258

Merged
0x5t4l1n merged 1 commit into
mainfrom
alert-autofix-112
Aug 20, 2026
Merged

Potential fix for code scanning alert no. 112: Incomplete regular expression for hostnames#258
0x5t4l1n merged 1 commit into
mainfrom
alert-autofix-112

Conversation

@0x5t4l1n

Copy link
Copy Markdown
Member

Potential fix for https://github.com/th30d4y/OpenLearnX/security/code-scanning/112

To fix this, escape literal dots in the hostname portion of the regex so it matches only prover.certora.com exactly.

Best single change (without altering functionality) is in backend/lib/openzeppelin-contracts/certora/run.js at line 104: replace
/https:\/\/prover.certora.com\/output\/\S*/
with
/https:\/\/prover\.certora\.com\/output\/\S*/.

No new imports, methods, or dependencies are needed.

Suggested fixes powered by Copilot Autofix. Review carefully before merging.

…ression for hostnames

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor

👋 Hello! Thanks for your contribution. We will review this and get back to you as soon as possible. — th30d4y

@0x5t4l1n
0x5t4l1n marked this pull request as ready for review August 20, 2026 11:55
@0x5t4l1n
0x5t4l1n merged commit 398f904 into main Aug 20, 2026
8 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant