diff --git a/.devcontainer/.windsurfrules b/.devcontainer/.windsurfrules index 33b84cf733..b4b58ee17b 100644 --- a/.devcontainer/.windsurfrules +++ b/.devcontainer/.windsurfrules @@ -1,6 +1,6 @@ # Windsurf rules -- Use the Java 26 toolchain that ships with the dev container. +- Use the Java 27 toolchain that ships with the dev container. - Run `./mvnw test -Dtest=ChallengeNNTest` for the challenge you touched. - Follow the challenge conventions documented in `AGENTS.md`. - Do not commit real credentials. The staging deploy helper expects the shared diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 94e4fcccab..88795d792a 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,4 +1,4 @@ -FROM eclipse-temurin:26-jdk-resolute +FROM eclipse-temurin:27.0.1.0-jdk-resolute LABEL org.opencontainers.image.title="WrongSecrets Dev Container" LABEL org.opencontainers.image.description="Development environment for OWASP WrongSecrets" diff --git a/.github/scripts/.bash_history b/.github/scripts/.bash_history index b80569c2a4..79eb07c2d8 100644 --- a/.github/scripts/.bash_history +++ b/.github/scripts/.bash_history @@ -347,7 +347,7 @@ rm -rf jdk-18_linux-x64_bin.deb git rebase -i main git rebase -i master git stash -export tempPassword="eODAOPN4MwtQu6cpYZNs9Wqmj0yCp6AC1CsNYCmTaAA=" +export tempPassword="lKS72NMekwKpj8FqQjroN/nQCRKOR4m3tuTJEmLax7M=" mvn run tempPassword k6 npx k6 diff --git a/.github/workflows/build-devcontainer.yml b/.github/workflows/build-devcontainer.yml index ecba20423b..a9d539efbf 100644 --- a/.github/workflows/build-devcontainer.yml +++ b/.github/workflows/build-devcontainer.yml @@ -71,18 +71,18 @@ jobs: platforms: ${{ matrix.platform }} load: true tags: | - ${{ env.IMAGE_NAME }}:26-resolute-base-${{ matrix.arch }}-${{ github.sha }} + ${{ env.IMAGE_NAME }}:27-resolute-base-${{ matrix.arch }}-${{ github.sha }} cache-from: type=gha,scope=devcontainer-base-${{ matrix.arch }} cache-to: type=gha,mode=max,scope=devcontainer-base-${{ matrix.arch }} - # The devcontainer.json refers to 26-resolute-base. + # The devcontainer.json refers to 27-resolute-base. # Make the architecture-specific base image available # locally under that exact name. - name: Tag base image run: | docker tag \ - "${IMAGE_NAME}:26-resolute-base-${{ matrix.arch }}-${{ github.sha }}" \ - "${IMAGE_NAME}:26-resolute-base" + "${IMAGE_NAME}:27-resolute-base-${{ matrix.arch }}-${{ github.sha }}" \ + "${IMAGE_NAME}:27-resolute-base" # Build the actual Dev Container. # @@ -135,11 +135,11 @@ jobs: if: github.event_name != 'pull_request' run: | docker tag \ - "${IMAGE_NAME}:26-resolute-base-${{ matrix.arch }}-${{ github.sha }}" \ - "${IMAGE_NAME}:26-resolute-base-${{ matrix.arch }}" + "${IMAGE_NAME}:27-resolute-base-${{ matrix.arch }}-${{ github.sha }}" \ + "${IMAGE_NAME}:27-resolute-base-${{ matrix.arch }}" docker push \ - "${IMAGE_NAME}:26-resolute-base-${{ matrix.arch }}" + "${IMAGE_NAME}:27-resolute-base-${{ matrix.arch }}" manifest: name: Create multi-arch manifest @@ -165,7 +165,7 @@ jobs: - name: Create final Dev Container manifest run: | docker buildx imagetools create \ - --tag "${IMAGE_NAME}:26-resolute" \ + --tag "${IMAGE_NAME}:27-resolute" \ --tag "${IMAGE_NAME}:${GITHUB_SHA}" \ "${IMAGE_NAME}:amd64-${GITHUB_SHA}" \ "${IMAGE_NAME}:arm64-${GITHUB_SHA}" diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 3f7ce2a7bc..839b5e16a6 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -69,12 +69,12 @@ jobs: #- run: | # make bootstrap # make release - - name: Set up JDK 26 + - name: Set up JDK 27 uses: actions/setup-java@v5 with: - java-version: "26" + java-version: "27" distribution: "temurin" - cache: maven + cache: "maven" - name: run mvn clean package run: ./mvnw clean package -Ddependency-check.skip=true -Dmaven.test.skip=true - name: Perform CodeQL Analysis diff --git a/.github/workflows/container_test.yml b/.github/workflows/container_test.yml index 504fb979d7..d14f71f280 100644 --- a/.github/workflows/container_test.yml +++ b/.github/workflows/container_test.yml @@ -23,10 +23,10 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: - uses: actions/checkout@v7 - - name: Set up JDK 26 + - name: Set up JDK 27 uses: actions/setup-java@v5 with: - java-version: "26" + java-version: "27" distribution: "temurin" cache: "maven" - name: Navigate to test script and run diff --git a/.github/workflows/dast-zap-test.yml b/.github/workflows/dast-zap-test.yml index 7b40694c50..5f14149c16 100644 --- a/.github/workflows/dast-zap-test.yml +++ b/.github/workflows/dast-zap-test.yml @@ -17,12 +17,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v7 - - name: Set up JDK 26 + - name: Set up JDK 27 uses: actions/setup-java@v5 with: - java-version: "26" + java-version: "27" distribution: "temurin" - cache: maven + cache: "maven" - name: Clean install run: ./mvnw --no-transfer-progress clean install -DskipTests -Ddependency-check.skip -Dcyclonedx.skip=true -Dexec.skip - name: Start wrongsecrets diff --git a/.github/workflows/desktop-container-publish.yml b/.github/workflows/desktop-container-publish.yml index 6a6c25d257..f219c398db 100644 --- a/.github/workflows/desktop-container-publish.yml +++ b/.github/workflows/desktop-container-publish.yml @@ -29,10 +29,10 @@ jobs: - name: Checkout code uses: actions/checkout@v7 - - name: Set up JDK 26 + - name: Set up JDK 27 uses: actions/setup-java@v5 with: - java-version: "26" + java-version: "27" distribution: "temurin" cache: "maven" diff --git a/.github/workflows/github-pages-preview.yml b/.github/workflows/github-pages-preview.yml index ac1f98f797..90a8bc927e 100644 --- a/.github/workflows/github-pages-preview.yml +++ b/.github/workflows/github-pages-preview.yml @@ -35,10 +35,10 @@ jobs: - name: Checkout uses: actions/checkout@v7 - - name: Set up JDK 26 + - name: Set up JDK 27 uses: actions/setup-java@v5 with: - java-version: "26" + java-version: "27" distribution: "temurin" cache: "maven" diff --git a/.github/workflows/java_swagger_doc.yml b/.github/workflows/java_swagger_doc.yml index e0faa9e7a8..b8b8163f20 100644 --- a/.github/workflows/java_swagger_doc.yml +++ b/.github/workflows/java_swagger_doc.yml @@ -19,12 +19,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v7 - - name: Set up JDK 26 + - name: Set up JDK 27 uses: actions/setup-java@v5 with: - java-version: "26" + java-version: "27" distribution: "temurin" - cache: maven + cache: "maven" - name: Clean install run: ./mvnw --no-transfer-progress clean install -DskipTests -Ddependency-check.skip -Dcyclonedx.skip=true -Dexec.skip - name: Show npm logs on failure diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1fc2b706c8..8e84a465ed 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -30,10 +30,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v7 - - name: Set up JDK 26 + - name: Set up JDK 27 uses: actions/setup-java@v5 with: - java-version: "26" + java-version: "27" distribution: "temurin" cache: "maven" - name: checkstyle with Maven @@ -44,10 +44,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v7 - - name: Set up JDK 26 + - name: Set up JDK 27 uses: actions/setup-java@v5 with: - java-version: "26" + java-version: "27" distribution: "temurin" cache: "maven" - name: spotbugs with Maven @@ -60,10 +60,10 @@ jobs: contents: read steps: - uses: actions/checkout@v7 - - name: Set up JDK 26 + - name: Set up JDK 27 uses: actions/setup-java@v5 with: - java-version: "26" + java-version: "27" distribution: "temurin" cache: "maven" - name: Test with Maven diff --git a/.github/workflows/master-container-publish.yml b/.github/workflows/master-container-publish.yml index 58468ef3f2..cfbfef963a 100644 --- a/.github/workflows/master-container-publish.yml +++ b/.github/workflows/master-container-publish.yml @@ -20,10 +20,10 @@ jobs: - name: Checkout code uses: actions/checkout@v7 - - name: Set up JDK 26 + - name: Set up JDK 27 uses: actions/setup-java@v5 with: - java-version: "26" + java-version: "27" distribution: "temurin" cache: "maven" diff --git a/.github/workflows/minikube-k8s-test.yml b/.github/workflows/minikube-k8s-test.yml index 8f83289768..9986a03a30 100644 --- a/.github/workflows/minikube-k8s-test.yml +++ b/.github/workflows/minikube-k8s-test.yml @@ -33,71 +33,125 @@ jobs: run: | set -euo pipefail - kubectl apply -f k8s/workspace-psa.yml + echo "=== DEBUG: Starting deployment ===" + kubectl version --client + kubectl get nodes - echo "Setting up the Bitnami Sealed Secrets controller" + echo "=== Applying workspace-psa.yml ===" + kubectl apply -f k8s/workspace-psa.yml + echo "=== Setting up the Bitnami Sealed Secrets controller ===" kubectl apply \ -f https://github.com/bitnami-labs/sealed-secrets/releases/download/v0.27.0/controller.yaml - kubectl apply -f k8s/sealed-secret-controller.yaml kubectl apply -f k8s/main.key # Restart controller so the test key is picked up + echo "=== Restarting sealed-secrets-controller ===" kubectl delete pod \ -n kube-system \ -l name=sealed-secrets-controller \ --ignore-not-found # Wait for controller to come back + echo "=== Waiting for sealed-secrets-controller rollout ===" kubectl rollout status \ deployment/sealed-secrets-controller \ -n kube-system \ --timeout=120s + echo "=== Sealed-secrets-controller status ===" + kubectl get pods -n kube-system -l name=sealed-secrets-controller + echo "=== Creating sealed-challenge48.json ===" kubectl create -f k8s/sealed-challenge48.json - echo "Finishing Sealed Secrets setup" + # Wait for the sealed secret to be unsealed and the secret to be created + echo "=== Waiting for challenge48secret to be created ===" + for i in {1..30}; do + if kubectl get secret challenge48secret > /dev/null 2>&1; then + echo "✓ challenge48secret created" + kubectl get secret challenge48secret -o yaml | head -5 + break + fi + echo "Waiting for challenge48secret... ($i/30)" + sleep 2 + done + echo "=== Applying configuration ===" kubectl apply -f k8s/secrets-config.yml + echo "✓ Applied secrets-config.yml" + kubectl get configmap secrets-file -o yaml | head -5 + kubectl apply -f k8s/secrets-secret.yml + echo "✓ Applied secrets-secret.yml" + kubectl get secret funnystuff -o yaml | head -5 + kubectl apply -f k8s/challenge33.yml + echo "✓ Applied challenge33.yml" + kubectl get secret challenge33 -o yaml | head -5 + + echo "=== Applying secret-challenge-deployment.yml ===" kubectl apply -f k8s/secret-challenge-deployment.yml + echo "✓ Applied secret-challenge-deployment.yml" + kubectl apply -f k8s/challenge53/secret-challenge53.yml - echo "Deploy wrongsecrets-llama app" + echo "✓ Applied challenge53.yml" + + echo "=== Deploying wrongsecrets-llama app ===" kubectl apply -f k8s/challenge74/wrongsecrets-llama-secret.yaml kubectl apply -f k8s/challenge74/wrongsecrets-llama-service.yaml kubectl apply -f k8s/challenge74/wrongsecrets-llama-deployment.yaml while [[ $(kubectl get pods -l app=challenge74-llama -o 'jsonpath={..status.conditions[?(@.type=="Ready")].status}') != "True" ]]; do echo "waiting for wrongsecrets-llama" && sleep 2 done - kubectl get pods -l app=challenge74-llama - kubectl logs deployment/challenge74-llama + echo "=== Llama pod status ===" + kubectl get pods -l app=challenge74-llama -o wide + kubectl logs deployment/challenge74-llama --tail=20 - name: Wait for application shell: bash run: | set -euo pipefail + echo "=== Waiting for secret-challenge rollout ===" kubectl rollout status \ deployment/secret-challenge \ - --timeout=180s + --timeout=180s || { + echo "=== ROLLOUT FAILED ===" + kubectl get pods -l app=secret-challenge -o wide + kubectl describe deployment secret-challenge + kubectl get events --sort-by=.lastTimestamp | tail -20 + exit 1 + } + echo "=== Waiting for secret-challenge pod to be ready ===" kubectl wait \ --for=condition=ready \ pod \ -l app=secret-challenge \ - --timeout=180s + --timeout=180s || { + echo "=== POD READY WAIT FAILED ===" + kubectl get pods -l app=secret-challenge -o wide + kubectl describe pods -l app=secret-challenge + kubectl get events --sort-by=.lastTimestamp | tail -20 + exit 1 + } + echo "=== Pod is ready, checking logs ===" + kubectl logs -l app=secret-challenge --tail=50 || true - name: Start port forwarding shell: bash run: | set -euo pipefail + echo "=== Getting pod name ===" POD=$(kubectl get pod \ -l app=secret-challenge \ -o jsonpath="{.items[0].metadata.name}") + echo "Forwarding pod: $POD" - echo "Forwarding pod $POD" + echo "=== Pod details ===" + kubectl get pod $POD -o wide + kubectl describe pod $POD | head -30 kubectl port-forward \ "$POD" \ @@ -108,44 +162,93 @@ jobs: echo $! > port-forward.pid # Wait until the application is actually reachable + echo "=== Waiting for application to be reachable ===" for i in {1..30}; do if curl --fail --silent --show-error \ http://localhost:8080/ > /dev/null; then - echo "Application is reachable" + echo "✓ Application is reachable" exit 0 fi - echo "Waiting for application..." + echo "Waiting for application... ($i/30)" sleep 2 done - echo "Application did not become reachable" + echo "=== APPLICATION NOT REACHABLE ===" + echo "Port forward log:" cat port-forward.log + echo "=== Pod status ===" + kubectl get pods -l app=secret-challenge -o wide + echo "=== Pod logs ===" + kubectl logs $POD --tail=100 || true + echo "=== Pod describe ===" + kubectl describe pod $POD || true exit 1 - - name: Test challenges + - name: Retrieve and display challenges shell: bash run: | set -euo pipefail + mkdir -p "$RUNNER_TEMP/spoil-responses" + for challenge in 5 6 7 33; do + response="$RUNNER_TEMP/spoil-responses/challenge-$challenge.html" + status="$RUNNER_TEMP/spoil-responses/challenge-$challenge.http" + result="$RUNNER_TEMP/spoil-responses/challenge-$challenge.exit" + : > "$response" + if curl --fail-with-body --silent --show-error --retry 5 --retry-delay 2 \ + --output "$response" --write-out '%{http_code}' \ + "http://localhost:8080/spoil/challenge-$challenge" > "$status"; then + printf '0\n' > "$result" + else + code=$? + printf '%s\n' "$code" > "$result" + fi + printf '\n=== challenge-%s: HTTP ' "$challenge" + cat "$status" + printf ', curl exit %s ===\n' "$(<"$result")" + cat "$response" || true + printf '\n' + done + - name: Test challenges + shell: bash + run: | + set -euo pipefail + failed=0 for challenge in 5 6 7 33; do - echo "Testing challenge-$challenge" - - if curl \ - --fail \ - --silent \ - --show-error \ - --retry 5 \ - --retry-delay 2 \ - "http://localhost:8080/spoil/challenge-$challenge" \ - | grep -q spoiler-answer - then + response="$RUNNER_TEMP/spoil-responses/challenge-$challenge.html" + result="$RUNNER_TEMP/spoil-responses/challenge-$challenge.exit" + if [[ -f "$result" ]] && [[ $(<"$result") == 0 ]] && grep -q spoiler-answer "$response"; then echo "spoil-challenge-$challenge works" else echo "ERROR: spoil-challenge-$challenge failed" - exit 1 + failed=1 fi done + exit "$failed" +# - name: Test challenges +# shell: bash +# run: | +# set -euo pipefail +# +# for challenge in 5 6 7 33; do +# echo "Testing challenge-$challenge" +# +# if curl \ +# --fail \ +# --silent \ +# --show-error \ +# --retry 5 \ +# --retry-delay 2 \ +# "http://localhost:8080/spoil/challenge-$challenge" \ +# | grep -q spoiler-answer +# then +# echo "spoil-challenge-$challenge works" +# else +# echo "ERROR: spoil-challenge-$challenge failed" +# exit 1 +# fi +# done - name: Test challenge 74 prompt injection (llama e2e) shell: bash diff --git a/.github/workflows/pr-preview.yml b/.github/workflows/pr-preview.yml index 72f8ddc157..f02815c298 100644 --- a/.github/workflows/pr-preview.yml +++ b/.github/workflows/pr-preview.yml @@ -28,10 +28,10 @@ jobs: - name: Checkout code uses: actions/checkout@v7 - - name: Set up JDK 26 + - name: Set up JDK 27 uses: actions/setup-java@v5 with: - java-version: "26" + java-version: "27" distribution: "temurin" cache: "maven" @@ -248,10 +248,10 @@ jobs: ref: master path: main-code - - name: Set up JDK 26 for PR build + - name: Set up JDK 27 for PR build uses: actions/setup-java@v5 with: - java-version: "26" + java-version: "27" distribution: "temurin" cache: "maven" @@ -277,10 +277,10 @@ jobs: docker build --build-arg argBasedVersion="${{ steps.extract-pr-version.outputs.docker_version }}" -t wrongsecrets-pr . echo "PR Docker image built successfully" - - name: Set up JDK 26 for main + - name: Set up JDK 27 for main uses: actions/setup-java@v5 with: - java-version: "26" + java-version: "27" distribution: "temurin" cache: "maven" @@ -339,7 +339,6 @@ jobs: uses: actions/setup-node@v6 with: node-version: '26' - - name: Install Playwright run: | npm install playwright@latest diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index ae9d10aa17..c3e24e5bc4 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -21,18 +21,18 @@ jobs: - name: Setup python uses: actions/setup-python@v6 with: - python-version: "3.15" + python-version: "3.15.2" - name: Format python code with black uses: psf/black@stable - uses: actions/setup-node@v6 with: - node-version: 26 + node-version: '26' cache: "npm" - uses: actions/setup-java@v5 with: distribution: "temurin" - java-version: "26" - cache: maven + java-version: "27" + cache: "maven" - name: Install npm dependencies run: npm install - uses: actions/cache@v4 diff --git a/.github/workflows/scanner-comparison.yml b/.github/workflows/scanner-comparison.yml index 88f8c03b23..f7a9f7a03e 100644 --- a/.github/workflows/scanner-comparison.yml +++ b/.github/workflows/scanner-comparison.yml @@ -93,7 +93,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v6 with: - python-version: '3.15' + python-version: '3.15.2' - name: Install detect-secrets run: | @@ -163,7 +163,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v6 with: - python-version: '3.15' + python-version: '3.15.2' - name: Install gittyleaks run: | @@ -198,7 +198,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v6 with: - python-version: '3.15' + python-version: '3.15.2' - name: Install whispers (with timeout handling) run: | @@ -239,7 +239,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v6 with: - python-version: '3.15' + python-version: '3.15.2' - name: Install trufflehog3 run: | diff --git a/.github/workflows/version-sync-check.yml b/.github/workflows/version-sync-check.yml index ea0fce3d97..744feec8cb 100644 --- a/.github/workflows/version-sync-check.yml +++ b/.github/workflows/version-sync-check.yml @@ -16,10 +16,10 @@ jobs: - name: Checkout code uses: actions/checkout@v7 - - name: Set up JDK 26 + - name: Set up JDK 27 uses: actions/setup-java@v5 with: - java-version: "26" + java-version: "27" distribution: "temurin" cache: "maven" diff --git a/.github/workflows/visual-diff.yml b/.github/workflows/visual-diff.yml index 089b3326e3..975100305d 100644 --- a/.github/workflows/visual-diff.yml +++ b/.github/workflows/visual-diff.yml @@ -25,10 +25,10 @@ jobs: ref: master path: main-code - - name: Set up JDK 26 for PR build + - name: Set up JDK 27 for PR build uses: actions/setup-java@v5 with: - java-version: "26" + java-version: "27" distribution: "temurin" cache: "maven" @@ -53,10 +53,10 @@ jobs: docker build --build-arg argBasedVersion="${{ steps.extract-pr-version.outputs.docker_version }}" -t wrongsecrets-pr . echo "PR Docker image built successfully" - - name: Set up JDK 26 for main build + - name: Set up JDK 27 for main build uses: actions/setup-java@v5 with: - java-version: "26" + java-version: "27" distribution: "temurin" cache: "maven" @@ -112,7 +112,6 @@ jobs: uses: actions/setup-node@v6 with: node-version: '26' - - name: Install Playwright run: | npm install playwright@latest diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 56c67ca94a..0db21bc409 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,7 +9,7 @@ ci: submodules: false repos: - repo: https://github.com/renovatebot/pre-commit-hooks - rev: 44.241.0 + rev: 44.251.0 hooks: - id: renovate-config-validator - repo: https://github.com/eslint/eslint @@ -50,13 +50,18 @@ repos: hooks: - id: commitlint stages: [commit-msg] - - repo: https://github.com/ejba/pre-commit-maven - rev: v0.3.4 + - repo: local hooks: - id: maven - args: ["clean compile"] - - id: maven - args: ["spotless:apply"] + name: maven clean compile + entry: ./mvnw clean compile + language: system + pass_filenames: false + - id: maven-spotless-apply + name: maven spotless apply + entry: ./mvnw spotless:apply + language: system + pass_filenames: false - repo: https://github.com/psf/black rev: 26.10.1 hooks: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3541cc00db..b5262ef923 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -170,7 +170,7 @@ Pull requests should be as small/atomic as possible. Large, wide-sweeping change The project includes a fully configured Dev Container for **VS Code** and **GitHub Codespaces**. You do not need to install Java, Maven, Node.js, Python, or Terraform tools locally on your machine—everything is self-contained inside the Dev Container. The Dev Container environment automatically provides: -- **JDK 26** & **Maven Wrapper** (`./mvnw`) +- **JDK 27** & **Maven Wrapper** (`./mvnw`) - **Node.js 26** & **npm** (for commitlint, ESLint, and frontend build) - **Python 3** & **pre-commit** hooks - **Terraform**, **tflint**, and **terraform-docs** (for pre-commit validation) @@ -267,8 +267,8 @@ Please be sure to take a careful look at our [Code of Conduct](https://github.co 2. **Node.Js 26** [_Node.Js_](https://nodejs.org/en/) is an open-source library and a cross-platform JavaScript **runtime environment** specifically for running web applications outside one's browser. -3. **JDK-26** - [_JDK_](https://www.oracle.com/java/technologies/downloads/#java26) is a tool used in development and testing programs written in the Java programming language. +3. **JDK-27** + [_JDK_](https://www.oracle.com/java/technologies/downloads/#java27) is a tool used in development and testing programs written in the Java programming language. 4. **IntelliJ IDEA** [_IntelliJ IDEA_](https://www.jetbrains.com/idea/download) is an integrated development environment basically an **IDE** written in Java for developing software written in Java, Kotlin, Groovy etc. @@ -334,7 +334,7 @@ Select **_google-java-format Settings_** and click enable. Open **_File > Project structure _**. -In the tab `Project` make sure that an SDK of version `26` is selected (e.g. `openjdk-26`, `oraclejdk-26` or just `26` depending on which Java JDK variant you installed). +In the tab `Project` make sure that an SDK of version `27` is selected (e.g. `openjdk-27`, `oraclejdk-27` or just `27` depending on which Java JDK variant you installed). In the tab `SDKs` make sure that an SDK of version `26` is selected. diff --git a/Dockerfile b/Dockerfile index a37d7d5873..48cf8ee379 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM bellsoft/liberica-openjre-debian:26-cds AS builder +FROM bellsoft/liberica-openjre-debian:27-cds AS builder WORKDIR /builder ARG argBasedVersion="1.15.0RC1" @@ -6,7 +6,7 @@ ARG argBasedVersion="1.15.0RC1" COPY --chown=wrongsecrets target/wrongsecrets-${argBasedVersion}-SNAPSHOT.jar application.jar RUN java -Djarmode=tools -jar application.jar extract --layers --destination extracted -FROM eclipse-temurin:26-jre-alpine +FROM eclipse-temurin:27.0.1.0-jre-alpine WORKDIR /application LABEL org.opencontainers.image.title="OWASP WrongSecrets" diff --git a/README.md b/README.md index fd607591a2..bc8753d617 100644 --- a/README.md +++ b/README.md @@ -686,11 +686,11 @@ See [Dependency-Check Maven Plugin Documentation](https://jeremylong.github.io/D ### Get the project started in IntelliJ IDEA -Requirements: make sure you have the following tools installed: [Docker](https://www.docker.com/products/docker-desktop/), [Java26 JDK](https://jdk.java.net/26/), [NodeJS 26](https://nodejs.org/en/download/current) and [IntelliJ IDEA](https://www.jetbrains.com/idea/download). +Requirements: make sure you have the following tools installed: [Docker](https://www.docker.com/products/docker-desktop/), [Java27 JDK](https://jdk.java.net/26/), [NodeJS 26](https://nodejs.org/en/download/current) and [IntelliJ IDEA](https://www.jetbrains.com/idea/download). 1. Fork and clone the project as described in the [documentation](https://github.com/OWASP/wrongsecrets/blob/master/CONTRIBUTING.md). 2. Import the project in IntelliJ (e.g. import as mvn project / local sources) -3. Go to the project settings and make sure it uses Java26 (And that the JDK can be found) +3. Go to the project settings and make sure it uses Java27 (And that the JDK can be found) 4. Go to the IDE settings>Language & Frameworks > Lombok and make sure Lombok processing is enabled 5. Open the Maven Tab in your IDEA and run "Reload All Maven Projects" to make the system sync and download everything. Next, in that same tab use the "install" option as part of the OWASP WrongSecrets Lifecycle to genereate the asciidoc and such. 6. Now run the `main` method in `org.owasp.wrongsecrets.WrongSecretsApplication.java`. This should fail with a stack trace. @@ -822,7 +822,7 @@ If you want to run WrongSecrets but without certain challenges you don't want to *_NOTE_* Please note that we do not deliver any support to your fork when you follow the process below. Please understand that license and copyright of the original application remain intact for your Fork. Requirements: -- Have the JDK of Java 26 installed; +- Have the JDK of Java 27 installed; - Have an account at a registry to which you can push your variant of the WrongSecrets container; Here are the steps you have to follow to create your own release of WrongSecrets with certain challenges disabled: diff --git a/aws/go.mod b/aws/go.mod index 800ae827b0..741bdacf4a 100644 --- a/aws/go.mod +++ b/aws/go.mod @@ -1,6 +1,6 @@ module wrongsecrets -go 1.26.10 +go 1.27.4 require github.com/gruntwork-io/terratest v0.56.0 diff --git a/aws/go.sum b/aws/go.sum index 6ad243c732..c27d8d8c41 100644 --- a/aws/go.sum +++ b/aws/go.sum @@ -19,8 +19,6 @@ github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ= github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48= -github.com/hashicorp/go-getter/v2 v2.2.5 h1:kfj7TeF3Mpq6UZcZxXfz7sgig85sTmPYwfGHd8UfTII= -github.com/hashicorp/go-getter/v2 v2.2.5/go.mod h1:aZFhc+xmYUqWNxvBhlVi5ZJinWvSjelAFIeCDE5uIkM= github.com/hashicorp/go-getter/v2 v2.2.6 h1:YPh3bAPQPFKYBu0i253xalk/dxZyoUnC4HbwDYPCYZw= github.com/hashicorp/go-getter/v2 v2.2.6/go.mod h1:ijhzM8T7li5y5Jl3E6FZG7wajPtg/6XCI7w0U0DPo80= github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= @@ -35,8 +33,6 @@ github.com/hashicorp/terraform-json v0.29.0 h1:ZggVL0YzGj5zdbafX4+rDcROM7EvVU0eX github.com/hashicorp/terraform-json v0.29.0/go.mod h1:PJIRf+Yzu5iLb52c/xYp1tUOL4jzMzfIAB5gvWWKIWE= github.com/jinzhu/copier v0.4.0 h1:w3ciUoD19shMCRargcpm0cm91ytaBhDvuRpz1ODO/U8= github.com/jinzhu/copier v0.4.0/go.mod h1:DfbEm0FYsaqBcKcFuvmOZb218JkPGtvSHsKg8S8hyyg= -github.com/klauspost/compress v1.20.3 h1:zWNoFqq/lSuYQRim3dUXlXeA0IqwuZGicdG5ZTfY5j4= -github.com/klauspost/compress v1.20.3/go.mod h1:LUdAzn7YLVvxLpc7y3V1m40wESHTgc1422pwwBSKYuI= github.com/klauspost/compress v1.20.4 h1:dD0v/bvxtjCBqQu6sx1TNWkalEY5lNTIe+HY9w8TeNI= github.com/klauspost/compress v1.20.4/go.mod h1:LUdAzn7YLVvxLpc7y3V1m40wESHTgc1422pwwBSKYuI= github.com/mattn/go-zglob v0.0.8 h1:g/5T0tizbs+419GtiXvMDkOg+RIBu1qi+B2teiHsnNE= @@ -53,36 +49,22 @@ github.com/tmccombs/hcl2json v0.6.9 h1:Pvqe6XgLQ8WxuQWp/QPRmV+8uHvUIuCs5b+Q8jvbr github.com/tmccombs/hcl2json v0.6.9/go.mod h1:JIcW8tgtY0DTxXAIXxfNYvBa6MvMptf6GabOCjiOOak= github.com/ulikunitz/xz v0.5.17 h1:flR0y/x1hgM8EGV1AW3Xll6T413G0glV8UfBwR617V4= github.com/ulikunitz/xz v0.5.17/go.mod h1:H9Rt/W6/Qj27PGauhQc6nfCDy7vHpzsOThBSaYDoEhw= -github.com/zclconf/go-cty v1.19.0 h1:IV8WdqYZc2c5rLX9bEoLNXKojBAp0MZPBHMIrCoa/s4= -github.com/zclconf/go-cty v1.19.0/go.mod h1:12W89jGn3JCOIQi7infWr9m80rOkb5RNYJqXMZcN4c8= github.com/zclconf/go-cty v1.20.0 h1:V2Mh9pu2xWPATCY7US3LnGBNSq/AAZDsqQZmmOAV7DI= github.com/zclconf/go-cty v1.20.0/go.mod h1:12W89jGn3JCOIQi7infWr9m80rOkb5RNYJqXMZcN4c8= github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940 h1:4r45xpDWB6ZMSMNJFMOjqrGHynW3DIBuR2H9j0ug+Mo= github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940/go.mod h1:CmBdvvj3nqzfzJ6nTCIwDTPZ56aVGvDrmztiO5g3qrM= -go.yaml.in/yaml/v3 v3.0.5 h1:N6y/pJk8buWs9NY5ERU2HSMfm+IuD/OtfdAnq6kESPw= -go.yaml.in/yaml/v3 v3.0.5/go.mod h1:HVTZu1O7/Vkt2N+BFy8Zza+lnLsABggaTM2ZpNIGuKg= go.yaml.in/yaml/v3 v3.0.6 h1:zcDfvjXEqTQmpjniUBLc91xYJMB2c4QOFxEF/LCEckM= go.yaml.in/yaml/v3 v3.0.6/go.mod h1:HVTZu1O7/Vkt2N+BFy8Zza+lnLsABggaTM2ZpNIGuKg= -golang.org/x/crypto v0.58.0 h1:COkYLr4k7nDI4r6QtMML2AfzeIswWHAJthLS6K/M/54= -golang.org/x/crypto v0.58.0/go.mod h1:Xh+kl5A+M0gMiWDytH2Hhr5Z7WbNCpv/eB/EFgfSk+w= golang.org/x/crypto v0.59.0 h1:xS2jhqYbzNrpvkWP2YTDf4TJwBy3ykR03i8vFDxEc7c= golang.org/x/crypto v0.59.0/go.mod h1:veDyUwATGs3c+vN3VfTbzViMGXeTBk3WyhBOkn+F/4U= -golang.org/x/mod v0.42.0 h1:ICeL3t2L30ljSPHHxDnR4fqVcBt/zR2zJAb9juavmQg= -golang.org/x/mod v0.42.0/go.mod h1:u5fzIrRInkL8MaO1cbRkUHT64v303YIT5KEqpNr7jRs= golang.org/x/mod v0.43.0 h1:MFuq5J6s35W9D3IjkwyWc9vHh0nENOrt5K8Iof4ofmg= golang.org/x/mod v0.43.0/go.mod h1:4ec1JnuyBz5+FIVhg86UsA39YG8BpnrZdJYSNHmGzHY= -golang.org/x/sync v0.24.0 h1:iqiDrGoDgyuvAKrhLQthUEzU/R378N78gXbBjxed7oA= -golang.org/x/sync v0.24.0/go.mod h1:sUUOizhqBxiL6pEWpqNLUiaJn1ShEbZ6BBqskPbjZm0= golang.org/x/sync v0.25.0 h1:dJnifr0nMV8/SBnBvdo4eSGGnrc3O4FFx6IqvtLcmRs= golang.org/x/sync v0.25.0/go.mod h1:sUUOizhqBxiL6pEWpqNLUiaJn1ShEbZ6BBqskPbjZm0= -golang.org/x/sys v0.49.0 h1:XbzkgYJHdqh/8m2Uu0W/dQv8nktxx4BFHp1M0gROTXA= -golang.org/x/sys v0.49.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og= golang.org/x/sys v0.50.0 h1:dkKZEFTEKaLr1sjhs0WiKqoi8Jj5nHbS3Njmx1UoMJs= golang.org/x/sys v0.50.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og= -golang.org/x/term v0.47.0 h1:cpyOwQkr2Nzxe2p6KnrTG7Ei2wtzjsuSjhpXXepZ/BM= -golang.org/x/term v0.47.0/go.mod h1:efAfAuG6RKABvg1ArGebRkvX6LXul14SM67o2e4mUCY= -golang.org/x/text v0.43.0 h1:1QivrlhwAsnMOcqgOdl9my7s9OyZl8O5/UGUTJVXoWc= -golang.org/x/text v0.43.0/go.mod h1:hbSIYA/amXcRXTFSZqh8tWHEoqRvvbKPJ2uz/KU+a+s= +golang.org/x/term v0.48.0 h1:G6UU1eiSB8nl3DzeUGt7Mg+2SctI8tPS6Z5/mBt6cOk= +golang.org/x/term v0.48.0/go.mod h1:BRDLHCZr2SUjIeBHHpRyQeC9xzSAVbzY2rvKgafnHf4= golang.org/x/text v0.44.0 h1:YItdp/mQNGnsmrgpcdA5yQ3bnRxCfo/Tj/iByGW9GGo= golang.org/x/text v0.44.0/go.mod h1:S4FR1waQ9LbjQTls97SyRjDaUUVkaM+cXwwuG/G+MwY= golang.org/x/tools v0.52.0 h1:ryxg4U63oaUYk7uOLTF37n43f4qgtGvqV4Ioit1BaEs= diff --git a/azure/go.mod b/azure/go.mod index 800ae827b0..741bdacf4a 100644 --- a/azure/go.mod +++ b/azure/go.mod @@ -1,6 +1,6 @@ module wrongsecrets -go 1.26.10 +go 1.27.4 require github.com/gruntwork-io/terratest v0.56.0 diff --git a/azure/go.sum b/azure/go.sum index 6ad243c732..c27d8d8c41 100644 --- a/azure/go.sum +++ b/azure/go.sum @@ -19,8 +19,6 @@ github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ= github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48= -github.com/hashicorp/go-getter/v2 v2.2.5 h1:kfj7TeF3Mpq6UZcZxXfz7sgig85sTmPYwfGHd8UfTII= -github.com/hashicorp/go-getter/v2 v2.2.5/go.mod h1:aZFhc+xmYUqWNxvBhlVi5ZJinWvSjelAFIeCDE5uIkM= github.com/hashicorp/go-getter/v2 v2.2.6 h1:YPh3bAPQPFKYBu0i253xalk/dxZyoUnC4HbwDYPCYZw= github.com/hashicorp/go-getter/v2 v2.2.6/go.mod h1:ijhzM8T7li5y5Jl3E6FZG7wajPtg/6XCI7w0U0DPo80= github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= @@ -35,8 +33,6 @@ github.com/hashicorp/terraform-json v0.29.0 h1:ZggVL0YzGj5zdbafX4+rDcROM7EvVU0eX github.com/hashicorp/terraform-json v0.29.0/go.mod h1:PJIRf+Yzu5iLb52c/xYp1tUOL4jzMzfIAB5gvWWKIWE= github.com/jinzhu/copier v0.4.0 h1:w3ciUoD19shMCRargcpm0cm91ytaBhDvuRpz1ODO/U8= github.com/jinzhu/copier v0.4.0/go.mod h1:DfbEm0FYsaqBcKcFuvmOZb218JkPGtvSHsKg8S8hyyg= -github.com/klauspost/compress v1.20.3 h1:zWNoFqq/lSuYQRim3dUXlXeA0IqwuZGicdG5ZTfY5j4= -github.com/klauspost/compress v1.20.3/go.mod h1:LUdAzn7YLVvxLpc7y3V1m40wESHTgc1422pwwBSKYuI= github.com/klauspost/compress v1.20.4 h1:dD0v/bvxtjCBqQu6sx1TNWkalEY5lNTIe+HY9w8TeNI= github.com/klauspost/compress v1.20.4/go.mod h1:LUdAzn7YLVvxLpc7y3V1m40wESHTgc1422pwwBSKYuI= github.com/mattn/go-zglob v0.0.8 h1:g/5T0tizbs+419GtiXvMDkOg+RIBu1qi+B2teiHsnNE= @@ -53,36 +49,22 @@ github.com/tmccombs/hcl2json v0.6.9 h1:Pvqe6XgLQ8WxuQWp/QPRmV+8uHvUIuCs5b+Q8jvbr github.com/tmccombs/hcl2json v0.6.9/go.mod h1:JIcW8tgtY0DTxXAIXxfNYvBa6MvMptf6GabOCjiOOak= github.com/ulikunitz/xz v0.5.17 h1:flR0y/x1hgM8EGV1AW3Xll6T413G0glV8UfBwR617V4= github.com/ulikunitz/xz v0.5.17/go.mod h1:H9Rt/W6/Qj27PGauhQc6nfCDy7vHpzsOThBSaYDoEhw= -github.com/zclconf/go-cty v1.19.0 h1:IV8WdqYZc2c5rLX9bEoLNXKojBAp0MZPBHMIrCoa/s4= -github.com/zclconf/go-cty v1.19.0/go.mod h1:12W89jGn3JCOIQi7infWr9m80rOkb5RNYJqXMZcN4c8= github.com/zclconf/go-cty v1.20.0 h1:V2Mh9pu2xWPATCY7US3LnGBNSq/AAZDsqQZmmOAV7DI= github.com/zclconf/go-cty v1.20.0/go.mod h1:12W89jGn3JCOIQi7infWr9m80rOkb5RNYJqXMZcN4c8= github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940 h1:4r45xpDWB6ZMSMNJFMOjqrGHynW3DIBuR2H9j0ug+Mo= github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940/go.mod h1:CmBdvvj3nqzfzJ6nTCIwDTPZ56aVGvDrmztiO5g3qrM= -go.yaml.in/yaml/v3 v3.0.5 h1:N6y/pJk8buWs9NY5ERU2HSMfm+IuD/OtfdAnq6kESPw= -go.yaml.in/yaml/v3 v3.0.5/go.mod h1:HVTZu1O7/Vkt2N+BFy8Zza+lnLsABggaTM2ZpNIGuKg= go.yaml.in/yaml/v3 v3.0.6 h1:zcDfvjXEqTQmpjniUBLc91xYJMB2c4QOFxEF/LCEckM= go.yaml.in/yaml/v3 v3.0.6/go.mod h1:HVTZu1O7/Vkt2N+BFy8Zza+lnLsABggaTM2ZpNIGuKg= -golang.org/x/crypto v0.58.0 h1:COkYLr4k7nDI4r6QtMML2AfzeIswWHAJthLS6K/M/54= -golang.org/x/crypto v0.58.0/go.mod h1:Xh+kl5A+M0gMiWDytH2Hhr5Z7WbNCpv/eB/EFgfSk+w= golang.org/x/crypto v0.59.0 h1:xS2jhqYbzNrpvkWP2YTDf4TJwBy3ykR03i8vFDxEc7c= golang.org/x/crypto v0.59.0/go.mod h1:veDyUwATGs3c+vN3VfTbzViMGXeTBk3WyhBOkn+F/4U= -golang.org/x/mod v0.42.0 h1:ICeL3t2L30ljSPHHxDnR4fqVcBt/zR2zJAb9juavmQg= -golang.org/x/mod v0.42.0/go.mod h1:u5fzIrRInkL8MaO1cbRkUHT64v303YIT5KEqpNr7jRs= golang.org/x/mod v0.43.0 h1:MFuq5J6s35W9D3IjkwyWc9vHh0nENOrt5K8Iof4ofmg= golang.org/x/mod v0.43.0/go.mod h1:4ec1JnuyBz5+FIVhg86UsA39YG8BpnrZdJYSNHmGzHY= -golang.org/x/sync v0.24.0 h1:iqiDrGoDgyuvAKrhLQthUEzU/R378N78gXbBjxed7oA= -golang.org/x/sync v0.24.0/go.mod h1:sUUOizhqBxiL6pEWpqNLUiaJn1ShEbZ6BBqskPbjZm0= golang.org/x/sync v0.25.0 h1:dJnifr0nMV8/SBnBvdo4eSGGnrc3O4FFx6IqvtLcmRs= golang.org/x/sync v0.25.0/go.mod h1:sUUOizhqBxiL6pEWpqNLUiaJn1ShEbZ6BBqskPbjZm0= -golang.org/x/sys v0.49.0 h1:XbzkgYJHdqh/8m2Uu0W/dQv8nktxx4BFHp1M0gROTXA= -golang.org/x/sys v0.49.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og= golang.org/x/sys v0.50.0 h1:dkKZEFTEKaLr1sjhs0WiKqoi8Jj5nHbS3Njmx1UoMJs= golang.org/x/sys v0.50.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og= -golang.org/x/term v0.47.0 h1:cpyOwQkr2Nzxe2p6KnrTG7Ei2wtzjsuSjhpXXepZ/BM= -golang.org/x/term v0.47.0/go.mod h1:efAfAuG6RKABvg1ArGebRkvX6LXul14SM67o2e4mUCY= -golang.org/x/text v0.43.0 h1:1QivrlhwAsnMOcqgOdl9my7s9OyZl8O5/UGUTJVXoWc= -golang.org/x/text v0.43.0/go.mod h1:hbSIYA/amXcRXTFSZqh8tWHEoqRvvbKPJ2uz/KU+a+s= +golang.org/x/term v0.48.0 h1:G6UU1eiSB8nl3DzeUGt7Mg+2SctI8tPS6Z5/mBt6cOk= +golang.org/x/term v0.48.0/go.mod h1:BRDLHCZr2SUjIeBHHpRyQeC9xzSAVbzY2rvKgafnHf4= golang.org/x/text v0.44.0 h1:YItdp/mQNGnsmrgpcdA5yQ3bnRxCfo/Tj/iByGW9GGo= golang.org/x/text v0.44.0/go.mod h1:S4FR1waQ9LbjQTls97SyRjDaUUVkaM+cXwwuG/G+MwY= golang.org/x/tools v0.52.0 h1:ryxg4U63oaUYk7uOLTF37n43f4qgtGvqV4Ioit1BaEs= diff --git a/docs/ARCHITECTURE_OVERVIEW.md b/docs/ARCHITECTURE_OVERVIEW.md index daa031e31a..583b6f3d51 100644 --- a/docs/ARCHITECTURE_OVERVIEW.md +++ b/docs/ARCHITECTURE_OVERVIEW.md @@ -137,7 +137,7 @@ src/test/java/org/owasp/wrongsecrets/ ### Prerequisites -- Java 26 +- Java 27 - Maven 3.9+ - Docker - Node.js (for frontend dependencies) diff --git a/docs/DEVELOPMENT_PATTERNS.md b/docs/DEVELOPMENT_PATTERNS.md index d30885e70b..932da469a1 100644 --- a/docs/DEVELOPMENT_PATTERNS.md +++ b/docs/DEVELOPMENT_PATTERNS.md @@ -213,7 +213,7 @@ jobs: - name: Setup Java uses: actions/setup-java@v5 with: - java-version: '26' + java-version: '27' distribution: 'temurin' cache: maven diff --git a/docs/SPRING_BOOT_4_ADOPTION_CHECKLIST.md b/docs/SPRING_BOOT_4_ADOPTION_CHECKLIST.md index dda14e235e..04689e22ef 100644 --- a/docs/SPRING_BOOT_4_ADOPTION_CHECKLIST.md +++ b/docs/SPRING_BOOT_4_ADOPTION_CHECKLIST.md @@ -1,6 +1,6 @@ # Spring Boot 4 Adoption Checklist (WrongSecrets) -This checklist is tailored to the current `wrongsecrets` codebase (Spring Boot `4.1.1`, Java `26`). +This checklist is tailored to the current `wrongsecrets` codebase (Spring Boot `4.1.2`, Java `27`). ## How to use this document diff --git a/gcp/go.mod b/gcp/go.mod index 800ae827b0..741bdacf4a 100644 --- a/gcp/go.mod +++ b/gcp/go.mod @@ -1,6 +1,6 @@ module wrongsecrets -go 1.26.10 +go 1.27.4 require github.com/gruntwork-io/terratest v0.56.0 diff --git a/js/index.js b/js/index.js index 464b64ee13..2052b4bcc3 100644 --- a/js/index.js +++ b/js/index.js @@ -1,5 +1,5 @@ function secret() { - var password = "j0FN/QQ=" + 9 + "MfuX" + 6 + "uQU=" + 2 + "dwoN" + 7; + var password = "ZrrYmW0=" + 9 + "tVRa" + 6 + "wCw=" + 2 + "r4aQ" + 7; return password; } diff --git a/pom.xml b/pom.xml index ace895a0c8..e0e19bd08a 100644 --- a/pom.xml +++ b/pom.xml @@ -66,7 +66,7 @@ 26.91.0 4.0.25 - 26 + 27 3.7.1 10.1.3.0 1.18.48 @@ -74,9 +74,9 @@ 3.11.0 3.6.1 full - 26 - 26 - v26.12.1 + 27 + 27 + v26.13.1 11.20.0 4.10.5.0 4.10.5 diff --git a/scripts/sort_contibutors/go.mod b/scripts/sort_contibutors/go.mod index 94ab8ccb36..c74b153947 100644 --- a/scripts/sort_contibutors/go.mod +++ b/scripts/sort_contibutors/go.mod @@ -1,3 +1,3 @@ module github.com/owasp/wrongsecrets/scripts/sort_contibutors -go 1.27.3 +go 1.27.4 diff --git a/src/main/java/org/owasp/wrongsecrets/challenges/kubernetes/Challenge5.java b/src/main/java/org/owasp/wrongsecrets/challenges/kubernetes/Challenge5.java index 48ff1147d9..a408271329 100644 --- a/src/main/java/org/owasp/wrongsecrets/challenges/kubernetes/Challenge5.java +++ b/src/main/java/org/owasp/wrongsecrets/challenges/kubernetes/Challenge5.java @@ -10,7 +10,8 @@ public class Challenge5 extends FixedAnswerChallenge { private final String configmapK8sSecret; - public Challenge5(@Value("${SPECIAL_K8S_SECRET}") String configmapK8sSecret) { + public Challenge5( + @Value("${SPECIAL_K8S_SECRET:if_you_see_this_please_use_k8s}") String configmapK8sSecret) { this.configmapK8sSecret = configmapK8sSecret; }