Skip to content
Business logic Disclosed report Advanced

Making transfer v2 channel unupgradable through the forwarding

A transfer v2 forwarding feature lets a packet be routed through a legitimate channel to a malicious channel that never acknowledges it. Because the legitimate channel keeps an inflight packet commitment, it can never reach the FLUSHCOMPLETE state, so channel upgrades cannot complete.

unknown_feature Follow

Originally disclosed on HackerOne

  • Disclosed after 6 months

Summary of Impact

On one hand we have this upgrade functionality that has this specific check HasInflightPackets. It looks up channel's committed packets. And if there are any it won't set the channel into FLUSHCOMPLETE. In handleFlushState, in WriteUpgradeAckChannel and in WriteUpgradeConfirmChannel. And upgrade can't be fully completed if the channel is not in the FLUSHCOMPLETE state. In ChanUpgradeOpen. Which would error and prevent it from getting into WriteUpgradeOpenChannel where it sets the channel back to open with upgraded fields

Packet commitments can be deleted through 2 ways: acknowledgement and timeout.

On the other hand we have this forwarding functionality that does NOT write an acknowledgement for the forwarded packet until it receives an acknowledgement to the channel it forwarded the packet to.

So this approach to forwarding introduced a situation when a legit channel might become dependent on a malicious channel. And malicious channel doesn't have to acknowledge packets. And if it doesn't ack them, it seems like the legit channel will not be able to transition into FLUSHCOMPLETE state. And as a result would not be able to complete upgrades. Neither current nor future.

Steps to Reproduce

The POC first creates legit transfer v2 channels: channel-0 on ibc-0 <-> channel-0 on ibc-1. Thst's the part which relayer takes care of. Then in my app I open another 2 channels channel-1 on ibc-0 <-my local chain ibc-1 || my local chain ibc-0 -> channel-1 on ibc-1. And I submit receive packet that looks like this:

	ibc0Cw.ReceivePacketV2(ibc0Path, types.FungibleTokenPacketDataV2{
		Tokens: []types.Token{
			{
				Amount: "1",
				Denom:  types.Denom{Base: "x"},
			},
		},
		Memo:     "",
		Sender:   ibc1Cw.Address(),
		Receiver: ibc0Cw.Address(),
		Forwarding: types.ForwardingPacketData{Hops: []types.Hop{
			{ChannelId: legitChannel, PortId: port}, {ChannelId: ibc0Path.Dest.ChanId, PortId: port},
		}, DestinationMemo: ""},
	})

Packet is getting received on channel-1 on ibc-0, because of the forwarding it gets submitted via channel-0 to channel-0 on ibc-1 where it gets forwarded again to my channel-1 on ibc-1. And because of that it doesn't write any acknowledgements. Writes the receipt though. Which means that we won't be able to timeout it. So we end up in a situation when a legit channel-0 on ibc-0 will continues having committed (inflight) packets until my channel-1 on ibc-1 receives an acknowledgement. Which it won't. So the victim channel is channel-0 on ibc-0. Which will end up having this commitment.

So the POC itself is not a new scenario. It just shows the scenario that can create these everlasting commitments on legit channels. Methods that I use in the POC are defined here https://github.com/h1uf/ibc-tools/blob/master/chain/wrapper.go,

(make sure no simd is running)

  1. Have Go installed
  2. Check out and build https://github.com/cosmos/ibc-go. Run make build and take a note of the path to simd
  3. Download my relayer https://github.com/h1uf/relayer. It's pretty much the same as original just demo scripts were edited. You will need to run a relayer. You can build that one or a legit one. And make sure rly is in the path. Just scripts need to be ones form the https://github.com/h1uf/relayer/tree/main/examples/demo folder. Replace path to binary with the path to simd that you noted in a prev step. Run ./dev-env
  4. Meanwhile checkout https://github.com/h1uf/ibc-tools. And put attached lock_upgrade.go to the root. Make sure your path points to correct data folder and your home path is your current dir. It will be parsing seed phrase from the chain data and storing keys in cur dir.
  5. Run the app

It establishes channel-1 to channel-1 via my proxy chain. So everything before this line https://gist.github.com/unknownfeature/b5c7323df65300a4699a3fa5471e9153#file-gistfile1-txt-L79 is just establishing a channel. And then receive the packet on channel-1 on ibc-0 . If you switch to relayer you will start seeing that there is no ack in a few minutes. But that's all expected. Just not expected(as it seems) that my channel will not write acknowledgments. It doesn't seem like it's expected that commitments can stay committed forever(unless I missed a place where they can be deleted except 2 places that I've mentioned). It seems rather unacknowledged that this dependency on potentially malicious channel got introduced through this part of forwarding functionality. Where it waits for an ack from another channel.

Workarounds

From what I see it doesn't seem like. There is no other way to delete commitments and it doesn't seem the channel can become FLUSHCOMPLETE w\o flushing all the packets. Though I could miss something.

Supporting Material/References

  • lock_upgrade.go - the POC
  • upgrade.mov - the video of the POC

Impact

Transfer v2 channels could be made unupgradable through the forwarding functionality that allows malicious channels to create commitments on legit channels that will be left unacknowledged.

Attachments

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

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 6 min read.

Context

This report concerns ibc-go, the Go implementation of the Inter-Blockchain Communication protocol used by Cosmos chains. The feature under examination is the channel upgrade mechanism combined with the transfer v2 forwarding functionality.

A channel upgrade moves an existing channel to new parameters. Before the new parameters take effect, the channel must pass through a flushing phase. During that phase the chain checks whether the channel still has committed (inflight) packets. The check is HasInflightPackets, which looks up the channel's committed packets. If any exist, the channel is not set into the FLUSHCOMPLETE state. This check appears in handleFlushState, in WriteUpgradeAckChannel and in WriteUpgradeConfirmChannel. An upgrade cannot be fully completed while the channel is not in FLUSHCOMPLETE: ChanUpgradeOpen errors in that case, which prevents execution from reaching WriteUpgradeOpenChannel, the place where the channel is set back to open with the upgraded fields.

Packet commitments are deleted in only two ways: through an acknowledgement and through a timeout.

The forwarding functionality in the transfer module does not write an acknowledgement for the forwarded packet until it receives an acknowledgement on the channel to which it forwarded the packet. This is the design decision that the report examines.

Setup

The proof of concept uses two chains, ibc-0 and ibc-1, plus a local proxy chain controlled by the researcher. The tooling is:

  • ibc-go, checked out and built with make build, noting the path to the resulting simd binary.
  • A relayer, a fork of the original with edited demo scripts, built or replaced by a legitimate relayer. The rly binary must be in the path, and the scripts must be the ones from the examples/demo folder. The path to the binary in the two-chainz script is replaced with the path to simd noted above, then ./dev-env is run.
  • ibc-tools, with the attached lock_upgrade.go placed in its root. The path in the script must point to the correct data folder and the home path must be the current directory. The script parses the seed phrase from the chain data and stores keys in the current directory.

The methods used by the proof of concept are defined in the chain/wrapper.go file of ibc-tools. The researcher notes that no simd process should be running while the demo environment is started.

Finding it

The researcher connected two observations. On one side, the upgrade logic refuses to move a channel into FLUSHCOMPLETE while committed packets remain, and an upgrade cannot complete without that state. On the other side, the forwarding functionality defers writing an acknowledgement for a forwarded packet until an acknowledgement arrives on the channel it forwarded to. That creates a dependency: a legitimate channel can end up waiting on a channel it does not control, and a malicious channel is under no obligation to acknowledge packets. If it never does, the legitimate channel cannot transition into FLUSHCOMPLETE and cannot complete upgrades, neither the current one nor future ones.

Exploitation

Step 1: establish the legitimate channels

The proof of concept first creates legitimate transfer v2 channels: channel-0 on ibc-0 paired with channel-0 on ibc-1. This part is handled by the relayer.

Step 2: open the attacker channels

The application then opens two more channels: channel-1 on ibc-0 connected to the researcher's local chain, and the local chain connected to channel-1 on ibc-1. The local chain acts as a proxy between the two.

Step 3: submit the forwarded packet

The researcher submits a receive packet that looks like this:

Text
	ibc0Cw.ReceivePacketV2(ibc0Path, types.FungibleTokenPacketDataV2{
		Tokens: []types.Token{
			{
				Amount: "1",
				Denom:  types.Denom{Base: "x"},
			},
		},
		Memo:     "",
		Sender:   ibc1Cw.Address(),
		Receiver: ibc0Cw.Address(),
		Forwarding: types.ForwardingPacketData{Hops: []types.Hop{
			{ChannelId: legitChannel, PortId: port}, {ChannelId: ibc0Path.Dest.ChanId, PortId: port},
		}, DestinationMemo: ""},
	})

The packet carries a single token of amount 1 with base denom x, an empty memo, and a forwarding instruction with two hops: first the legitimate channel, then the destination channel of ibc0Path. The sender and receiver are the addresses of the two chain wrappers.

Step 4: observe the result

The packet is received on channel-1 on ibc-0. Because of the forwarding, it is submitted via channel-0 to channel-0 on ibc-1, where it is forwarded again to channel-1 on ibc-1. As a result no acknowledgement is written, although the receipt is written. Because the receipt exists, the packet cannot be timed out.

The legitimate channel-0 on ibc-0 therefore keeps its committed (inflight) packets until channel-1 on ibc-1 receives an acknowledgement, which never happens. The victim is channel-0 on ibc-0, which ends up holding this commitment.

The researcher is explicit that the proof of concept is not a new scenario in itself: it demonstrates the scenario that can create these everlasting commitments on legitimate channels.

Step 5: run the proof of concept

  1. Have Go installed.
  2. Check out and build ibc-go. Run make build and take a note of the path to simd.
  3. Download the relayer fork. It is essentially the same as the original with the demo scripts edited. Build it or use a legitimate relayer, make sure rly is in the path, and use the scripts from the examples/demo folder. Replace the path to the binary in two-chainz with the path to simd noted in the previous step, then run ./dev-env.
  4. Meanwhile check out ibc-tools and put the attached lock_upgrade.go in the root. Make sure the path points to the correct data folder and the home path is the current directory. It parses the seed phrase from the chain data and stores keys in the current directory.
  5. Run the app.

The app establishes channel-1 to channel-1 through the proxy chain. Everything before the line that submits the receive packet is just establishing a channel. The packet is then received on channel-1 on ibc-0. Switching to the relayer, no acknowledgement appears after a few minutes. The researcher notes that this is expected in itself; what was not expected, as it seemed, is that the attacker's channel will not write acknowledgements.

Root cause

The upgrade logic relies on HasInflightPackets to decide whether a channel may enter FLUSHCOMPLETE. Commitments are only removed by an acknowledgement or a timeout. The forwarding functionality writes an acknowledgement for a forwarded packet only after it receives an acknowledgement on the channel it forwarded to. A malicious channel can therefore hold a commitment open on a legitimate channel indefinitely by never acknowledging, and because the receipt is written, the timeout path is closed as well. The dependency on a potentially malicious channel was introduced by this part of the forwarding functionality, which waits for an acknowledgement from another channel.

Impact

Transfer v2 channels can be made unupgradable through the forwarding functionality, which allows malicious channels to create commitments on legitimate channels that are left unacknowledged. The affected party is the owner of the legitimate channel, which cannot complete the current upgrade or any future one. The report describes no direct loss of funds.

Workarounds

The researcher sees no workaround. There is no other way to delete commitments, and a channel cannot become FLUSHCOMPLETE without flushing all its packets, though the researcher allows that something may have been missed.

Fix

The report does not describe a fix.

  • Forward a packet through a legitimate channel to a channel on a chain you control and never acknowledge it, then attempt an upgrade of the legitimate channel. A positive result is the legitimate channel remaining outside FLUSHCOMPLETE and the upgrade failing at ChanUpgradeOpen.
  • Repeat with different hop counts and channel pairings to see whether any path writes an acknowledgement early. A positive result is the same stuck commitment with no acknowledgement.
  • Attempt a timeout of the stuck packet. A positive result is the timeout failing because the receipt was written.
  • Test whether other applications that defer acknowledgements across channels produce the same dependency. A positive result is a commitment on a legitimate channel that cannot be removed by either acknowledgement or timeout.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 12 min read.

What happened, in plain words

Imagine two post offices in different towns that regularly send parcels to each other. They have an agreement about how parcels travel, and every so often they want to change that agreement, for example to allow bigger boxes. Before the new rules apply, the two offices must make sure no parcels are still in transit under the old rules. Only when every parcel has been delivered and confirmed does the switch happen.

This report is about a way to stop that switch from ever happening. An attacker sets up their own small post office and arranges for a parcel to pass through the legitimate route on its way to the attacker's office. The legitimate office then waits for the attacker's office to confirm delivery. The attacker simply never confirms. Because the legitimate office is still waiting, it keeps the parcel on its list of things in transit, and it can never declare that everything is flushed. The upgrade is blocked, now and in the future.

Nothing is stolen. The problem is that a legitimate channel can be frozen in a state where it can never be upgraded, and the owner of that channel cannot do anything about it. .

Background you need first

What is a blockchain and what is Cosmos?

A blockchain is a shared record book kept by many computers at once, so that no single person can quietly rewrite it. Cosmos is a family of blockchains that are designed to talk to each other. The software that lets them talk is called IBC, short for Inter-Blockchain Communication. The report is about ibc-go, which is the version of that software written in the Go programming language.

What is a channel?

When two blockchains want to exchange data, they open a connection called a channel. You can think of a channel as a dedicated phone line between two offices. Each side of the line has an identifier, such as channel-0, and each side keeps its own records about what has been sent and received.

What is a packet, a commitment and an acknowledgement?

A packet is a single message sent over a channel, for example "send one token of this type". When a chain sends a packet, it writes down a note that the packet is now in flight. That note is called a commitment. The packet stays "committed" until one of two things happens:

  1. The receiving side sends back an acknowledgement, a short confirmation that the packet arrived and was handled. The sender then deletes the commitment.
  2. The packet times out, meaning too much time passed without an acknowledgement. The sender then deletes the commitment through the timeout path.

These are the only two ways a commitment goes away. Keep that in mind, because the whole issue rests on it.

What is a channel upgrade?

Software changes over time, and sometimes the rules of a channel need to change too, for example to support a newer packet format. A channel upgrade is the procedure for switching an existing channel to new settings without closing it and opening a new one.

An upgrade is not instant. The channel first enters a flushing phase. During flushing, the chain checks whether any packets are still in flight on that channel. The check is a function called HasInflightPackets, which looks up the channel's committed packets. If even one commitment remains, the channel is not allowed to move into a state called FLUSHCOMPLETE, which literally means "flushing is finished".

Only from FLUSHCOMPLETE can the upgrade proceed. The function ChanUpgradeOpen refuses to continue if the channel is not in that state, and that refusal stops the code from ever reaching WriteUpgradeOpenChannel, the place where the channel is finally set back to open with the new settings.

The HasInflightPackets check is used in three places: handleFlushState, WriteUpgradeAckChannel and WriteUpgradeConfirmChannel. You do not need to remember the names; the point is that the same rule is enforced at several points in the upgrade flow.

What is transfer v2 and what is forwarding?

Transfer v2 is a newer version of the token transfer feature. It supports forwarding: a packet can be told to travel through several channels in sequence before it reaches its final destination. Each step in that journey is called a hop.

Here is the design decision that matters. When the transfer module forwards a packet onward, it does not immediately write an acknowledgement back to the sender. Instead it waits until it receives an acknowledgement on the channel it forwarded the packet to, and only then does it acknowledge the original packet.

That is reasonable in normal use: the acknowledgement genuinely reflects that the far end handled the packet. But it also means one channel's bookkeeping now depends on another channel, and that other channel may belong to someone else.

The two observations, put together

The researcher connected two facts:

  1. The upgrade logic will not let a channel finish flushing while commitments remain, and an upgrade cannot complete without that state.
  2. The forwarding logic delays writing an acknowledgement until an acknowledgement arrives from the channel it forwarded to.

Put together, a legitimate channel can end up waiting on a channel it does not control. A malicious channel has no obligation to ever acknowledge anything. If it stays silent, the legitimate channel keeps its commitment forever, never reaches FLUSHCOMPLETE, and can never complete an upgrade, neither the current one nor any future one.

How the attack was demonstrated

Step 1: set up the legitimate channels

The proof of concept first creates ordinary, legitimate transfer v2 channels: channel-0 on a chain called ibc-0, paired with channel-0 on a chain called ibc-1. A relayer does this part. A relayer is a small program that watches two chains and carries messages between them, like a courier who moves letters from one post office to the other.

Step 2: open the attacker's channels

The researcher's application then opens two more channels: channel-1 on ibc-0 connected to a local chain the researcher controls, and that same local chain connected to channel-1 on ibc-1. The local chain acts as a proxy, a middleman sitting between the two real chains.

Step 3: send a packet that gets forwarded

The researcher then submits a receive packet that looks like this:

Text
	ibc0Cw.ReceivePacketV2(ibc0Path, types.FungibleTokenPacketDataV2{
		Tokens: []types.Token{
			{
				Amount: "1",
				Denom:  types.Denom{Base: "x"},
			},
		},
		Memo:     "",
		Sender:   ibc1Cw.Address(),
		Receiver: ibc0Cw.Address(),
		Forwarding: types.ForwardingPacketData{Hops: []types.Hop{
			{ChannelId: legitChannel, PortId: port}, {ChannelId: ibc0Path.Dest.ChanId, PortId: port},
		}, DestinationMemo: ""},
	})

Line by line, in plain words:

  • ibc0Cw.ReceivePacketV2(ibc0Path, ...) calls a helper that delivers a transfer v2 packet on the first chain, using a path object that describes the route between the two chains.
  • types.FungibleTokenPacketDataV2{ starts the description of the packet contents. "Fungible" means interchangeable tokens, like coins of the same value.
  • Tokens: []types.Token{ begins a list of tokens carried by the packet.
  • Amount: "1", says the packet carries an amount of 1.
  • Denom: types.Denom{Base: "x"}, says the token's denomination, its type or unit name, is x.
  • Memo: "", leaves the memo empty. A memo is an optional free-text note attached to a transfer.
  • Sender: ibc1Cw.Address(), sets the sender to the address of the second chain's helper object.
  • Receiver: ibc0Cw.Address(), sets the receiver to the address of the first chain's helper object.
  • Forwarding: types.ForwardingPacketData{Hops: []types.Hop{ starts the forwarding instruction and its list of hops.
  • {ChannelId: legitChannel, PortId: port}, {ChannelId: ibc0Path.Dest.ChanId, PortId: port}, lists two hops: first the legitimate channel, then the destination channel taken from the path object. Each hop names a channel and a port. A port is the logical service on top of the channel, here the transfer service.
  • }, DestinationMemo: ""}, closes the hop list and leaves the destination memo empty.
  • }) closes the packet description and the call.

Why send this particular packet? Because the forwarding instruction is what makes the packet travel through the legitimate channel and then onward to the attacker's channel, creating the dependency the report is about.

Step 4: watch what happens

The packet is received on channel-1 on ibc-0. Because of the forwarding instruction, it is then submitted via channel-0 to channel-0 on ibc-1, and from there forwarded again to channel-1 on ibc-1, the attacker's channel.

Two things follow:

  • No acknowledgement is written, because the attacker's channel never acknowledges.
  • A receipt is written, which records that the packet was received. This matters because a packet that has a receipt cannot be timed out. The timeout escape route is therefore closed.

So the legitimate channel-0 on ibc-0 keeps its commitment until channel-1 on ibc-1 receives an acknowledgement, which never comes. The victim is channel-0 on ibc-0, the legitimate channel, which ends up holding this commitment indefinitely.

The researcher is careful to say that the proof of concept is not a new scenario in itself. It simply shows the scenario that can create these everlasting commitments on legitimate channels.

Step 5: reproduce it yourself

  1. Have Go installed. Go is the programming language the software is written in, and its tools are needed to build it.
  2. Check out and build ibc-go. Run make build and take a note of the path to the resulting simd binary. simd is the program that runs a test chain locally.
  3. Download the researcher's relayer fork. It is essentially the same as the original, with the demo scripts edited. You can build that one or use a legitimate relayer. Make sure rly, the relayer program, is in your path, meaning your computer can find it by name. The scripts must be the ones from the examples/demo folder. Replace the path to the binary in the two-chainz script with the path to simd you noted in the previous step, then run ./dev-env. That command starts the demo environment with the two chains.
  4. Meanwhile, check out ibc-tools and put the attached lock_upgrade.go file in its root folder. Make sure the path in the script points to the correct data folder and that the home path is your current directory. The script reads the seed phrase from the chain data and stores keys in the current directory. A seed phrase is a list of words that acts like a master key for a wallet, so treat it as a secret.
  5. Run the app.

The app establishes channel-1 to channel-1 through the proxy chain. Everything before the line that submits the receive packet is just setting up a channel. The packet is then received on channel-1 on ibc-0. If you switch to the relayer, you will see that no acknowledgement appears after a few minutes. The researcher notes that this is expected in itself. What was not expected, as it seemed, is that the attacker's channel will not write acknowledgements.

The methods used in the proof of concept are defined in the chain/wrapper.go file of ibc-tools. The researcher also notes that no simd process should be running while the demo environment is started.

Why it works: the root cause

The upgrade logic relies on HasInflightPackets to decide whether a channel may enter FLUSHCOMPLETE. Commitments are only removed by an acknowledgement or a timeout. The forwarding functionality writes an acknowledgement for a forwarded packet only after it receives an acknowledgement on the channel it forwarded to. A malicious channel can therefore hold a commitment open on a legitimate channel indefinitely by never acknowledging, and because the receipt is written, the timeout path is closed as well. The dependency on a potentially malicious channel was introduced by this part of the forwarding functionality, which waits for an acknowledgement from another channel.

In everyday terms: the legitimate post office will not close its books until the parcel is confirmed, the confirmation depends on the attacker's office, and the attacker's office has simply stopped answering the phone.

Impact

Transfer v2 channels can be made unupgradable through the forwarding functionality, which allows malicious channels to create commitments on legitimate channels that are left unacknowledged. The affected party is the owner of the legitimate channel, who cannot complete the current upgrade or any future one. The report describes no direct loss of funds.

Workarounds

The researcher sees no workaround. There is no other way to delete commitments, and a channel cannot become FLUSHCOMPLETE without flushing all its packets, though the researcher allows that something may have been missed.

Fix

The report does not describe a fix.

  • Forward a packet through a legitimate channel to a channel on a chain you control and never acknowledge it, then attempt an upgrade of the legitimate channel. A positive result is the legitimate channel remaining outside FLUSHCOMPLETE and the upgrade failing at ChanUpgradeOpen.
  • Repeat with different hop counts and channel pairings to see whether any path writes an acknowledgement early. A positive result is the same stuck commitment with no acknowledgement.
  • Attempt a timeout of the stuck packet. A positive result is the timeout failing because the receipt was written.
  • Test whether other applications that defer acknowledgements across channels produce the same dependency. A positive result is a commitment on a legitimate channel that cannot be removed by either acknowledgement or timeout.

Glossary

  • Blockchain: a shared record book kept by many computers, designed so no single party can quietly rewrite it.
  • Cosmos: a family of blockchains built to communicate with each other.
  • IBC (Inter-Blockchain Communication): the protocol that lets Cosmos chains exchange data.
  • ibc-go: the Go implementation of the IBC protocol.
  • Go: the programming language ibc-go is written in.
  • Channel: a dedicated connection between two blockchains, identified on each side by a name such as channel-0.
  • Port: the logical service on top of a channel, here the transfer service.
  • Packet: a single message sent over a channel, for example a token transfer.
  • Commitment: the sender's record that a packet is currently in flight.
  • Inflight packet: a packet that has been sent but not yet acknowledged or timed out.
  • Acknowledgement (ack): a confirmation sent back to the sender that a packet arrived and was handled.
  • Timeout: the path that removes a commitment when too much time passes without an acknowledgement.
  • Receipt: a record that a packet was received; a packet with a receipt cannot be timed out.
  • Channel upgrade: the procedure for switching an existing channel to new settings.
  • Flushing: the phase during which a channel waits for all in-flight packets to clear before an upgrade takes effect.
  • FLUSHCOMPLETE: the state meaning flushing is finished, required before an upgrade can complete.
  • HasInflightPackets: the check that looks up whether a channel still has committed packets.
  • handleFlushState, WriteUpgradeAckChannel, WriteUpgradeConfirmChannel: places in the upgrade code where the in-flight check is applied.
  • ChanUpgradeOpen: the function that refuses to continue an upgrade unless the channel is in FLUSHCOMPLETE.
  • WriteUpgradeOpenChannel: the place where the channel is finally set back to open with the upgraded settings.
  • Transfer v2: a newer version of the token transfer feature that supports forwarding.
  • Forwarding: sending a packet through several channels in sequence before it reaches its destination.
  • Hop: one step in a forwarded packet's journey, naming a channel and a port.
  • Relayer: a program that carries messages between two blockchains.
  • rly: the relayer program used in the demo.
  • simd: the program that runs a local test chain.
  • make build: the command that builds the software from source.
  • ./dev-env: the script that starts the demo environment with the two chains.
  • ibc-tools: the researcher's helper toolkit used by the proof of concept.
  • chain/wrapper.go: the file in ibc-tools that defines the methods used by the proof of concept.
  • Seed phrase: a list of words that acts like a master key for a wallet; it must be kept secret.
  • Proxy chain: a chain controlled by the attacker that sits between two real chains.
  • Proof of concept (POC): a working demonstration that the problem is real.
  • Denomination (denom): the type or unit name of a token.
  • Memo: an optional free-text note attached to a transfer.
  • Severity: a rating of how serious a problem is; this report rates it low.

More by unknown_feature

View all

2 more disclosed reports, best first.

More from Cosmos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.