filevet
Self-hosted, open-source scanner that checks the files finance teams receive for security risks before anyone opens or ingests them.
Why
Fintechs and finance teams take in files from outside every day: invoices, bank statements, KYC documents, payment files. Any of them can carry malware, exploit the parser that reads it, or hide instructions meant for an AI system further down the line. Commercial scanners are closed and expensive, and the open-source ones don't understand financial formats like ISO 20022. filevet runs several independent analyzers over a file and returns one report you can act on.
Status
Quickstart
These commands will work from v0.1.0.
pipx install filevet
# or
uv tool install filevet
filevet scan statement.pdf
With Docker, without network access and with the file mounted read-only:
docker run --rm --network none --read-only --tmpfs /tmp -v "$PWD:/in:ro" ghcr.io/pablodt00/filevet scan /in/statement.pdf
Example
filevet scan invoice.pdf --format json
Trimmed output (the format may still change):
{
"filevet_version": "0.1.0",
"artifact": {
"name": "invoice.pdf",
"sha256": "9f2c…e41a",
"declared_type": "application/pdf",
"detected_type": "application/pdf"
},
"findings": [
{
"rule_id": "malware.pdf_active_content",
"severity": "high",
"confidence": 0.9,
"title": "PDF runs JavaScript when opened",
"location": { "object": 12 },
"evidence": "/OpenAction << /S /JavaScript /JS (app.launchURL…) >>",
"references": ["https://cwe.mitre.org/data/definitions/829.html"]
}
],
"summary": { "critical": 0, "high": 1, "medium": 0, "low": 0, "info": 0 },
"verdict": "block"
}
What it checks
Planned for v0.1:
| Analyzer | File types | Threats covered |
|---|---|---|
basic.type_mismatch |
All | Extension doesn't match content, executables disguised as documents |
malware.clamav (optional) |
All | Known malware signatures, via a ClamAV sidecar |
malware.yara |
All | Suspicious structure, using bundled or your own YARA rules |
malware.pdf_active_content |
JavaScript, launch actions, auto-actions, embedded files, obfuscated names | |
malware.office_macros |
XLSX, XLS, DOC | VBA and XLM macros, auto-exec triggers, DDE, remote template injection |
malware.embedded_executable |
All containers | PE, ELF, Mach-O, scripts or .lnk files inside another file |
parser.csv_formula_injection |
CSV, XLSX | Cells that spreadsheet apps will run as formulas, DDE payloads |
parser.xml_unsafe |
ISO 20022 XML | DTDs, XXE, entity expansion, XInclude, deep nesting |
parser.archive_bomb |
ZIP, OOXML | Extreme compression ratios, deep nesting, overlapping entries, quines |
parser.path_traversal |
ZIP | ../ entries, absolute paths, drive letters, symlinks |
parser.polyglot |
All | Files that are valid as more than one type |
parser.malformed |
All | Broken or parser-repaired structure, a common evasion sign |
format.iso20022_schema |
ISO 20022 XML | Messages that don't validate against the official XSD |
Limitations
- filevet never declares a file safe. It reports what it checked and what it found, and no scanner catches everything.
- It doesn't replace antivirus or EDR, email security, or human review of high-value payments.
- v0.1 doesn't detect document tampering or inconsistent financial data (planned for v0.2), or content aimed at AI pipelines (planned for v0.3).
- It doesn't analyze network traffic, attribute malware to families, or store scanned files.
The full scope is in docs/SCOPE.md.
Roadmap
Work is split into phases, each tracked as a milestone: foundations, MVP (v0.1), integrity checks (v0.2), platform features such as a REST API and policy engine (v0.3), and hardening for v1.0.
Contributing
Start with CONTRIBUTING.md. Everyone taking part is expected to follow the Code of Conduct.
Security
Report vulnerabilities privately, as described in SECURITY.md. Please don't open public issues for them.
License
Apache License 2.0. See also NOTICE.
Metadata
Release files for filevet 0.0.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 |
|---|---|---|---|---|
| filevet-0.0.2.tar.gz | 75.6 kB | With provenance | Details for filevet-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| filevet-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for filevet-0.0.2-py3-none-any.whl |
Total release size: 85.1 kB
Release files / filevet-0.0.2.tar.gz
| Download URL | filevet-0.0.2.tar.gz |
|---|---|
| Size | 75.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6e90603255af27f0bca106d7c2fcf14e72ae838d6b46bc6fcbb5a28ac3c2ad16
|
|
BLAKE2b-256 checksum How to use checksums |
b57a49cea0a869d044be50fb8cdd4976dab97688f40e301fe10b1168527a4670
|
| 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 Nov 11, 2026.
Transparency logRelease files / filevet-0.0.2-py3-none-any.whl
| Download URL | filevet-0.0.2-py3-none-any.whl |
|---|---|
| Size | 9.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b2df6d5e3b5d31c2d744742f9b58edbe75abed3e158c420e182436544820dacb
|
|
BLAKE2b-256 checksum How to use checksums |
2b86909f8002dfbed275511333bf7fb34f37203bbeb2d2bf986ccf11e3bb576d
|
| 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 Nov 11, 2026.
Transparency logSecurity for filevet 0.0.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 filevet-0.0.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 Nov 11, 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.