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

fix(sql_query): validate if the query is not malicious #1568

Merged
merged 7 commits into from
Jan 31, 2025

fix(sql_query): validate if the query is not malicious

8d50ee3
Select commit
Loading
Failed to load commit list.
Merged

fix(sql_query): validate if the query is not malicious #1568

fix(sql_query): validate if the query is not malicious
8d50ee3
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Jan 30, 2025 in 1s

80.00% of diff hit (target 82.53%)

View this Pull Request on Codecov

80.00% of diff hit (target 82.53%)

Annotations

Check warning on line 201 in pandasai/data_loader/loader.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

pandasai/data_loader/loader.py#L200-L201

Added lines #L200 - L201 were not covered by tests

Check warning on line 66 in pandasai/helpers/sql_sanitizer.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

pandasai/helpers/sql_sanitizer.py#L66

Added line #L66 was not covered by tests

Check warning on line 81 in pandasai/helpers/sql_sanitizer.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

pandasai/helpers/sql_sanitizer.py#L81

Added line #L81 was not covered by tests