marginfi

Pass

Audited by Gen Agent Trust Hub on Aug 4, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill provides detailed documentation, API references, and code templates for the Marginfi lending protocol. All behaviors identified are consistent with the intended purpose of a DeFi development guide.
  • [EXTERNAL_DOWNLOADS]: The skill instructs users to install official Marginfi SDKs and standard Solana peer dependencies from the NPM registry.
  • Evidence: @mrgnlabs/marginfi-client-v2, @mrgnlabs/mrgn-common, @solana/web3.js, @coral-xyz/anchor.
  • [COMMAND_EXECUTION]: Provides standard npm install commands for environment setup and dependency management.
  • [SAFE]: The provided code templates demonstrate loading Solana wallet keypairs from local files (e.g., ./keypair.json) or environment variables. This is standard procedure for Solana CLI and server-side development and is documented here as a functional requirement rather than a malicious exposure attempt.
Audit Metadata
Risk Level
SAFE
Analyzed
Aug 4, 2026, 12:31 AM
Security Audit — agent-trust-hub — marginfi