is-sql-injection
JSON →Lightweight package (v1.0.0) that uses a regex-based approach to detect potential SQL injection strings in user input. It exposes a single `isSQLInjection` function that returns a boolean indicating whether the input contains patterns commonly associated with SQL injection attacks. The package is minimal, with no dependencies, but its regex-based detection is simplistic and not suitable for production security; it should only be used for basic sanitization or educational purposes. Maintained on GitHub with CI and coverage, though release cadence is irregular.
Resources
packageis-sql-injection ↗