Skip to content

Conversation

@Pradhvan
Copy link
Member

  • Add RestrictedPython expressions to existing API requests with datetime, math,
    random, regex, time, and uuid operations
  • Create comprehensive security validation test files covering all ALLOWED_MODULES
  • Document unsafe operations that should be blocked (os, sys, exec, eval, etc.)
  • Test Unicode handling, isolation, edge cases, and complex expressions
  • Update response time threshold from 1s to 5s for RestrictedPython overhead.

Closes #32

@Pradhvan Pradhvan requested a review from a team as a code owner August 21, 2025 08:43
@Pradhvan Pradhvan requested a review from camilamaia August 21, 2025 08:48
@Pradhvan
Copy link
Member Author

Hi @camilamaia 👋🏾 I have added the tests, just one heads up the examples were generated by claude. I did review them throughly before pushing them for review.

@Pradhvan Pradhvan merged commit 8ef3a12 into main Aug 22, 2025
@Pradhvan Pradhvan deleted the Issue-32-UpdateExamples branch August 22, 2025 06:35
camilamaia added a commit that referenced this pull request Aug 28, 2025
camilamaia added a commit that referenced this pull request Aug 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add example to test PR replacing eval() with RestrictedPython

2 participants