<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Axon OSINT</title>
    <description>The latest articles on DEV Community by Axon OSINT (@axonosint).</description>
    <link>https://dev.to/axonosint</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4203110%2Fb0cd7b98-aba3-4ca8-88e2-32d0ae87a89d.png</url>
      <title>DEV Community: Axon OSINT</title>
      <link>https://dev.to/axonosint</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/axonosint"/>
    <language>en</language>
    <item>
      <title>Two Fraud Reports Shared a Phone Number. Why That Wasn't Enough.</title>
      <dc:creator>Axon OSINT</dc:creator>
      <pubDate>Tue, 03 Nov 2026 18:49:12 +0000</pubDate>
      <link>https://dev.to/axon-osint/two-fraud-reports-shared-a-phone-number-why-that-wasnt-enough-3p74</link>
      <guid>https://dev.to/axon-osint/two-fraud-reports-shared-a-phone-number-why-that-wasnt-enough-3p74</guid>
      <description>&lt;p&gt;&lt;em&gt;Building safer identity resolution and crime pattern intelligence in Axon OSINT.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Imagine two people reporting completely separate online scams.&lt;/p&gt;

&lt;p&gt;The first lost money after communicating with someone who promised unusually high investment returns.&lt;/p&gt;

&lt;p&gt;The second received messages from someone pretending to represent a legitimate company.&lt;/p&gt;

&lt;p&gt;Different victims. Different stories. Different circumstances.&lt;/p&gt;

&lt;p&gt;But one detail appears in both reports.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The same phone number.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;At first glance, this looks like an obvious connection.&lt;/p&gt;

&lt;p&gt;Two reports. One shared identifier. Potentially the same operation.&lt;/p&gt;

&lt;p&gt;A developer could write a matching function, connect the records, and display a relationship in an investigation graph.&lt;/p&gt;

&lt;p&gt;Problem solved?&lt;/p&gt;

&lt;p&gt;Not quite.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What if the number was spoofed? What if it had been reassigned? What if both reports copied information from the same unreliable source?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Suddenly, a seemingly straightforward technical task becomes something much more serious.&lt;/p&gt;

&lt;p&gt;The system might be correct about the matching data and completely wrong about what that match means.&lt;/p&gt;

&lt;p&gt;This illustrative scenario captures one of the hardest engineering problems we encountered while building Axon OSINT.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Problem With Being Technically Correct
&lt;/h2&gt;

&lt;p&gt;Most developers are familiar with deduplication.&lt;/p&gt;

&lt;p&gt;You normalize incoming data, compare identifiers, and determine whether two records belong together.&lt;/p&gt;

&lt;p&gt;For ordinary business software, this might mean combining duplicate customer records.&lt;/p&gt;

&lt;p&gt;In fraud intelligence, the consequences can be very different.&lt;/p&gt;

&lt;p&gt;A shared email address might suggest a connection between incidents.&lt;/p&gt;

&lt;p&gt;A cryptocurrency wallet might appear in several reports.&lt;/p&gt;

&lt;p&gt;A domain might be associated with multiple suspicious websites.&lt;/p&gt;

&lt;p&gt;But none of these observations automatically establishes who controls the identifier, whether two activities share an operator, or whether a particular person committed a crime.&lt;/p&gt;

&lt;p&gt;Consider an IP address.&lt;/p&gt;

&lt;p&gt;It may be associated with a server used by several unrelated services.&lt;/p&gt;

&lt;p&gt;A phone number may be spoofed or reassigned.&lt;/p&gt;

&lt;p&gt;A username may be used by entirely different people on different platforms.&lt;/p&gt;

&lt;p&gt;And even when two reports contain exactly the same information, those reports may not represent independent confirmation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Matching data is not the same as matching identities. And matching identities is not the same as proving wrongdoing.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That distinction fundamentally changed how we approached identity resolution.&lt;/p&gt;

&lt;h2&gt;
  
  
  We Had to Separate Observations From Conclusions
&lt;/h2&gt;

&lt;p&gt;When building Axon OSINT's identity resolution and crime pattern capabilities, one principle became particularly important:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;An observation should remain an observation until there is a justified reason to treat it as something more.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Suppose an investigator encounters a suspicious cryptocurrency address.&lt;/p&gt;

&lt;p&gt;The system can record that the address was observed, where it appeared, and which incident it was associated with.&lt;/p&gt;

&lt;p&gt;If another report contains the same address, the system can identify a potential relationship.&lt;/p&gt;

&lt;p&gt;But that relationship is not yet a conclusion about the people behind the incidents.&lt;/p&gt;

&lt;p&gt;There are several different questions:&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Was the same identifier observed?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Is the observation reliable?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Does the surrounding evidence support a meaningful relationship?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Is there information that contradicts the proposed connection?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;What is still unknown?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;These questions sound simple.&lt;/p&gt;

&lt;p&gt;Yet answering them properly requires much more than comparing strings.&lt;/p&gt;

&lt;p&gt;We had to design around the difference between &lt;strong&gt;what the system detected&lt;/strong&gt;, &lt;strong&gt;what the evidence suggests&lt;/strong&gt;, and &lt;strong&gt;what an investigator has actually reviewed&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;That separation prevents an automated observation from quietly becoming an established fact.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why More Data Doesn't Always Mean Better Evidence
&lt;/h2&gt;

&lt;p&gt;One particularly interesting challenge was the relationship between data volume and evidence quality.&lt;/p&gt;

&lt;p&gt;Imagine five different sources reporting the same suspicious domain.&lt;/p&gt;

&lt;p&gt;Five sources sound more convincing than one.&lt;/p&gt;

&lt;p&gt;But what if four of them copied the information from the fifth?&lt;/p&gt;

&lt;p&gt;What looks like independent corroboration could actually be the same claim repeated several times.&lt;/p&gt;

&lt;p&gt;Or imagine an identifier appearing in many reports because it belongs to a widely used service rather than a single malicious actor.&lt;/p&gt;

&lt;p&gt;The number of matches increases.&lt;/p&gt;

&lt;p&gt;The strength of the conclusion does not necessarily increase with it.&lt;/p&gt;

&lt;p&gt;This is a general problem in intelligence analysis: &lt;strong&gt;repetition can create the appearance of certainty without adding independent evidence.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;For Axon OSINT, that meant treating source context and evidence provenance as essential parts of the analytical process.&lt;/p&gt;

&lt;p&gt;A relationship should not become more trustworthy merely because the same underlying information has been imported repeatedly.&lt;/p&gt;

&lt;p&gt;And a missing piece of evidence should not automatically be treated as evidence against a hypothesis.&lt;/p&gt;

&lt;p&gt;Sometimes the correct answer is simply:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;We don't know yet.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;For a system designed to help investigators, that is a perfectly valid answer.&lt;/p&gt;

&lt;h2&gt;
  
  
  False Positives Are Not Just Technical Errors
&lt;/h2&gt;

&lt;p&gt;In many software products, a false positive is an inconvenience.&lt;/p&gt;

&lt;p&gt;An overly aggressive spam filter might place a legitimate email in the wrong folder.&lt;/p&gt;

&lt;p&gt;A recommendation engine might suggest something irrelevant.&lt;/p&gt;

&lt;p&gt;But in investigative software, a false positive can shape the direction of an investigation.&lt;/p&gt;

&lt;p&gt;It might cause an analyst to spend time investigating an unrelated person.&lt;/p&gt;

&lt;p&gt;It could create misleading relationships between separate incidents.&lt;/p&gt;

&lt;p&gt;And if an unsupported connection spreads into reports or downstream decisions, correcting the original mistake becomes increasingly difficult.&lt;/p&gt;

&lt;p&gt;That's why identity resolution cannot be reduced to a binary question:&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Match or no match?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Some relationships are plausible but unverified.&lt;/p&gt;

&lt;p&gt;Others are supported by stronger evidence.&lt;/p&gt;

&lt;p&gt;Some contain contradictions.&lt;/p&gt;

&lt;p&gt;Others are eventually rejected as false positives.&lt;/p&gt;

&lt;p&gt;These distinctions matter because investigative knowledge evolves.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A system must be able to change its assessment without pretending its earlier conclusions never existed.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;We approached this as a problem of preserving both evidence and the history of analytical decisions.&lt;/p&gt;

&lt;p&gt;An investigator may reconsider a potential relationship when new information becomes available.&lt;/p&gt;

&lt;p&gt;That should not require rewriting the original observation or erasing why the earlier assessment existed.&lt;/p&gt;

&lt;h2&gt;
  
  
  A Graph Can Be Persuasive Even When It's Wrong
&lt;/h2&gt;

&lt;p&gt;Investigation graphs are powerful.&lt;/p&gt;

&lt;p&gt;They turn disconnected records into something people can understand visually.&lt;/p&gt;

&lt;p&gt;A phone number connects two incidents.&lt;/p&gt;

&lt;p&gt;A domain connects several websites.&lt;/p&gt;

&lt;p&gt;A wallet appears across multiple reports.&lt;/p&gt;

&lt;p&gt;Suddenly, the investigator can see possible relationships that were difficult to recognize in a table.&lt;/p&gt;

&lt;p&gt;But visualization introduces another risk.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A line drawn between two nodes can look more authoritative than the evidence behind it.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;People naturally interpret connected objects as meaningfully related.&lt;/p&gt;

&lt;p&gt;The graph may be technically accurate — two records really do reference the same identifier — while the viewer draws a much stronger conclusion.&lt;/p&gt;

&lt;p&gt;This became an important design consideration for Axon OSINT.&lt;/p&gt;

&lt;p&gt;We wanted an investigation graph that helped analysts explore evidence without quietly making decisions for them.&lt;/p&gt;

&lt;p&gt;A shared indicator should remain distinguishable from a reviewed relationship.&lt;/p&gt;

&lt;p&gt;A potential crime pattern should remain distinguishable from a confirmed finding about the people involved.&lt;/p&gt;

&lt;p&gt;And different incidents should preserve their individual context, even when they share evidence.&lt;/p&gt;

&lt;p&gt;The purpose of the graph is not to manufacture certainty.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;It's to make relationships easier to examine, challenge, and understand.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Unexpected Challenge: Keeping Unverified Reports Out of Pattern Analysis
&lt;/h2&gt;

&lt;p&gt;Another problem emerged from the source of the information itself.&lt;/p&gt;

&lt;p&gt;Fraud intelligence often begins with reports submitted by ordinary people.&lt;/p&gt;

&lt;p&gt;These reports can be extremely valuable. A single suspicious message might contain a phone number, website, wallet address, or other useful indicator.&lt;/p&gt;

&lt;p&gt;But public reporting also introduces uncertainty.&lt;/p&gt;

&lt;p&gt;A submission may be incomplete.&lt;/p&gt;

&lt;p&gt;It may contain mistakes.&lt;/p&gt;

&lt;p&gt;The person submitting it may not have completed the required confirmation process.&lt;/p&gt;

&lt;p&gt;Or the report may not have the necessary consent for broader analytical processing.&lt;/p&gt;

&lt;p&gt;If every incoming submission immediately contributes to pattern detection, the system risks building relationships from information that has not satisfied its admission requirements.&lt;/p&gt;

&lt;p&gt;During the development of Axon OSINT, we strengthened this boundary to prevent unconfirmed reports from entering Crime Pattern processing.&lt;/p&gt;

&lt;p&gt;This was not simply a frontend validation issue.&lt;/p&gt;

&lt;p&gt;The important question was whether the analytical processing layer itself would respect the required conditions.&lt;/p&gt;

&lt;p&gt;A visual warning or disabled button is not a sufficient substitute for backend enforcement.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Trustworthy analytics begins before the first matching operation.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The quality of an analytical result depends partly on which data is permitted to enter the process.&lt;/p&gt;

&lt;h2&gt;
  
  
  Rebuilding Intelligence Without Rewriting History
&lt;/h2&gt;

&lt;p&gt;There is another difficulty that becomes visible only after an analytical system starts evolving.&lt;/p&gt;

&lt;p&gt;What happens when an earlier relationship is corrected?&lt;/p&gt;

&lt;p&gt;Suppose two observations were believed to be connected.&lt;/p&gt;

&lt;p&gt;Later, an investigator discovers conflicting evidence.&lt;/p&gt;

&lt;p&gt;The relationship should no longer be presented in the same way.&lt;/p&gt;

&lt;p&gt;But perhaps that relationship already influenced a larger group of related incidents.&lt;/p&gt;

&lt;p&gt;Now the system must account for the changed interpretation.&lt;/p&gt;

&lt;p&gt;This is why corrections and invalidation are important concepts in analytical software.&lt;/p&gt;

&lt;p&gt;It isn't enough to change the label on one record.&lt;/p&gt;

&lt;p&gt;Dependent interpretations may need to be reconsidered.&lt;/p&gt;

&lt;p&gt;The original evidence should remain traceable.&lt;/p&gt;

&lt;p&gt;And the system should avoid creating duplicate or contradictory analytical objects whenever information is processed again.&lt;/p&gt;

&lt;p&gt;We addressed these concerns as part of Axon OSINT's identity resolution and crime pattern development.&lt;/p&gt;

&lt;p&gt;The broader engineering lesson is that &lt;strong&gt;correcting an analytical conclusion must be treated as a normal operation, not an exceptional failure&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Real-world evidence changes.&lt;/p&gt;

&lt;p&gt;Software that works with evidence must be designed for that reality.&lt;/p&gt;

&lt;h2&gt;
  
  
  What We Actually Built
&lt;/h2&gt;

&lt;p&gt;The work resulted in an identity resolution and crime pattern foundation that distinguishes observations, candidate relationships, review decisions, and investigation-oriented representations of related incidents.&lt;/p&gt;

&lt;p&gt;The system is designed to preserve the distinction between observed indicators and conclusions about identity or conduct.&lt;/p&gt;

&lt;p&gt;It also supports reviewable relationships, handling of conflicting information, and controlled movement of analytical findings into investigation workflows.&lt;/p&gt;

&lt;p&gt;But I want to emphasize what this does &lt;strong&gt;not&lt;/strong&gt; mean.&lt;/p&gt;

&lt;p&gt;Axon OSINT does not automatically determine that someone is a criminal because multiple reports share an identifier.&lt;/p&gt;

&lt;p&gt;A potential pattern is not proof of a coordinated criminal operation.&lt;/p&gt;

&lt;p&gt;And an analytical risk signal is not a legal determination.&lt;/p&gt;

&lt;p&gt;The goal is to support better investigations by helping people identify, examine, and organize meaningful connections.&lt;/p&gt;

&lt;p&gt;Not to replace human judgment with an impressive-looking graph.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Most Important Lesson
&lt;/h2&gt;

&lt;p&gt;When developers build systems that connect information, it's tempting to optimize for finding more relationships.&lt;/p&gt;

&lt;p&gt;More matches.&lt;/p&gt;

&lt;p&gt;More connections.&lt;/p&gt;

&lt;p&gt;More clusters.&lt;/p&gt;

&lt;p&gt;More insights.&lt;/p&gt;

&lt;p&gt;Those metrics can make a system appear increasingly intelligent.&lt;/p&gt;

&lt;p&gt;But in sensitive domains, maximizing the number of detected relationships is not necessarily the right objective.&lt;/p&gt;

&lt;p&gt;Sometimes the most valuable thing a system can do is refuse to make a conclusion.&lt;/p&gt;

&lt;p&gt;Sometimes it should preserve uncertainty.&lt;/p&gt;

&lt;p&gt;Sometimes it should show conflicting evidence.&lt;/p&gt;

&lt;p&gt;And sometimes the correct behavior is to prevent information from entering an analytical workflow at all.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A trustworthy intelligence system isn't one that connects everything. It's one that knows when a connection is not enough.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That is one of the most important lessons we've learned while building Axon OSINT.&lt;/p&gt;




&lt;h3&gt;
  
  
  About Building Axon OSINT
&lt;/h3&gt;

&lt;p&gt;I'm documenting the engineering challenges behind Axon OSINT, a platform focused on digital investigations, open-source intelligence, and fraud-related information analysis.&lt;/p&gt;

&lt;p&gt;This series explores the difficult decisions behind building software that works with sensitive information — where correctness isn't just about whether the code runs, but also whether the system's conclusions can be trusted.&lt;/p&gt;

&lt;p&gt;More about the project: &lt;a href="https://axonosint.com" rel="noopener noreferrer"&gt;Axon OSINT&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A question for other developers:&lt;/strong&gt; If you've built identity resolution, fraud detection, or data correlation systems, how do you prevent technically correct matches from becoming misleading conclusions?&lt;/p&gt;

</description>
      <category>programming</category>
      <category>architecture</category>
      <category>security</category>
      <category>discuss</category>
    </item>
    <item>
      <title>We Verified the Investigator. Then We Realized That Wasn't Enough.</title>
      <dc:creator>Axon OSINT</dc:creator>
      <pubDate>Thu, 29 Oct 2026 13:27:05 +0000</pubDate>
      <link>https://dev.to/axon-osint/we-verified-the-investigator-then-we-realized-that-wasnt-enough-28fl</link>
      <guid>https://dev.to/axon-osint/we-verified-the-investigator-then-we-realized-that-wasnt-enough-28fl</guid>
      <description>&lt;p&gt;&lt;em&gt;Why we built a three-layer authorization system across nine countries — and why a verified identity doesn't automatically justify access to someone's personal data.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;We could verify that someone was a legitimate investigator. We still couldn't assume they had the right to use a particular person's data.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That distinction changed how we designed one of the most important parts of Axon OSINT.&lt;/p&gt;

&lt;p&gt;At first, the challenge seemed straightforward.&lt;/p&gt;

&lt;p&gt;We were building a digital investigation platform. We needed a way to distinguish professional investigators and legitimate organizations from ordinary account holders.&lt;/p&gt;

&lt;p&gt;A familiar verification workflow seemed reasonable:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Collect professional credentials.&lt;/li&gt;
&lt;li&gt;Check the applicant's identity and organization.&lt;/li&gt;
&lt;li&gt;Approve or reject the application.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;But then the questions became more difficult.&lt;/p&gt;

&lt;p&gt;What if a licensed investigator applies from a country where professional requirements differ by region?&lt;/p&gt;

&lt;p&gt;What if a company exists in an official business register but has no authority to conduct regulated investigations?&lt;/p&gt;

&lt;p&gt;What if a government employee has a valid institutional identity but is acting outside an authorized mandate?&lt;/p&gt;

&lt;p&gt;And here's the question that changed our architecture:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;If we verify an investigator today, does that verification give them a legitimate reason to access every fraud report submitted tomorrow?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Of course not.&lt;/p&gt;

&lt;p&gt;Identity, professional eligibility, access rights, and the lawful use of personal data are related questions.&lt;/p&gt;

&lt;p&gt;But they are not the same question.&lt;/p&gt;

&lt;p&gt;This is the story of how we approached that problem while building Axon OSINT.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. The First Mistake Would Have Been Treating Verification as a Boolean
&lt;/h2&gt;

&lt;p&gt;A typical application might have a database field like:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;type&lt;/span&gt; &lt;span class="nx"&gt;User&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="na"&gt;id&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kr"&gt;string&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;isVerified&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;boolean&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;};&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It's simple.&lt;/p&gt;

&lt;p&gt;It's convenient.&lt;/p&gt;

&lt;p&gt;And for some products, it may be sufficient.&lt;/p&gt;

&lt;p&gt;But for a platform dealing with potentially sensitive investigation records, it leaves too many questions unanswered.&lt;/p&gt;

&lt;p&gt;Verified as what?&lt;/p&gt;

&lt;p&gt;An independent investigator?&lt;/p&gt;

&lt;p&gt;An employee of a licensed investigation agency?&lt;/p&gt;

&lt;p&gt;A representative of a registered organization?&lt;/p&gt;

&lt;p&gt;An authorized government officer?&lt;/p&gt;

&lt;p&gt;And verified under which jurisdiction's requirements?&lt;/p&gt;

&lt;p&gt;A single Boolean can't communicate those distinctions.&lt;/p&gt;

&lt;p&gt;So we treated professional verification as an application and decision process, not merely an account attribute.&lt;/p&gt;

&lt;p&gt;Applicants provide relevant information and evidence. Requirements are resolved according to the applicable professional route. Reviewers evaluate that evidence. A final decision is recorded.&lt;/p&gt;

&lt;p&gt;An applicant who passes verification has established a particular professional or organizational eligibility.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;They have not received unlimited authority to process other people's personal information.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That became our first architectural boundary.&lt;/p&gt;




&lt;h2&gt;
  
  
  2. Nine Countries Meant More Than Nine Different Forms
&lt;/h2&gt;

&lt;p&gt;Axon OSINT's verification architecture supports a launch baseline covering:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🇬🇧 United Kingdom&lt;/li&gt;
&lt;li&gt;🇺🇸 United States&lt;/li&gt;
&lt;li&gt;🇦🇺 Australia&lt;/li&gt;
&lt;li&gt;🇩🇪 Germany&lt;/li&gt;
&lt;li&gt;🇪🇸 Spain&lt;/li&gt;
&lt;li&gt;🇫🇷 France&lt;/li&gt;
&lt;li&gt;🇮🇹 Italy&lt;/li&gt;
&lt;li&gt;🇵🇱 Poland&lt;/li&gt;
&lt;li&gt;🇺🇦 Ukraine&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The difficult part wasn't translating the application form.&lt;/p&gt;

&lt;p&gt;It was determining what the application should require.&lt;/p&gt;

&lt;p&gt;Professional licensing and authorization are not uniform.&lt;/p&gt;

&lt;p&gt;The 🇺🇸 United States is a particularly clear example. Requirements for private investigators can vary substantially among states, and some jurisdictions do not impose statewide investigator licensing in the same way as others.&lt;/p&gt;

&lt;p&gt;🇦🇺 Australia also requires attention to state and territory distinctions.&lt;/p&gt;

&lt;p&gt;🇪🇺 European jurisdictions share important data-protection rules under GDPR, but professional regulation and national rules affecting investigations can differ.&lt;/p&gt;

&lt;p&gt;We needed a way to represent those variations without reducing everything to a universal document checklist.&lt;/p&gt;

&lt;p&gt;Our approach was to create jurisdiction-aware professional requirement routes.&lt;/p&gt;

&lt;p&gt;A route considers factors such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Country and applicable subdivision.&lt;/li&gt;
&lt;li&gt;Whether the applicant is an individual or an organization.&lt;/li&gt;
&lt;li&gt;Professional or organizational category.&lt;/li&gt;
&lt;li&gt;Applicable credentials, registration evidence, and mandate requirements.&lt;/li&gt;
&lt;li&gt;Relevant authoritative legal and regulatory sources.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In our documented production baseline, this resulted in &lt;strong&gt;216 active professional and government verification routes: 141 personal routes and 75 organization routes&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;These aren't 216 separate websites or manually designed registration pages.&lt;/p&gt;

&lt;p&gt;They represent different combinations of eligibility requirements and jurisdictional rules.&lt;/p&gt;

&lt;p&gt;And importantly, a registry result is only evidence.&lt;/p&gt;

&lt;p&gt;It is not automatic professional approval.&lt;/p&gt;




&lt;h2&gt;
  
  
  3. A Registered Business Isn't Necessarily an Authorized Investigation Business
&lt;/h2&gt;

&lt;p&gt;Imagine someone applies on behalf of an organization.&lt;/p&gt;

&lt;p&gt;The organization appears in an official company register.&lt;/p&gt;

&lt;p&gt;Its name matches.&lt;/p&gt;

&lt;p&gt;Its registration appears valid.&lt;/p&gt;

&lt;p&gt;Is that enough?&lt;/p&gt;

&lt;p&gt;No.&lt;/p&gt;

&lt;p&gt;A business register may establish that a legal entity exists.&lt;/p&gt;

&lt;p&gt;It does not necessarily demonstrate that the business holds every professional authorization required for a particular activity.&lt;/p&gt;

&lt;p&gt;Likewise, possession of a company email address doesn't automatically prove that the applicant can represent the company for investigation-related purposes.&lt;/p&gt;

&lt;p&gt;We needed to distinguish several facts that are often incorrectly combined:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Legal existence:&lt;/strong&gt; Does the organization exist?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Professional status:&lt;/strong&gt; Does the applicable route require a licence, professional registration, or other evidence?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Representative authority:&lt;/strong&gt; Is this person authorized to act for the organization?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Mandate:&lt;/strong&gt; What professional or institutional purpose is being asserted?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Review outcome:&lt;/strong&gt; Has the evidence been evaluated sufficiently to justify approval?&lt;/p&gt;

&lt;p&gt;Government bodies introduce another variation.&lt;/p&gt;

&lt;p&gt;A government authority is not necessarily expected to hold a commercial private-investigator licence.&lt;/p&gt;

&lt;p&gt;Instead, verification may need to establish the public body's existence, the representative's identity, institutional authority, and mandate.&lt;/p&gt;

&lt;p&gt;A verification system cannot simply treat every applicant as the same category of professional.&lt;/p&gt;




&lt;h2&gt;
  
  
  4. We Built Human Review Into the Process
&lt;/h2&gt;

&lt;p&gt;Official registries and automated checks are useful.&lt;/p&gt;

&lt;p&gt;But they have limits.&lt;/p&gt;

&lt;p&gt;An automated check might confirm the existence of a registration number.&lt;/p&gt;

&lt;p&gt;It might identify a professional licence record.&lt;/p&gt;

&lt;p&gt;It might establish that a domain belongs to a particular organization.&lt;/p&gt;

&lt;p&gt;None of these checks, individually, proves everything needed for final approval.&lt;/p&gt;

&lt;p&gt;So our system combines structured evidence with human-governed decisions.&lt;/p&gt;

&lt;p&gt;A simplified application lifecycle looks like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Application created
        |
        v
Applicant profile and evidence
        |
        v
Jurisdiction-specific requirements
        |
        v
Application submitted
        |
        v
Administrative review
        |
        +--&amp;gt; Approve
        |
        +--&amp;gt; Reject
        |
        +--&amp;gt; Request more information
                    |
                    v
             Applicant correction
                    |
                    v
                 Re-review
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Our current professional verification rules do not allow automatic final professional approval.&lt;/p&gt;

&lt;p&gt;But rejecting incomplete applications immediately would create another problem.&lt;/p&gt;

&lt;p&gt;A legitimate professional might upload an unreadable document, misunderstand a requirement, or submit evidence that needs clarification.&lt;/p&gt;

&lt;p&gt;That shouldn't always mean starting from zero.&lt;/p&gt;

&lt;p&gt;Which brings us to something we spent considerable time designing.&lt;/p&gt;




&lt;h2&gt;
  
  
  5. "We Need More Information" Should Be a Workflow, Not an Email
&lt;/h2&gt;

&lt;p&gt;One of the most frustrating experiences in verification is receiving a vague response:&lt;/p&gt;

&lt;p&gt;"Your documents are insufficient."&lt;/p&gt;

&lt;p&gt;Which documents?&lt;/p&gt;

&lt;p&gt;What was wrong?&lt;/p&gt;

&lt;p&gt;What should be corrected?&lt;/p&gt;

&lt;p&gt;And how does the reviewer know that the requested correction was actually made?&lt;/p&gt;

&lt;p&gt;We developed a structured feedback workflow for this.&lt;/p&gt;

&lt;p&gt;A reviewer can identify a specific issue involving a document, credential, professional mandate, declaration, or application field.&lt;/p&gt;

&lt;p&gt;The system separates two kinds of communication:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Applicant-facing feedback&lt;/strong&gt;, explaining what needs to be corrected.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Internal review notes&lt;/strong&gt;, preserving information intended only for authorized reviewers.&lt;/p&gt;

&lt;p&gt;A correction follows a defined lifecycle:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Open
  |
  v
Applicant submits a correction
  |
  v
Addressed
  |
  v
Reviewer checks the correction
  |
  v
Resolved
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Notice the distinction between &lt;em&gt;addressed&lt;/em&gt; and &lt;em&gt;resolved&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;A user submitting a replacement document doesn't automatically mean the reviewer has accepted it.&lt;/p&gt;

&lt;p&gt;In our design, replacement evidence is also tied to the original evidence item.&lt;/p&gt;

&lt;p&gt;This helps prevent a generic new upload from accidentally satisfying a request concerning a different document.&lt;/p&gt;

&lt;p&gt;And when multiple administrators work on the same verification application, concurrency controls help prevent conflicting decisions.&lt;/p&gt;

&lt;p&gt;This may sound like a lot of engineering for a verification form.&lt;/p&gt;

&lt;p&gt;But verification is more than data collection.&lt;/p&gt;

&lt;p&gt;It is a process that must be understandable, correctable, and accountable.&lt;/p&gt;




&lt;h2&gt;
  
  
  6. We Also Had to Govern the Rules Themselves
&lt;/h2&gt;

&lt;p&gt;Here's a problem that doesn't become obvious until you build a system for multiple jurisdictions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What happens when the legal source supporting a verification requirement changes?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Imagine a professional requirement references an official legislative document.&lt;/p&gt;

&lt;p&gt;Months later, a reviewer discovers that the reference points to the wrong source.&lt;/p&gt;

&lt;p&gt;Or a relevant rule changes.&lt;/p&gt;

&lt;p&gt;Simply updating the URL isn't enough.&lt;/p&gt;

&lt;p&gt;You also need to determine which verification requirements relied on the old source and whether their previous legal review is still reliable.&lt;/p&gt;

&lt;p&gt;Our architecture includes governed legal-source records, source-readiness checks, versioned policies, and revalidation procedures.&lt;/p&gt;

&lt;p&gt;One concrete example appeared during our review of Colorado requirements.&lt;/p&gt;

&lt;p&gt;A source reference associated with a post-sunset private-investigator licensing route pointed to an unrelated legislative document.&lt;/p&gt;

&lt;p&gt;The reference was corrected, and the dependent rule reviews were invalidated and explicitly revalidated.&lt;/p&gt;

&lt;p&gt;The important lesson wasn't the particular state.&lt;/p&gt;

&lt;p&gt;It was what the system did when the source changed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A legal requirement should not remain trusted solely because it was reviewed successfully in the past.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;We also maintain governed legal text and jurisdictional supplements, including a multilingual review process.&lt;/p&gt;

&lt;p&gt;Historical acceptance evidence is preserved against the policy version applicable when it was recorded.&lt;/p&gt;

&lt;p&gt;Publishing a newer policy must not silently rewrite what someone previously accepted.&lt;/p&gt;

&lt;p&gt;This is where conventional application configuration starts becoming something closer to regulatory infrastructure.&lt;/p&gt;




&lt;h2&gt;
  
  
  7. Verification Was Only the First Layer
&lt;/h2&gt;

&lt;p&gt;After solving much of the professional verification problem, we faced a second question.&lt;/p&gt;

&lt;p&gt;Suppose an investigator is genuinely verified.&lt;/p&gt;

&lt;p&gt;Should they automatically see every sensitive incident in the system?&lt;/p&gt;

&lt;p&gt;No.&lt;/p&gt;

&lt;p&gt;A fraud report might contain names, contact details, financial identifiers, screenshots, conversations, or allegations involving identifiable people.&lt;/p&gt;

&lt;p&gt;Some information may require additional protections depending on its content and the applicable law.&lt;/p&gt;

&lt;p&gt;The fact that a person is professionally eligible does not give them an unrestricted right to see that information.&lt;/p&gt;

&lt;p&gt;So we separated three concepts.&lt;/p&gt;

&lt;h3&gt;
  
  
  Layer 1: Professional Verification
&lt;/h3&gt;

&lt;p&gt;Who is the applicant, and what professional or institutional eligibility has been established?&lt;/p&gt;

&lt;h3&gt;
  
  
  Layer 2: Sensitive Access
&lt;/h3&gt;

&lt;p&gt;Does this user or organization have the relevant permission to access protected incident information within the applicable scope?&lt;/p&gt;

&lt;h3&gt;
  
  
  Layer 3: Case-Use Authorization
&lt;/h3&gt;

&lt;p&gt;Is the proposed use of this particular incident in this particular investigation permitted under the applicable requirements?&lt;/p&gt;

&lt;p&gt;These are independent authorization boundaries.&lt;/p&gt;

&lt;p&gt;Passing an earlier layer does not automatically satisfy the next one.&lt;/p&gt;

&lt;p&gt;And an organization having access to a professional workspace doesn't automatically authorize every employee or collaborator to view every protected record.&lt;/p&gt;

&lt;p&gt;This separation is fundamental to our security model.&lt;/p&gt;




&lt;h2&gt;
  
  
  8. Why Case-Use Became Necessary
&lt;/h2&gt;

&lt;p&gt;Consider a hypothetical situation.&lt;/p&gt;

&lt;p&gt;A victim reports an online scam.&lt;/p&gt;

&lt;p&gt;The report contains personal data and supporting evidence.&lt;/p&gt;

&lt;p&gt;Later, a verified investigator wants to attach that incident to an existing investigation.&lt;/p&gt;

&lt;p&gt;At first glance, this may look like a simple database operation.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Incident
   |
   v
Investigation
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;But technically attaching the record could also make information available in another operational context.&lt;/p&gt;

&lt;p&gt;The key question isn't only whether the investigator is verified.&lt;/p&gt;

&lt;p&gt;It's whether the proposed use of the report is justified.&lt;/p&gt;

&lt;p&gt;Why this investigation?&lt;/p&gt;

&lt;p&gt;What is the purpose?&lt;/p&gt;

&lt;p&gt;Does the investigator have the required authority?&lt;/p&gt;

&lt;p&gt;Are additional declarations or supporting documents necessary?&lt;/p&gt;

&lt;p&gt;Does the applicable legal framework permit this use of the relevant personal data?&lt;/p&gt;

&lt;p&gt;We call this &lt;strong&gt;Case-Use Authorization&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Our system evaluates a specific Incident + Investigation pair, the actor's authority, and the applicable legal context.&lt;/p&gt;

&lt;p&gt;Depending on the resolved requirements, the workflow may permit the action, require a declaration, require evidence-backed authorization, or deny it.&lt;/p&gt;

&lt;p&gt;Not every case requires document submission.&lt;/p&gt;

&lt;p&gt;And an authorization to use one incident in one investigation doesn't become blanket permission for unrelated cases.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Verification answers who you are. Case-Use asks whether this particular use is justified.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That distinction became one of the most important lessons in our development process.&lt;/p&gt;




&lt;h2&gt;
  
  
  9. The Law Doesn't Require Our Exact Architecture. It Requires Us to Respect the Boundaries.
&lt;/h2&gt;

&lt;p&gt;This is an important distinction.&lt;/p&gt;

&lt;p&gt;There is no single international law requiring every investigation platform to implement a product feature named "three-layer verification" or "Case-Use Authorization."&lt;/p&gt;

&lt;p&gt;Those are our engineering decisions.&lt;/p&gt;

&lt;p&gt;The underlying legal obligations vary.&lt;/p&gt;

&lt;h3&gt;
  
  
  🇪🇺 European Union
&lt;/h3&gt;

&lt;p&gt;🇩🇪 Germany, 🇪🇸 Spain, 🇫🇷 France, 🇮🇹 Italy, and 🇵🇱 Poland operate within the EU GDPR framework.&lt;/p&gt;

&lt;p&gt;GDPR Article 5 includes purpose limitation, data minimization, and accountability.&lt;/p&gt;

&lt;p&gt;Article 6 requires an appropriate lawful basis for processing.&lt;/p&gt;

&lt;p&gt;Article 9 can impose additional conditions for special-category personal data.&lt;/p&gt;

&lt;p&gt;Article 10 imposes particular restrictions on personal data relating to criminal convictions and offences.&lt;/p&gt;

&lt;p&gt;National law can further affect what processing is permitted.&lt;/p&gt;

&lt;h3&gt;
  
  
  🇬🇧 United Kingdom
&lt;/h3&gt;

&lt;p&gt;The UK GDPR and Data Protection Act 2018 create their own framework.&lt;/p&gt;

&lt;p&gt;Processing criminal-offence data can require additional authorization under domestic law or official authority, alongside an Article 6 lawful basis.&lt;/p&gt;

&lt;h3&gt;
  
  
  🇦🇺 Australia
&lt;/h3&gt;

&lt;p&gt;The Australian Privacy Principles regulate collection, use, disclosure, and security of personal information.&lt;/p&gt;

&lt;p&gt;APP 6 is particularly relevant when information collected for one purpose is proposed to be used or disclosed for another.&lt;/p&gt;

&lt;h3&gt;
  
  
  🇺🇸 United States
&lt;/h3&gt;

&lt;p&gt;There isn't one universal state-independent rule for every investigation platform and category of personal data.&lt;/p&gt;

&lt;p&gt;State privacy laws, sectoral requirements, professional licensing, and the nature of the information all matter.&lt;/p&gt;

&lt;p&gt;California, for example, provides specific consumer rights concerning sensitive personal information under the CCPA as amended by the CPRA.&lt;/p&gt;

&lt;h3&gt;
  
  
  🇺🇦 Ukraine
&lt;/h3&gt;

&lt;p&gt;Ukraine's Law on Personal Data Protection establishes legal grounds for processing personal information, including in Article 11.&lt;/p&gt;

&lt;p&gt;The requirements must be evaluated for the relevant processing context rather than replaced by a generic claim of professional status.&lt;/p&gt;

&lt;p&gt;Across these jurisdictions, the implementation details differ.&lt;/p&gt;

&lt;p&gt;But the engineering concern is consistent:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A platform needs to know not only who is requesting information, but also whether the requested action is permitted.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Our Case-Use mechanism is one way we designed the system to enforce those distinctions.&lt;/p&gt;

&lt;p&gt;It is not a substitute for a lawful basis, a required statutory authorization, or legal review.&lt;/p&gt;




&lt;h2&gt;
  
  
  10. A Successful Verification Doesn't Create Unlimited Trust
&lt;/h2&gt;

&lt;p&gt;There is a wider security lesson here.&lt;/p&gt;

&lt;p&gt;Developers often talk about authentication and authorization as though they are solved by login and roles.&lt;/p&gt;

&lt;p&gt;But consider the difference between these statements:&lt;/p&gt;

&lt;p&gt;"This user is authenticated."&lt;/p&gt;

&lt;p&gt;"This user belongs to a verified organization."&lt;/p&gt;

&lt;p&gt;"This user has permission to access sensitive incident information."&lt;/p&gt;

&lt;p&gt;"This user is authorized to use this specific incident in this specific investigation."&lt;/p&gt;

&lt;p&gt;They describe four different levels of assurance.&lt;/p&gt;

&lt;p&gt;You cannot safely derive the last statement from the first.&lt;/p&gt;

&lt;p&gt;The same principle applies outside OSINT.&lt;/p&gt;

&lt;p&gt;A doctor may be licensed without being authorized to access every patient's records.&lt;/p&gt;

&lt;p&gt;A lawyer may be professionally qualified without being entitled to every client's case files.&lt;/p&gt;

&lt;p&gt;A financial analyst may work for a legitimate institution without having permission to inspect every customer account.&lt;/p&gt;

&lt;p&gt;And a verified investigator may still need case-specific justification before using sensitive information.&lt;/p&gt;

&lt;p&gt;That is why our system separates identity, eligibility, scope, and purpose.&lt;/p&gt;




&lt;h2&gt;
  
  
  11. What We Learned About Building Trust Into Software
&lt;/h2&gt;

&lt;p&gt;This project changed how we think about verification.&lt;/p&gt;

&lt;p&gt;We started with a question about applicants:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How do we know who should be allowed to use the platform?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;But the more important question turned out to be:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How do we make sure that a valid account doesn't become an unrestricted gateway to someone else's personal data?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Several principles shaped our approach.&lt;/p&gt;

&lt;p&gt;First, an official registry match is evidence, not a final decision.&lt;/p&gt;

&lt;p&gt;Second, professional verification and access authorization must remain separate.&lt;/p&gt;

&lt;p&gt;Third, applicants deserve structured, understandable feedback and a way to correct genuine mistakes.&lt;/p&gt;

&lt;p&gt;Fourth, legal requirements need source provenance, versioning, review, and controlled updates.&lt;/p&gt;

&lt;p&gt;Fifth, a verified professional's authority must be evaluated in the context of the specific activity.&lt;/p&gt;

&lt;p&gt;And finally, an application's database permissions must reflect those decisions rather than trusting the frontend to enforce them.&lt;/p&gt;

&lt;p&gt;We're still learning as we build Axon OSINT, and maintaining these controls requires ongoing legal and technical review.&lt;/p&gt;

&lt;p&gt;But one principle is unlikely to change:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Trust should never be a permanent, universal permission granted by a single successful check.&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Final Thought
&lt;/h2&gt;

&lt;p&gt;Building verification across nine countries forced us to think beyond documents, badges, and approval buttons.&lt;/p&gt;

&lt;p&gt;It pushed us toward a system where professional eligibility, sensitive access, and case-specific authorization are different decisions with different evidence.&lt;/p&gt;

&lt;p&gt;Because in an investigation platform, the most dangerous mistake isn't necessarily failing to verify someone.&lt;/p&gt;

&lt;p&gt;It may be verifying them correctly — and then assuming that verification gives them permission to do everything.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Knowing who someone is does not tell you what they're entitled to do.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That's the distinction we wanted our software to respect.&lt;/p&gt;




&lt;h3&gt;
  
  
  Let's Discuss
&lt;/h3&gt;

&lt;p&gt;Have you worked on a product where identity verification wasn't enough to authorize access?&lt;/p&gt;

&lt;p&gt;How did your team handle professional credentials, jurisdiction-specific rules, sensitive information, or case-specific permissions?&lt;/p&gt;

&lt;p&gt;I'd be interested to hear how other developers approach these problems.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;We're building &lt;a href="https://axonosint.com" rel="noopener noreferrer"&gt;Axon OSINT&lt;/a&gt;, a platform for digital investigations and professional OSINT research.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;This article is part of our **Building Axon OSINT&lt;/em&gt;* engineering series. It describes architectural principles rather than disclosing private applicant information, internal decision thresholds, or sensitive authorization implementation details.*&lt;/p&gt;

&lt;p&gt;*The regulatory discussion is intended as engineering context, not legal advice. Applicable requirements depend on the jurisdiction, data, parties, and processing purpose. &lt;/p&gt;

&lt;p&gt;Legal sources:&lt;br&gt;
&lt;a href="https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32016R0679" rel="noopener noreferrer"&gt;🇪🇺 EU GDPR — Articles 5, 6, 9 and 10&lt;/a&gt;&lt;br&gt;
&lt;a href="https://ico.org.uk/for-organisations/uk-gdpr-guidance-and-resources/lawful-basis/criminal-offence-data/what-are-the-rules-on-criminal-offence-data" rel="noopener noreferrer"&gt;🇬🇧 UK ICO — Criminal offence data&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.oaic.gov.au/privacy/australian-privacy-principles/australian-privacy-principles-guidelines/chapter-6-app-6-use-or-disclosure-of-personal-information" rel="noopener noreferrer"&gt;🇦🇺 Australia OAIC — APP 6&lt;/a&gt;&lt;br&gt;
&lt;a href="https://privacy.ca.gov/california-privacy-rights/rights-under-the-california-consumer-privacy-act" rel="noopener noreferrer"&gt;🇺🇸 California — Privacy rights under CCPA&lt;/a&gt;&lt;br&gt;
&lt;a href="https://tax.gov.ua/fizichnim-osobam/reestratsiya-ta-oblik-fiz/normativno--pravovi-akti/72600.html" rel="noopener noreferrer"&gt;🇺🇦 Ukraine — Law on Personal Data Protection&lt;/a&gt;&lt;/p&gt;

</description>
      <category>security</category>
      <category>webdev</category>
      <category>privacy</category>
      <category>architecture</category>
    </item>
    <item>
      <title>Our React App Worked Perfectly—Until Someone Closed Their Laptop</title>
      <dc:creator>Axon OSINT</dc:creator>
      <pubDate>Mon, 26 Oct 2026 21:07:45 +0000</pubDate>
      <link>https://dev.to/axon-osint/our-react-app-worked-perfectly-until-someone-closed-their-laptop-3628</link>
      <guid>https://dev.to/axon-osint/our-react-app-worked-perfectly-until-someone-closed-their-laptop-3628</guid>
      <description>&lt;p&gt;&lt;em&gt;What sleep/wake bugs taught us about Supabase, network recovery, and building reliable SaaS applications.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Imagine spending weeks building a React application.&lt;/p&gt;

&lt;p&gt;Authentication works. Database queries work. Real-time updates work. Your dashboard loads quickly, and your end-to-end tests are passing.&lt;/p&gt;

&lt;p&gt;You deploy it.&lt;/p&gt;

&lt;p&gt;Everything looks great.&lt;/p&gt;

&lt;p&gt;Then someone closes their laptop.&lt;/p&gt;

&lt;p&gt;They return an hour later, open the lid, and continue working.&lt;/p&gt;

&lt;p&gt;The application is still there. They're still logged in. The buttons are visible.&lt;/p&gt;

&lt;p&gt;But something is wrong.&lt;/p&gt;

&lt;p&gt;A request never finishes. A loading indicator keeps spinning. A piece of information disappears from the screen.&lt;/p&gt;

&lt;p&gt;Refreshing the page fixes everything.&lt;/p&gt;

&lt;p&gt;Sound familiar?&lt;/p&gt;

&lt;p&gt;This became one of the most interesting reliability challenges we encountered while building &lt;strong&gt;Axon OSINT&lt;/strong&gt;, a SaaS platform for digital investigations.&lt;/p&gt;

&lt;p&gt;And the lesson was bigger than any particular library:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A web application that works after a fresh page load is not necessarily an application that survives real life.&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  1. The Bug That Didn't Look Like a Bug
&lt;/h2&gt;

&lt;p&gt;One of the frustrating things about sleep/wake failures is that the application often doesn't crash.&lt;/p&gt;

&lt;p&gt;There's no dramatic error screen.&lt;/p&gt;

&lt;p&gt;No obvious exception.&lt;/p&gt;

&lt;p&gt;No broken deployment.&lt;/p&gt;

&lt;p&gt;Instead, the failure can be subtle.&lt;/p&gt;

&lt;p&gt;A dashboard displays information from an earlier session. A request stays pending. An action appears to be running, but nothing happens.&lt;/p&gt;

&lt;p&gt;During our work on Axon OSINT, we encountered variations of these problems across multiple areas, including investigation workspaces, account settings, and billing workflows.&lt;/p&gt;

&lt;p&gt;The recurring pattern was particularly interesting.&lt;/p&gt;

&lt;p&gt;A fresh reload could restore normal behavior.&lt;/p&gt;

&lt;p&gt;But the application was supposed to keep working without asking users to refresh their browsers every time they returned to their desks.&lt;/p&gt;

&lt;p&gt;That raised a question:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What exactly changes when a laptop sleeps, if the React application itself is still mounted?&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  2. Your JavaScript State Can Survive Longer Than Your Network State
&lt;/h2&gt;

&lt;p&gt;When a browser tab goes into the background or a computer sleeps, several things can change.&lt;/p&gt;

&lt;p&gt;JavaScript timers may be delayed.&lt;/p&gt;

&lt;p&gt;Network connections may be interrupted.&lt;/p&gt;

&lt;p&gt;Authentication credentials may approach expiration.&lt;/p&gt;

&lt;p&gt;Real-time connections may disconnect.&lt;/p&gt;

&lt;p&gt;An asynchronous operation that was started earlier may not complete when expected.&lt;/p&gt;

&lt;p&gt;Meanwhile, React component state can remain in memory.&lt;/p&gt;

&lt;p&gt;So after the user returns, the interface may still look exactly as it did before.&lt;/p&gt;

&lt;p&gt;This creates a dangerous mismatch:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The UI remembers a healthy application, while the network may no longer be healthy.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Consider a basic loading pattern:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight tsx"&gt;&lt;code&gt;&lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;loadData&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nf"&gt;setLoading&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;data&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;error&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nx"&gt;supabase&lt;/span&gt;
    &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="k"&gt;from&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;items&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;select&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;*&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

  &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;error&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;throw&lt;/span&gt; &lt;span class="nx"&gt;error&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;

  &lt;span class="nf"&gt;setItems&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;data&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="nf"&gt;setLoading&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This code has an immediate problem: if the operation throws, &lt;code&gt;setLoading(false)&lt;/code&gt; is never reached.&lt;/p&gt;

&lt;p&gt;We can improve that:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight tsx"&gt;&lt;code&gt;&lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;loadData&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nf"&gt;setLoading&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

  &lt;span class="k"&gt;try&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;data&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;error&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nx"&gt;supabase&lt;/span&gt;
      &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="k"&gt;from&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;items&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
      &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;select&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;*&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

    &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;error&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;throw&lt;/span&gt; &lt;span class="nx"&gt;error&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

    &lt;span class="nf"&gt;setItems&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;data&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;catch &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;error&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nf"&gt;showError&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;error&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;finally&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nf"&gt;setLoading&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Better.&lt;/p&gt;

&lt;p&gt;But there's still a problem.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What if the promise never settles within a reasonable amount of time?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The &lt;code&gt;finally&lt;/code&gt; block won't execute until the awaited operation settles.&lt;/p&gt;

&lt;p&gt;A loading indicator can remain visible indefinitely if nothing imposes a deadline.&lt;/p&gt;

&lt;p&gt;This became one of our most important rules:&lt;/p&gt;

&lt;p&gt;Every critical network action needs a predictable way to finish.&lt;/p&gt;




&lt;h2&gt;
  
  
  3. We Stopped Treating the SDK as the Only Transport
&lt;/h2&gt;

&lt;p&gt;Axon OSINT uses React, TypeScript, Supabase, and Zustand.&lt;/p&gt;

&lt;p&gt;Supabase provides a convenient SDK for database operations, authentication, and other backend functionality.&lt;/p&gt;

&lt;p&gt;Under normal conditions, the SDK is exactly what we want.&lt;/p&gt;

&lt;p&gt;But our post-wake engineering standard addresses a specific failure mode: after sleep or tab suspension, some SDK-dependent operations may stall even while the application still appears usable.&lt;/p&gt;

&lt;p&gt;Our response was not to abandon Supabase.&lt;/p&gt;

&lt;p&gt;Instead, we separated two concerns:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;What operation does the application need to perform?&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Which transport can safely perform it right now?&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;For critical operations, our architecture can use the SDK with a bounded timeout and an alternative direct HTTP route when appropriate.&lt;/p&gt;

&lt;p&gt;Supabase exposes REST and RPC endpoints, so not every operation has to depend on the same client-side execution path.&lt;/p&gt;

&lt;p&gt;A simplified read strategy looks like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;User requests data
        |
        v
Is the SDK marked degraded?
        |
   +----+----+
   |         |
  Yes        No
   |         |
   v         v
Direct    Try SDK with
HTTP      a timeout
             |
        +----+----+
        |         |
      Success    Failure
        |         |
        v         v
      Return    Direct HTTP
      data      fallback
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The distinction matters.&lt;/p&gt;

&lt;p&gt;If we already know that the SDK has become unreliable in the current browser session, repeating the same problematic path can waste time.&lt;/p&gt;

&lt;p&gt;Instead, eligible reads can use the alternative route immediately.&lt;/p&gt;

&lt;p&gt;This is a resilience pattern, not a universal recommendation to bypass every SDK whenever something goes wrong.&lt;/p&gt;

&lt;p&gt;The fallback still needs correct authentication, authorization, error handling, and data validation.&lt;/p&gt;




&lt;h2&gt;
  
  
  4. A Timeout Is a Deadline, Not a Recovery Strategy
&lt;/h2&gt;

&lt;p&gt;A timeout is useful because it prevents the UI from waiting forever.&lt;/p&gt;

&lt;p&gt;But a timeout alone doesn't solve the underlying problem.&lt;/p&gt;

&lt;p&gt;Here's a simplified helper:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;withTimeout&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nx"&gt;T&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
  &lt;span class="nx"&gt;operation&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;PromiseLike&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nx"&gt;T&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nx"&gt;timeoutMs&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kr"&gt;number&lt;/span&gt;
&lt;span class="p"&gt;):&lt;/span&gt; &lt;span class="nb"&gt;Promise&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nx"&gt;T&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nb"&gt;Promise&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;race&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;
    &lt;span class="nb"&gt;Promise&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;resolve&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;operation&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
    &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nb"&gt;Promise&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nx"&gt;never&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;_&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;reject&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="nf"&gt;setTimeout&lt;/span&gt;&lt;span class="p"&gt;(()&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nf"&gt;reject&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Error&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Operation timed out&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;));&lt;/span&gt;
      &lt;span class="p"&gt;},&lt;/span&gt; &lt;span class="nx"&gt;timeoutMs&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="p"&gt;}),&lt;/span&gt;
  &lt;span class="p"&gt;]);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This illustration puts a deadline on waiting.&lt;/p&gt;

&lt;p&gt;However, it doesn't actually cancel the underlying network request.&lt;/p&gt;

&lt;p&gt;That's an important difference.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;Promise.race()&lt;/code&gt; can stop your code from awaiting an operation, while the original request may still be running.&lt;/p&gt;

&lt;p&gt;For cancellable direct HTTP requests, &lt;code&gt;AbortController&lt;/code&gt; is a better tool for enforcing network deadlines.&lt;/p&gt;

&lt;p&gt;For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;fetchWithDeadline&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
  &lt;span class="nx"&gt;url&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kr"&gt;string&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nx"&gt;init&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;RequestInit&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nx"&gt;timeoutMs&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;8000&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;controller&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;AbortController&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;

  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;timeout&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;setTimeout&lt;/span&gt;&lt;span class="p"&gt;(()&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nx"&gt;controller&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;abort&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
  &lt;span class="p"&gt;},&lt;/span&gt; &lt;span class="nx"&gt;timeoutMs&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

  &lt;span class="k"&gt;try&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;response&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;fetch&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;url&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="p"&gt;...&lt;/span&gt;&lt;span class="nx"&gt;init&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="na"&gt;signal&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;controller&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;signal&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;});&lt;/span&gt;

    &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="nx"&gt;response&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;ok&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="k"&gt;throw&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Error&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;`HTTP &lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;response&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;status&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;`&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nx"&gt;response&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;finally&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nf"&gt;clearTimeout&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;timeout&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The important design decision isn't whether to use 8, 10, or 15 seconds.&lt;/p&gt;

&lt;p&gt;It's that the operation has an explicit boundary.&lt;/p&gt;

&lt;p&gt;After that boundary, the application must make a decision.&lt;/p&gt;

&lt;p&gt;Retry safely?&lt;/p&gt;

&lt;p&gt;Use a different transport?&lt;/p&gt;

&lt;p&gt;Display an error?&lt;/p&gt;

&lt;p&gt;Preserve previously loaded data?&lt;/p&gt;

&lt;p&gt;It cannot simply remain stuck.&lt;/p&gt;

&lt;p&gt;One crucial caveat: &lt;strong&gt;a timed-out write may have succeeded on the server&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Blindly retrying a payment, record creation, or other non-idempotent action can introduce duplicate operations.&lt;/p&gt;

&lt;p&gt;Writes need stronger safeguards, such as idempotency keys, reconciliation, or a status check before retrying.&lt;/p&gt;




&lt;h2&gt;
  
  
  5. We Introduced a Session-Level Degraded Mode
&lt;/h2&gt;

&lt;p&gt;One useful decision in our architecture was to remember when a critical SDK operation had timed out.&lt;/p&gt;

&lt;p&gt;Rather than repeatedly trying the same failing path, we introduced a session-level degraded state.&lt;/p&gt;

&lt;p&gt;The concept is straightforward:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;type&lt;/span&gt; &lt;span class="nx"&gt;SdkHealth&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="na"&gt;degraded&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;boolean&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;reason&lt;/span&gt;&lt;span class="p"&gt;?:&lt;/span&gt; &lt;span class="kr"&gt;string&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;};&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;When a critical operation encounters a qualifying failure, the application can mark the SDK as degraded for the current browser session.&lt;/p&gt;

&lt;p&gt;Then subsequent eligible actions can avoid unnecessary waits.&lt;/p&gt;

&lt;p&gt;This isn't about declaring the entire backend offline.&lt;/p&gt;

&lt;p&gt;The backend might be completely healthy.&lt;/p&gt;

&lt;p&gt;The problem may exist in a particular browser-side request path.&lt;/p&gt;

&lt;p&gt;It's an important distinction:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;An unhealthy client connection does not necessarily mean an unhealthy server.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Our architecture deliberately keeps this degraded state until a hard page reload, rather than repeatedly switching back and forth using an automatic timer.&lt;/p&gt;

&lt;p&gt;Why?&lt;/p&gt;

&lt;p&gt;Because oscillating between healthy and degraded modes can create another category of problems.&lt;/p&gt;

&lt;p&gt;One request works. Another hangs. The system retries. Then the user clicks again.&lt;/p&gt;

&lt;p&gt;Suddenly one intermittent failure has become a cascade of activity.&lt;/p&gt;

&lt;p&gt;Stability sometimes means choosing a conservative path and sticking to it for the session.&lt;/p&gt;




&lt;h2&gt;
  
  
  6. Authentication Recovery Must Not Depend on the Broken Path
&lt;/h2&gt;

&lt;p&gt;There is another subtle failure mode.&lt;/p&gt;

&lt;p&gt;Imagine you've detected an SDK problem and decided to use direct HTTP.&lt;/p&gt;

&lt;p&gt;Before the fallback request, you try to retrieve the access token using another asynchronous SDK call.&lt;/p&gt;

&lt;p&gt;What happens if that call depends on the same degraded client behavior?&lt;/p&gt;

&lt;p&gt;Your fallback can hang too.&lt;/p&gt;

&lt;p&gt;This is why our internal post-wake standard calls for using the application's already-maintained authentication state when appropriate.&lt;/p&gt;

&lt;p&gt;In Axon OSINT, Zustand stores session information used by critical recovery flows.&lt;/p&gt;

&lt;p&gt;The general principle is:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;SDK request becomes unreliable
           |
           v
Use a verified, existing session token
           |
           v
Make the authorized fallback request
           |
           v
Handle success, expiration, or failure
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This does &lt;strong&gt;not&lt;/strong&gt; mean ignoring authentication expiration or inventing a token.&lt;/p&gt;

&lt;p&gt;A cached token must still be valid for the request, and the server must enforce authorization on every path.&lt;/p&gt;

&lt;p&gt;If no valid token is available, the application should follow a controlled authentication recovery flow.&lt;/p&gt;

&lt;p&gt;A fallback is not a security bypass.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Resilience and authorization must work together.&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  7. Recovering Every Component at Once Can Make Things Worse
&lt;/h2&gt;

&lt;p&gt;At first, it might seem that the solution to wake-related bugs is simple:&lt;/p&gt;

&lt;p&gt;Whenever the browser tab becomes visible, refetch everything.&lt;/p&gt;

&lt;p&gt;Unfortunately, this can introduce an entirely new problem.&lt;/p&gt;

&lt;p&gt;Imagine your application has:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;An investigations list.&lt;/li&gt;
&lt;li&gt;A graph workspace.&lt;/li&gt;
&lt;li&gt;A notification panel.&lt;/li&gt;
&lt;li&gt;Account settings.&lt;/li&gt;
&lt;li&gt;A billing summary.&lt;/li&gt;
&lt;li&gt;Several background queries.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If every component independently reacts to a &lt;code&gt;focus&lt;/code&gt; or &lt;code&gt;visibilitychange&lt;/code&gt; event, returning to the tab can trigger many simultaneous requests.&lt;/p&gt;

&lt;p&gt;Some may overlap.&lt;/p&gt;

&lt;p&gt;Others may compete for state updates.&lt;/p&gt;

&lt;p&gt;A few might fail while the others recover.&lt;/p&gt;

&lt;p&gt;We've had to consider this problem in Axon OSINT as well.&lt;/p&gt;

&lt;p&gt;Our recovery architecture tracks wake cycles and avoids treating every focus event as a completely new recovery operation.&lt;/p&gt;

&lt;p&gt;It also distinguishes between ordinary tab focus and a situation that actually requires recovery.&lt;/p&gt;

&lt;p&gt;The key lesson:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Recover the application, not every component independently.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;One coordinated recovery process is easier to reason about than a dozen unrelated event listeners.&lt;/p&gt;




&lt;h2&gt;
  
  
  8. The UI Must Be Honest About What It Knows
&lt;/h2&gt;

&lt;p&gt;Here's a particularly dangerous response to network failure:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;try&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;loadSubscription&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;catch&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;At first glance, it looks harmless.&lt;/p&gt;

&lt;p&gt;But what does &lt;code&gt;null&lt;/code&gt; mean?&lt;/p&gt;

&lt;p&gt;Does the user have no subscription?&lt;/p&gt;

&lt;p&gt;Or did the network fail?&lt;/p&gt;

&lt;p&gt;Those are completely different states.&lt;/p&gt;

&lt;p&gt;If the application treats a transport failure as an absence of business data, it may hide information that still exists on the server.&lt;/p&gt;

&lt;p&gt;The same issue applies to returning an empty array when a request fails.&lt;/p&gt;

&lt;p&gt;An empty list might mean there are no investigations.&lt;/p&gt;

&lt;p&gt;Or it might mean the application couldn't load them.&lt;/p&gt;

&lt;p&gt;A reliable interface should distinguish these cases.&lt;/p&gt;

&lt;p&gt;For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;type&lt;/span&gt; &lt;span class="nx"&gt;LoadResult&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nx"&gt;T&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt;
  &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;status&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;success&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="nl"&gt;data&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;T&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;status&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;stale&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="nl"&gt;data&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;T&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;status&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;error&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="nl"&gt;message&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kr"&gt;string&lt;/span&gt; &lt;span class="p"&gt;};&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now the application can display previously confirmed information without pretending that a failed network request returned an empty result.&lt;/p&gt;

&lt;p&gt;But cached information must be clearly understood as potentially outdated.&lt;/p&gt;

&lt;p&gt;And sensitive actions should still require fresh, authorized server confirmation.&lt;/p&gt;

&lt;p&gt;This distinction became especially important for workflows involving account status, permissions, and billing.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A network error is not a business decision.&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  9. We Learned That Background Writes Need Their Own Rules
&lt;/h2&gt;

&lt;p&gt;Our investigation workspace includes graph-based interactions.&lt;/p&gt;

&lt;p&gt;Users may move entities around, organize relationships, and update layouts.&lt;/p&gt;

&lt;p&gt;Some of these operations generate background writes.&lt;/p&gt;

&lt;p&gt;Imagine moving dozens of nodes, then returning from sleep while the application attempts to persist every position at once.&lt;/p&gt;

&lt;p&gt;A naive implementation might look like:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nb"&gt;Promise&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;all&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
  &lt;span class="nx"&gt;nodes&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;map&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;node&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;savePosition&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;node&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For a large graph, this can create a burst of network requests.&lt;/p&gt;

&lt;p&gt;If the network is degraded, the application may produce multiple timeouts and errors, even though saving node positions is not the user's most important task.&lt;/p&gt;

&lt;p&gt;Our engineering guidelines therefore distinguish between critical actions and non-critical persistence.&lt;/p&gt;

&lt;p&gt;For position updates and similar background operations, we favor concepts such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Queuing.&lt;/li&gt;
&lt;li&gt;Deduplication.&lt;/li&gt;
&lt;li&gt;Debouncing.&lt;/li&gt;
&lt;li&gt;Bounded concurrency.&lt;/li&gt;
&lt;li&gt;Summarized failures.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The user should be able to continue interacting with the graph without a non-critical persistence problem freezing the entire interface.&lt;/p&gt;

&lt;p&gt;But the application must also avoid pretending that unsaved changes were successfully persisted.&lt;/p&gt;

&lt;p&gt;The right trade-off depends on the operation.&lt;/p&gt;

&lt;p&gt;A graph position and a financial transaction should never share the same retry policy.&lt;/p&gt;




&lt;h2&gt;
  
  
  10. The Tests That Matter Happen After the Happy Path
&lt;/h2&gt;

&lt;p&gt;A typical frontend test might do this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Open the page
Click a button
Verify the result
Done
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's useful.&lt;/p&gt;

&lt;p&gt;But it doesn't cover the conditions that exposed our reliability problems.&lt;/p&gt;

&lt;p&gt;Our sleep/wake test scenarios also consider situations such as:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Open the application
Authenticate
Open an investigation
Put the laptop to sleep
Wake it
Try to create an entity
Switch between graph and table
Verify the UI reaches a terminal state
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Other scenarios cover network interruption, security settings, account sessions, and post-wake actions.&lt;/p&gt;

&lt;p&gt;The desired result isn't always that every request succeeds.&lt;/p&gt;

&lt;p&gt;Sometimes the network genuinely isn't available.&lt;/p&gt;

&lt;p&gt;What matters is that the application behaves predictably.&lt;/p&gt;

&lt;p&gt;No infinite loading.&lt;/p&gt;

&lt;p&gt;No blank screen.&lt;/p&gt;

&lt;p&gt;No uncontrolled request storm.&lt;/p&gt;

&lt;p&gt;No misleading empty data.&lt;/p&gt;

&lt;p&gt;No duplicate writes caused by unsafe retries.&lt;/p&gt;

&lt;p&gt;And no action that leaves the user wondering whether it happened.&lt;/p&gt;

&lt;p&gt;That final point matters more than it might sound.&lt;/p&gt;

&lt;p&gt;For users, uncertainty about whether an action succeeded can be worse than a clear error message.&lt;/p&gt;




&lt;h2&gt;
  
  
  11. Our Reliability Checklist Changed
&lt;/h2&gt;

&lt;p&gt;After working through these issues, we began asking different questions during development.&lt;/p&gt;

&lt;p&gt;Not just:&lt;/p&gt;

&lt;p&gt;"Does this action work?"&lt;/p&gt;

&lt;p&gt;But:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Does it work after the browser has been suspended?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What happens if the SDK request stalls?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Can the user recover without refreshing the entire page?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Will a timeout leave an action stuck in loading state?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Could retrying this operation create duplicate data?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Does an empty response mean no records exist, or that something failed?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Will multiple components initiate recovery simultaneously?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Does the fallback preserve the same authorization boundaries?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;These questions are now part of how we approach critical workflows.&lt;/p&gt;

&lt;p&gt;And there is an important qualification: architecture standards don't automatically eliminate every regression.&lt;/p&gt;

&lt;p&gt;New features can still introduce bugs if they don't follow the same rules.&lt;/p&gt;

&lt;p&gt;Reliability is a property that has to be maintained, not a checkbox that can be completed once.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Most Important Lesson
&lt;/h2&gt;

&lt;p&gt;When we started building Axon OSINT, our attention was naturally focused on features.&lt;/p&gt;

&lt;p&gt;Investigations. Entities. Relationships. Collaboration. Billing. AI-assisted workflows.&lt;/p&gt;

&lt;p&gt;All of those are important.&lt;/p&gt;

&lt;p&gt;But real users don't always interact with applications under ideal conditions.&lt;/p&gt;

&lt;p&gt;They close their laptops.&lt;/p&gt;

&lt;p&gt;They switch between tabs.&lt;/p&gt;

&lt;p&gt;Their internet connection drops.&lt;/p&gt;

&lt;p&gt;Their session changes while the application is in the background.&lt;/p&gt;

&lt;p&gt;They return to something they started earlier and expect to continue.&lt;/p&gt;

&lt;p&gt;That is normal behavior.&lt;/p&gt;

&lt;p&gt;And a well-designed SaaS application must treat it as normal.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The real test of a web application isn't only whether it works when everything goes right. It's whether it remains understandable, secure, and recoverable when something goes wrong.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That's one of the biggest engineering lessons we've learned while building Axon OSINT.&lt;/p&gt;

&lt;p&gt;And we're still learning.&lt;/p&gt;




&lt;h3&gt;
  
  
  Let's Discuss
&lt;/h3&gt;

&lt;p&gt;Have you experienced bugs that only appear after laptop sleep, browser suspension, or network reconnection?&lt;/p&gt;

&lt;p&gt;How do you handle stalled requests, background recovery, and duplicate-action prevention in your React applications?&lt;/p&gt;

&lt;p&gt;I'd love to hear what has worked for you.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;We're building &lt;a href="https://axonosint.com" rel="noopener noreferrer"&gt;Axon OSINT&lt;/a&gt;, a platform for digital investigations, OSINT research, and collaborative evidence analysis.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;This article is part of our **Building Axon OSINT&lt;/em&gt;* engineering series. The code snippets are simplified educational illustrations, not verbatim production code.*&lt;/p&gt;

</description>
      <category>react</category>
      <category>webdev</category>
      <category>supabase</category>
      <category>typescript</category>
    </item>
    <item>
      <title>We Built an AI Screenshot-to-Report System. The Hard Part Was Knowing When Not to Trust the AI.</title>
      <dc:creator>Axon OSINT</dc:creator>
      <pubDate>Fri, 23 Oct 2026 17:37:29 +0000</pubDate>
      <link>https://dev.to/axon-osint/we-built-an-ai-screenshot-to-report-system-the-hard-part-was-knowing-when-not-to-trust-the-ai-35p5</link>
      <guid>https://dev.to/axon-osint/we-built-an-ai-screenshot-to-report-system-the-hard-part-was-knowing-when-not-to-trust-the-ai-35p5</guid>
      <description>&lt;p&gt;&lt;em&gt;How we're building a fraud-reporting experience with React, TypeScript, Supabase, and Gemini — and why human review matters more than a perfect-looking AI demo.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Imagine receiving this message:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"Your package couldn't be delivered. Pay €2.95 to arrange another delivery."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;There's a link underneath it.&lt;/p&gt;

&lt;p&gt;You don't recognize the sender. The website looks legitimate, but something feels wrong.&lt;/p&gt;

&lt;p&gt;Now imagine opening a fraud-reporting website and seeing a form asking you to identify the incident category, communication channel, suspicious domain, financial impact, relevant evidence, and contact details.&lt;/p&gt;

&lt;p&gt;For a developer, these fields probably make sense.&lt;/p&gt;

&lt;p&gt;For someone who is worried about losing money, they might not.&lt;/p&gt;

&lt;p&gt;That difference became an important part of what we're building at &lt;strong&gt;Axon OSINT&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;We wanted people to report suspicious activity without first having to understand the vocabulary of fraud investigations.&lt;/p&gt;

&lt;p&gt;And we started with something almost everyone knows how to create:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A screenshot.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;But we discovered that converting a screenshot into structured information is only one part of the problem.&lt;/p&gt;

&lt;p&gt;The more important question is what happens when the AI makes a mistake.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. The Problem Isn't Just Extracting Text
&lt;/h2&gt;

&lt;p&gt;Let's start with a simple example.&lt;/p&gt;

&lt;p&gt;A screenshot of a suspicious message may contain several different kinds of information:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The original message.&lt;/li&gt;
&lt;li&gt;A phone number or username.&lt;/li&gt;
&lt;li&gt;A website address.&lt;/li&gt;
&lt;li&gt;A payment amount.&lt;/li&gt;
&lt;li&gt;The name of a company someone is impersonating.&lt;/li&gt;
&lt;li&gt;A date or timestamp.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Those details are not interchangeable.&lt;/p&gt;

&lt;p&gt;Consider the difference between these two statements:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Observed fact:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;"The screenshot contains a link to &lt;code&gt;parcel-check.example&lt;/code&gt;."&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Interpretation:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;"The link belongs to a fraudulent delivery service."&lt;/p&gt;

&lt;p&gt;The first statement describes something visible in the image.&lt;/p&gt;

&lt;p&gt;The second makes a judgment about what it means.&lt;/p&gt;

&lt;p&gt;That distinction is critical.&lt;/p&gt;

&lt;p&gt;An AI system might correctly extract a URL while being wrong about the intentions of the sender. It might also misunderstand part of a message, confuse two numbers, or suggest the wrong incident category.&lt;/p&gt;

&lt;p&gt;In an ordinary productivity application, a slightly incorrect summary can be inconvenient.&lt;/p&gt;

&lt;p&gt;In a fraud report, an incorrect phone number or website address can make the information significantly less useful.&lt;/p&gt;

&lt;p&gt;So we designed the screenshot feature around a simple principle:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AI should help organize what the user provides, not decide what happened on the user's behalf.&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  2. Our Architecture: A Draft Before a Report
&lt;/h2&gt;

&lt;p&gt;Our frontend uses React and TypeScript. Supabase handles parts of the backend, and Gemini is used for optional screenshot analysis.&lt;/p&gt;

&lt;p&gt;The simplified flow looks like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;User chooses screenshot upload
              |
              v
     File and age checks
              |
              v
   Screenshot analysis request
              |
              v
          Gemini
    Structured extraction
              |
              v
     Normalize the result
              |
              v
    Editable incident draft
              |
              v
     User reviews details
              |
              v
   Consent and submission
              |
              v
    Report confirmation
              |
              v
 Restricted report processing
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;One of the most important decisions in this flow is that the AI result does not automatically become a submitted incident.&lt;/p&gt;

&lt;p&gt;It becomes a draft.&lt;/p&gt;

&lt;p&gt;The user can review the extracted information, correct errors, add missing details, and decide whether to submit the report.&lt;/p&gt;

&lt;p&gt;This keeps two very different operations separate:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Assistance:&lt;/strong&gt; helping someone prepare information.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Submission:&lt;/strong&gt; recording information that the person has reviewed and chosen to provide.&lt;/p&gt;

&lt;p&gt;That separation also makes the system easier to reason about from a security and privacy perspective.&lt;/p&gt;




&lt;h2&gt;
  
  
  3. A Screenshot Isn't Trusted Input
&lt;/h2&gt;

&lt;p&gt;The first boundary is surprisingly ordinary: file validation.&lt;/p&gt;

&lt;p&gt;Our screenshot analysis endpoint accepts JPEG, PNG, and WebP images, with a 5 MB limit.&lt;/p&gt;

&lt;p&gt;We validate the file type and size before sending it for analysis.&lt;/p&gt;

&lt;p&gt;Why does this matter?&lt;/p&gt;

&lt;p&gt;Because an upload feature is not just an image picker. It is a boundary between data supplied by an unknown user and a service that consumes external resources.&lt;/p&gt;

&lt;p&gt;We also have to remember that everything &lt;em&gt;inside&lt;/em&gt; the screenshot is untrusted.&lt;/p&gt;

&lt;p&gt;A suspicious message might contain a URL, a payment instruction, or text claiming to come from a trusted organization.&lt;/p&gt;

&lt;p&gt;We don't want the analysis process to treat those instructions as commands.&lt;/p&gt;

&lt;p&gt;For example, if the screenshot says:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"Visit this website immediately to verify your identity."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The AI's job is to extract that message, not follow its instructions.&lt;/p&gt;

&lt;p&gt;Our extraction prompt explicitly tells the model to work only with visible information, not invent missing values, and not open or check links.&lt;/p&gt;

&lt;p&gt;This is an important architectural boundary.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Analyzing a suspicious link is not the same as visiting it.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;For a reporting workflow, those should be separate capabilities with separate controls.&lt;/p&gt;




&lt;h2&gt;
  
  
  4. Structured Output Is Useful. It Isn't Proof of Accuracy.
&lt;/h2&gt;

&lt;p&gt;Instead of asking Gemini to return an essay, we request structured information.&lt;/p&gt;

&lt;p&gt;The response can include:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Field&lt;/th&gt;
&lt;th&gt;Purpose&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;message_text&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Original message from the screenshot&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;platform_used&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Where the message appeared&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;suggested_scenario&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Possible incident category&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;entities&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;URLs, phone numbers, accounts, and other identifiers&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;description&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Suggested explanation&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;confidence&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Confidence category&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;warnings&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Information the user should verify&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;This structure makes it possible to map the extracted result into fields in the React form.&lt;/p&gt;

&lt;p&gt;It also makes handling missing or uncertain information more predictable.&lt;/p&gt;

&lt;p&gt;But a JSON response is not automatically a correct response.&lt;/p&gt;

&lt;p&gt;A model can return perfectly valid JSON containing incorrect information.&lt;/p&gt;

&lt;p&gt;That's why we distinguish between structural validity and factual accuracy.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A valid schema tells us the result is in the expected format. It doesn't tell us that the model understood the screenshot correctly.&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  What happens when confidence is low?
&lt;/h3&gt;

&lt;p&gt;Our analysis layer supports three confidence categories:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;high&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;medium&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;low&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When the result has low confidence, the system falls back to a generic incident category rather than presenting a specific classification as reliable.&lt;/p&gt;

&lt;p&gt;It also asks the user to verify the extracted details.&lt;/p&gt;

&lt;p&gt;Here's a simplified TypeScript example illustrating the principle. It is not a copy of our production implementation.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;type&lt;/span&gt; &lt;span class="nx"&gt;Confidence&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;high&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;medium&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;low&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;type&lt;/span&gt; &lt;span class="nx"&gt;Extraction&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="na"&gt;confidence&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;Confidence&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;message_text&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kr"&gt;string&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;suggested_scenario&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kr"&gt;string&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;entities&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;Array&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kr"&gt;string&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="nl"&gt;value&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kr"&gt;string&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;};&lt;/span&gt;

&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;createEditableDraft&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;result&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;Extraction&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="na"&gt;message&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;result&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;message_text&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;

    &lt;span class="na"&gt;scenario&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="nx"&gt;result&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;confidence&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;low&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;
        &lt;span class="p"&gt;?&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;other_fraud_message&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;
        &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;result&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;suggested_scenario&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;

    &lt;span class="na"&gt;identifiers&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;result&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;entities&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;map&lt;/span&gt;&lt;span class="p"&gt;(({&lt;/span&gt; &lt;span class="kd"&gt;type&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;value&lt;/span&gt; &lt;span class="p"&gt;})&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;({&lt;/span&gt;
      &lt;span class="kd"&gt;type&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nx"&gt;value&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;})),&lt;/span&gt;

    &lt;span class="na"&gt;requiresUserReview&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="p"&gt;};&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Notice the last field.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;requiresUserReview: true&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;It doesn't become &lt;code&gt;false&lt;/code&gt; when confidence is high.&lt;/p&gt;

&lt;p&gt;That's intentional.&lt;/p&gt;

&lt;p&gt;A confidence label is useful information, but it should not remove the user's ability to inspect and correct the result.&lt;/p&gt;




&lt;h2&gt;
  
  
  5. Never Rewrite the Evidence to Make It Look Cleaner
&lt;/h2&gt;

&lt;p&gt;One of the most interesting challenges in this kind of application is the difference between translating an explanation and changing the original evidence.&lt;/p&gt;

&lt;p&gt;Suppose a suspicious message contains:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Send 250 EUR to this account.
Contact @payment_support_247.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The user might be completing the report in German, French, Ukrainian, or English.&lt;/p&gt;

&lt;p&gt;We want the interface and generated explanations to use the selected language.&lt;/p&gt;

&lt;p&gt;But the original message and identifiers must retain their original meaning and characters.&lt;/p&gt;

&lt;p&gt;Imagine an automatic translation changing a username, modifying a website address, or replacing a financial identifier.&lt;/p&gt;

&lt;p&gt;Even a tiny modification could undermine a later comparison.&lt;/p&gt;

&lt;p&gt;Our extraction instructions therefore distinguish between:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Human-readable explanation:&lt;/strong&gt; may be generated in the user's selected language.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Original message and identifiers:&lt;/strong&gt; should be preserved as they appear.&lt;/p&gt;

&lt;p&gt;The same principle applies to URLs, domains, phone numbers, and usernames.&lt;/p&gt;

&lt;p&gt;Sometimes, what appears to be a typo is the most important detail in the entire report.&lt;/p&gt;

&lt;p&gt;For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;trusted-service.example
trusted-servlce.example
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;These strings look similar, but they are not identical.&lt;/p&gt;

&lt;p&gt;Automatically "correcting" one into the other would destroy information that might matter.&lt;/p&gt;

&lt;p&gt;This led us to a broader design principle:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Normalize data for comparison without silently rewriting the original observation.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That distinction is useful far beyond fraud reporting — especially in logging, compliance, investigations, and document-processing systems.&lt;/p&gt;




&lt;h2&gt;
  
  
  6. We Added a Path That Doesn't Require AI
&lt;/h2&gt;

&lt;p&gt;It's tempting to make AI the center of every modern application.&lt;/p&gt;

&lt;p&gt;We deliberately avoided making it mandatory.&lt;/p&gt;

&lt;p&gt;Our reporting interface provides three entry points:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Manual entry.&lt;/strong&gt; The user describes the incident and enters the information themselves.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Screenshot assistance.&lt;/strong&gt; The user uploads an image, and the system prepares an editable draft.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Voice assistance.&lt;/strong&gt; The user records or uploads audio, and the system helps turn their explanation into a draft.&lt;/p&gt;

&lt;p&gt;These are different ways to reach the same goal.&lt;/p&gt;

&lt;p&gt;Not everyone is comfortable uploading screenshots. Some users prefer typing. Others find it easier to explain what happened verbally.&lt;/p&gt;

&lt;p&gt;And some people simply don't want their material processed by an external AI provider.&lt;/p&gt;

&lt;p&gt;For that reason, the interface explains that optional screenshot and voice tools send the selected material to Google Gemini for draft extraction before the final report is submitted.&lt;/p&gt;

&lt;p&gt;Users who want to avoid that AI processing can choose manual entry.&lt;/p&gt;

&lt;p&gt;There is also an important distinction between screenshots and voice recordings.&lt;/p&gt;

&lt;p&gt;A submitted screenshot can be retained as report evidence in restricted storage. The voice recording, by contrast, is used to prepare the draft and is not stored as an evidence recording in this workflow.&lt;/p&gt;

&lt;p&gt;These differences matter.&lt;/p&gt;

&lt;p&gt;A privacy notice shouldn't be a decorative element that appears after the important decisions have already been made.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;People need to understand what happens to their information at the point where they choose to provide it.&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  7. The Unexpected UX Problem: The Screenshot Is on the Wrong Device
&lt;/h2&gt;

&lt;p&gt;Another practical problem has very little to do with machine learning.&lt;/p&gt;

&lt;p&gt;Imagine someone reading a fraud-reporting form on a laptop.&lt;/p&gt;

&lt;p&gt;The suspicious message is on their phone.&lt;/p&gt;

&lt;p&gt;How should they upload it?&lt;/p&gt;

&lt;p&gt;A developer might download the screenshot from cloud storage, email it to themselves, or use a nearby-device sharing feature.&lt;/p&gt;

&lt;p&gt;But requiring those extra steps creates friction.&lt;/p&gt;

&lt;p&gt;So we built a QR-based upload flow.&lt;/p&gt;

&lt;p&gt;The computer displays a QR code. The user scans it with their phone and uploads the screenshot from there.&lt;/p&gt;

&lt;p&gt;The desktop then receives the analysis result and continues the report.&lt;/p&gt;

&lt;p&gt;The user doesn't need to manually transfer the image to their computer first.&lt;/p&gt;

&lt;p&gt;There are several interesting engineering considerations behind this relatively simple interaction.&lt;/p&gt;

&lt;h3&gt;
  
  
  Temporary sessions
&lt;/h3&gt;

&lt;p&gt;The upload flow uses a time-limited session rather than a permanently reusable upload address.&lt;/p&gt;

&lt;p&gt;The interface shows the remaining time and handles expiration.&lt;/p&gt;

&lt;h3&gt;
  
  
  Asynchronous state
&lt;/h3&gt;

&lt;p&gt;The desktop doesn't assume the upload happens immediately.&lt;/p&gt;

&lt;p&gt;The client tracks states such as:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;creating
qr_ready
waiting_for_upload
analyzing
analyzed
expired
failed
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;These states let us communicate what is happening without leaving the user guessing.&lt;/p&gt;

&lt;h3&gt;
  
  
  Failure recovery
&lt;/h3&gt;

&lt;p&gt;The user can retry or choose another reporting method if the session expires or the analysis fails.&lt;/p&gt;

&lt;p&gt;This is a small feature, but it taught us an important lesson:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Reducing friction in a real user's workflow can be just as valuable as improving the AI model itself.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The best model doesn't help if the user can't conveniently provide the input.&lt;/p&gt;




&lt;h2&gt;
  
  
  8. Privacy Isn't a Checkbox at the End
&lt;/h2&gt;

&lt;p&gt;Fraud reports may contain sensitive personal information.&lt;/p&gt;

&lt;p&gt;They can include messages, payment details, contact information, and descriptions of potentially harmful events.&lt;/p&gt;

&lt;p&gt;That creates responsibilities beyond ordinary form validation.&lt;/p&gt;

&lt;p&gt;In Axon OSINT, submitted incident information is not intended to become a public social feed or a searchable collection of personal reports.&lt;/p&gt;

&lt;p&gt;The reporting workflow uses restricted storage and backend access controls. Access to sensitive information depends on authorization and applicable access rules, not simply on whether someone has created an account.&lt;/p&gt;

&lt;p&gt;This separation becomes especially important when information from different reports is compared.&lt;/p&gt;

&lt;p&gt;Imagine three reports mentioning the same suspicious domain.&lt;/p&gt;

&lt;p&gt;That repetition may be useful.&lt;/p&gt;

&lt;p&gt;But it doesn't mean everyone searching for the domain should be able to read those three reports.&lt;/p&gt;

&lt;p&gt;We separate the idea of &lt;strong&gt;a matching warning signal&lt;/strong&gt; from &lt;strong&gt;access to the underlying statements and evidence&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Our public checking feature can return limited information about matches in previously reported data without opening those personal statements to the person performing the search.&lt;/p&gt;

&lt;p&gt;And even when several reports contain the same number or website, that does not automatically prove a crime or identify the person responsible.&lt;/p&gt;

&lt;p&gt;A repeated identifier is a signal worth examining, not a verdict.&lt;/p&gt;

&lt;p&gt;For applications handling sensitive user submissions, this separation between source records and limited public results is an important design pattern.&lt;/p&gt;




&lt;h2&gt;
  
  
  9. The Submission Boundary Is Deliberately Separate
&lt;/h2&gt;

&lt;p&gt;Another detail we care about is confirmation.&lt;/p&gt;

&lt;p&gt;The system supports people submitting reports without first creating a full user account.&lt;/p&gt;

&lt;p&gt;An email confirmation flow helps establish that a report was submitted using the stated address.&lt;/p&gt;

&lt;p&gt;The backend also validates required acknowledgements, consent information, and report details during submission.&lt;/p&gt;

&lt;p&gt;This matters because the application should not treat an AI-generated draft, a user-submitted report, and a confirmed report as identical.&lt;/p&gt;

&lt;p&gt;They represent different levels of user action and confirmation.&lt;/p&gt;

&lt;p&gt;The distinction is also relevant to downstream analysis.&lt;/p&gt;

&lt;p&gt;For example, the documented cross-incident pattern-processing path requires the appropriate consent and confirmed report status.&lt;/p&gt;

&lt;p&gt;This doesn't eliminate the need for careful access control or data validation.&lt;/p&gt;

&lt;p&gt;But it reduces the risk of treating every unverified input as equally authoritative.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Good data processing starts with knowing where the data came from and what has actually been confirmed.&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  10. What We'd Tell Developers Building Something Similar
&lt;/h2&gt;

&lt;p&gt;Several principles from this work apply to other applications using AI to turn unstructured content into structured records.&lt;/p&gt;

&lt;h3&gt;
  
  
  Keep extraction separate from action
&lt;/h3&gt;

&lt;p&gt;A model can suggest information without being allowed to submit, publish, or act on it.&lt;/p&gt;

&lt;p&gt;This is particularly important when errors could affect another person.&lt;/p&gt;

&lt;h3&gt;
  
  
  Preserve the original input
&lt;/h3&gt;

&lt;p&gt;A clean summary is convenient. The original words and identifiers may be essential.&lt;/p&gt;

&lt;p&gt;Don't make it impossible to recover what the user actually provided.&lt;/p&gt;

&lt;h3&gt;
  
  
  Treat confidence as a warning, not a guarantee
&lt;/h3&gt;

&lt;p&gt;Confidence should influence how the result is presented, not replace verification.&lt;/p&gt;

&lt;p&gt;A high-confidence mistake is still a mistake.&lt;/p&gt;

&lt;h3&gt;
  
  
  Design for failure before celebrating success
&lt;/h3&gt;

&lt;p&gt;What happens if the upload fails? The AI returns incomplete information? The QR session expires?&lt;/p&gt;

&lt;p&gt;A graceful manual fallback is part of the feature, not an afterthought.&lt;/p&gt;

&lt;h3&gt;
  
  
  Explain third-party processing before it happens
&lt;/h3&gt;

&lt;p&gt;If user-provided content will be sent to an AI provider, make that clear before the user chooses the feature.&lt;/p&gt;

&lt;p&gt;Privacy should be understandable, not merely technically documented.&lt;/p&gt;

&lt;h3&gt;
  
  
  Separate useful signals from sensitive records
&lt;/h3&gt;

&lt;p&gt;Some information can help identify repeated patterns without exposing the people who provided it.&lt;/p&gt;

&lt;p&gt;Design those boundaries explicitly.&lt;/p&gt;




&lt;h2&gt;
  
  
  11. The Questions We're Still Working On
&lt;/h2&gt;

&lt;p&gt;Building this kind of system doesn't mean all the difficult questions are solved.&lt;/p&gt;

&lt;p&gt;We continue to think about issues such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;How can we better communicate uncertainty without overwhelming nontechnical users?&lt;/li&gt;
&lt;li&gt;How should an interface highlight fields that deserve additional review?&lt;/li&gt;
&lt;li&gt;How can we make screenshot-assisted reporting easier for people with limited digital experience?&lt;/li&gt;
&lt;li&gt;How should systems prevent repeated but misleading reports from creating excessive confidence in a suspicious indicator?&lt;/li&gt;
&lt;li&gt;How can cross-incident analysis remain useful while respecting privacy and authorization boundaries?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These are product questions, security questions, and engineering questions at the same time.&lt;/p&gt;

&lt;p&gt;And they deserve more attention than simply choosing a new model.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Most Important Part of Our AI Feature Is Still the Human
&lt;/h2&gt;

&lt;p&gt;We started with a seemingly straightforward idea:&lt;/p&gt;

&lt;p&gt;Take a screenshot. Extract the relevant information. Help the user complete a report.&lt;/p&gt;

&lt;p&gt;But the deeper we got into the workflow, the clearer the priorities became.&lt;/p&gt;

&lt;p&gt;It wasn't enough to make AI capable of reading a suspicious message.&lt;/p&gt;

&lt;p&gt;We also needed to make the result understandable, editable, and appropriately restricted.&lt;/p&gt;

&lt;p&gt;The system needed a way to express uncertainty.&lt;/p&gt;

&lt;p&gt;It needed a fallback when automatic processing failed.&lt;/p&gt;

&lt;p&gt;And it needed a clear boundary between an AI suggestion and an action taken by the user.&lt;/p&gt;

&lt;p&gt;We are building this as part of &lt;strong&gt;Axon OSINT&lt;/strong&gt;, a platform focused on digital investigations, open-source intelligence, and responsible fraud reporting.&lt;/p&gt;

&lt;p&gt;For developers, the most useful takeaway is one that applies well beyond our project:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Don't measure an AI-assisted workflow only by how impressive its output looks. Measure it by how safely and clearly it behaves when the output is wrong.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That's where an interesting demo begins to become a dependable product.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Discussion:&lt;/strong&gt; If you're building an application that turns screenshots, documents, or audio into structured data, how do you handle uncertainty and human review? Which mistakes are unacceptable in your domain?&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Project context: &lt;a href="https://axonosint.com" rel="noopener noreferrer"&gt;Axon OSINT&lt;/a&gt; · &lt;a href="https://axonosint.com/report-fraud" rel="noopener noreferrer"&gt;Public fraud-reporting workflow&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>react</category>
      <category>security</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
