Q3 2026 Security & Compliance$1.18B stolen across 107 incidents. Main drivers: supply chain, smart contracts, keys.
Get the report →

Audit name:

[PT] CredioLabs | CodeReview | Oct2026

Date:

Nov 2, 2026

Table of Content

→Introduction
→Audit Summary
→System Overview
→Findings
→Appendix 1. Severity Definitions
→Appendix 2. Scope
→Appendix 3. Additional Valuables
→Disclaimer

Want a comprehensive audit report like this?

Introduction

We express our gratitude to the CredioLabs team for the collaborative engagement that enabled the execution of this Security Assessment.

Document

NameSecure Code Review and Security Analysis Report for CredioLabs
Audited ByAbdelfattah Ibrahim
Approved ByEce Orsel
Websitehttps://crediolabs.ai/→
Changelog28/10/2026 - Preliminary Report
30/10/2026 - Final Report
LanguageTypeScript
TagsPentest (White-box)
Methodologyhttps://docs.hacken.io/methodologies/dapp-audit-methodology→

Review Scope

Repositoryhttps://github.com/untangledfinance/oz-policy-builder→
Commite586840
Final Commit286a3fc

Protect your dApp with insights like these.

Audit Summary

7Total Findings
7Resolved
0Accepted
0Mitigated

The system users should acknowledge all the risks summed up in the risks section of the report

{FindingsVulnSeverityStatusTable}

System Overview

TypeScript monorepo of off-chain tooling for OpenZeppelin smart accounts on Stellar (Soroban). The tooling lets an AI agent request narrowly scoped spending permissions on a user's smart account. It turns a plain intent or a recorded transaction into a rule enforced on-chain by a deployed policy interpreter contract. It then builds the unsigned add_context_rule or remove_context_rule transaction that installs or removes that rule. The core library, policy-synth, synthesizes and encodes rules and checks them against the account's existing rules and the live interpreter. It enforces builder-side safety checks such as amount caps, slippage floors, signer thresholds and interpreter pinning, and it lets callers verify or simulate a rule before installing it. It also renders a human-readable review card that the account owner inspects through review_unsigned before signing. These features are exposed through a command-line tool (policy-builder-cli) and an MCP server (policy-builder-mcp), which serves AI agents over stdio by default or over an optional loopback HTTP mode.

Findings

F-2026-2015Malformed request path crashes the MCP HTTP server before its Host/Origin guard
Status
fixed
Severity

Medium
F-2026-2015The builder's amount and slippage checks can be bypassed, producing uncapped rules with no warning
Status
fixed
Severity

Low
F-2026-2015Shortened addresses let a fake recipient look identical on the review card
Status
fixed
Severity

Low
F-2026-2015The review card renders scaled bounds as exact division while the interpreter truncates
Status
fixed
Severity

Low
F-2026-2015Exponential selector expansion lets the agent crash the owner's review_unsigned process
Status
fixed
Severity

Low
F-2026-2015Unvalidated tool input is reprocessed in loops, blocking the MCP HTTP server
Status
fixed
Severity

Observation
F-2026-2015Oversized tool input crashes the MCP HTTP server through memory exhaustion
Status
fixed
Severity

Observation
Code
―
Title
Status
Severity
F-2026-2015Malformed request path crashes the MCP HTTP server before its Host/Origin guard
fixed

Medium
F-2026-2015The builder's amount and slippage checks can be bypassed, producing uncapped rules with no warning
fixed

Low
F-2026-2015Shortened addresses let a fake recipient look identical on the review card
fixed

Low
F-2026-2015The review card renders scaled bounds as exact division while the interpreter truncates
fixed

Low
F-2026-2015Exponential selector expansion lets the agent crash the owner's review_unsigned process
fixed

Low
F-2026-2015Unvalidated tool input is reprocessed in loops, blocking the MCP HTTP server
fixed

Observation
F-2026-2015Oversized tool input crashes the MCP HTTP server through memory exhaustion
fixed

Observation
1-7 of 7 findings

Uncover findings like these to secure your project.

Appendix 1. Severity Definitions

Findings are categorized based on their potential impact and assigned a severity level using the Common Vulnerability Scoring System (CVSS) version 4.0: →

Severity

Description

Critical
These issues present a major security vulnerability that poses a severe risk to the system. They require immediate attention and must be resolved to prevent a potential security breach or other significant harm.

High
These issues present a significant risk to the system, but may not require immediate attention. They should be addressed in a timely manner to reduce the risk of the potential security breach.

Medium
These issues present a moderate risk to the system and cannot have a great impact on its function. They should be addressed in a reasonable time frame, but may not require immediate attention.

Low
These issues present no risk to the system and typically relate to the code quality problems or general recommendations. They do not require immediate attention and should be viewed as a minor recommendation.
  • Severity

    Critical

    Description

    These issues present a major security vulnerability that poses a severe risk to the system. They require immediate attention and must be resolved to prevent a potential security breach or other significant harm.

    Severity

    High

    Description

    These issues present a significant risk to the system, but may not require immediate attention. They should be addressed in a timely manner to reduce the risk of the potential security breach.

    Severity

    Medium

    Description

    These issues present a moderate risk to the system and cannot have a great impact on its function. They should be addressed in a reasonable time frame, but may not require immediate attention.

    Severity

    Low

    Description

    These issues present no risk to the system and typically relate to the code quality problems or general recommendations. They do not require immediate attention and should be viewed as a minor recommendation.

Appendix 2. Scope

The scope of the project includes the following:

Scope Details

Repositoryhttps://github.com/untangledfinance/oz-policy-builder→
Commite586840
Final Commit286a3fc

Assets in Scope

policy-builder - policy-builder

Appendix 3. Additional Valuables

Frameworks and Methodologies

This security assessment was conducted in alignment with recognised penetration testing standards, methodologies and guidelines, including the NIST SP 800-115 – Technical Guide to Information Security Testing and Assessment →, the Penetration Testing Execution Standard (PTES) →, and the OWASP Testing Guide →. These assets provide a structured foundation for planning, executing, and documenting technical evaluations such as vulnerability assessments, exploitation activities, and security code reviews. Hacken’s internal penetration testing methodology extends these principles to Web2 and Web3 environments to ensure consistency, repeatability, and verifiable outcomes.

Disclaimer