Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

flagrix-test-medium

Intentional test fixture for Flagrix — contains no functional malicious code.

This repository exists so you can try the Flagrix security scanner and see its medium-risk / "review before cloning" verdict end to end. It reproduces the shape of patterns that warrant a closer look — but nothing here is clearly malicious, and nothing works.

Everything here is inert

Every value is deliberately non-functional. Nothing in this repository executes, connects to a real server, or performs any harmful action:

  • The base64 strings decode to harmless placeholder text — no encoded payload, URL, or command.
  • The API key is a random throwaway string, not a real credential.
  • The database URL points at localhost with fake credentials.
  • The cookie and clipboard reads return their values to the caller and go nowhere — there is no network destination.

Do not "fix" these patterns — they exist on purpose.

What Flagrix flags

File Pattern Severity
src/encoder.js heavy base64 encoding (6+ long strings) medium
src/analytics.js reads document.cookie medium
src/analytics.js reads the clipboard (navigator.clipboard.readText) medium
src/config.js hardcoded API key committed to source high
src/config.js hardcoded database connection string medium

Expected verdict: MEDIUM RISK — review before cloning (several medium findings, none critical, so the score lands in the middle band).

About

Intentional Flagrix test fixture — reproduces MEDIUM-risk detection patterns (no real malware)

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages