# Pwn Auth Prompt

> Drive PWN::Auth::Prompt from pwn_eval.

- Skill: `0dayinc/pwn-auth-prompt` (Agent Skill)
- Install (CLI): `npx get-skill add 0dayinc/pwn-auth-prompt`
- Raw SKILL.md: https://api.skillmd.com/api/skills/0dayinc/pwn-auth-prompt/raw
- Safety review: pending
- Works with: any agent that reads SKILL.md (Claude Code, Claude.ai, Cursor, Codex, Windsurf, 60+ more)
- Category: Coding & Dev Tools
- Author: 0dayInc (https://skillmd.com/u/0dayinc)
- Updated: 2026-12-02
- Page: https://skillmd.com/skills/0dayinc/pwn-auth-prompt

---

---
name: pwn-auth-prompt
description: Drive PWN::Auth::Prompt from pwn_eval.
license: MIT
allowed-tools: [pwn, pwn_eval]
metadata:
  bundled: true
  generated: true
  module: PWN::Auth::Prompt
  source: pwn/auth/prompt.rb
---

# PWN::Auth::Prompt

This plugin is used to assist in masking a password when entered in via STDIN to prevent would-be shoulder surfers from obtaining password information. This plugin is useful when demonstrating the functionality of other SP plugins/modules. MFA can explicitly select a YubiKey OATH account without storing its secret; device failures never fall back to a prompt. Native OATH requires explicit confirm: true because HOTP advances counters and password-protected accounts can require authentication. Passwords and secret providers remain in memory; no automatic deletion or repair occurs.

## When to use

Call `PWN::Auth::Prompt` from `pwn_eval` when the task needs this module.
Do not reimplement it in shell.

## Methodologies

Generated from `pwn/auth/prompt.rb`. Prefer the public class methods below.
Class methods take `(opts = {})` and read `opts`.

## How to call

```ruby
PWN::Auth::Prompt.help
PWN::Auth::Prompt.username(opts)
```

## Public methods

- `username`
- `mask_password`
- `mfa`
- `validate_mfa_options`
- `authors`
- `help`

## Source

`pwn/auth/prompt.rb`

## Verification

`PWN::Auth::Prompt.respond_to?(:username)` after the
module is loaded. Read the source for parameter names.

