mirror of
https://github.com/github/codeql.git
synced 2026-05-01 03:35:13 +02:00
JS: Do simple modeling of process.stdin as threat-model source
This commit is contained in:
@@ -6,3 +6,5 @@ extensions:
|
||||
extensible: sourceModel
|
||||
data:
|
||||
- ['fs', 'Member[promises].Member[readFile].ReturnValue.Member[then].Argument[0].Parameter[0]', 'file']
|
||||
- ['global', 'Member[process].Member[stdin].Member[read].ReturnValue', 'stdin']
|
||||
- ['global', 'Member[process].Member[stdin].Member[on,addListener].WithStringArgument[0=data].Argument[1].Parameter[0]', 'stdin']
|
||||
|
||||
Reference in New Issue
Block a user