Skip to content
Back to skills

Open Ai

ASecurity

Drive PWN::AI::OpenAI from pwn_eval.

  • 86 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 10, 2026
securityrubyshellapi

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 5, 2026

npx -y skills add 0dayInc/pwn --skill open_ai --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Open Ai?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Open Ai
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/0dayinc-open-ai/badge)](https://www.skillsdirectory.com/skills/0dayinc-open-ai)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: pwn-ai-openai
description: Drive PWN::AI::OpenAI from pwn_eval.
license: MIT
allowed-tools: [pwn, pwn_eval]
metadata:
  bundled: true
  generated: true
  module: PWN::AI::OpenAI
  source: pwn/ai/open_ai.rb
---

# PWN::AI::OpenAI

This plugin is used for interacting w/ OpenAI's REST API using the 'rest' browser type of PWN::Plugins::TransparentBrowser. This is based on the following OpenAI API Specification: https://api.openai.com/v1

## When to use

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

## Methodologies

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

## How to call

```ruby
PWN::AI::OpenAI.help
PWN::AI::OpenAI.refresh_oauth_bearer_token(opts)
```

## Public methods

- `refresh_oauth_bearer_token`
- `obtain_oauth_bearer_token`
- `get_models`
- `get_model`
- `chat_with_tools`
- `api_endpoint`
- `chat`
- `img_gen`
- `vision`
- `create_fine_tune`
- `list_fine_tunes`
- `get_fine_tune_status`
- `cancel_fine_tune`
- `get_fine_tune_events`
- `delete_fine_tune_model`
- `list_files`
- `upload_file`
- `delete_file`
- `get_file`
- `authors`
- `help`

## References

- `references/urls.md` — URLs from source

## Source

`pwn/ai/open_ai.rb`

## Verification

`PWN::AI::OpenAI.respond_to?(:refresh_oauth_bearer_token)` after the
module is loaded. Read the source for parameter names.

Files in this skill

  • SKILL.md1.4 KB
  • references/urls.md233 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…