Skip to content

Sherlock

Telcoin Platform Audit

Every publicly disclosed report for Telcoin Platform Audit and what kind of bugs they were.

disclosed reports
18
most reported class
Business logic
bug classes found
4
first disclosure
2022
Find Telcoin Platform Audit on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Telcoin Platform Audit chose to make public.

Business logic

`StakingRewardsManager::topUp(...)` Misallocates Funds to `StakingRewards` Contracts

The topUp function in StakingRewardsManager uses the loop index instead of the provided indices to select which StakingRewards contracts to fund, so rewards are sent to the wrong contracts. An attacker or unintended user could cause rewards to be misallocated, with some stakers receiving more and others less than intended.

Telcoin Platform Audit

High
Smart contracts

CouncilMember:burn renders the contract inoperable after the first execution

The burn function in the CouncilMember contract removes an element from the balances array, causing a misalignment between token IDs and array indices. This makes the contract inoperable: holders with token IDs greater than the array length cannot claim, subsequent burns revert, and new mints fail due to token ID collision.

Telcoin Platform Audit

High
DoS

The `CouncilMember` contract DoS due to the `_retrieve` function revert

The CouncilMember contract calls an internal _retrieve function that withdraws from a Sablier stream, but Sablier reverts when the withdrawable amount is zero. Because _retrieve is called twice in removeFromOffice and in mint/burn via the overridden _update, these functions always revert after the first withdrawal, causing a temporary denial of service.

Telcoin Platform Audit

Medium
DoS

Wrong parameter when retrieving causes a complete DoS of the protocol

The CouncilMember contract passed the wrong address as the lockup parameter when calling Sablier's withdrawMax, causing all withdrawals from the stream to revert. This resulted in a denial of service for all protocol functions that call _retrieve().

Telcoin Platform Audit

High
Business logic

Withdraw delay can be bypassed

The staking contract allowed a user to request a withdrawal before staking any tokens, so the withdrawal delay could be bypassed. An attacker could stake and immediately unstake without waiting for the delay.

Telcoin Platform Audit

Medium
Business logic

`slash` calls can be blocked, allowing malicious users to bypass the slashing mechanism

A malicious user can block slashing by frontrunning the slash call with a stake transaction in the same block, causing the slash to revert due to a checkpoint protection modifier. This allows the user to request withdrawal, keep blocking slashes until the withdrawal delay passes, and then withdraw funds that should have been slashed.

Telcoin Platform Audit

Medium
DoS

Rogue plugin can become unremovable and halt all staking and claiming

A malicious plugin could prevent its own removal by always returning false from deactivated(), and could also cause arithmetic overflow or revert calls, halting all staking and claiming operations. This would permanently freeze all staked funds.

Telcoin Platform Audit

High
Business logic

StakingModule's stakedByAt() can report erroneous values

The stakedByAt() function returns incorrect historical staking balances when multiple stake() calls occur in the same block, because it reads only the first checkpoint of that block. This can cause downstream systems like vaults to make decisions based on stale data, potentially leading to user losses.

Telcoin Platform Audit

Medium
Business logic

Account that is affiliated with a plugin can sometimes evade slashing

A malicious staking plugin could revert its notification check to make the slashing call fail, letting an affiliated account avoid being slashed. By timing a pending withdrawal window, the account could withdraw its whole stake before the plugin was removed.

Telcoin Platform Audit

Medium
Race condition

Front Run of addBlackList() function

A blacklisted address can front-run the transaction that adds it to the blacklist by paying a higher gas fee, allowing it to transfer funds before the blacklist takes effect. This prevents the protocol from later removing those funds via the removeBlackFunds function.

Telcoin Platform Audit

Medium
Business logic

`slash()` can be frontrunned to avoid the penalty imposed on them

A user facing a slashing penalty can front-run the slash or pause transaction by calling fullClaimAndExit to withdraw all funds before the penalty applies. This allows the slashing mechanism to be bypassed.

Telcoin Platform Audit

Medium
DoS

Slashing fails if claims revert

The slashing function calls a claim function that claims yield from all plugins; if any claim reverts, the entire slashing transaction reverts. An attacker could exploit this by causing a claim to fail, preventing slashing and allowing the slashed user to claim yield and exit.

Telcoin Platform Audit

Medium
Business logic

Native funds can be lost by submit() as msg.value isn't synchronized with amount

The FeeBuyback contract's submit() function does not verify that the amount parameter matches the actual native funds sent (msg.value). An attacker could exploit this mismatch to cause the owner to overpay or the recipient to underpay fees, resulting in fund loss.

Telcoin Platform Audit

Medium
Business logic

Unsafe ERC20 methods

The contract uses standard ERC20 transfer and transferFrom methods, which can revert for tokens that do not follow the standard interface or that require zero allowance before approving a new amount. This could cause the contract to malfunction for certain tokens.

Telcoin Platform Audit

Medium
Business logic

`FeeBuyback` native token can not be rescued

The FeeBuyback contract lacks a method to rescue native tokens, so any native tokens sent to it as part of a swap or otherwise become permanently stuck. An attacker cannot directly exploit this, but users may lose funds.

Telcoin Platform Audit

Medium