
as public-permissioned, allows public read-access of
the ledger, while restricting write and validate oper-
ations to trusted authenticated parties. The network
topology, which includes validator, writer, and ob-
server nodes, allows for efficient custody registration
while ensuring compliance with industry regulations.
This makes RBB a strong candidate for applications
that demand robust traceability, transparency, and col-
laboration across multiple institutions.
This work presents Cust
´
odiaBR, a blockchain-
based solution developed to enhance the chain of cus-
tody for oily waste and oiled fauna monitoring in
Beach Monitoring Projects (Projetos de Monitora-
mento de Praias - PMPs). The system is designed
to meet high industrial standards, as Petrobras acts
at the global-level O&G sector, particularly in off-
shore exploration and production, and plays a cru-
cial role in Brazil’s economy and the international
energy market. The full system-level architecture in-
cludes five integrated subsystems: (i) Backend Server
/ Database; (ii) GatewayBR Web3 Proxy; (iii) VIA
(Sample Integrity Verifier) Frontend Application; (iv)
Self-hosted Dashboard; and (v) Self-hosted Block
Explorer. It integrates real-time data from Petro-
bras’s SIMBA API and registers key custody events
on RBB. It employs a hybrid on-chain/off-chain ar-
chitecture, where critical metadata are recorded on
the blockchain to ensure immutability, while more de-
tailed custody records are stored in secure off-chain
databases. This approach not only ensures data in-
tegrity and traceability but also addresses privacy con-
cerns by preventing the exposure of sensitive environ-
mental data.
This paper is structured as follows. Section 2 is fo-
cused on the concepts of chain of custody and public-
permissioned blockchains. Section 3 presents the re-
lated work and Section 4 details the Cust
´
odiaBR so-
lution. Finally, section 5 presents the conclusion and
future work.
2 BACKGROUND
2.1 Chain of Custody in O&G Sector
Chain of custody refers to the systematic recording
and accountability of custody, control, transfer, anal-
ysis, and disposition of an asset or evidence (Chopade
et al., 2019). The chain of custody establishes a clear
and verifiable pathway, demonstrating uninterrupted
control and handling of assets from their origin to
their ultimate destination. Ensuring accuracy in the
chain of custody is important to avoid unauthorized
access, tampering, or loss of assets and evidence. It
is fundamental in legal, forensic and regulatory envi-
ronments, as it ensures both the integrity and admis-
sibility of evidence during judicial proceedings.
This process involves documenting key details
such as date, time, location, individuals involved, and
changes in custody. To meet these objectives, chain of
custody protocols typically demand strict compliance
with established procedures, prioritizing the preserva-
tion of the integrity and authenticity of assets through-
out their lifecycle.
In the context of O&G, the chain of custody is also
of great significance (Bullerdiek et al., 2025). In this
field, effective control and traceability of materials,
oily waste, and evidence handled throughout opera-
tional stages are essential. Examples of chain of cus-
tody applications in O&G include the traceability of
oily waste, quality control of O&G samples, and fraud
prevention in logistic operations.
This work focuses on the registration of the chain
of custody for oily waste and oiled fauna result-
ing from oil spills, utilizing blockchain technology.
These items are identified within the scope of PMPs,
which oversee monitoring activities related to envi-
ronmental licensing and aim to assess the impact of
Petrobras’s exploration and production (E&P) activi-
ties on marine tetrapods, which include birds, turtles,
and marine mammals.
During beach monitoring, oily waste and oiled
fauna samples are collected directly on the beach,
where they are identified and stored for transfer to the
PMP support base. Subsequently, they are transported
to Petrobras laboratories for analysis. Thus, the sam-
ple follows a workflow comprising three main stages:
(i) collection and delivery, (ii) reception and registra-
tion, and (iii) analysis and conclusion. At each of
these stages, a specific system is used to record infor-
mation, since the sample changes environments and
custodians. In the first stage, the Aquatic Biota Mon-
itoring Information System (Sistema de Informac¸
˜
ao
de Monitoramento da Biota Aqu
´
atica - SIMBA) sys-
tem is employed, whereas in stages 2 and 3, Petro-
bras’s laboratory information management system is
utilized.
Hence, for the chain of custody, it is crucial
that each handling step of the sample is thoroughly
recorded. Relevant data related to these samples in the
different stages include: the date and time they were
found, the latitude and longitude of the location where
they were collected, the name of the monitor respon-
sible for the collection, the name of the field coor-
dinator who registered the sample, the sample num-
ber, the laboratory identifier number, and the names
of the custodians responsible for the analysis. The
immutable blockchain registration of this set of infor-
From Collection to Analysis: A Blockchain Solution for Transparent and Reliable Chain of Custody in the O&G Sector
411