Skip to main content

ZeroShot SDK - AI System Testing CLI and Client Library

Project description

ZeroShot SDK

Official SDK for ZeroShot - AI Security Testing Platform.

Installation

pip install zeroshot-sdk

Quick Start

# Login (stores API key locally)
zeroshot auth login

# Run a scan
zeroshot scan --target http://target-url

# View results
zeroshot scans list

Python Usage

from zeroshot_sdk import ZeroShotClient

client = ZeroShotClient(api_key="zsk_...")

# Run a scan
result = client.scan(
    target="http://target-url",
    categories=["jailbreak", "prompt_injection"],
)

print(f"Found {result['vulnerabilities_found']} vulnerabilities")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zeroshot_sdk-0.0.1.tar.gz (114.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zeroshot_sdk-0.0.1-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file zeroshot_sdk-0.0.1.tar.gz.

File metadata

  • Download URL: zeroshot_sdk-0.0.1.tar.gz
  • Upload date:
  • Size: 114.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.25 {"installer":{"name":"uv","version":"0.9.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for zeroshot_sdk-0.0.1.tar.gz
Algorithm Hash digest
SHA256 c633500d5500ee07ff413f0156218e4dc8bf3e74de73391b6548d30f6e1e4e45
MD5 70de4af25b6bec2dd23f041076b48d52
BLAKE2b-256 f96f006a88098693257dfce37d653fc99ca9d506326c13321b8833b7d938f4aa

See more details on using hashes here.

File details

Details for the file zeroshot_sdk-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: zeroshot_sdk-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.25 {"installer":{"name":"uv","version":"0.9.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for zeroshot_sdk-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 902d6eeb793b0cc554929ff8d0215dc8f50d94abf23dff18d6cbc5e4d9407683
MD5 b2dd256ecdcf3eff58d587effa2a22e4
BLAKE2b-256 02cc88a3ce459fd125a3d273e469ccf259420cc65fc420eeaa6afd66c8002684

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page