shell metacharacter
A character with special meaning to a shell, such as ; & | $ ` or >, that can start a new command or redirect output.
In more detail
Removing one metacharacter from input does not make it safe, because there are many and they combine. The reliable fix is to avoid the shell entirely.
Related terms
- command injection — An attack where input meant as data, such as a file name or form field, gets run as commands because a program built code from it.
- shell — The program that reads the commands you type, runs them and shows the results; sh and bash are common ones.
Taught in
- Injection In All Its Forms — Application Security & Threat Modeling for Engineers
- Static Application Security Testing — Application Security & Threat Modeling for Engineers