This release includes 2 security fixes for security teams reviewing exposed deployments.
Topics
+12 more
Affected surfaces
Summary
AI summaryUpdates Deprecated, Tests, and docs/credentialed-scans.md across a mixed release.
Full changelog
Added — auth profile system
A complete redesign of how ptai handles target credentials. See docs/credentialed-scans.md.
pentest-ai auth profile add <name>— interactive wizard to create an auth profilepentest-ai auth profile list / show / remove / use / current— full CRUDpentest-ai auth profile import-from-flags— one-line migration from legacy--login-*flags--auth-profile <name>flag onptai start— replaces 6+ legacy flagspentest-ai chain prof1=target1 prof2=target2 ...— sequential multi-target scans, each with its own auth context- Playbooks accept
auth_profile: <name>key - Four credential sources: env vars, 1Password CLI (
op://), HashiCorp Vault, AWS Secrets Manager
Security
- MCP credential safety:
authenticated_scan,test_web_app,test_active_directory,test_cloudnow acceptauth_profileparameter. Credentials are resolved server-side and never enter the LLM context window. Previously, raw passwords flowed through the MCP request payload to Claude / Cursor / Desktop. Recommended security update for all MCP users. - Profile file at
~/.pentest-ai/auth-profiles.yamlenforced at mode0600on every write; refuses to load if perms are wider. - New
SecureCredentialin-memory class redacts onrepr/str/format/json/pickle. - Resolvers fail closed: missing dependency or unreachable backend raises
SecurityErrorinstead of falling back to a plaintext prompt. - Playbooks refuse to load if they contain bare
password:,token:, orsecret:keys (defense in depth against committing creds to YAML).
Deprecated (will be removed in 0.11)
- MCP
password=/bearer_token=/credentials=parameters. Useauth_profile=. Old params still work but emit a deprecation warning. --basic-auth user:passCLI flag (passes credential on argv). Use a profile.
Backward compatibility
All existing CLI flags (--login-url, --login-user, --login-password-env, etc.) continue to work unchanged. Migration is optional; the new system is purely additive until 0.11.
Tests
- 94 new tests across credential resolvers, profile manager, MCP integration, chain command, playbook integration, and migration tooling
- 5 sentinel-leak tests verifying credential values never appear in profile files, logs, MCP payloads, or process argv
- All 586 existing tests still pass
Security Fixes
- MCP credentials no longer flow through LLM context; resolved server‑side via auth_profile parameter
- Profile file enforced with mode 0600; SecureCredential redacts sensitive data; resolvers fail closed on missing dependencies; playbooks reject bare password/token/secret keys
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About pentest-ai
Offensive-security MCP server with 205 wrapped tools, 17 specialist agents, and 60 SPA-aware probes for OWASP Top 10. CLI + MCP, BYO LLM. No API key needed on MCP path.
Related context
Related tools
Beta — feedback welcome: [email protected]