TavernKeeper Scan Report

Archkr/Lumiverse-LumiWorld

Commit b2d012a Reviewed

No material or immediate-danger concern was identified in this review.

This advisory report describes what the named tools and review process found at one exact commit. Unknown or unobserved behavior may still exist.

0 immediate danger 0 material 2 low

What this review found

No material or immediate-danger item was identified.

Contextual expected matches (1)

JavaScript analysis reported javascript.xray.unsafe-regex

Expected behavior · high confidence

The flagged regular expression is a simple time-parsing pattern used to read schedule hour strings like '8am' or '14:30'. It has no complexity that could cause performance problems and operates on very short strings. This is normal functionality for the extension's world-simulation feature.

Technical evidence

Scanner reason: JavaScript analysis matched static JavaScript security signal javascript.xray.unsafe-regex. The match applies to this repository.

Contextual assessment: The scanner flagged the regex /^({d}{1,2})(?::({d}{2}))?{s}*(am|pm)?$/i on line 1120 as 'unsafe-regex'. Analysis of the actual pattern shows a linear, non-backtracking regex with anchored start and end, no nested quantifiers, and no ambiguous alternation that could cause catastrophic backtracking (ReDoS). The pattern matches short time strings (e.g., '8', '8:30am') and fails quickly on non-matching input. The input is a schedule hour value parsed from structured JSON returned by a model controller, not arbitrary attacker-controlled data. No ReDoS or other regex-based vulnerability is demonstrated. This is consistent with the project's stated purpose of parsing 24-hour schedule entries.

Impact: none · Exploitability: unlikely

Developer action: none

Scanner
javascript-analysis webcrack-2.16.0_js-x-ray-16.0.0_signatures-1_literals-1_families-1
Rule
javascript.xray.unsafe-regex
File role
generated
Source
dist/backend.js:1120

Related contextual observations

Adjacent regex patterns in schedule parsing are similarly benign

low risk · high confidence

Several other regular expressions in this file parse JSON fragments and schedule records from model output. They are simple extraction patterns with no backtracking risk and serve the extension's normal data-parsing purpose.

Technical assessment

Nearby regexes such as /{[^{} ]*b(?:hour|time|start_hour|startHour)b[^{} ]*}/gi (line 1146) and /[sS]*]/ (line 1104) are also simple linear patterns used for extracting JSON fragments from model controller responses. None exhibit nested quantifiers or ambiguous alternation that would create catastrophic backtracking. They process short model-generated strings and are consistent with the extension's schedule-parsing purpose.

Impact: none · Exploitability: unlikely

Developer action: none

Sources:

Coverage and limitations

JavaScript coverage

Unresolved JavaScript stages

Tools

Limitations

Technical scan identity