Skip to content

Commit 9633ba4

Browse files
marcstraubeclaude
andauthored
security: enable detect-bidi-characters ESLint rule (#53)
## Summary - Enable `security/detect-bidi-characters` rule from eslint-plugin-security 4.0 (PR #46) - Protects against [Trojan Source](https://trojansource.codes/) attacks (invisible Unicode bidirectional control characters) - No findings or false positives in current codebase Closes #50 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent cb8569f commit 9633ba4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

eslint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ export default [
6969
'prettier/prettier': 'error',
7070

7171
// Security rules
72+
'security/detect-bidi-characters': 'error',
7273
'security/detect-eval-with-expression': 'error',
7374
'security/detect-unsafe-regex': 'error',
7475
'security/detect-non-literal-regexp': 'warn',

0 commit comments

Comments
 (0)