Skip to content

What this page showsOne instruction (an action a wallet lists) of marginfi v2 (mrgnLend): whether the code that runs it is the code an audit reviewed, why, and the recorded transactions that called it.

Verdict

Partial

Some evidence exists, but one required link is missing, for example the live source is only claimed by a provider or the report names no files.

Checked against the snapshot at slot 471,652,469

The proof chain
  1. Instruction decoded

    Established

    The instruction bytes match one entry in a pinned IDL or schema, with no collision.

  2. Live code rebuilt by POA

    Established

    POA rebuilt a source commit and its hash equals the on-chain executable.

  3. Report names the handler file

    Established

    A published audit report's scope covers the file that implements this instruction.

  4. Reviewed commit printed

    Established

    That report prints the scope and the exact commit it reviewed.

  5. Reviewed code is the live code

    Not established

    The reviewed commit and the rebuilt live commit hold the same program code.

Every link must hold before POA says Matched. A missing link is not a failure, and never an approval.

Reasons

  1. Program snapshot at slot 471652469: executable, RPC agree, hash 9a497328283c….
  2. Decoded by anchor-idl-discriminator ab92912bbeaf0920.
  3. Handler programs/marginfi/src/instructions/marginfi_account/sync_indexer_flags.rs#L8 (sync_indexer_flags).
  4. Only partly reviewed per marginfi-hashlock-2026-07 (programs/marginfi; Scope is PRs #567 and #585; at the fix review commit 1f1f7a6 Hashlock only verified finding status and did not conduct a comprehensive review (p.7)), marginfi-adevar-2026-09 (programs/marginfi; Scope is programs/**/*.rs as modified by PRs 603, 615 and 631; other changes in the fix PRs and any other PR merged into 0.1.11-main or 0.1.12-main were not audited (p.8)); these reports give neither MATCHED nor CHANGED for this instruction.
  5. Handler file is under the printed scope of marginfi-ackee-2026.
  6. Live source f8246e6f established by POA's independent build.
  7. Live commit f8246e6f is not the reviewed commit and no recorded diff shows the crate unchanged (marginfi-ackee-2026 (5 commits without a usable recorded diff)).

What would be needed for a stronger verdict

  1. A source diff from the reviewed commit to the live commit showing no change under the program crate.

Checks

Decoded
Yes
Handler located
Yes
Handler in report-named files
Yes
Review scope established
Yes
Reviewed commit known
Yes
Live source rebuilt by POA
Yes
Live source equals reviewed
No
Handler changed since review
Not established
Program crate changed since review
Not established
Program immutable
No
Evidence fresh
Yes

Discriminator and decoding

Discriminator
ab92912bbeaf0920
Method
Anchor IDL discriminator
IDL SHA-256
68f04cb773fa8712e1f5def567af1bdeeef728863e1e76e120c07a8379d369f6
Collisions
None

Arguments

No arguments.

Accounts

Signer and writable flags from the interface definition.

AccountFlagsFixed addressNotes
payerSignerWritable

Handler source

Handler source at the pinned commitprograms/marginfi/src/instructions/marginfi_account/sync_indexer_flags.rs#L8-L17Source on GitHub · f8246e6 ↗ (opens in a new tab)
Function
sync_indexer_flags
File
programs/marginfi/src/instructions/marginfi_account/sync_indexer_flags.rs · lines 8–17
At commit
f8246e6f62600a9c91e4e88ab42143f717046fcb
Mapping
Anchor program module

Related files

No related files traced.

Audit relations

How each report relates to this instruction's handler file.

AuditorRelationReviewed commitScope confidence
OtterSecmarginfi v2 audit (opens in a new tab)Program covered, no paths named0f710a4Printed in the report
Sec3Security Assessment Report: Marginfi v2 (opens in a new tab)Program covered, no paths named5166374Printed in the report
Sec3Security Assessment Report: Marginfi v2 PR238 (opens in a new tab)Program covered, no paths named883c97fPrinted in the report
Sec3Security Assessment Report: Marginfi V2 PR248 (opens in a new tab)Program covered, no paths named60e02aePrinted in the report
AccretionSecurity Assessment: Marginfi EMode (A25MRG1) (opens in a new tab)Program covered, no paths named1208ee1Printed in the report
AccretionSecurity Assessment: Marginfi Kamino Integration (opens in a new tab)Program covered, no paths named7bbdf9bPrinted in the report
Sec3Security Assessment Report: Marginfi v2 PR109 Kamino (opens in a new tab)Program covered, no paths named61dd5fbPrinted in the report
Sec3Security Assessment Report: Marginfi v2 Emode (opens in a new tab)Program covered, no paths named8214666Printed in the report
Sec3Security Assessment Report: Marginfi V2 PRs 411, 424 and 427 (DRAFT) (opens in a new tab)Program covered, no paths named117fc5fPrinted in the report
Sec3Security Assessment Report: Marginfi V2 PRs 437, 441 and 450 (opens in a new tab)Program covered, no paths named8978771Printed in the report
Ackee Blockchain SecurityProject0 DeFi-Native Prime Broker audit report (opens in a new tab)Handler file is in the named scope9e8a881Printed in the report
HashlockProject 0 smart contract audit: price circuit breaker and same-asset e-mode (PRs 567 and 585) (opens in a new tab)Program covered, no paths named1f1f7a6Printed in the report
Sec3Security Assessment Report: Marginfi v2 Program PRs 567 and 585 (opens in a new tab)Program covered, no paths namedaad4276Printed in the report
Sec3Security Assessment Report: Marginfi v2 Program PR 661 (opens in a new tab)Program covered, no paths namedbbba606Printed in the report
Adevar LabsMarginFi Audit Report (after fix review): auto-rebalance, variable borrow premium, oracle integrations (opens in a new tab)Program covered, no paths named63b4192Printed in the report

Changed files since review

Files changed between the reviewed commit and the live source, as recorded.

No changed file is recorded for this instruction.

Call trees

The static tree comes from the handler source. The observed tree comes from a finalized transaction. They are separate evidence and are not merged.

Instruction
The instruction itself, with its own verdict.
Static
A source file read at the handler map's pinned commit.
Observed
A call seen in a finalized mainnet transaction.
Inferred
A call read from the handler source, not observed on chain.

Static, from source at f8246e6

  • Signer
    • InstructionPartial
      • StaticPartial

No curated transaction calls this instruction.

Transactions

Each curated transaction that calls this instruction, with what is known about the code that ran.

No curated transaction calls this instruction.