Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/patch-reward-program.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ Python} {If not templated plugins, please provide a justification on why you
think it requires Java or Python}
- **Resources**:
* {Any links}
* {That can be useful to understand the vulnerability}
* {That can be useful to understand the vulnerability}
12 changes: 5 additions & 7 deletions community/detectors/spring_framework_cve_2022_22965/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,17 @@ plugins {
id 'java'
}

group 'com.google.tsunami'
version '1.0-SNAPSHOT'
group = 'com.google.tsunami'
version = '1.0-SNAPSHOT'

repositories {
maven { // The google mirror is less flaky than mavenCentral()
url 'https://maven-central.storage-download.googleapis.com/repos/central/data/'
url = 'https://maven-central.storage-download.googleapis.com/repos/central/data/'
}
mavenCentral()
mavenLocal()
}



dependencies {
implementation "com.google.auto.value:auto-value-annotations:1.11.0"
implementation("com.google.tsunami:tsunami-common") {
Expand All @@ -30,10 +28,10 @@ dependencies {

testImplementation "junit:junit:4.13.2"
testImplementation "org.mockito:mockito-core:5.18.0"
testImplementation "com.google.inject:guice:4.2.3"
testImplementation "com.google.inject.extensions:guice-testlib:4.2.3"
testImplementation "com.google.truth:truth:1.4.4"
testImplementation "com.google.truth.extensions:truth-java8-extension:1.4.4"
testImplementation "com.google.truth.extensions:truth-proto-extension:1.4.4"
testImplementation "com.squareup.okhttp3:mockwebserver:3.12.0"

implementation "org.jsoup:jsoup:1.9.2"
}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/*
* Copyright 2025 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.google.tsunami.plugins.detectors.spring4shell;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.PARAMETER;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import javax.inject.Qualifier;

/** Annotation for {@link SpringCve202222965Detector}. */
final class Annotations {
@Qualifier
@Retention(RetentionPolicy.RUNTIME)
@Target({PARAMETER, METHOD, FIELD})
@interface DelayBetweenRequests {}

private Annotations() {}
}
Loading