Add intra42 client secret (#1408)

intra42 is the intranet and API of "42 School", a CS school.
The API is open to all students in 57 campus around the world.
It is thus often subject to credentials leaks on GitHub
See https://42.fr and https://api.intra.42.fr/
This commit is contained in:
Alexandre GUIOT--VALENTIN authored and GitHub committed 2024-06-01 18:55:04 -05:00
1 parent 39947b0b0d
commit 575e923cf8
3 files changed
+38

No files matched your search

+8
View File
@@ -2159,6 +2159,14 @@ keywords = [
"intercom",
]
[[rules]]
id = "intra42-client-secret"
description = "Found a Intra42 client secret, which could lead to unauthorized access to the 42School API and sensitive data."
regex = '''(?i)\b(s-s4t2(?:ud|af)-[abcdef0123456789]{64})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
keywords = [
"intra","s-s4t2ud-","s-s4t2af-",
]
[[rules]]
id = "jfrog-api-key"
description = "Found a JFrog API Key, posing a risk of unauthorized access to software artifact repositories and build pipelines."