Skip to content
Misconfiguration Audit finding Beginner

HousePool.cancelPoolConfigProposal does not emit an event, breaking the consistent governance-event pattern used by all other admin cancel functions

The pool config cancel function in HousePool deletes the pending config and resets its activation time without emitting any event, unlike the five sibling governance cancel functions that each emit a dedicated cancellation event. An off-chain governance monitor therefore cannot see that a pool config proposal was withdrawn and cannot tell a cancelled proposal from a still-pending one without polling storage.

crypt0n1337 Follow

Originally disclosed on Immunefi

Informational View original
  • Disclosed after under an hour

#99154 [SC-Insight] HousePool.cancelPoolConfigProposal does not emit an event, breaking the consistent governance-event pattern used by all other admin cancel functions

Submitted on Nov 12th 2026 at 06:57:15 UTC by @crypt0n1337 for Audit Competition | Plether

Description

HousePool.cancelPoolConfigProposal deletes the pending pool config and zeros the activation time without emitting an event, while every other governance cancel function in the protocol emits a dedicated *Cancelled() event. Governance monitoring that tracks the propose-finalize-cancel lifecycle therefore has a blind spot on the pool config, the most LP-relevant config surface.

The function body (HousePool.sol:370-373) is delete pendingPoolConfig; poolConfigActivationTime = 0; and nothing else. IHousePool declares PoolConfigProposed and PoolConfigFinalized but no PoolConfigCancelled. The five sibling cancel functions all emit: RiskConfigCancelled (CfdEngineAdmin.sol:68, emitted at :143), CalendarConfigCancelled (:77, emitted at :186), FreshnessConfigCancelled (:86, emitted at :231), RouterConfigCancelled (OrderRouterAdmin.sol:91, emitted at :174), and OracleConfigCancelled (:100, emitted at :208).

Pool config controls seniorRateBps, maxSeniorExposureAssets, maxSeniorShareBps, seniorFrozenLpFeeBps, juniorFrozenLpFeeBps and markStalenessLimit. An off-chain monitor can observe proposals and finalizations but cannot observe cancellations of this specific config family, so it cannot distinguish a still-pending proposal from a silently withdrawn one without polling storage. This is a monitoring asymmetry on the config surface that matters most to LPs, and it is the only inconsistency in an otherwise uniform event pattern.

Recommendation: add PoolConfigCancelled() to IHousePool and emit it in cancelPoolConfigProposal, matching the five existing cancel events.

Proof of Concept

This is an event-coverage insight, so the reproduction is a comparison of observable behaviour rather than an exploit.

Step 1. Propose a pool config through the normal path; PoolConfigProposed is emitted and poolConfigActivationTime is set.

Step 2. Call cancelPoolConfigProposal() as the owner. The call succeeds: pendingPoolConfig is deleted and poolConfigActivationTime is zeroed. No log is emitted from the transaction. This can be confirmed by inspecting the receipt logs, which contain no PoolConfigCancelled topic, and by the absence of such an event in IHousePool (a search for PoolConfig returns only PoolConfigProposed and PoolConfigFinalized).

Step 3. Repeat the same sequence against any sibling admin contract, for example CfdEngineAdmin.cancelRiskConfigProposal(). The receipt contains RiskConfigCancelled(). The same holds for cancelCalendarConfigProposal (CalendarConfigCancelled), cancelFreshnessConfigProposal (FreshnessConfigCancelled), cancelRouterConfigProposal (RouterConfigCancelled) and cancelOracleConfigProposal (OracleConfigCancelled).

Step 4. The observable consequence: a monitor subscribed to governance events sees five cancel families and not the sixth, so a cancelled pool-config proposal is indistinguishable from a still-pending one unless the monitor polls storage on every block.

Suggested fix verification: after adding and emitting PoolConfigCancelled(), the step 2 receipt should contain exactly one such log, matching the sibling pattern.

Minimal reproducer sketch: deploy HousePool, call proposePoolConfig with any valid config, then cancelPoolConfigProposal, and assert that no log with the PoolConfigCancelled signature exists in the receipt. In Foundry this is vm.recordLogs() before the cancel and a check that no entry has the expected topic0.

The original report as published on Immunefi, by crypt0n1337. Images and videos are our own copies; raw HTML is shown as text. View it on Immunefi.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the cancel function was written without a matching cancellation event, and the interface never declared one, so the uniform event pattern used by the sibling admin contracts was not followed.

Impact

A governance monitor subscribed to events sees five cancel families but not the pool config one, so a cancelled pool-config proposal is indistinguishable from a still-pending one unless storage is polled every block; this is a monitoring gap, not an exploit.

What the attacker needed

Owner role to call cancel; off-chain event monitoring

The fix

Add a PoolConfigCancelled event to the interface and emit it in cancelPoolConfigProposal, matching the five existing cancel events.

How it was found

  1. Propose a pool config through the normal path, which emits PoolConfigProposed and sets the activation time.
  2. Call cancelPoolConfigProposal as the owner and inspect the receipt logs, which contain no cancellation event.
  3. Repeat the same sequence on a sibling admin contract and observe that its receipt contains the corresponding cancellation event.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Smart contracts can write a log entry (an event) whenever something important happens, and off-chain tools watch these logs to track what the contract is doing. Here, cancelling a pending pool configuration changes the contract's state but writes no log, so monitoring tools miss it. Every other similar cancel action in the protocol does write a log, so this one is inconsistent.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

More by crypt0n1337

View all

23 more disclosed reports, best first.

More from Plether

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.