From 290441371b6be308fad6a9de3b09d68f0b260f73 Mon Sep 17 00:00:00 2001 From: KOSASIH Date: Tue, 26 Nov 2024 16:06:37 +0700 Subject: [PATCH] Create run_security_audit.py --- QuantumNexusProtocol/scripts/run_security_audit.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 QuantumNexusProtocol/scripts/run_security_audit.py diff --git a/QuantumNexusProtocol/scripts/run_security_audit.py b/QuantumNexusProtocol/scripts/run_security_audit.py new file mode 100644 index 000000000..343841abc --- /dev/null +++ b/QuantumNexusProtocol/scripts/run_security_audit.py @@ -0,0 +1,12 @@ +import subprocess + +def run_security_audit(): + print("Running security audit...") + try: + subprocess.run(["safety", "check"], check=True) + print("Security audit completed successfully.") + except subprocess.CalledProcessError as e: + print("Error during security audit:", e) + +if __name__ == "__main__": + run_security_audit()