TavernKeeper Scan Report

mokimoko/SillyTavern-SimpleSummarizer

Commit 6f907c8 Reviewed

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

This advisory report describes what the named tools and contextual reviewer 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.

Minor cautions

JavaScript analysis reported javascript.xray.unsafe-regex

Minor caution · medium confidence

The extension uses a regular expression to pull quotes out of AI responses. Under very specific conditions, a maliciously crafted AI response could make the browser hang temporarily. This is a minor performance issue and not a security danger.

Technical evidence

Scanner reason: JavaScript analysis matched static JavaScript security signal javascript.xray.unsafe-regex in this repository.

Contextual assessment: The regex on line 371 could, under crafted LLM output, cause catastrophic backtracking, leading to a temporary browser freeze. However, the input is bounded and controlled by the user, so the actual risk of meaningful harm (credential theft, data exfiltration, persistent damage) is extremely low. No evidence of an active exploit exists in the supplied code.

Impact: low · Exploitability: unlikely

Developer action: Consider simplifying the regex or adding a length limit to prevent potential backtracking. Using a non-backtracking parser or validating input length before applying the regex would mitigate the theoretical risk.

Scanner
javascript-analysis webcrack-2.16.0_js-x-ray-16.0.0_signatures-1_literals-1
Rule
javascript.xray.unsafe-regex
File role
production
Source
src/generator.js:371
Expected scanner matches (1)

JavaScript analysis reported javascript.xray.obfuscated-code

Expected behavior · high confidence

A scanner thought this file might be hiding something, but looking at the actual code shows it's just normal, easy-to-read instructions for the summarization tool's interface.

Technical evidence

Scanner reason: JavaScript analysis matched static JavaScript security signal javascript.xray.obfuscated-code in this repository.

Contextual assessment: The JS-X-Ray obfuscated-code signal is a false positive triggered by the file's opening comment block. The full source is plain, well-structured JavaScript with no obfuscation, encoded strings, or concealed logic. The file performs standard DOM manipulation and event handling for a chat-batch summarization UI, consistent with the extension's stated purpose.

Impact: none · Exploitability: unlikely

Developer action: none

Scanner
javascript-analysis webcrack-2.16.0_js-x-ray-16.0.0_signatures-1_literals-1
Rule
javascript.xray.obfuscated-code
File role
production
Source
src/ui.js:1

Coverage and limitations

JavaScript coverage

Tools

Limitations

Technical scan identity