Inferensys

Prompt

Verification Report Tampering Detection Prompt

A practical prompt playbook for using Verification Report Tampering Detection Prompt in production AI workflows to detect post-hoc modifications to verification reports, evidence chains, and confidence scores.
Developer doing prompt engineering on laptop, prompt variations visible on screen, casual coding session.
PROMPT PLAYBOOK

When to Use This Prompt

Define the job, reader, and constraints for detecting tampered verification reports before they reach downstream systems or auditors.

This prompt is built for governance, audit, and verification pipeline operators who need to detect post-hoc modifications to verification reports, evidence chains, or confidence scores that would mask verification failures. The core job is to compare a verification report against its expected structure, evidence provenance, and metadata integrity to surface tamper-evidence indicators and audit-trail completeness gaps. You should use this prompt when you have a generated verification report and access to the original evidence, claim set, or pipeline logs that produced it—and you need to know whether the report was altered after generation, either accidentally through a broken update process or deliberately to hide a failed verification.

The prompt expects a verification report payload, the original claim-to-evidence mappings, and any available pipeline metadata such as timestamps, model versions, or processing logs. It produces structured tamper-evidence indicators: mismatched confidence scores, missing evidence citations that were present in the original output, altered verdict language, timestamp anomalies, and audit-trail gaps where intermediate decisions are unaccounted for. The output is designed to be machine-readable so you can wire it into automated report integrity checks before reports enter compliance dashboards, client deliverables, or regulatory submissions. Do not use this prompt for real-time claim verification, evidence retrieval, or initial report generation—it is a post-hoc integrity check, not a fact-checking engine.

This is a high-risk workflow. A false negative—missing a real tampering event—can propagate incorrect verification results into downstream decisions with legal, financial, or safety consequences. Always pair this prompt's output with human review for any tamper-evidence indicator above a low-severity threshold, and log every integrity check result with the report version, checker model, and timestamp for auditability. Before deploying, run this prompt against a golden dataset of known-clean and known-tampered reports to calibrate your severity thresholds and measure false-positive and false-negative rates. If your verification pipeline already produces cryptographic hashes or digital signatures for report outputs, prefer those over this prompt for integrity verification; use this prompt when you lack such infrastructure or need to detect semantic tampering that wouldn't change a hash, such as reworded verdicts or subtly shifted confidence language.

PRACTICAL GUARDRAILS

Use Case Fit

Where the Verification Report Tampering Detection Prompt delivers value and where it introduces risk. This prompt is designed for governance and audit teams, not for real-time verification pipelines.

01

Good Fit: Post-Hoc Audit of Verification Reports

Use when: you have a finalized verification report, evidence chain, and confidence scores that must be checked for integrity before regulatory submission or publication. Guardrail: Run this prompt as a separate, isolated audit step with no access to the original generation context.

02

Bad Fit: Real-Time Verification Pipelines

Avoid when: you need to verify claims during live ingestion or user-facing flows. This prompt adds latency and is designed for deep inspection, not throughput. Guardrail: Use claim extraction and evidence matching prompts for real-time work; reserve this for offline audit batches.

03

Required Input: Immutable Report Snapshot

Risk: Without a fixed report version and its original evidence payload, tampering detection cannot establish a baseline. Guardrail: Require a content-hashed or timestamped report snapshot plus the original evidence set as mandatory inputs before running the prompt.

04

Required Input: Audit Trail Completeness

Risk: If the verification pipeline did not log intermediate decisions, the prompt cannot distinguish tampering from missing provenance. Guardrail: Only apply this prompt to reports generated by systems that produce structured audit trails with decision timestamps and actor identifiers.

05

Operational Risk: False Positives on Legitimate Corrections

Risk: The prompt may flag authorized post-hoc corrections as tampering, eroding trust in the audit process. Guardrail: Pair tamper-evidence indicators with a change-log comparison step. Flag only unlogged or unauthorized modifications as high-confidence tampering events.

06

Operational Risk: Prompt Injection via Report Content

Risk: A compromised verification report could contain embedded instructions designed to suppress tamper flags or force a 'clean' output. Guardrail: Sanitize report content before analysis. Run the tampering detection prompt in a context-isolated environment with no access to upstream system instructions.

PROMPT PLAYBOOK

Copy-Ready Prompt Template

A reusable prompt template for detecting tampering in verification reports, evidence chains, and confidence scores.

This prompt template is designed for governance and audit teams who need to programmatically check the integrity of verification outputs. It accepts a verification report, its associated evidence chain, and an audit trail, then produces a structured tamper-evidence assessment. The template uses square-bracket placeholders so you can wire it directly into an application harness, replacing each placeholder with data from your verification pipeline before sending the request to the model.

text
You are an output-integrity auditor for an automated fact-checking system. Your task is to detect post-hoc modifications to a verification report that would mask verification failures, alter confidence scores, or break evidence-chain continuity.

## INPUT

### Verification Report
[VERIFICATION_REPORT]

### Evidence Chain
[EVIDENCE_CHAIN]

### Audit Trail
[AUDIT_TRAIL]

### Expected Verification Schema
[EXPECTED_SCHEMA]

## TASK

1. **Schema Compliance Check**: Compare the verification report against [EXPECTED_SCHEMA]. Flag any missing required fields, unexpected fields, or type mismatches that could indicate field deletion or injection.

2. **Evidence-Chain Continuity**: Trace every claim in the report back to its source in [EVIDENCE_CHAIN]. Flag any claim that lacks a traceable evidence link, any evidence item that was present in the audit trail but omitted from the final report, and any broken reference identifiers.

3. **Confidence Score Anomaly Detection**: Compare confidence scores in the report against the evidence quality indicators in [EVIDENCE_CHAIN]. Flag scores that are inconsistent with the underlying evidence strength, including upward adjustments on weak evidence and downward adjustments on strong evidence.

4. **Audit-Trail Completeness**: Compare the report's stated verification steps against [AUDIT_TRAIL]. Flag any step present in the audit trail but missing from the report, any step in the report with no corresponding audit-trail entry, and any timestamp or sequence anomalies.

5. **Content Modification Detection**: Identify any claim text, evidence summary, or conclusion that appears to have been altered relative to what the evidence chain supports. Look for softened language on failed verifications, removed contradictions, or added qualifiers not grounded in evidence.

## CONSTRAINTS

- Only flag modifications where you can point to specific evidence of tampering. Do not flag normal formatting differences or immaterial wording variations.
- For each flag, provide the specific location (field path, claim ID, or section) and the evidence that supports the tamper finding.
- If the report appears intact, explicitly state that no tamper indicators were found.
- Do not re-verify the underlying claims. Your scope is limited to detecting modifications to the report itself.

## OUTPUT FORMAT

Return a JSON object with this exact structure:

```json
{
  "tamper_detected": boolean,
  "overall_confidence": "high" | "medium" | "low",
  "findings": [
    {
      "finding_id": "string",
      "category": "schema_violation" | "evidence_chain_break" | "confidence_anomaly" | "audit_trail_gap" | "content_modification",
      "severity": "critical" | "high" | "medium" | "low",
      "location": "string (field path, claim ID, or section reference)",
      "description": "string (what was detected)",
      "evidence": "string (specific evidence supporting the finding)",
      "recommended_action": "string (what an auditor should investigate next)"
    }
  ],
  "audit_trail_completeness": {
    "total_expected_steps": number,
    "steps_with_report_coverage": number,
    "steps_missing_from_report": number,
    "report_steps_without_audit_entry": number
  },
  "evidence_chain_summary": {
    "total_claims_in_report": number,
    "claims_with_traceable_evidence": number,
    "claims_with_broken_evidence_link": number,
    "evidence_items_in_chain_but_not_in_report": number
  }
}

RISK LEVEL

[RISK_LEVEL]

If [RISK_LEVEL] is "high", apply stricter detection thresholds: flag even minor schema deviations, require full bidirectional evidence traceability, and treat any confidence score adjustment as critical. If [RISK_LEVEL] is "standard", focus on material modifications that would change verification outcomes.

To adapt this template, replace each placeholder with data from your verification pipeline. [VERIFICATION_REPORT] should contain the full report output from your fact-checking system. [EVIDENCE_CHAIN] must include the structured evidence items with their identifiers, source references, and quality indicators. [AUDIT_TRAIL] should be the step-by-step log of verification actions taken. [EXPECTED_SCHEMA] is your system's canonical output schema—provide it as a JSON Schema or a field-by-field description. [RISK_LEVEL] accepts either "high" or "standard" and controls detection sensitivity. If your system doesn't produce a separate audit trail, remove that section from the prompt and set audit_trail_completeness fields to null in post-processing.

Before deploying this prompt, validate that your evidence chain includes stable identifiers that survive serialization and deserialization. The most common failure mode is broken reference links caused by ID regeneration between pipeline stages. Test with known-good reports first to establish a baseline false-positive rate, then introduce synthetic tampering—removed evidence links, adjusted scores, deleted fields—to confirm detection sensitivity. For high-stakes governance workflows, route all critical severity findings to human review and log every tamper assessment with the full input context for auditability.

IMPLEMENTATION TABLE

Prompt Variables

Required inputs for the Verification Report Tampering Detection Prompt. Each placeholder must be populated before the prompt is assembled. Validation notes describe how to confirm the input is well-formed before execution.

PlaceholderPurposeExampleValidation Notes

[VERIFICATION_REPORT]

The full verification report to scan for tampering indicators

{"report_id": "vr-2025-0042", "claims": [...], "evidence_chain": [...], "confidence_scores": [...], "audit_log": [...]}

Must be valid JSON with report_id, claims array, evidence_chain array, and audit_log field present. Reject if claims array is empty or evidence_chain references missing claim IDs.

[REPORT_METADATA]

Provenance metadata about when and how the report was generated

{"generated_at": "2025-03-15T14:22:00Z", "pipeline_version": "2.4.1", "generating_system": "verify-core", "signing_key_id": "sk-7a3f"}

Must include generated_at in ISO 8601, pipeline_version as semver string, and generating_system identifier. Reject if generated_at is missing or predates the pipeline_version release date.

[EVIDENCE_SOURCE_MANIFEST]

Authoritative list of evidence sources available at generation time with content hashes

{"sources": [{"source_id": "src-001", "content_hash": "sha256:abc123...", "retrieved_at": "2025-03-15T14:21:00Z"}]}

Each source must have a content_hash using a declared algorithm. Reject if any source_id referenced in VERIFICATION_REPORT is absent from this manifest or if retrieved_at timestamps postdate report generation.

[AUDIT_TRAIL_LOG]

Immutable or append-only log of all verification actions taken during report generation

["2025-03-15T14:21:05Z claim-extraction-start batch-42", "2025-03-15T14:21:12Z evidence-retrieval claim-17 src-001", "2025-03-15T14:21:18Z evidence-match claim-17 src-001 score-0.94"]

Log entries must be ordered by timestamp. Reject if timestamps are non-monotonic or if any claim_id in the report lacks corresponding extraction, retrieval, and match entries in sequence.

[CONFIDENCE_THRESHOLD_POLICY]

The threshold rules active at generation time for auto-verify, human-review, and reject routing

{"auto_verify_min": 0.85, "human_review_range": [0.50, 0.85], "reject_max": 0.50, "policy_version": "v3.1"}

Must define numeric thresholds with policy_version. Reject if auto_verify_min is less than human_review_range upper bound or if thresholds are missing. Compare against confidence_scores in report for threshold-violation tampering.

[SIGNATURE_CHAIN]

Cryptographic signatures or attestations covering the report and its components

{"report_signature": "sig:4f2a...", "component_signatures": {"claims": "sig:8b1c...", "evidence_chain": "sig:2d9e..."}, "verification_keys": ["key-001"]}

Each signature must be verifiable against the declared verification_keys. Reject if report_signature is present but component_signatures are missing, or if any signature fails verification against the corresponding payload hash.

[TAMPER_INDICATOR_RULESET]

The specific tamper-evidence patterns and integrity checks to apply

{"rules": ["timestamp-monotonicity", "hash-chain-consistency", "score-threshold-violation", "missing-audit-entries", "post-hoc-evidence-injection"], "ruleset_version": "2.0.0"}

Each rule name must match a known rule in the system registry. Reject if ruleset_version is incompatible with the pipeline_version in REPORT_METADATA. Validate that all rules are implemented and testable before execution.

[OUTPUT_SCHEMA]

The expected structure for tampering detection results

{"tampering_detected": true, "indicators": [{"type": "timestamp-anomaly", "severity": "high", "detail": "..."}], "audit_trail_completeness": 0.72, "integrity_score": 0.31}

Must conform to the declared schema with tampering_detected as boolean, indicators as array of objects with type and severity, and numeric completeness and integrity scores in [0,1]. Reject output that omits integrity_score or uses non-enumerated severity values.

PROMPT PLAYBOOK

Implementation Harness Notes

How to wire the tampering detection prompt into a governance or audit workflow with validation, logging, and human review.

This prompt is designed to operate as a post-hoc integrity check within a verification pipeline, not as a real-time guard. It should be invoked after a verification report is generated and before it is archived, published, or submitted to a review board. The harness must treat the prompt's output as a structured audit artifact, not as a final binary pass/fail signal. The primary integration points are: (1) a report storage system that can provide the original report and its current state, (2) an evidence log or chain-of-custody record, and (3) a downstream review queue for flagged reports.

To wire this into an application, build a dedicated tamper-check service that accepts a report_id and retrieves the original report, its version history, and associated evidence metadata. Construct the prompt input by populating [REPORT_CONTENT] with the full report text, [REPORT_METADATA] with timestamps, author IDs, and version numbers, and [EVIDENCE_CHAIN_LOG] with the sequence of evidence operations. After receiving the model response, validate the output schema strictly: confirm that tamper_indicators is an array, each indicator has a non-empty type and severity field, and audit_trail_completeness is a float between 0.0 and 1.0. Reject and retry any response that fails schema validation, logging the failure for prompt debugging. Use a model with strong JSON mode and low temperature (0.0–0.1) to maximize output consistency.

For high-stakes governance workflows, never auto-remediate based on this prompt's output. Route any report with tamper_indicators containing a severity of high or critical directly to a human review queue, attaching the full tamper analysis as context. For medium severity indicators, flag the report for secondary automated checks—such as checksum verification, timestamp consistency validation, or evidence hash comparison—before deciding on human escalation. Log every invocation, including the prompt version, model, input hashes, raw output, and reviewer disposition, to maintain an audit trail of the tamper-detection process itself. Avoid running this prompt on reports that have not yet been finalized, as legitimate in-progress edits will generate false-positive tamper signals and erode trust in the detection workflow.

IMPLEMENTATION TABLE

Expected Output Contract

Defines the structured output fields, types, and validation rules for the tamper-evidence report. Use this contract to build post-processing validators and schema checks before the report enters an audit trail or governance system.

Field or ElementType or FormatRequiredValidation Rule

tamper_indicators

Array of objects

Must be an array. Each element must contain indicator_type, location, description, and confidence fields. Empty array allowed if no tampering detected.

tamper_indicators[].indicator_type

Enum string

Must be one of: score_override, evidence_chain_break, timestamp_anomaly, field_mutation, report_regeneration_mismatch, citation_removal, conclusion_reversal.

tamper_indicators[].location

String (JSONPath)

Must be a valid JSONPath expression pointing to the specific field or node in the verification report where the anomaly was detected. Example: $.claims[3].verification_result.confidence.

tamper_indicators[].confidence

Number (0.0-1.0)

Must be a float between 0.0 and 1.0 inclusive. Represents the model's confidence that the indicator represents actual tampering, not a benign edit or system artifact. Values below 0.5 should still be reported but flagged as low-confidence.

audit_trail_completeness

Object

Must contain total_expected_events, observed_events, missing_event_types, and completeness_score fields. Null not allowed.

audit_trail_completeness.completeness_score

Number (0.0-1.0)

Ratio of observed audit events to expected events. 1.0 indicates a fully intact audit trail. Must be validated as a float between 0.0 and 1.0.

audit_trail_completeness.missing_event_types

Array of strings

List of expected audit event types that are absent from the log. Use enum values: claim_extraction, evidence_retrieval, verification_decision, human_review, report_generation. Empty array if complete.

report_integrity_verdict

Enum string

Must be one of: intact, tampered, inconclusive. inconclusive requires at least one tamper_indicator with confidence below 0.7 and no indicators above 0.9. tampered requires at least one indicator with confidence >= 0.9.

PRACTICAL GUARDRAILS

Common Failure Modes

Tamper detection prompts fail in predictable ways when faced with subtle modifications, incomplete audit trails, or adversarial obfuscation. These cards cover the most common failure modes and how to guard against them in production.

01

Silent Acceptance of Reordered Evidence Chains

What to watch: The prompt accepts a verification report where evidence items have been reordered to imply a different conclusion without changing any individual entry. The tamper detection logic checks each evidence block in isolation and misses the structural manipulation. Guardrail: Include explicit checks for evidence sequencing integrity—require the prompt to compare the original evidence ordering against the report ordering and flag any reordering that alters the logical flow or conclusion support.

02

Confidence Score Inflation Without Supporting Changes

What to watch: A modified report raises confidence scores from 'low' to 'high' without adding new evidence or changing the underlying analysis. The detection prompt treats the score as just another field and fails to cross-validate it against the evidence body. Guardrail: Add a cross-validation step that requires the prompt to verify whether each confidence score is consistent with the quantity, quality, and contradiction status of the cited evidence. Flag score-evidence mismatches as tamper indicators.

03

Missing Audit Trail Entries Treated as Benign Gaps

What to watch: The tamper detection prompt encounters a report with gaps in the audit trail—missing intermediate verification steps, absent reviewer annotations, or truncated decision logs—and treats these as acceptable omissions rather than integrity violations. Guardrail: Define a minimum required audit trail schema in the prompt instructions. Require the prompt to enumerate expected audit events and flag any missing entries as tamper-evidence indicators, not just incomplete documentation.

04

Adversarial Rewording That Preserves Surface Semantics

What to watch: A modified report changes 'the claim could not be verified' to 'verification was inconclusive due to source limitations,' preserving a similar surface meaning while shifting blame from the claim to the sources. The detection prompt reads both as equivalent and misses the semantic shift. Guardrail: Include a semantic-diff instruction that requires the prompt to identify changes in causal attribution, responsibility framing, and conclusion direction—not just synonym matching. Flag any shift that alters who or what is portrayed as the source of uncertainty.

05

Timestamp Manipulation Masking Post-Hoc Edits

What to watch: A report is modified after finalization but timestamps are backdated to appear as though changes occurred during the original verification window. The detection prompt trusts timestamps as ground truth and fails to cross-reference them against version history or external logs. Guardrail: Require the prompt to check timestamp consistency across all report components—creation times, modification times, evidence retrieval times, and reviewer timestamps. Flag any temporal inconsistencies where modification timestamps precede creation timestamps or where evidence timestamps postdate the claimed verification window.

06

Selective Deletion of Contradictory Evidence References

What to watch: A tampered report removes references to contradictory evidence while keeping all supporting evidence intact, making the conclusion appear unanimous. The detection prompt only checks whether remaining citations are valid and misses the absence of known contradictions. Guardrail: If the verification workflow maintains an evidence manifest or source inventory, provide it as a reference input to the tamper detection prompt. Require the prompt to cross-check the report's cited sources against the expected evidence set and flag any missing contradictory sources as potential deletions.

IMPLEMENTATION TABLE

Evaluation Rubric

Criteria for evaluating whether the tampering detection prompt correctly identifies post-hoc modifications to verification reports, evidence chains, or confidence scores. Use this rubric before deploying the prompt in a production audit pipeline.

CriterionPass StandardFailure SignalTest Method

Metadata integrity check

Prompt output flags all reports where last_modified timestamp postdates verification_completed timestamp by more than [GRACE_PERIOD_SECONDS]

Output returns tamper_indicators: [] for a report with a 24-hour timestamp mismatch

Feed a report with last_modified = verification_completed + 86400 and check for at least one metadata_timestamp_mismatch indicator

Evidence chain completeness

Prompt output lists every evidence record present in the original verification log and flags any missing evidence_id values in the report under review

Output reports evidence_chain_intact: true when 2 of 5 original evidence records are silently dropped from the report

Supply an original evidence log with 5 records and a tampered report containing only 3; confirm missing_evidence_ids array contains the 2 dropped IDs

Confidence score modification detection

Prompt output detects any confidence_score value in the report that differs from the original verification log by more than [CONFIDENCE_TOLERANCE]

Output returns score_modifications: [] when a claim confidence is changed from 0.45 to 0.92

Inject a report where one claim's confidence is altered from 0.45 to 0.92; confirm score_modifications array includes that claim ID with original_score and tampered_score

Claim text alteration detection

Prompt output identifies any claim text in the report whose normalized string does not match the normalized original claim text from the verification log

Output returns claim_text_modifications: [] when a claim is reworded from 'X causes Y' to 'X is associated with Y'

Feed a report where one claim text is semantically softened; confirm claim_text_modifications contains the claim ID and a diff_summary

Verdict flipping detection

Prompt output flags any claim whose verdict field in the report differs from the original verification log verdict

Output returns verdict_changes: [] when a claim verdict is changed from 'Unverified' to 'Verified'

Supply a report with one verdict flipped from 'Unverified' to 'Verified'; confirm verdict_changes array contains the claim ID with original_verdict and tampered_verdict

Source citation removal detection

Prompt output detects when a source citation present in the original verification log is absent from the report

Output returns citation_removals: [] when a supporting source is deleted from the report

Provide an original log with 3 citations per claim and a report with 2; confirm citation_removals lists the missing citation ID and claim ID

Audit trail hash verification

Prompt output validates that the report's audit_trail_hash matches a recomputed hash of the audit trail contents

Output returns hash_valid: true when the audit trail content has been altered but the hash is not updated

Tamper with one audit trail entry without updating the hash; confirm hash_valid is false and hash_mismatch_detail is populated

Tamper evidence aggregation

Prompt output aggregates all detected tamper indicators into a single tamper_summary with a tamper_severity rating of 'none', 'low', 'medium', or 'high'

Output returns tamper_severity: 'none' when three distinct tamper indicators are present

Inject three tamper types into one report; confirm tamper_severity is at least 'medium' and tamper_indicator_count equals 3

ADAPTATION OPTIONS

Adapt This Prompt

How to adapt

Use the base prompt with a single verification report and a lightweight checklist. Focus on detecting obvious structural tampering: missing sections, reordered evidence, or altered confidence scores. Run the prompt against a small set of known-clean and known-tampered reports to establish baseline detection rates.

Prompt modification

Start with the core instruction: Analyze the following verification report for signs of post-hoc tampering. Check: [TAMPER_INDICATORS]. Report any discrepancies. Keep [TAMPER_INDICATORS] simple—hash mismatches, timestamp gaps, section count changes.

Watch for

  • False positives on legitimate report revisions with audit trails
  • Missing detection of subtle swaps (e.g., replacing one evidence source with another of equal length)
  • Over-reliance on format consistency when content is the tamper target
Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.