Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added semgrep and some fixes #74

Merged
merged 2 commits into from
Feb 24, 2025
Merged

Added semgrep and some fixes #74

merged 2 commits into from
Feb 24, 2025

Conversation

klemen1999
Copy link
Collaborator

Purpose

Adds static application security testing workflow.
Issues related to import_module are omitted because they are used only by a specific internal function and with static module names.
Issues related to exec() are improved with introduction of safe_globals. Even better alternative would be to use RestrictedPython but it is only supported from >=py3.9 + the exec(...) patern would still be present so check would fail. With safe_globals we eliminate the use of dangerous built in functions by the script.

Specification

Dependencies & Potential Impact

Deployment Plan

Testing & Validation

@klemen1999 klemen1999 requested a review from a team as a code owner February 24, 2025 13:11
@klemen1999 klemen1999 requested review from kozlov721, tersekmatija and conorsim and removed request for a team February 24, 2025 13:11
@klemen1999 klemen1999 merged commit 43f03bf into main Feb 24, 2025
3 of 4 checks passed
@klemen1999 klemen1999 deleted the feat/semgrep branch February 24, 2025 14:11
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.

2 participants