prompt-guard
Prompt Guard scans files before an AI agent reads them. It reports hidden text, obfuscated text and prompt-injection phrases in PDF, DOCX, PPTX, XLSX, HTML, SVG, image, Markdown and plain-text files. It also provides a visible-text extraction mode and a tool-call hook for Claude Code, Codex, Cursor and Antigravity.
Detection is deterministic and pattern based. It covers recognized text channels and patterns. Image pixels, unknown phrasing and paths assembled dynamically by code are outside its coverage.
Install
Python 3.12 or newer is required. The PyPI distribution name is prompt-guard-scanner, and it installs the prompt-guard command (available on PyPI starting with 0.4.2).
Run on demand from PyPI with uvx:
uvx --from prompt-guard-scanner prompt-guard --help
uvx --from prompt-guard-scanner prompt-guard scan "document.pdf"
Install from PyPI for repeated use or for a hook:
uv tool install prompt-guard-scanner
# Or use pipx:
pipx install prompt-guard-scanner
To install from GitHub or pin a specific Git release tag (for example v0.4.2 or v0.4.1):
uvx --from 'git+https://github.com/lzffelix/prompt-guard.git@v0.4.2' prompt-guard scan "document.pdf"
uv tool install 'git+https://github.com/lzffelix/prompt-guard.git@v0.4.2'
# Or use pipx:
pipx install 'git+https://github.com/lzffelix/prompt-guard.git@v0.4.2'
Install the agent skill from the root SKILL.md:
npx skills add lzffelix/prompt-guard --skill prompt-guard
Run from a Git checkout with locked dependencies:
git clone https://github.com/lzffelix/prompt-guard.git
cd prompt-guard
uv sync --managed-python --frozen
uv run --managed-python --frozen prompt-guard --help
If the checkout already exists, run uv run --managed-python --project "<checkout>" --frozen prompt-guard scan "document.pdf"
from any directory. The legacy commands scripts/scan.py and scripts/hook_pre_tool_use.py still
work with uv run --managed-python --project "<checkout>" --frozen python "<checkout>/scripts/<script>.py".
Scan files
prompt-guard scan "document.pdf"
prompt-guard scan --recursive --exclude-dir .git --exclude-dir .venv "documents/"
prompt-guard scan --recursive --format sarif "documents/" > results.sarif
prompt-guard scan --sanitize "document.pdf"
Use -r or --recursive to descend into directories (--exclude-dir NAME skips named
directories during recursive scans, repeatable), --json (or --format json) for structured
findings, and --format sarif for SARIF 2.1.0 output (mapping HIGH to error, MEDIUM to
warning, and SUSPECT and LOW to note, with unscannable files emitted as scan_error at
error level).
--strict exits with code 2 when a scan finds HIGH, MEDIUM or SUSPECT signals or when a selected
file is unscannable. Ordinary scans return 0 even when they report findings or file errors.
Missing paths emit a warning and are skipped. With --sanitize, the output is a visible-text view
with hidden content and injection-like lines removed. In this mode, --strict exits 2 on
extraction errors. Images have no sanitized text view.
Severities
| Level | Meaning |
|---|---|
| HIGH | Concealed text that carries an injection phrase or reads like prose: white, tiny, transparent, off-page or hidden-layer text, hidden elements, and comments, metadata, alt text, invisible characters or encoded payloads that contain an injection phrase. A file that cannot be scanned also counts as HIGH. |
| MEDIUM | A weaker concealment signal: a short hidden token, an embedded file, a hidden sheet or layer, or metadata (over 250 characters), image alt text (over 160) or HTML meta content (over 300) that is unusually long but has no injection phrase. |
| LOW | A comment of 20 or more characters (HTML, XML, SVG, Markdown, Word, PowerPoint) with no injection phrase, a script-toggled HTML UI panel or control, a single-character hidden Word run, a boundary byte-order mark (U+FEFF), or long non-prose OOXML metadata. Reported, but it does not trigger --strict or the hook. |
| SUSPECT | An injection-like sentence in text the reader can see. |
Script-toggled UI panels and benign styling (HTML and DOCX). A hidden HTML element with a UI panel role (tabpanel, dialog, alertdialog, menu, tooltip)—or a container role (region, group, status, alert, navigation, complementary) explicitly named by aria-controls or data-target, its hidden-only nested children, or a short hidden button/menuitem/status control—is reported as LOW instead of HIGH when only hidden hides it and the page has both visible controls and an inline hidden-toggling script. An element with hidden, id, and a UI role referenced in that inline script drops to MEDIUM, and short (< 8 words) hidden HTML labels without injection or AI-instruction wording drop to MEDIUM. White text on a non-white background, color: transparent with background-clip: text on a gradient, and benign @media print { display: none } rules are treated as visible UI (the same dark-background exemption applies to DOCX w:shd, w:highlight, table headers, and shapes). Any injection phrase or instruction-like wording aimed at an AI stays HIGH in every container and hiding method. Markdown with raw HTML is not covered by the script-toggled rule.
Unscannable files count as HIGH
The scanner never reports a file it could not read as clean. A damaged or truncated PDF, a file
that needs a password, a corrupt archive or any other parse error raises an exception. On the
command line that prints [ERROR] Failed to scan ... (the exit code stays 0 unless you pass
--strict, which exits with 2); with --json the file is listed under unscannable; in the hook the file becomes a HIGH
finding in the channel scan_error, and the hook asks or denies like for any other HIGH finding.
GitHub Action
The repository includes a composite GitHub Action at action.yml that installs
prompt-guard from uv.lock into an isolated environment with uv, scans the selected paths,
and optionally writes and uploads a SARIF 2.1.0 report to GitHub Code Scanning. It is available on
main and ships with releases from v0.4.0 on; v0.3.0 does not contain action.yml.
Pin the action to a full commit SHA (and pin actions/checkout by SHA). Private repositories may
require GitHub Advanced Security to upload SARIF to Code Scanning:
permissions:
contents: read
security-events: write # required only when upload-sarif is "true"
jobs:
prompt-guard:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: lzffelix/prompt-guard@v0.4.2 # pinning a full commit SHA is recommended
with:
paths: "docs/ fixtures/"
recursive: "true"
strict: "true"
format: sarif
sarif-file: prompt-guard.sarif
upload-sarif: "true"
| Input | Default | Description |
|---|---|---|
paths |
. |
Space-separated file or directory paths to scan (passed after --). |
recursive |
true |
Pass --recursive to descend into directories ("true" or "false"). |
exclude-dirs |
.git,.venv,node_modules |
Comma- or space-separated directory names skipped during recursive scans (empty to scan all). |
strict |
true |
Pass --strict to exit 2 on HIGH, MEDIUM, SUSPECT, or unscannable files ("true" or "false"). |
format |
text |
Output format (text, json, or sarif). Forced to sarif when upload-sarif is "true". |
sarif-file |
prompt-guard.sarif |
Output path for the generated SARIF file. |
upload-sarif |
false |
Upload the SARIF file via github/codeql-action/upload-sarif (pinned by SHA). Use lowercase "true" or "false". |
sarif-category |
prompt-guard |
Category passed to upload-sarif. |
python-version |
3.12 |
Managed Python version installed by uv. |
Outputs: exit-code (scan process exit code) and sarif-file (path written when SARIF is generated).
When upload-sarif is "true", the action uploads the SARIF report before enforcing a non-zero
--strict exit code. See .github/workflows/dogfood.yml for a
workflow that exercises the action against generated clean and intentional sample fixtures.
The hook
prompt-guard hook reads a JSON event from standard input, scans the files the event refers to
and prints a JSON decision on standard output. Install the command once before configuring hooks.
If the host does not inherit your shell's PATH, substitute the shell-quoted absolute path to
the installed prompt-guard executable in the examples.
Host (--client) |
Pre-tool event | Optional prompt event | Payload and decision |
|---|---|---|---|
Claude Code (claude) |
PreToolUse |
UserPromptSubmit |
Reads tool_name, tool_input, cwd, permission_mode and prompt. Returns hookSpecificOutput with a permission decision or additional context. |
Codex (codex) |
PreToolUse |
UserPromptSubmit |
Uses the same JSON payload and decision format as Claude Code. |
Cursor (cursor) |
preToolUse |
beforeSubmitPrompt |
Also reads workspace_roots and attachments. Returns permission and optional user_message, agent_message or additional_context. |
Antigravity (antigravity) |
PreToolUse |
PreInvocation |
Reads toolCall.name, toolCall.args, cwd, conversationId and lastUserInput. Returns decision or prompt injectSteps. |
The tests exercise the hook's JSON interface. The location and wiring of hook configuration depend on the host version.
Claude Code
Merge the following entry into ~/.claude/settings.json or the project's Claude Code settings.
For the optional prompt hook, use the same command shape under UserPromptSubmit and append
--event UserPromptSubmit.
{
"hooks": {
"PreToolUse": [
{
"hooks": [
{ "type": "command", "command": "prompt-guard hook --client claude" }
]
}
]
}
}
Codex
Merge the following into the Codex hooks.json file (for example ~/.codex/hooks.json).
For the optional prompt hook, use the same command shape under UserPromptSubmit and append
--event UserPromptSubmit.
{
"hooks": {
"PreToolUse": [
{
"hooks": [
{ "type": "command", "command": "prompt-guard hook --client codex" }
]
}
]
}
}
Cursor
Merge the following into ~/.cursor/hooks.json or the project's .cursor/hooks.json.
For the optional prompt hook, add the command under beforeSubmitPrompt and append
--event beforeSubmitPrompt.
{
"version": 1,
"hooks": {
"preToolUse": [
{ "command": "prompt-guard hook --client cursor --event preToolUse" }
]
}
}
Antigravity
Register a command hook for PreToolUse through the hook configuration supported by your
Antigravity version. For the optional prompt event, register the second command for
PreInvocation.
prompt-guard hook --client antigravity
prompt-guard hook --client antigravity --event PreInvocation
What it blocks, asks about or lets through
Files it looks at: .pdf .docx .pptx .xlsx .html .htm .xhtml .svg .png .jpg .jpeg .webp .gif .tiff .tif
always, and .md .markdown .txt .csv .xml .rtf .tex .eml when the file exists and is not under a
trusted directory. .json, .yaml and .yml files are not scanned by the hook (the command-line
scanner does scan them). A checkout-based hook skips its own checkout. A wheel-installed hook
skips only its installed package directory. The hook also skips the recovery command it emits
when it runs on its own.
| Result of the scan | What the hook does |
|---|---|
| Nothing found | Allows the call. |
| MEDIUM or SUSPECT only | Allows the call. On Claude Code, Codex and Cursor the model also receives a note with channel names and line numbers, never file text. Antigravity has no such channel, so the result is only logged. |
| Any HIGH finding, including an unscannable file | ask when a person can answer, deny when nobody can. The ask text shows the revealed hidden content to that person. The deny text goes to the model and holds only counts, channel names and the --sanitize command. |
When it asks and when it denies:
PROMPT_GUARD_DECISION=askordenyforces the answer.- Cursor always gets
deny, because itsaskwas not honoured in testing (see the comment in the code). - Claude Code and Codex get
denywhen the payload'spermission_modeisbypassPermissionsordontAsk, otherwiseask. - Antigravity gets
denywhen a parent process was started with--dangerously-skip-permissions(found by runningps), otherwiseask.
On the prompt event, files named in the user's message (for example @path) are scanned and a
warning is added for the model when a file has a HIGH or SUSPECT finding (a MEDIUM finding alone adds no
warning on this event). The user's message is never blocked.
The hook fails open on its own errors: if its input is not valid JSON or the hook itself
crashes, it prints an allow answer and logs allow-after-error. Only a file that was found and
could not be scanned is treated as HIGH.
Settings
| Environment variable | Default | Effect |
|---|---|---|
PROMPT_GUARD_TRUSTED_DIRS |
empty (no trusted directory) | Directories, separated by : (; on Windows), whose text files (.md, .txt, ...) the hook does not scan, for example your own instruction folders that mention injection phrases on purpose. Binary document formats are always scanned. |
PROMPT_GUARD_DECISION |
unset | ask or deny forces the answer for HIGH findings. |
PROMPT_GUARD_LOG |
per host, below | Path of the log file. |
PROMPT_GUARD_CLAUDE_LOG, PROMPT_GUARD_CLAUDE_DECISION |
unset | Older names of the two settings above; still read. |
What it logs, and where
One JSON line per hook call, metadata only. Fields: timestamp, host, event, tool name,
permission mode, the names of the payload keys, the paths of the files it scanned, counts of
findings and the outcome (allow-no-target, allow-clean, allow-note, ask, deny,
prompt-clean, prompt-context, prompt-already-warned, prompt-no-target or
allow-after-error with the error type and message). It never writes file contents. File paths are
written, so the log can reveal which files you opened.
| Host | Default log file |
|---|---|
| Claude Code | ~/.claude/logs/prompt-guard-hook.log |
| Codex | ~/.codex/logs/prompt-guard-hook.log |
| Cursor | ~/.cursor/logs/prompt-guard-hook.log |
| Antigravity | ~/.gemini/logs/prompt-guard-hook.log |
The file is moved to <name>.1 when it passes 5 MB. On Antigravity the hook also keeps
prompt-guard-seen.json next to the log (hashes of conversation id, file path and modification
time) so it warns once per conversation and file version.
No network calls
The scanner and hook run offline. The test suite replaces socket functions with functions
that fail and runs the scanner over the fixtures. The hook starts ps for Antigravity only.
Installation from PyPI or Git can contact PyPI and GitHub.
Resource limits
A limit is never a way to get a file reported as clean: a file that goes over one is unscannable
([ERROR] on the command line, a HIGH scan_error in the hook). The limits are constants in
src/prompt_guard/limits.py.
| Limit | Value |
|---|---|
| Any file read into memory (all formats) | 100 MB |
One member of a .docx, .pptx or .xlsx archive (declared uncompressed size, checked before reading) |
50 MB |
| All members of one archive added up | 200 MB |
| Members in one archive | 10,000 |
One PNG zTXt or iTXt chunk after decompression |
1 MB; a larger chunk makes the file unscannable (it is not truncated, because the part that was cut off could hold the payload) |
| A gzip-wrapped PDF after unpacking | 256 MB |
The patterns that look for <!-- ... -->, \iffalse ... \fi, hidden HTML in Markdown, [//]: # (...),
CSS rules and XMP packets run in linear time, so a file full of unclosed openers cannot stall the scan.
One case is still slow: a page with thousands of nested hidden elements makes the HTML and Markdown
checks take minutes, because each hidden element's text is collected separately.
PDF reading
PDF support uses two permissively licensed libraries instead of PyMuPDF (AGPL):
- pdfminer.six reads the page content: every character with its font size, colour, fill transparency and position, filled shapes (to tell white text on a dark banner from hidden text), form XObjects, and the appearance streams of annotations and form fields.
- pypdf reads the objects around it: Info and XMP metadata, outline titles, attachments, optional-content layers, annotations and form field values.
The PDF reader in src/prompt_guard/pdf_extract.py combines those results. The checks live in
src/prompt_guard/scan.py.
The limitations of this approach are listed in SKILL.md.
Dependencies and licenses
Runtime (all permissive; no GPL, AGPL or LGPL package):
| Package | Version in uv.lock |
License | Needed by |
|---|---|---|---|
| beautifulsoup4 | 4.15.0 | MIT | direct |
| soupsieve | 4.1.4 | MIT | beautifulsoup4 |
| typing-extensions | 4.16.0 | PSF-2.0 | beautifulsoup4 |
| pdfminer.six | 20260107 | MIT | direct |
| charset-normalizer | 3.5.3 | MIT | pdfminer.six |
| cryptography | 51.0.1 | Apache-2.0 OR BSD-3-Clause | pdfminer.six |
| cffi | 2.1.1 | MIT-0 | cryptography |
| pycparser | 3.12 | BSD-3-Clause | cffi |
| pypdf | 7.2.0 | BSD-3-Clause | direct |
Development only (the dev dependency group, never imported by the scanner): pytest (MIT) with
pluggy (MIT), iniconfig (MIT), packaging (Apache-2.0 OR BSD-2-Clause) and pygments (BSD-2-Clause);
reportlab (BSD) with pillow (MIT-CMU) and charset-normalizer (MIT); colorama (BSD-3-Clause, pulled in by
pytest on Windows only).
The optional third-party snyk-agent-scan (Apache-2.0) is not a dependency; see SKILL.md.
Tests
uv sync --managed-python --frozen
uv run --managed-python --frozen pytest
The suite builds its PDFs, Office files, HTML, SVG, Markdown and images on the fly. It checks each PDF check on small files made to trip it and on clean files that must stay clean, every other format, the sanitized view, unscannable files, the hook (answers per host, trusted directories, logging) and that no network code is reached.
Limitations
The scanner extracts text and metadata from supported formats. It has no OCR, legacy Office binary parser or general archive scanner. Pattern matching can miss unfamiliar wording and flag legitimate content. The hook can extract literal paths and expand ordinary globs or environment variables. It cannot resolve a path generated dynamically by a script. See the format-specific limits in SKILL.md.
Documentation and contributing
- Documentation index
- Synthetic evaluation benchmark (see also
scripts/evaluate.py) - Releasing and PyPI Trusted Publishing notes
- Contributing and Code of Conduct
Security and license
Report vulnerabilities privately as described in SECURITY.md. The project is licensed under the MIT License.
False positives on real documents
Measured on 2026-12-05 with scanner commit 82ac330. Corpus: 446 documents from the maintainer's own course, study and downloaded files. Fixed seed 20261205; up to 60 files per format, one folder at a time round-robin, deduplicated by content hash. Left out: files over 100 MB, names that suggest private or financial content, agent files and this project's own test files. Candidates found / sampled: pdf 410/60, docx 262/60, pptx 0/0, xlsx 26/26, html 186/60, md 1012/60, txt 100/60, svg 244/60, png+jpg 862/60. Each file counts once, under its highest severity. Only counts were kept; no file names or text.
| Format | Files | Clean | LOW | SUSPECT | MEDIUM | HIGH | False positive among flagged |
|---|---|---|---|---|---|---|---|
| 60 | 57 | 0 | 0 | 3 | 0 | 3 of 3 | |
| docx | 60 | 49 | 2 | 0 | 5 | 4 | 9 of 9 |
| xlsx | 26 | 26 | 0 | 0 | 0 | 0 | none flagged |
| html | 60 | 32 | 3 | 0 | 12 | 13 | 25 of 25 |
| md | 60 | 57 | 0 | 3 | 0 | 0 | 3 of 3 |
| txt | 60 | 60 | 0 | 0 | 0 | 0 | none flagged |
| svg | 60 | 32 | 27 | 0 | 1 | 0 | 1 of 1 |
| png+jpg | 60 | 54 | 0 | 0 | 5 | 1 | 3 of 6 (2 true positives, 1 unclear) |
| All | 446 | 367 | 32 | 3 | 26 | 18 | 44 of 47 |
18 of 446 files (4.0%, Wilson 95% interval 2.6% to 6.3%) have a HIGH finding, so the hook would ask about them. All 18 were false positives (interval for 18 of 18: 82% to 100%); 7 of the 13 HTML files are versions of one page. With MEDIUM and SUSPECT, 47 files (10.5%, 8.0% to 13.7%) were flagged: 44 false positives, 2 true positives and 1 unclear. The 2 true positives are PNGs with a chat-persona prompt in their metadata (MEDIUM, no injection phrase). The unclear one is a JPEG with 24 opaque bytes after the image. No file could not be scanned. Per file, the scan took 0.11 s at the median and 1.35 s at most. This is the maintainer's own folders, not a benchmark.
Causes of the 44 false positives (one cause per file):
- 16 HTML files: elements of a web app or template that script or the page hides (menu item, map panel, popup, settings block, empty-state text, sidebar, collapsed "more" block, small control).
- 7 files: white or transparent text on a coloured banner, button, table header or gradient (html 4, docx 2, svg 1).
- 5 files: a stray zero-width space or byte-order mark (docx 4, and the header of an image's XMP packet 1).
- 4 files: long metadata that is not prose (Office custom properties 2, XMP 2).
- 3 HTML files: a
display: nonerule inside@media print. - 3 Markdown files: documentation that names a credential folder.
- 3 PDF files: a page number outside the page box, a fully transparent emoji, a reader's own annotation.
- 3 single files: a bilingual page that hides one language, long alt text on screenshots, a one-character hidden Word run.
After tightening (2026-12-05)
Re-measured on HTML and DOCX (60 files each) after tightening, with HIGH false positives before vs after:
- Same seed (
20261205, optimistic — rules were designed on it): rebuilt candidate pools (203 HTML, 282 DOCX) gave HTML12 -> 3HIGH of 60 (3remaining: saved web-appdisplay:none/opacity:0blocks without visible toggle controls) and DOCX1 -> 0HIGH of 60 (2 -> 0MEDIUM). Rebuilt baseline counts differed slightly from the82ac330run above (13 and 4 HIGH). - Out of sample (seed
20261206, excluding first sample): HTML3 -> 1HIGH of 60 (1 remaining: saved web-appdisplay:noneblocks); DOCX3 -> 3HIGH of 60 (1 unscannable OLE2.doc-format file + 2 files with 2–4 boundaryU+200Bcharacters). All HIGH and MEDIUM findings in both sets were triaged as false positives (0 true positives).
Changed rules (injection phrases and AI-instruction wording stay HIGH in every case):
- HTML script-toggled UI: added
aria-controls/data-targetcontainer roles, nestedhiddensub-elements, and shorthiddenbuttons/status elements (LOW), plus script-referencedhiddenUI regions (MEDIUM). - HTML short UI labels: hidden HTML elements under 8 alpha words without instruction wording drop to MEDIUM.
- HTML
@media print: print-onlydisplay: nonerules are not treated as screen-hidden. - HTML/DOCX white or gradient-clipped text: white text on non-white backgrounds/shading/table headers and
background-clip: textgradients are not flagged as hidden. - DOCX 1-char runs & non-prose metadata: contiguous hidden runs join per paragraph (1-char benign runs -> LOW); long non-prose OOXML properties -> LOW.
- Control characters: boundary
U+FEFFBOM -> LOW; single boundaryU+200B-> MEDIUM; word-splitting or BiDi controls stay HIGH.
On 2026-12-05, up to 10 U+200B characters per text unit, including inside words, became MEDIUM when the only other scanned control is an optional leading BOM and neither the original nor the control-stripped text matches injection or AI-instruction patterns. In reconstructed DOCX samples of 60 files each, seeds 20261205 and 20261206 both went from 3 to 2 HIGH and from 1 to 2 MEDIUM. Both changed files were triaged as false positives. Findings in the other sampled formats for seed 20261205 were unchanged.
Limits: the first sample is optimistic because rules were designed on it; detection recall is tested only on synthetic fixtures; the corpus is one person's documents; triage was done by one reviewer, an AI agent, reading findings locally.
Metadata
Release files for prompt-guard-scanner 0.4.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| prompt_guard_scanner-0.4.2.tar.gz | 195.5 kB | With provenance | Details for prompt_guard_scanner-0.4.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| prompt_guard_scanner-0.4.2-py3-none-any.whl | Python 3 | none | any | Details for prompt_guard_scanner-0.4.2-py3-none-any.whl |
Total release size: 260.1 kB
Release files / prompt_guard_scanner-0.4.2.tar.gz
| Download URL | prompt_guard_scanner-0.4.2.tar.gz |
|---|---|
| Size | 195.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2eaed07f54924be0adcf4541343e6443df89c1ea49759bea91514d49df2759f7
|
|
BLAKE2b-256 checksum How to use checksums |
0ec5b6d23811f41b1f482862794bae5d34292976d6f6c21bb90a17b8fde85cec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 6, 2026.
Transparency logRelease files / prompt_guard_scanner-0.4.2-py3-none-any.whl
| Download URL | prompt_guard_scanner-0.4.2-py3-none-any.whl |
|---|---|
| Size | 64.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c8b1fa2ebef032bb7e387483c242ffa8db4ed88f3f14dec1321775f890eea1c3
|
|
BLAKE2b-256 checksum How to use checksums |
946d920d8fe90374083c5e5bb27e6495d7bf6aae84fb0b6bf0f2cd5b02e63ac4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 6, 2026.
Transparency logSecurity for prompt-guard-scanner 0.4.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for prompt_guard_scanner-0.4.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 6, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.