# Pwn Sast Privatekey

> Drive PWN::SAST::PrivateKey from pwn_eval.

- Skill: `0dayinc/pwn-sast-privatekey` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx get-skill add 0dayinc/pwn-sast-privatekey`
- Raw SKILL.md: https://api.skillmd.com/api/skills/0dayinc/pwn-sast-privatekey/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- License: MIT
- Author: 0dayInc (https://skillmd.com/u/0dayinc)
- Updated: 2026-11-19
- Page: https://skillmd.com/skills/0dayinc/pwn-sast-privatekey

---


# PWN::SAST::PrivateKey

SAST Module used to identify private keys used for authenticating with remote hosts.

## When to use

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

## Methodologies

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

## How to call

```ruby
PWN::SAST::PrivateKey.help
PWN::SAST::PrivateKey.scan(opts)
```

## Public methods

- `scan`
- `security_references`
- `authors`
- `help`

## References

- `references/security.md` — CWE / NIST mapping
- `references/urls.md` — URLs from source

## Source

`pwn/sast/private_key.rb`

## Verification

`PWN::SAST::PrivateKey.respond_to?(:scan)` after the
module is loaded. Read the source for parameter names.

