Skip to content

Commit 0ca5f1a

Browse files
Fixed SecList path and updated SecList
1 parent ec123c5 commit 0ca5f1a

File tree

2 files changed

+23
-29
lines changed

2 files changed

+23
-29
lines changed

SecurityKeywordsBasedSearchTool/SecFeatFinder/SecList.json

Lines changed: 22 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,43 @@
11
{
22
"Access_Control": {
33
"Authentication": [
4-
"[Aa]uthenticat*",
5-
"[Pp]assword",
4+
"Authenticat.*",
5+
"Password",
66
"Credential",
77
"OTP",
88
"X509",
99
"MFA",
1010
"SSO",
1111
"OAuth",
1212
"JWT",
13-
"Token",
1413
"Cookie",
1514
"Keycloak",
1615
"IdP"
1716
],
1817
"Authorization": [
19-
"[Aa]uthoriz*",
18+
"Authoriz.*",
2019
"AccessManager",
2120
"Role",
2221
"Privilege",
23-
"Permission",
22+
"Perm",
2423
"ACL",
2524
"RBAC",
2625
"ABAC",
2726
"MAC",
2827
"DAC",
29-
"TimeRestrictedAccess"
28+
"TimeRestrictedAccess",
29+
"decision",
30+
"allow",
31+
"deny"
3032
]
3133
},
3234
"Cryptography": {
3335
"Encryption": [
34-
"Encryption",
3536
"encrypt",
3637
"decrypt",
3738
"Cipher",
3839
"KeyGenerator",
39-
"SecretKeySpec",
40+
"Secret",
4041
"AES",
4142
"RSA",
4243
"Blowfish",
@@ -56,7 +57,7 @@
5657
"generateKeyPair"
5758
],
5859
"Signature": [
59-
"[Ss]ign",
60+
"Sign",
6061
"PKCS12",
6162
"verify"
6263
],
@@ -68,18 +69,18 @@
6869
],
6970
"Steganography": [
7071
"ImageProcessor",
71-
"[Ss]tego",
72-
"[Bb]ase64"
72+
"Stego",
73+
"Base64"
7374
]
7475
},
7576
"Security_Monitoring": {
7677
"Logging": [
77-
"login*success",
78-
"login*failure",
79-
"unauthorized*access",
80-
"privilege*escalation",
81-
"audit*log*entry",
82-
"compliance*check"
78+
"login.?success",
79+
"login.?failure",
80+
"unauthorized.?access",
81+
"privilege.?escalation",
82+
"audit*log.?entry",
83+
"compliance.?check"
8384
],
8485
"Automated_Response": [
8586
"ResponseHandler",
@@ -113,37 +114,30 @@
113114
"KeyVault"
114115
],
115116
"Trusted_Sources": [
116-
"Secure*Random",
117+
"Secure.?Random",
117118
"TimeSync",
118119
"salt"
119120
]
120121
},
121122
"System_State_Protection": {
122123
"Resource_Management": [
123-
"Semaphore",
124124
"ThreadPool",
125125
"ResourceAllocator"
126126
],
127127
"System_State_Validation": [
128128
"StateVerifier",
129129
"Checksum",
130+
"crc",
130131
"HashValidator"
131132
],
132133
"Session_Management": [
133134
"Session",
134-
"CSRF",
135-
"Timeout"
136-
],
137-
"State_Synchronization": [
138-
"Synchronized",
139-
"ReentrantLock",
140-
"createLocalLock",
141-
"AtomicReference"
135+
"CSRF"
142136
]
143137
},
144138
"Miscellaneous": [
145139
"SecurityPolicy",
146-
"[Ss]ecurity"
140+
"Security"
147141
]
148142
}
149143

SecurityKeywordsBasedSearchTool/SecFeatFinder/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ def print_top_keywords(keyword_counter, total_matches):
328328

329329
def main():
330330
repo_url = input("Enter the repository URL: ")
331-
keyword_file = "SecFeatFinder/SecList.json"
331+
keyword_file = "SecList.json"
332332
taxonomy_file = "../Resources/taxonomy.feature_model"
333333

334334
taxonomy = read_feature_model(taxonomy_file)

0 commit comments

Comments
 (0)