TavernKeeper Scan Report

city-unit/SillyTavern-Chub-Search

Commit 8c699cc 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.download-to-execution

Expected behavior · high confidence

Detailed wording was omitted by the public report safety filter.

Technical evidence

Scanner reason: JavaScript analysis matched static JavaScript security signal javascript.download-to-execution. The match applies to this repository.

Contextual assessment: Detailed technical wording was omitted by the public report safety filter.

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.download-to-execution
File role
production
Source
index.js:63-370

Related contextual observations

Unsanitized API data rendered via innerHTML in character list items

low risk · medium confidence

Character details from the CHub API are placed directly into the page's HTML. If the API ever served malicious text, it could run unwanted scripts in the user's browser. The risk is low because it depends on the CHub API being compromised or serving hostile content.

Technical assessment

generateCharacterListItem interpolates character.name, character.description, character.tags, and character.author directly into an HTML template string that is assigned to characterListContainer.innerHTML via updateCharacterListInView. These fields originate from the CHub search API response (searchData.nodes) and are not sanitized or escaped. If the API response contained HTML or script tags, they would be rendered as DOM content, creating a potential stored-XSS vector. The same applies to the tag values rendered in span elements. This is a minor weakness because exploitation requires the CHub API to return hostile content, and no attacker-controlled input path to the API is demonstrated in the extension code.

Impact: low · Exploitability: unlikely

Developer action: Sanitize character name, description, tags, and author fields before inserting them into innerHTML, or use textContent / DOM construction instead of string interpolation into HTML.

Sources:

Coverage and limitations

JavaScript coverage

Tools

Limitations

Technical scan identity