Open-source AI penetration testing tool to find and fix your app’s vulnerabilities.
Python agentsai-hackingai-penetration-testingai-pentestingai-securityartificial-intelligencebug-bountycode-qualityctf-toolscybersecuritycybersecurity-toolsethical-hackinghackingllm-securityoffensive-securitypenetration-testingpentesting-toolsred-teamingsecuritysecurity-automation
ci(package): check for a missing module without a bare negation so shellcheck is happy
Ahmed Allam7ce44ef69ad9
diff --git a/.github/workflows/ci-package.yml b/.github/workflows/ci-package.ymlindex 832b45d5..6673d7a0 100644--- a/.github/workflows/ci-package.yml+++ b/.github/workflows/ci-package.yml@@ -70,7 +70,7 @@ jobs:mkdir -p /tmp/target && echo 'print("hi")' > /tmp/target/app.pySTRIX_LLM=vertex_ai/gemini-2.5-pro dist/strix -n -t /tmp/target --scan-mode quick > vertex.log 2>&1 || truegrep -q "DefaultCredentialsError" vertex.log- ! grep -q "No module named" vertex.log+ if grep -q "No module named" vertex.log; then exit 1; fiSTRIX_LLM=bedrock/anthropic.claude-3-5-sonnet-20240620-v1:0 dist/strix -n -t /tmp/target --scan-mode quick > bedrock.log 2>&1 || truegrep -q "Unable to locate credentials" bedrock.log- ! grep -q "No module named" bedrock.log+ if grep -q "No module named" bedrock.log; then exit 1; fi