Scan your whole stack
From OX Research Newsroom
Are you using fieldseal?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.2.0
fieldseal was last scanned on 1 Dec 2026 at version 0.2.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.2.0 LATEST | 1 Dec 2026 | No rules fired |
Findings for v0.2.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.2.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Field-level encryption for Python applications, with a format that other languages can read.
Experimental release: not independently reviewed, not for production data. The cryptographic design this package implements has not been reviewed by anyone outside the project. It is pre-1.0: the stored format may change before 1.0, and data written with it now may have to be re-encrypted if review changes a construction. Writing refuses until you explicitly arm provisional use (spec §4.8). This release is for evaluation and feedback; the terms it is published under are in PRD §8.
fieldseal encrypts individual values, such as a column in a database row,
inside your application, so the database and its backups hold only ciphertext.
It also derives blind indexes, short keyed hashes that let you find a row
by an encrypted value without decrypting the whole table.
It is the Python core of Fieldseal, an open
specification for field-level encryption. What it writes, the
TypeScript core can read, and
the reverse. Most applications use it through an ORM adapter instead:
fieldseal-django for Django.
rotate()
re-encrypts a value under the active one.Python 3.10 or later. The cryptography comes from
cryptography (AES-GCM, HKDF, HMAC) and, for
Argon2id blind indexes, argon2-cffi.
pip install "fieldseal[argon2]"
The argon2 extra is needed for Argon2id blind indexes, which is what the
specification requires for guessable values such as email addresses. Without
it, the first Argon2id derivation raises ModuleNotFoundError. Leave it out
only if you use no blind indexes, or only HMAC-SHA-512 ones.
import secrets, uuid
from fieldseal import Fieldseal, FieldContext, IndexDeclaration
from fieldseal.keyprovider import StaticKeyProvider
# Evaluation only: keys held in memory, no KMS. See "Keys" below.
keys = StaticKeyProvider(
key_id=secrets.token_bytes(16),
tenant_dek=secrets.token_bytes(32),
tenant_index_key=secrets.token_bytes(32),
)
# Fixed identifiers for the table and column. Never derive them from names.
USERS = uuid.UUID("a3e1f7c2-5b94-4d08-b6e3-9f2a7c1d4e85").bytes
EMAIL = uuid.UUID("0c9e4b7a-2d15-4f6e-8a3b-1e7d5c9f2a64").bytes
fs = Fieldseal(
key_provider=keys,
allowed_suites={0xFF01},
write_suite=0xFF01,
indexes=[IndexDeclaration(
table_uuid=USERS, column_uuid=EMAIL,
suite_id=0xFF01, # the index's own suite, required; see "Blind indexes"
idf="argon2id", normalize="nfc-casefold-v1",
truncate_bits=15, projected_population=100_000,
)],
arm_provisional_suites=True, # writing refuses without it; see the warning above
)
ctx = FieldContext(table_uuid=USERS, column_uuid=EMAIL)
envelope = fs.encrypt(b"ada@example.com", ctx) # 126 bytes: 111 + the value
fs.decrypt(envelope, ctx) # b'ada@example.com'
fs.is_ciphertext(envelope) # True, without decrypting
index = ctx.for_index("exact")
fs.blind_index("Ada@Example.com", index) # 2 bytes; the same as for "ada@example.com"
fs.rotate(envelope, ctx) # a fresh envelope under the active key
Store envelope in the encrypted column and the blind-index value in a
sibling column; Blind indexes below explains how to look values up.
A blind index is what makes an encrypted column searchable. Next to each
encrypted value, you store a short keyed hash of it: blind_index(value, ctx.for_index(index_id)). To find a value, derive its hash the same way,
select the rows whose index column matches, then decrypt each candidate and
compare. The hash is deliberately truncated, so unrelated values share
hashes and the query returns a few rows that do not match; the comparison is
what makes the answer correct. The ORM adapters do this for you.
Each index is declared up front in indexes=[IndexDeclaration(...)]. An
invalid declaration is refused when the Fieldseal client is built, not at
the first lookup. Choose the options before the first write: changing idf,
argon2, normalize, truncate_bits, index_id, suite_id or
index_key_version later changes every stored hash, so the index has to be
rebuilt.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.