<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>Financial-Integrity - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/tags/financial-integrity/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Fri, 28 Aug 2026 21:13:51 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/tags/financial-integrity/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>Integer Overflow in Klever Split-Royalty Validation Enables Unbounded Token Minting</title><link>https://feed.craftedsignal.io/briefs/2026-08-klever-integer-overflow/</link><pubDate>Fri, 28 Aug 2026 21:13:51 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-08-klever-integer-overflow/</guid><description>An integer overflow vulnerability in the Klever node (klever-go) allows attackers to mint arbitrary amounts of KLV and other assets by bypassing split-royalty validation checks.</description><content:encoded><![CDATA[<p>The Klever blockchain node (klever-go) contains a critical integer overflow vulnerability in its split-royalty validation logic. The system decodes per-entry royalty percentages as <code>uint32</code> values without individual upper bounds and aggregates them into a <code>uint32</code> accumulator. By providing two split royalty entries that sum to a value exceeding 2^32, the accumulator wraps around to zero, successfully passing the 100% (10000) validation check.</p>
<p>During royalty payout, the system calculates payments using these massive overflowed values, crediting recipients with KLV far exceeding the original royalty pool. The negative remainder is silently discarded rather than returning an error, allowing the attacker to mint KLV or other assets out of thin air. This vulnerability is not gated by existing guards such as <code>FixMarketBuyOverflow</code> and remains exploitable on current mainnet deployments. Because the minted tokens are credited directly via balance modification rather than tracked mint events, the inflation remains invisible in official supply dashboards, posing a significant risk to the economic integrity of the ecosystem.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker crafts a malicious KDA asset creation transaction using the <code>kloperator</code> tool.</li>
<li>The transaction includes two split-royalty recipients, each assigned a percentage value of 21474836.48.</li>
<li>The node processes these as raw <code>uint32</code> values (<code>2147483648</code>), causing the sum to wrap around to <code>0</code> in the <code>uint32</code> accumulator.</li>
<li>The <code>CheckValid100Params</code> function incorrectly validates the wrapped sum of <code>0</code> as permissible.</li>
<li>The attacker initiates a standard asset transfer or market buy, triggering the royalty payout logic.</li>
<li>The payout logic retrieves the overflowed <code>2147483648</code> percentage, calculating a massive credit for the recipient.</li>
<li>The <code>AddToBalance</code> function executes, crediting the recipient's wallet with inflated KLV or asset balances.</li>
<li>The system silently ignores the resulting negative remainder, finalizing the unauthorized mint.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation results in the unbounded inflation of KLV and other assets. Because the inflation is handled via direct balance updates rather than tracked minting processes, the supply metrics appear accurate while the token value is eroded. This can lead to a total loss of economic integrity, affecting all holders within the Klever ecosystem. Any user with sufficient funds for transaction fees can exploit this without requiring administrative privileges.</p>
<h2 id="recommendation">Recommendation</h2>
<ol>
<li>Implement per-entry bounds checking in <code>decodeSplitInfo</code> within <code>core/kapp/builtInFunctions/utils.go</code> to reject any individual percentage exceeding <code>HundredPercent</code> (10000).</li>
<li>Modify the validation logic in <code>core/kapp/kda/create.go</code> and <code>core/kapp/kda/trigger.go</code> to use <code>uint64</code> accumulators to prevent integer wrapping during the summation of royalty percentages.</li>
<li>Enforce these changes via a new activation-epoch fork flag to ensure historical blocks remain consistent while preventing future exploitation.</li>
</ol>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>integer-overflow</category><category>blockchain</category><category>financial-integrity</category></item></channel></rss>