Problem Description
Currently, �st_js_scanner.py works great for parsing Javascript files using an AST checker. However, TypeScript files (.ts, .tsx) are widely used in AI-based web development but are currently skipped or parsed as regular JS, resulting in syntax errors due to TS-specific syntax (types, interfaces, generics).
Proposed Feature
- Implement �st_ts_scanner.py to parse TypeScript source files.
- Integrate with a TS-compatible parser or leverage esprima with appropriate TS options.
- Support scanning TS files for sensitive logic, mock key bypasses, and pattern vulnerabilities.
Problem Description
Currently, �st_js_scanner.py works great for parsing Javascript files using an AST checker. However, TypeScript files (.ts, .tsx) are widely used in AI-based web development but are currently skipped or parsed as regular JS, resulting in syntax errors due to TS-specific syntax (types, interfaces, generics).
Proposed Feature