Actions7
Scan PyPI Package
AI-generatedSummary
Scan a specified PyPI package for security threats using BrowserTotal's browser-based scanner.
Inputs
- operation — The operation to perform (e.g., Scan URL, Scan Browser Extension, Scan PyPI Package)
- url (required) — The URL to scan for security threats
- extensionId (required) — The browser extension ID to scan
- browserStore — The browser store where the extension is published
- vscodeExtensionId (required) — The VS Code extension ID (e.g., publisher.extension-name)
- jetbrainsPluginId (required) — The JetBrains plugin ID
- npmPackageName (required) — The npm package name to scan
- pypiPackageName (required) — The PyPI package name to scan
- wordpressPluginSlug (required) — The WordPress plugin slug to scan
- options — Additional options such as headless mode, timeout, and AI analysis settings
Output shape
array of scan result objects
Each item contains detailed threat analysis (status, score, threats, permissions, dependencies, etc.) and a timestamp; errors may be returned in the JSON body if continueOnFail is enabled.
Examples
Example 1: Scan a Python package from PyPI
Set operation to Scan PyPI Package, provide pypiPackageName, optionally adjust timeout and disableAI, and execute.
Example 2: Scan a browser extension
Choose operation Scan Extension, set extensionId, select browserStore, configure options as needed, then run.
Example 3: Scan a VS Code extension
Select operation Scan VS Code Extension, enter vscodeExtensionId, configure options, and execute.