Repository navigation
Commit 93a038c
committed
fix(prompt_injection): import get_line_number used by the bidi scan
The bidi-control block calls get_line_number at line 470 but the helper
was never added to the .common import, so ruff reported F821 and the
five bidi tests raised NameError at runtime.
static_patterns_data_exfiltration.py already imports the same helper
from .common and calls it with the same signature.
Signed-off-by: Mohammed Alkindi <[email protected]>1 parent d2ff506 commit 93a038c
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
0 commit comments