Skip to content

SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.

Silence bandit warnings in sfcli

bcoles741bc0776d89
diff --git a/sfcli.py b/sfcli.py
index da6cf1f8..1f74b67c 100755
--- a/sfcli.py
+++ b/sfcli.py
@@ -1046,7 +1046,7 @@ class SpiderFootCli(cmd.Cmd):
return
j = list()
serverconfig = dict()
- token = ""
+ token = "" # nosec
if not d:
self.edprint("Unable to obtain SpiderFoot server-side config.")
else:
@@ -1161,7 +1161,7 @@ class SpiderFootCli(cmd.Cmd):
"""shell
Run a shell command locally."""
self.dprint("Running shell command:" + str(line))
- self.dprint(os.popen(line).read(), plain=True)
+ self.dprint(os.popen(line).read(), plain=True) # nosec
def do_clear(self, line):
"""clear