Install
openclaw skills install preflytScan deployed web apps for security misconfigurations after every deploy. Checks for exposed .env files, databases, source code, open ports, missing security headers, .git exposure, directory listings, and more. Non-intrusive, read-only.
openclaw skills install preflytAfter deploying a web app, API, or backend to a public URL, run a Preflyt scan to detect exposed secrets, misconfigurations, and unsafe defaults.
npx preflyt-check https://your-deployed-url.com
With options:
# Fail if issues found (for CI/CD)
npx preflyt-check https://your-deployed-url.com --fail
# Generate a shareable report link
npx preflyt-check https://your-deployed-url.com --share
# With Pro license for unlimited scans
npx preflyt-check https://your-deployed-url.com --key YOUR_LICENSE_KEY
Exit codes:
#!/bin/bash
git pull
npm run build
pm2 restart app
sleep 5
npx preflyt-check https://mysite.com --fail || echo "Security issues found"
#!/bin/bash
# .git/hooks/post-receive
git pull
npm run build
pm2 restart app
sleep 5
npx preflyt-check https://mysite.com
- name: Security scan
run: npx preflyt-check ${{ env.DEPLOY_URL }} --fail
When a deployment to a public URL is detected:
npx preflyt-check <deployed-url>