rikki322

Results comments of rikki322

Update: additional affected rule I also found that the same issue exists in the rule `rust.rocket.path-traversal.rust-rocket-path-traversal.rust-rocket-path-traversal` ## Code Example Run Semgrep with the rule `rust.rocket.path-traversal.rust-rocket-path-traversal.rust-rocket-path-traversal` ``` use rocket::http::CookieJar; use rocket::fs::NamedFile;...

I also found that the same issue exists in the rule `rust.hyper.ssrf.reqwest-taint.reqwest-taint` and rule `rust.hyper.sql.diesel-taint.diesel-taint` ## Code Example Run Semgrep with the `rust.hyper.ssrf.reqwest-taint.reqwest-taint` rule ``` use bytes::{Buf, Bytes}; use http_body_util::{BodyExt,...

The same issue alse exists in the rule `rust.hyper.sql.tokio-postgres-taint.tokio-postgres-taint` and rule `rust.hyper.sql.sqlx-taint.sqlx-taint` ## Code Exampe Run Semgrep with the rule `rust.hyper.sql.tokio-postgres-taint.tokio-postgres-taint` ``` async fn match_fn(pool: Pool, req: Request) { let...

I can reproduce a very similar duplicate `DoubleLock` report with a `let ... else` variant: ```rust use std::sync::Mutex; use std::sync::Arc; #[macro_use] extern crate lazy_static; lazy_static! { static ref GRAPH_ACQUIRE_LOCK: Arc...

Thanks for reviewing this issue. I noticed it is labeled as `false-positive`. Just to clarify, this report is about a missing diagnostic rather than an incorrect diagnostic. Since CSA does...

Update: additional affected rules I also found that the same issue exists in the rule `rust.actix.ssrf.reqwest-taint.reqwest-taint` and rule `rust.rocket.ssrf.reqwest-taint.reqwest-taint` ## Code example Run Semgrep with the `rust.actix.ssrf.reqwest-taint.reqwest-taint` rule ``` use...