TavernKeeper Scan Report

platberlitz/sillytavern-character-colors

Commit 26f6957 Reviewed

No material or high-risk 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 high 0 material 2 low

What this review found

No material or high-risk item was identified.

Expected scanner matches (2)

OpenGrep reported tavernkeeper.dynamic-execution.javascript-eval

Expected behavior · high confidence

This code is part of a test suite. It dynamically loads a piece of the extension's own code to test it in isolation. This is a standard testing technique and does not pose a security risk because it only runs during development and only uses the project's own code, not external or user-provided input.

Technical evidence

Scanner reason: OpenGrep matched static-analysis rule tavernkeeper.dynamic-execution.javascript-eval in this repository.

Contextual assessment: The candidate is located in a test file and uses `new Function` to dynamically evaluate source code extracted directly from a local source file (`../src/ui.js`) via `readFile`. This is a common testing pattern to isolate and test internal functions without exporting them. The evaluated code is not derived from user input or external sources, and the execution occurs only within the test environment.

Impact: none · Exploitability: unlikely

Developer action: none

Scanner
opengrep 1.26.0
Rule
tavernkeeper.dynamic-execution.javascript-eval
File role
test
Source
tests/ui-import-review.test.js:77-80

OpenGrep reported tavernkeeper.dynamic-execution.javascript-eval

Expected behavior · high confidence

This code is part of a test suite. It dynamically loads a piece of the extension's own code to test it in isolation. This is a standard testing technique and does not pose a security risk because it only runs during development and only uses the project's own code, not external or user-provided input.

Technical evidence

Scanner reason: OpenGrep matched static-analysis rule tavernkeeper.dynamic-execution.javascript-eval in this repository.

Contextual assessment: The candidate is located in a test file and uses `new Function` to dynamically evaluate source code extracted directly from a local source file (`../src/ui.js`) via `readFile`. This is a common testing pattern to isolate and test internal functions without exporting them. The evaluated code is not derived from user input or external sources, and the execution occurs only within the test environment.

Impact: none · Exploitability: unlikely

Developer action: none

Scanner
opengrep 1.26.0
Rule
tavernkeeper.dynamic-execution.javascript-eval
File role
test
Source
tests/ui-import-review.test.js:26-30

Coverage and limitations

Tools

Limitations

Technical scan identity