Skip to content
m4bwav edited this page Nov 21, 2026 · 1 revision

Does my password leave my computer?

No. sw.py pwned sends the first 5 hex characters of its SHA-1 hash to the Pwned Passwords range API and compares the rest locally. The password is read from a hidden prompt, so it is not in your shell history or the chat.

The scan found nothing. Am I safe?

Not for certain. The built-in rules catch common token formats and quoted assignments; gitleaks covers far more. Install it (winget install gitleaks) and scan again. Scans before 0.1.1 also missed names like AWS_SECRET_ACCESS_KEY (Secret scanning).

I found a leaked key. Should I rewrite history first?

No. Revoke or rotate it at the issuer first; anyone who copied it already has it. Then clean up: token-in-commit.

Why won't the agent run git filter-repo for me?

Rewrites, force-pushes and revocations cannot be undone, so it prints them for you to run unless you tell it to go ahead in the conversation.

sw.py gh says unavailable. Is the feature off?

No. unavailable means the API refused it, usually because it needs a paid plan or a public repository. off means you can switch it on in the repository's settings.

Does sw.py device work on macOS or Linux?

Not yet. It exits with "device checks are Windows only for now".

Will it help me test someone else's site or account?

No. It is defensive only and offers the defensive version of the request.