check_sys/audit/application/plugins/calls/calls.py

34 lines
746 B
Python

#!/usr/bin/env python3
def calls() -> list:
calls = list()
# https://cwe.mitre.org/data/definitions/78.html
# For commoand injections
calls.append({
"call": "exec",
"description": "",
"level": "high"
})
calls.append({
"call": "chown",
"description": "",
"level": "high"
})
calls.append({
"call": "chmod",
"description": "",
"level": "high"
})
calls.append({
"call": "rsync",
"description": "",
"level": "high"
})
calls.append({
"call": "wrap_socket",
"description": "This functions is deprecated. You must use SSLContext.wrap_context",
"level": "high"
})
return calls