Can we remove use of eval in math.ts? #9056
Unanswered
colinlin-stripe
asked this question in
Troubleshooting
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Are we making use of
eval
in this math library anywhere in librechat?I see it being used in
banViolation.js
cacheConfig.js
seems like it can be replaced by
parseInt
orparseFloat
@danny-avila
is
math
being used anywhere else in the codebase?We would like to avoid use of
eval
as it opens up the risk of injection attacksBeta Was this translation helpful? Give feedback.
All reactions