<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://quadrigainitiative.com/cryptocurrencyhackscamfraudwiki/index.php?action=history&amp;feed=atom&amp;title=Sense_Finance_Access_Control_Vulnerability</id>
	<title>Sense Finance Access Control Vulnerability - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://quadrigainitiative.com/cryptocurrencyhackscamfraudwiki/index.php?action=history&amp;feed=atom&amp;title=Sense_Finance_Access_Control_Vulnerability"/>
	<link rel="alternate" type="text/html" href="https://quadrigainitiative.com/cryptocurrencyhackscamfraudwiki/index.php?title=Sense_Finance_Access_Control_Vulnerability&amp;action=history"/>
	<updated>2026-07-26T02:40:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.1</generator>
	<entry>
		<id>https://quadrigainitiative.com/cryptocurrencyhackscamfraudwiki/index.php?title=Sense_Finance_Access_Control_Vulnerability&amp;diff=5634&amp;oldid=prev</id>
		<title>Azoundria: Created page with &quot;{{Imported Case Study|source=https://www.quadrigainitiative.com/casestudy/sensefinanceaccesscontrolvulnerability.php}} {{Unattributed Sources}}  Sense Finance Logo/HomepageSense Finance offers investors the ability to earn a small predictable return on their investments. Unfortunately, a vulnerability was introduced into the protocol during development, which could have allowed an attacker to take funds from the smart contract. Violet Vien...&quot;</title>
		<link rel="alternate" type="text/html" href="https://quadrigainitiative.com/cryptocurrencyhackscamfraudwiki/index.php?title=Sense_Finance_Access_Control_Vulnerability&amp;diff=5634&amp;oldid=prev"/>
		<updated>2024-04-08T20:32:43Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Imported Case Study|source=https://www.quadrigainitiative.com/casestudy/sensefinanceaccesscontrolvulnerability.php}} {{Unattributed Sources}}  &lt;a href=&quot;/cryptocurrencyhackscamfraudwiki/index.php?title=File:Sensefinance.jpg&quot; title=&quot;File:Sensefinance.jpg&quot;&gt;thumb|Sense Finance Logo/Homepage&lt;/a&gt;Sense Finance offers investors the ability to earn a small predictable return on their investments. Unfortunately, a vulnerability was introduced into the protocol during development, which could have allowed an attacker to take funds from the smart contract. Violet Vien...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Imported Case Study|source=https://www.quadrigainitiative.com/casestudy/sensefinanceaccesscontrolvulnerability.php}}&lt;br /&gt;
{{Unattributed Sources}}&lt;br /&gt;
&lt;br /&gt;
[[File:Sensefinance.jpg|thumb|Sense Finance Logo/Homepage]]Sense Finance offers investors the ability to earn a small predictable return on their investments. Unfortunately, a vulnerability was introduced into the protocol during development, which could have allowed an attacker to take funds from the smart contract. Violet Vienhage, the whitehack who found and reported the vulnerability, was rewarded with a $50k bounty.&lt;br /&gt;
&lt;br /&gt;
This is a global/international case not involving a specific country.&amp;lt;ref name=&amp;quot;newsletter-13117&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;immunefimedium-13246&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;sensefinance-13247&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;sensefinancedocs-13248&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;sensefinancemedium-13249&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;alpehvtwitter-13250&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;sensefinancemedium-13251&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;alpehvtwitter-13252&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== About Sense Finance ==&lt;br /&gt;
&amp;quot;Adding Dimension to DeFi Earn predictable returns Earn a boosted yield Profit from interest rate movements&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Sense operate[d] as decentralized, permissionless infrastructure, where teams [could] build and develop new yield primitives for DeFi, such as bond-like assets, yield tokens, and tranche-like instruments. Yield-stripping [was] the first application built on Sense, where users [could] lend at a fixed rate and make capital-efficient long/short bets on the future yields of existing yield-bearing assets.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Sense is decentralized permissionless infrastructure, where teams can build and develop new yield primitives for DeFi, such as fixed income tokens, yield tokens, and other custom re-divisions of existing tokens' exposures.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Stripping is the first application built atop Sense, where users can 1) access fixed rate versions of existing variable yield tokens or 2) make directional long/short bets on the future yields of existing yield-bearing assets.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Sense works by breaking down a variable yield-bearing asset (a &amp;quot;Target&amp;quot;) into two fixed term assets: a Principal Token (PT) and a Yield Token (YT). PTs &amp;amp; YTs trade on Sense Space, a high-yielding custom AMM.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Security is our highest priority at Sense. The Sense Protocol has undergone various forms of quality assurance, such as unit/integration/manual testing, fuzz testing, and multiple 3rd party audits.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;On April 22, whitehat Violet Vienhage submitted a critical vulnerability in Sense Finance via Immunefi.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;We immediately paused the Sense Fuse Pool, the main consumer of the oracle, and followed up with an announcement of the bug on our discord.&amp;quot; &amp;quot;Users can continue to safely earn fixed rates, go long/short future yields, and provide liquidity on Sense Space. Borrowing &amp;amp; Lending on the Sense Fuse Pool has been halted until further notice.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;A user could manipulate the oracle data at the most recent timestamp for a given Space pool by sending dummy swaps, incurring only the gas costs associated with the transaction. An attacker could do this every x minutes and drive the TWAP of the Space pool in whichever direction they’d like.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Prior to adding the oracle to our Balancer Pool, the onSwap (Space.sol#L325) the function did not mutate any storage slots. As a result, the onlyVault (Space.sol#L807) modifier we use for the joins and exits — which makes it so that only the Balancer Vault can call those functions — was not used for our swap function. This was a deliberate omission since we were using onSwap as a preview function elsewhere in our codebase. ie, we were using it to check how much out we’d get for a given amount in, or vice versa, before actually executing the swap.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, we didn’t catch that when we added the oracle component later in our dev cycle for v1, there was now a storage slot mutation that shouldn’t have been accessible without actually performing a swap. Namely, updating the Space oracle price buffer should only happen when there’s a valid swap involving transferred tokens, but because an actual swap only actually takes place if onSwap is called through the Balancer V2 Vault, one could corrupt the oracle date by calling it directly as a “preview” function with garbage swap data.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Sense Finance has paid the full $50,000 bounty listed on our ImmuneFi Bug Bounty Program and has already deployed a fix to mainnet.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;After 18 months of operation, we’ve made the decision to sunset the Sense Protocol and open-source the UI for community use.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;The Sense Core team will cease contributions to the current and future versions of the Sense Protocol. Despite our enduring belief in fixed income, the current DeFi market landscape lacks the consistent demand for fixed rates essential for robust market development.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
This is a global/international case not involving a specific country.&lt;br /&gt;
&lt;br /&gt;
The background of the exchange platform, service, or individuals involved, as it would have been seen or understood at the time of the events.&lt;br /&gt;
&lt;br /&gt;
Include:&lt;br /&gt;
&lt;br /&gt;
* Known history of when and how the service was started.&lt;br /&gt;
* What problems does the company or service claim to solve?&lt;br /&gt;
* What marketing materials were used by the firm or business?&lt;br /&gt;
* Audits performed, and excerpts that may have been included.&lt;br /&gt;
* Business registration documents shown (fake or legitimate).&lt;br /&gt;
* How were people recruited to participate?&lt;br /&gt;
* Public warnings and announcements prior to the event.&lt;br /&gt;
&lt;br /&gt;
Don't Include:&lt;br /&gt;
* Any wording which directly states or implies that the business is/was illegitimate, or that a vulnerability existed.&lt;br /&gt;
* Anything that wasn't reasonably knowable at the time of the event.&lt;br /&gt;
There could be more than one section here. If the same platform is involved with multiple incidents, then it can be linked to a main article page.&lt;br /&gt;
&lt;br /&gt;
== The Reality ==&lt;br /&gt;
This sections is included if a case involved deception or information that was unknown at the time. Examples include:&lt;br /&gt;
&lt;br /&gt;
* When the service was actually started (if different than the &amp;quot;official story&amp;quot;).&lt;br /&gt;
* Who actually ran a service and their own personal history.&lt;br /&gt;
* How the service was structured behind the scenes. (For example, there was no &amp;quot;trading bot&amp;quot;.)&lt;br /&gt;
* Details of what audits reported and how vulnerabilities were missed during auditing.&lt;br /&gt;
&lt;br /&gt;
== What Happened ==&lt;br /&gt;
The specific events of the loss and how it came about. What actually happened to cause the loss and some of the events leading up to it.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Key Event Timeline - Sense Finance Access Control Vulnerability&lt;br /&gt;
!Date&lt;br /&gt;
!Event&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|April 22nd, 2022&lt;br /&gt;
|Violet Vienhage Report&lt;br /&gt;
|Vielet Vienhage reports details about the exploit to Immunefi.&lt;br /&gt;
|-&lt;br /&gt;
|June 9th, 2022 11:50:06 AM MDT&lt;br /&gt;
|Fix Disclosure Report&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|June 23rd, 2022 8:40:42 AM MDT&lt;br /&gt;
|Bugfix Review Post&lt;br /&gt;
|Sense Finance posts a review post which outlines the details of the exploit which has been resolved.&lt;br /&gt;
|-&lt;br /&gt;
|October 26th, 2023 10:17:27 AM MDT&lt;br /&gt;
|Sunset Of Project&lt;br /&gt;
|Sense Finance announces that the project is being sunset due to a lack of demand.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Technical Details ==&lt;br /&gt;
This section includes specific detailed technical analysis of any security breaches which happened. What specific software vulnerabilities contributed to the problem and how were they exploited?&lt;br /&gt;
&lt;br /&gt;
== Total Amount Lost ==&lt;br /&gt;
No funds were lost.&lt;br /&gt;
&lt;br /&gt;
How much was lost and how was it calculated? If there are conflicting reports, which are accurate and where does the discrepancy lie?&lt;br /&gt;
&lt;br /&gt;
== Immediate Reactions ==&lt;br /&gt;
How did the various parties involved (firm, platform, management, and/or affected individual(s)) deal with the events? Were services shut down? Were announcements made? Were groups formed?&lt;br /&gt;
&lt;br /&gt;
== Ultimate Outcome ==&lt;br /&gt;
What was the end result? Was any investigation done? Were any individuals prosecuted? Was there a lawsuit? Was any tracing done?&lt;br /&gt;
&lt;br /&gt;
A bounty of $50,000 USD was paid for the discovery.&lt;br /&gt;
&lt;br /&gt;
== Total Amount Recovered ==&lt;br /&gt;
There do not appear to have been any funds recovered in this case.&lt;br /&gt;
&lt;br /&gt;
What funds were recovered? What funds were reimbursed for those affected users?&lt;br /&gt;
&lt;br /&gt;
== Ongoing Developments ==&lt;br /&gt;
What parts of this case are still remaining to be concluded?&lt;br /&gt;
== Individual Prevention Policies ==&lt;br /&gt;
{{Prevention:Individuals:Placeholder}}&lt;br /&gt;
&lt;br /&gt;
{{Prevention:Individuals:End}}&lt;br /&gt;
&lt;br /&gt;
== Platform Prevention Policies ==&lt;br /&gt;
{{Prevention:Platforms:Placeholder}}&lt;br /&gt;
&lt;br /&gt;
{{Prevention:Platforms:End}}&lt;br /&gt;
&lt;br /&gt;
== Regulatory Prevention Policies ==&lt;br /&gt;
{{Prevention:Regulators:Placeholder}}&lt;br /&gt;
&lt;br /&gt;
{{Prevention:Regulators:End}}&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references&amp;gt;&amp;lt;ref name=&amp;quot;newsletter-13117&amp;quot;&amp;gt;[https://newsletter.blockthreat.io/p/blockthreat-week-25-2022 BlockThreat - Week 25, 2022 - by Peter Kacherginsky] (Mar 18, 2024)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;immunefimedium-13246&amp;quot;&amp;gt;[https://medium.com/immunefi/sense-finance-access-control-issue-bugfix-review-32e0c806b1a0 Sense Finance Access Control Issue Bugfix Review] (Apr 8, 2024)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;sensefinance-13247&amp;quot;&amp;gt;[https://sense.finance/ Sense Finance] (Apr 8, 2024)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;sensefinancedocs-13248&amp;quot;&amp;gt;[https://docs.sense.finance/docs/faq/ FAQs | Sense] (Apr 8, 2024)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;sensefinancemedium-13249&amp;quot;&amp;gt;[https://medium.com/sensefinance/sunsetting-sense-and-releasing-it-into-the-ether-cd8c8e1731ad Sunsetting Sense And Releasing It Into The Ether] (Apr 8, 2024)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;alpehvtwitter-13250&amp;quot;&amp;gt;[https://twitter.com/alpeh_v @alpeh_v Twitter] (Apr 8, 2024)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;sensefinancemedium-13251&amp;quot;&amp;gt;[https://medium.com/sensefinance/disclosure-fixing-a-critical-bug-in-the-sense-space-oracle-42a0bed65bc2 Disclosure Fixing A Critical Bug In The Sense Space Oracle] (Apr 8, 2024)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;alpehvtwitter-13252&amp;quot;&amp;gt;[https://twitter.com/alpeh_v/status/1535038162262798336 @alpeh_v Twitter] (Apr 8, 2024)&amp;lt;/ref&amp;gt;&amp;lt;/references&amp;gt;&lt;/div&gt;</summary>
		<author><name>Azoundria</name></author>
	</entry>
</feed>