bruv, have you ever designed a fighter jet from a raft?
Because that is the equivalence of comparing OPFS is to a secured PostgreSQL query.
You cannot attain security from a raft, when fighter jets only need to drop bomps like a carpet to write on cities, and traverse microseconds of distances compared to whatever the wind is.
OPFS is insecure by design.