CKCristhian Kapelinski

Cristhian Kapelinski

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Cristhian Kapelinski has a total of 13 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Reading Brazil: A Local Cost-versus-Accuracy Benchmark of Open OCR Engines on Brazilian Documents

    by Cristhian Kapelinski, Aline Lunkes, Daniel Welfer, Dionatan Schmidt, Beatriz Machado, Diego Kreutz

    Privacy rules push Brazilian institutions to read their forms and identity documents on their own hardware. No published benchmark tells them which open OCR engine does that well at the lowest cost: existing ones are English, Chinese, or non-Brazilian Portuguese, and none measures the cost of running locally. We pair a Brazilian-Portuguese accuracy measurement with a cost measurement on one consumer machine, scoring 14 open engines on forms, identity documents, clean prose, and degraded scans. No class of engine wins outright. Only two hold up on all four document types: the OCR engine Surya and the vision-language model Qwen2.5-VL. On identity photos the divide is old engines against recent ones, not OCR engines against vision-language models, and Surya recovers 0.921 of the fields, more than any vision-language model. Engine choice should follow the document type. We also rebuild the forms ground truth from the images and validate it by hand, finding no error in 250 sampled fields.

  • CulturaQuant: Quantization and Brazilian Cultural Knowledge in Small Language Models

    by Cristhian Kapelinski, Dionatan Schmidt, Aline Lunkes, Diego Kreutz

    Quantization compresses small language models but erodes the long tail of rare knowledge. For a Brazilian deployment, that tail includes regional cultural factors, so a practitioner choosing a bit width needs to know whether any loss follows from the fact that it is Brazilian or merely from its being rare. We present CULTURAQUANT, a multiple-choice probe drawn from Wikidata that asks which region a Brazilian cultural figure or event originates from. Each item is paired with an equally rare cultural fact from another country, so the comparison isolates Brazilian origin rather than rarity. Across 11 open models at 8-bit and 4-bit, measuring the 6 that answer above chance, the Brazilian items erode no faster at 8-bit: the pooled differential is +0.2 percentage points (pp) and every per-model interval crosses zero, excluding gaps beyond about 1.8 pp. At 4-bit, a penalty appears only in the Qwen2.5 family. The bit-width budget safe for rare facts is also safe for rare Brazilian facts.

  • PixGuard-Sim: A Deadline-Aware Testbed for Pix Fraud Detectors

    by Cristhian Kapelinski, Diego Kreutz

    Brazilian regulation gives a paying institution about a second and a half to decide whether a suspect Pix transfer should be diverted for review before it settles, on a system used by 170 million people where settlement is irreversible. Yet every openly released payment-fraud dataset and baseline we surveyed is scored in batch, with no reference to that window. PixGuard-Sim is an open testbed that scores a detector against the window from the latency it measures, and releases a Pix-native generator with a settlement clock and two scenarios open data omits: multi-hop MED-2.0 refund tracing and payment under coercion. Scoring accuracy and timing together pulls them apart. The most accurate detectors we evaluate are cloud reasoning models that never saw a labeled event from this stream: the stronger finds 112 of 150 frauds where a random forest fitted to the data finds 93, and neither answers in time. Ranking by accuracy alone selects what cannot be deployed.

  • Open Access

    RAGtrap: Source Revocation and Indexed Provenance Lookup for Poisoned RAG Corpora

    by Cristhian Kapelinski, Diego Kreutz

    Retrieval-augmented generation (RAG) answers questions from passages retrieved out of a corpus, and poisoned passages can steer those answers: in a published attack, 5 passages per target question sufficed to produce the attacker’s chosen answer. Once a source is known to be compromised, recovery means finding the passages it supplied and removing them without discarding unrelated content. RAGTRAP records a signed provenance entry for every passage at ingestion, indexed by source and by content hash. Tracing a suspect passage is then one hash lookup and no language-model request, against one or more per passage for post-incident attribution in the literature. Revoking a source removes only its passages, whereas deleting whole documents also discards benign ones. Exact hashing cannot attribute content changed after ingestion, nor content supplied by more than one source, so RAGTRAP supports recovery from a known compromised source but does not detect or prevent poisoning.

  • Open Access

    CryptoCensus: Cryptographic Posture and Post-Quantum Readiness of Docker Hub

    by Cristhian Kapelinski, Diego Kreutz

    Under a draft schedule from the National Institute of Standards and Technology (NIST), affected systems would stop using Rivest–Shamir–Adleman (RSA) and elliptic-curve cryptography after 2035. Traffic recorded today can be decrypted once a sufficiently large quantum computer exists. How far published container images have moved toward standardized post-quantum algorithms has not been openly measured. CryptoCensus gives every repository in a 12,716,568-repository crawl the same chance of selection. We scan 11,962 images and catalog 4,211,380 certificates and key files. 100% are quantum-vulnerable and 0 are post-quantum. Although 801 images (about one in fifteen) include a library that supports post-quantum algorithms, none contains a post-quantum key or certificate. The images also contain weak cryptography. 43% of certificates outside trust-store paths use Secure Hash Algorithm 1 (SHA-1) or Message-Digest Algorithm 5 (MD5) signatures, 512-bit RSA keys remain, and 36 private keys in operational paths recur across distinct images. Docker Hub images have yet to begin their post-quantum transition, even where supporting libraries are installed.


  • Open Access

    AdminForge: Declarative Privileged-Identity Management for Linux Server Fleets

    by Rui de Quadros Ribeiro, Cristhian Kapelinski, Diego Kreutz

    Stolen credentials are a leading cause of security breaches, yet on Linux server fleets the accounts, SSH keys, and permissions behind them are still often managed by hand. Centralized tools (Teleport, Boundary, FreeIPA) add a network-facing service that itself must be protected, and configuration-management tools have no notion of granting and revoking access. We present AdminForge, an open-source command-line tool that manages accounts, keys, and permissions from one operator machine: the operator edits the declared state, previews the changes, and applies them over SSH, recording every action in a local history and installing nothing on the hosts. Five professional Linux administrators completed its nine-task workflow without training, rating usefulness, ease of use and intention to use at a median of 6/7. A parallel apply, verify or audit over 50 hosts finishes in tens of seconds, and an unchanged re-apply answers locally in under 0.3 s, faster than an Ansible re-run and with no listening service added.

  • Open Access

    ZeroLINC: Training-Free Local Classification of Security Incident Reports

    by Cristhian Kapelinski, Beatriz Machado, Diego Kreutz

    Security operations centers must classify large volumes of incident reports. Recent work automates this by prompting commercial large language models (LLMs), which charge per call and receive sensitive incident data, or locally hosted models with billions of parameters, which demand a GPU server. We present ZeroLINC, an open-source tool that lets a SOC or CSIRT analyst assign each incoming report to one of 12 NIST categories on a single local GPU, with no gradient training and no external API. Its instance-memory engine labels each ticket by similarity to the nearest already-labeled tickets. With 89 labeled examples it reaches 90.8% mean test accuracy over the eight categories the corpus populates (p < 0.001 against the majority baseline), matching the band that prior work reached only with a commercial LLM. A second engine works with no labeled data at all, up to 70.9%. We selected the engines with a systematic benchmark of 293 runs on 182 expert-labeled tickets from real incident response teams. Classifying the whole corpus takes seconds and under 3 Wh on one GPU.

  • Context-Aware SIEM Rule Generation with LLMs: When Site Profiles Are Not Enough

    by Priscila Schafhauzer, Cristhian Kapelinski, Marcio Pohlmann, Diego Kreutz

    Security Information and Event Management (SIEM) platforms ship rulesets that are agnostic to the monitored organization, so a failed login receives the same severity in every environment. We investigate whether an LLM, conditioned only on a short organization profile and a catalog of native Wazuh rule identifiers, can write local rules that bring automated severity classification closer to human analyst judgment. On 1,000 stratified SSH authentication events from two production servers, the LLM-augmented configuration lowers accuracy by 4.4 percentage points and weighted F1 by 3.1 points relative to the native baseline. We trace the regression to a single failure mode, the over-escalation of unsuccessful login attempts from external sources, and discuss why aggregated F1 is a coarse proxy for rule quality.

  • Open Access

    MulitaMiner: A Multi-Version Evaluation of LLM-Based Vulnerability Report Extraction

    by Beatriz Machado, Douglas Lautert, Cristhian Kapelinski, Diego Kreutz, Isadora Garcia Ferrão, Alessandro Bof

    Security teams face 131 new CVEs per day, yet the National Vulnerability Database fails to enrich 44% of new submissions, leaving practitioners without the structured metadata required to prioritize remediation. MulitaMiner closes this gap: an LLM-based pipeline for structured vulnerability extraction from heterogeneous scanner PDFs, hardened across three successive versions (V1–V3) that evolve from a functional baseline, to scanner-aware segmentation, and finally to per-LLM tuning with few-shot prompting. We evaluate five LLMs (DeepSeek, GPT-4, GPT-5, LLaMA 3, LLaMA 4) on three manually curated OpenVAS baselines across 450 independent runs. Without changing the underlying models, Exact Record Match rises from 37.5% to 90.4%, vulnerability-level omission falls by an order of magnitude (20.5% → 1.7%), and cross-model variance in field-level omission collapses from 41.8 to 2.9 percentage points, all with non-overlapping 95% bootstrap confidence intervals. These results establish that pipeline engineering, not model substitution, is the primary lever for extraction quality: within the scope evaluated here, a well-engineered pipeline turns LLM choice into a question of cost and latency rather than accuracy.