Quotes a shell argument for a specific shell grammar. This is a sanitizer, not proof that the overall command is safe.
The pack does not provide a callable signature for this record; the watched access path is shown directly.
| Arg | Access path | Purpose | Watched |
|---|---|---|---|
| Argument[0] | Argument[0] | The access path Atropos marks for this model. | ▲ sanitizer |
External input alters the syntax or behavior of an operating-system command.
An attacker adds separators, substitutions, or flags that turn a value into a second command or alter the first.
Atropos identifies Argument[0] -> ReturnValue as a command-injection sanitizer. It cannot see whether untrusted data reaches this call in your repository.
Lachesis is the codebase-level step: it traces reachability and guards for this symbol.
Check this symbol in Lachesis →Safer direction: Prefer removing the shell boundary entirely; quote only as a constrained compatibility measure.
exec('tool ' + userInput);exec('tool ' + quote(userInput));| Role | Kind | Access path | Model ID | Confidence |
|---|---|---|---|---|
| sanitizer | command-injection | Argument[0] -> ReturnValue | javascript.shell-quote.quote.a0-ret | medium · corrob. 2 |