← All projectsRafif Adhirajasa

Project 2 of 5 · Assistive signals for careful human review

Document Authenticity Detection System

An AI-assisted document integrity system that analyzes uploaded files for signs of digital manipulation, content inconsistencies, or AI-generated artifacts while keeping final judgment with a reviewer.

Year
2026
Role
Software Engineer Intern
Context
Moladin engineering internship · Veriflo project
Status
Implementation-stage document analysis system
Publication
Portfolio case study · Veriflo project at Moladin
  • Python
  • Secure file processing
  • Multimodal AI analysis
  • Structured validation
  • Automated tests
View Veriflo ↗

Veriflo was the project I contributed to during my Moladin internship. Visit the public project website for context.

Problem understanding

Reviewers need help spotting suspicious patterns in uploaded documents, but AI output cannot prove that a document is genuine or fake.

Intended users

Document reviewers assessing uploaded files for possible manipulation indicators.

Why it mattered

False certainty can harm people and decisions. The system therefore needed to surface useful signals without presenting an automated verdict as fact.

My responsibilities

  • Designed the authenticated multipart API, scan lifecycle, and reviewer-facing result contract.
  • Implemented strict file validation for PDFs and common image formats using extension, MIME, and magic-byte checks.
  • Integrated multimodal AI analysis for rendered document pages and bounded supplemental PDF text.
  • Converted AI candidates into validated structured findings with deterministic backend scoring and escalation rules.
  • Contributed private storage handling, temporary-file cleanup, preview access controls, and repeat-safe result delivery.

Components I contributed

  • Single-document intake and validation
  • Asynchronous scan lifecycle
  • Multimodal AI document analysis
  • Deterministic risk scoring and escalation
  • Private storage, preview, and cleanup safeguards
  • Structured outputs and bounded model-failure handling

Research & investigation

I investigated manipulation indicators, model-output failure modes, file-format ambiguity, reviewer needs, and the privacy consequences of retaining original documents and generated previews.

Technical approach

The system validates one uploaded file, stores it privately, renders analyzable pages, sends page evidence to a multimodal model, validates the AI response against a strict schema, then derives risk scores and reviewer actions in backend code before persisting the result.

Decisions & trade-offs

The central trade-off was usefulness versus certainty. AI is the core analysis engine, but backend validation, deterministic scoring, and conservative language prevent the model from becoming an unchecked binary judge.

Challenge & problem-solving

Document formats and model responses can be inconsistent. The workflow added bounded input handling, page coverage checks, schema validation, a limited repair pass for invalid model output, repeat-safe result delivery, and cleanup on both success and failure.

Testing & validation

Regression coverage exists for scoring, schema validation, model-adapter behavior, processor completion, database projection, and failure handling. The case study does not claim production accuracy because labeled-data calibration and full staging validation were still pending.

Outcome

The core scan workflow and reviewer-oriented result contract were implemented and verified at the application level.

Privacy, security & ethics

Uploaded documents may contain personal data, so the workflow emphasizes controlled access, cleanup, and human review.

Learning

Responsible AI features depend on model design, evidence grounding, deterministic validation, privacy controls, and careful product language together.

Future improvements

Complete representative-data calibration, end-to-end validation, reviewer usability testing, retention review, and clear escalation guidance for uncertain findings.