Skip to content

naughty "strings"

Ben Forbes Griffith edited this page Dec 28, 2023 · 1 revision

Big List of Naughty "Strings" 😈

…an evolving list of strings which have a high probability of causing issues when used as user-input data; they’re intended for use in helping either automated or manual QA testing…

e.g.

# Strings which may be used elsewhere in code

undefined
undef
null
NULL
(null)
nil
NIL
true
false
True
False
TRUE
FALSE
None
hasOwnProperty
then
constructor
\
\\

# Special Characters
# ASCII punctuation: characters may need to be escaped in some contexts…
# ⟦divided into three groups based on (US-layout) keyboard positions⟧

,./;'[]\-=
<>?:"{}|_+
!@#$%^&*()`~