TypeScript Patterns
68+ vulnerability patterns for TypeScript and JavaScript applications including Node.js, React, Next.js, and Express frameworks.
Overview
Bloodhound detects security vulnerabilities specific to TypeScript and JavaScript ecosystems, including modern framework patterns for React, Next.js, Express, and Node.js applications.
Injection Vulnerabilities
SQL Injection
Unsanitized user input in SQL queries allows attackers to manipulate database operations.
NoSQL Injection
MongoDB and other NoSQL databases are vulnerable to operator injection.
Command Injection
User input passed to shell commands can execute arbitrary system commands.
Cross-Site Scripting (XSS)
Reflected XSS
User input reflected in HTML without proper encoding.
DOM-Based XSS
Client-side JavaScript that inserts untrusted data into the DOM.
Prototype Pollution
Prototype Pollution
Modifying Object.prototype through malicious input affects all objects.
Server-Side Request Forgery
Server-Side Request Forgery
Attacker-controlled URLs can access internal services and cloud metadata.
Authentication Issues
Weak JWT Configuration
Insecure JWT signing algorithms or weak secrets enable token forgery.
Timing Attack on Comparison
Non-constant-time string comparison leaks information through timing.