Skip to content

test: fail copy that says staking is live or TrustShell says VETO - #208

Open
DealAppSeo wants to merge 1 commit into
mainfrom
feat/slogan-guard
Open

DealAppSeo wants to merge 1 commit into
mainfrom
feat/slogan-guard

Conversation

@DealAppSeo

Copy link
Copy Markdown
Owner

tests/slogan.test.ts fails when landing, /start, or README copy says staking is live, or TrustShell says VETO, as a slogan. A negation on the same line stays clear.

Related to #191.

The guard reads the landing, /start, and the README. A negation such as staking is not live stays clear.
@vercel

vercel Bot commented Sep 26, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
trustshell-landing Ready Ready Preview Sep 26, 2026 10:49pm UTC

Request Review

@strix-security

strix-security Bot commented Sep 26, 2026 •

Copy link
Copy Markdown

Strix Security Review

No security issues found.

Review summary

The PR adds a single Vitest unit test (tests/slogan.test.ts) that reads a hardcoded list of static copy files and checks their lines against three fixed regular expressions. The file paths are constant and joined from __dirname, and the input is local file content rather than user-controlled data, so there is no path traversal or injection surface. The regular expressions are simple literal alternations with no nested quantifiers, so there is no ReDoS risk. No secrets, authentication, authorization, deserialization, or other security-sensitive logic is introduced. No security issues found in the changed code.

Updated for 942f4f7.


Reviewed by Strix
Re-run review · Configure security review settings

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your trial has ended. Reactivate Greptile to resume code reviews.

@strix-security strix-security Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR adds a single Vitest unit test (tests/slogan.test.ts) that reads a hardcoded list of static copy files and checks their lines against three fixed regular expressions. The file paths are constant and joined from __dirname, and the input is local file content rather than user-controlled data, so there is no path traversal or injection surface. The regular expressions are simple literal alternations with no nested quantifiers, so there is no ReDoS risk. No secrets, authentication, authorization, deserialization, or other security-sensitive logic is introduced. No security issues found in the changed code.


Reviewed by Strix
Configure security review settings

This branch was successfully deployed

1 active deployment
Preview — 942f4f7a Deployed Sep 26, 2026 by vercel[bot]
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