October 22, 2024
Chicago 12, Melborne City, USA

security

Topics relating to application security and attacks against software. Please don’t use this tag alone, that results in ambiguity. If your question is not about

security

Redirecting with Token Authentication Between Angular Apps: Pros and Cons?

I’m working on an Angular application (Site A) that implements a login system. After users log in, I want to redirect them to another Angular application (Site B) while passing along the authentication token generated by Site A. The goal is to allow Site B to recognize the user as logged in without requiring them

Read More
security

The Anti-Clickjacking X-Frame-Options Header Is Not Present

Is There A Way To Add an Anti-Click Jacking Header In Shopify ? If There Is I Need Help As The Site Is Being Warned For The Same Saying That There Is No Anti-Click Jacking Header File Present In Store By Default. NEED HELP !!! Internet Gives Suggestions For React Code And Our Tech Stack

Read More
security

In Angular 17, In upload file functionality. Can we check if there are some unwanted objects in the uploaded file? (.exe files might be)

I have an upload file functionality in my screen, where the user can upload files that can be pdf file, excel file, etc. To keep a check on security vulnerability that can be caused to my system. I want to check if there are some malicious objects in the uploaded file, I won’t take that

Read More
security

Spring Boot 3: SecurityContextHolder returns null in CompletableFuture, works fine in Spring Boot 2

I’m migrating an application from Spring Boot 2 to Spring Boot 3, and I’ve encountered an issue with security context propagation in asynchronous code. I have a REST controller method that executes long-running logic asynchronously using CompletableFuture. Here’s a simplified version of the code: CompletableFuture.supplyAsync(() -> logic()) .thenApply(it -> { Authentication authentication = SecurityContextHolder.getContext().getAuthentication(); //

Read More
security

Pac4j with Quarkus

We are currently migrating an existing product using JAX-RS and Pac4j to Quarkus. Quarkus has it’s own security mechanism so Pac4j is not needed. However, as I’d like to migrate step by step I’m wondering if Pac4j supports Quarkus as I could not find any relevant information, yet. Does anyone have experience with a similar

Read More
security

Are there any existing audit tools for new/ existing packages to securely pip install python packages and prevent malware risks

I’m concerned about the security of my Python projects, especially regarding the use of pip for installing packages. Reading stories about malicious packages being uploaded to PyPI and considering the risks associated with using pip install directly. Based on my research I have found some suggestions like using an auditing tool but I cant really

Read More
security

Chrome disable SSL checking for sites?

I’ve created powershell script which open particular url. Now I have a problem: before openning this url I’ve got a pop-up with information about ‘Your connection is not private’. How to avoid this security task? #paths to Chromium needed executables $Chromium="C:\Program` Files\Google\Chrome\Application\chrome.exe" #... # some code #... elseif ($i -eq 5) { Start-Process -FilePath $Chromium

Read More
security

How can I detect azure cloud defender recommendations early?

Is there a good way to prevent defender for cloud recommendations/warnings before doing changes? Defender for DevOps usually deals with SAST scanning on repos, but the warnings I’m interested in blocking are terraform changes that modifies/creates resources in Azure that in turn leads to defender for cloud warnings. For example Using Storage account with SAS

Read More
security

Is running a docker container for a single ephemeral process with root user really a security risk in production?

I’m on a project where i have to minimize architecture security concerns. I’ve built a whole micro-services infrastructure with docker containers. To secure the host machine side, the docker environment is in rootless mode. In addition, all the containers are running with non-root user. I’m using docker compose secrets to allow some services to get

Read More
security

Security with microservices, Spring boot

hope you are doing well. I am learning about microservices using Spring Boot, and currently, I’m investigating security in microservices with JWT tokens. I have an authorization service (which handles user creation, login, sign-up, etc.), a main service (which contains some business logic), and an API gateway. As I understand, we should use the API

Read More