1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# Compliance mappings for `killer compliance`.
#
# This file is embedded into the binary at build time (like the built-in .klr
# suites). It defines the OWASP Top 10 (2021) categories Killer reports on, and
# the mapping from each Killer finding id — a scan rule id (e.g. `hardcoded-
# secret`) or a .klr issue id (e.g. `KLR-SQLI`) — to a framework reference.
#
# It is TOML rather than YAML deliberately: Killer ships zero heavy runtime
# dependencies, and it already parses TOML, so no new parser is pulled in.
# Extend coverage by adding [[mapping]] entries (and [[category]] entries for
# frameworks beyond OWASP Top 10).
# --- OWASP Top 10 (2021) categories -----------------------------------------
[[]]
= "A01:2021"
= "Broken Access Control"
[[]]
= "A02:2021"
= "Cryptographic Failures"
[[]]
= "A03:2021"
= "Injection"
[[]]
= "A04:2021"
= "Insecure Design"
[[]]
= "A05:2021"
= "Security Misconfiguration"
[[]]
= "A06:2021"
= "Vulnerable and Outdated Components"
[[]]
= "A07:2021"
= "Identification and Authentication Failures"
[[]]
= "A08:2021"
= "Software and Data Integrity Failures"
[[]]
= "A09:2021"
= "Security Logging and Monitoring Failures"
[[]]
= "A10:2021"
= "Server-Side Request Forgery (SSRF)"
# --- Finding-id → framework mappings ----------------------------------------
[[]]
= "hardcoded-secret"
= "A07:2021"
= "CWE-798"
= "Use of Hard-coded Credentials"
[[]]
= "dangerous-command"
= "A03:2021"
= "CWE-78"
= "OS Command Injection"
[[]]
= "KLR-SQLI"
= "A03:2021"
= "CWE-89"
= "SQL Injection"
[[]]
= "KLR-PATH-TRAVERSAL"
= "A01:2021"
= "CWE-22"
= "Improper Limitation of a Pathname to a Restricted Directory (Path Traversal)"
[[]]
= "KLR-RATE-LIMIT"
= "A04:2021"
= "CWE-770"
= "Allocation of Resources Without Limits or Throttling"
[[]]
= "KLR-SESSION"
= "A07:2021"
= "CWE-384"
= "Session Fixation"