posit-dev / posit-dev/ggsql

rudimentary sanitation of input

Open
#144 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

reader
Dominant language
Rust
Stars
554
Forks
30
Avg merge
17h 27m
Merged PRs (30d)
8

Description

  • Ensure DROP TABLE and CREATE OR REPLACE or not allowed in raw sql
  • Prohibit the use of semi-colon in FILTER and ORDER BY raw sql
  • Verify that literal string values are already sanitised

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the raw SQL handling for FILTER and ORDER BY, then inspect how literal string values are processed. Define tests covering DROP TABLE, CREATE OR REPLACE, semicolons in FILTER and ORDER BY, and literal strings; done means the requested unsafe inputs are rejected or confirmed safe.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, sql
Domain
databases, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.