Encryption of localStorage/indexedDb with server-side PBKDF2 derived secret secure?

Hello InformationSecurity community!
I have the following situation, and seeking for advice for our security architecture.
I am working for a client, who creates a resume builder app, where users can enter their details (e.g. email, phone … Continue reading Encryption of localStorage/indexedDb with server-side PBKDF2 derived secret secure?

how to send cookies or token in local storage to a remote server using reflected XSS

I have an XSS vulnerability identified by <script>alert(1);</script> in the url.
So when I put it in the url it gets executed (ex: www.example.com/admin/<script>alert(1);</script> ).
I also tried after loggin in, an… Continue reading how to send cookies or token in local storage to a remote server using reflected XSS

Password-based encryption: keeping the user logged in without entering password again

Context
I have a system where some of user’s data is encrypted via AES. Each user has their own key K. When the user creates an account, the K is generated and encrypted with a key derived from password via PBKDF2 (let’s call this key P). … Continue reading Password-based encryption: keeping the user logged in without entering password again

Secure API token handling in Windows app: the token is needed to authenticate the requests to a backend server

I’m currently working on a UWP app that involves validating redemption codes against a Cloudflare KV storage backend. That’s all the backend server is for.
I want the app to check the redemption code against Cloudflare KV using an API toke… Continue reading Secure API token handling in Windows app: the token is needed to authenticate the requests to a backend server