Skip to content

Commit 78e5767

Browse files
tooryxcopybara-github
authored andcommitted
Stop depending on Maven for Tsunami artifacts but use the GitHub stable branch directly. For plugins in the doyensec, examples, facebook and govtech sections.
PiperOrigin-RevId: 782950225 Change-Id: Idcf4b16e1d1c7c12c85a87bebf267ab20e9067d5
1 parent 8f5e45e commit 78e5767

26 files changed

Lines changed: 229 additions & 39 deletions

File tree

doyensec/detectors/comfyui_arbitrary_read_filename/build.gradle

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,19 @@ repositories {
1717

1818

1919
dependencies {
20-
implementation "com.google.tsunami:tsunami-common:latest.release"
21-
implementation "com.google.tsunami:tsunami-plugin:latest.release"
22-
implementation "com.google.tsunami:tsunami-proto:latest.release"
20+
implementation("com.google.tsunami:tsunami-common") {
21+
version { branch = "stable" }
22+
}
23+
implementation("com.google.tsunami:tsunami-plugin") {
24+
version { branch = "stable" }
25+
}
26+
implementation("com.google.tsunami:tsunami-proto") {
27+
version { branch = "stable" }
28+
}
2329
implementation 'org.jsoup:jsoup:1.9.2'
2430

2531
testImplementation "junit:junit:4.13.2"
32+
testImplementation "com.squareup.okhttp3:mockwebserver:3.12.0"
2633
testImplementation "org.mockito:mockito-core:5.18.0"
2734
testImplementation "com.google.inject:guice:4.2.3"
2835
testImplementation "com.google.truth:truth:1.4.4"
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
11
rootProject.name = 'comfyui-manager-arbitrary-file-read-via-filename'
2+
3+
sourceControl {
4+
gitRepository("https://github.com/google/tsunami-security-scanner.git") {
5+
producesModule("com.google.tsunami:tsunami-common")
6+
producesModule("com.google.tsunami:tsunami-plugin")
7+
producesModule("com.google.tsunami:tsunami-proto")
8+
}
9+
}

doyensec/detectors/comfyui_arbitrary_read_savepath/build.gradle

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,19 @@ repositories {
1717

1818

1919
dependencies {
20-
implementation "com.google.tsunami:tsunami-common:latest.release"
21-
implementation "com.google.tsunami:tsunami-plugin:latest.release"
22-
implementation "com.google.tsunami:tsunami-proto:latest.release"
20+
implementation("com.google.tsunami:tsunami-common") {
21+
version { branch = "stable" }
22+
}
23+
implementation("com.google.tsunami:tsunami-plugin") {
24+
version { branch = "stable" }
25+
}
26+
implementation("com.google.tsunami:tsunami-proto") {
27+
version { branch = "stable" }
28+
}
2329
implementation 'org.jsoup:jsoup:1.9.2'
2430

2531
testImplementation "junit:junit:4.13.2"
32+
testImplementation "com.squareup.okhttp3:mockwebserver:3.12.0"
2633
testImplementation "org.mockito:mockito-core:5.18.0"
2734
testImplementation "com.google.inject:guice:4.2.3"
2835
testImplementation "com.google.truth:truth:1.4.4"
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
11
rootProject.name = 'comfyui-manager-arbitrary-file-read-via-save_path'
2+
3+
sourceControl {
4+
gitRepository("https://github.com/google/tsunami-security-scanner.git") {
5+
producesModule("com.google.tsunami:tsunami-common")
6+
producesModule("com.google.tsunami:tsunami-plugin")
7+
producesModule("com.google.tsunami:tsunami-proto")
8+
}
9+
}

doyensec/detectors/comfyui_exposed_ui_detector/build.gradle

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,19 @@ repositories {
1717

1818

1919
dependencies {
20-
implementation "com.google.tsunami:tsunami-common:latest.release"
21-
implementation "com.google.tsunami:tsunami-plugin:latest.release"
22-
implementation "com.google.tsunami:tsunami-proto:latest.release"
20+
implementation("com.google.tsunami:tsunami-common") {
21+
version { branch = "stable" }
22+
}
23+
implementation("com.google.tsunami:tsunami-plugin") {
24+
version { branch = "stable" }
25+
}
26+
implementation("com.google.tsunami:tsunami-proto") {
27+
version { branch = "stable" }
28+
}
2329
implementation 'org.jsoup:jsoup:1.9.2'
2430

2531
testImplementation "junit:junit:4.13.2"
32+
testImplementation "com.squareup.okhttp3:mockwebserver:3.12.0"
2633
testImplementation "org.mockito:mockito-core:5.18.0"
2734
testImplementation "com.google.inject:guice:4.2.3"
2835
testImplementation "com.google.truth:truth:1.4.4"
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
11
rootProject.name = 'comfyui-exposed-ui'
2+
3+
sourceControl {
4+
gitRepository("https://github.com/google/tsunami-security-scanner.git") {
5+
producesModule("com.google.tsunami:tsunami-common")
6+
producesModule("com.google.tsunami:tsunami-plugin")
7+
producesModule("com.google.tsunami:tsunami-proto")
8+
}
9+
}

doyensec/detectors/comfyui_preauth_rce/build.gradle

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,19 @@ repositories {
1717

1818

1919
dependencies {
20-
implementation "com.google.tsunami:tsunami-common:latest.release"
21-
implementation "com.google.tsunami:tsunami-plugin:latest.release"
22-
implementation "com.google.tsunami:tsunami-proto:latest.release"
20+
implementation("com.google.tsunami:tsunami-common") {
21+
version { branch = "stable" }
22+
}
23+
implementation("com.google.tsunami:tsunami-plugin") {
24+
version { branch = "stable" }
25+
}
26+
implementation("com.google.tsunami:tsunami-proto") {
27+
version { branch = "stable" }
28+
}
2329
implementation 'org.jsoup:jsoup:1.9.2'
2430

2531
testImplementation "junit:junit:4.13.2"
32+
testImplementation "com.squareup.okhttp3:mockwebserver:3.12.0"
2633
testImplementation "org.mockito:mockito-core:5.18.0"
2734
testImplementation "com.google.inject:guice:4.2.3"
2835
testImplementation "com.google.truth:truth:1.4.4"
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
11
rootProject.name = 'comfyui-manager-remote-code-execution'
2+
3+
sourceControl {
4+
gitRepository("https://github.com/google/tsunami-security-scanner.git") {
5+
producesModule("com.google.tsunami:tsunami-common")
6+
producesModule("com.google.tsunami:tsunami-plugin")
7+
producesModule("com.google.tsunami:tsunami-proto")
8+
}
9+
}

doyensec/detectors/kubernetes_rce_via_open_access/build.gradle

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,18 @@ repositories {
1717

1818

1919
dependencies {
20-
implementation "com.google.tsunami:tsunami-common:latest.release"
21-
implementation "com.google.tsunami:tsunami-plugin:latest.release"
22-
implementation "com.google.tsunami:tsunami-proto:latest.release"
20+
implementation("com.google.tsunami:tsunami-common") {
21+
version { branch = "stable" }
22+
}
23+
implementation("com.google.tsunami:tsunami-plugin") {
24+
version { branch = "stable" }
25+
}
26+
implementation("com.google.tsunami:tsunami-proto") {
27+
version { branch = "stable" }
28+
}
2329

2430
testImplementation "junit:junit:4.13.2"
31+
testImplementation "com.squareup.okhttp3:mockwebserver:3.12.0"
2532
testImplementation "org.mockito:mockito-core:5.18.0"
2633
testImplementation "com.google.truth:truth:1.4.4"
2734
testImplementation "com.google.truth.extensions:truth-java8-extension:1.4.4"
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
11
rootProject.name = 'kubernetes_rce_via_open_access'
2+
3+
sourceControl {
4+
gitRepository("https://github.com/google/tsunami-security-scanner.git") {
5+
producesModule("com.google.tsunami:tsunami-common")
6+
producesModule("com.google.tsunami:tsunami-plugin")
7+
producesModule("com.google.tsunami:tsunami-proto")
8+
}
9+
}

0 commit comments

Comments
 (0)