Skip to content

Dutch Auction - #3

Open
romanagureev wants to merge 30 commits into
mainfrom
feat/dutch-auction
Open

romanagureev wants to merge 30 commits into
mainfrom
feat/dutch-auction

Conversation

@romanagureev

Copy link
Copy Markdown
Collaborator

Add Dutch Auction for Fee Burning:

  • support Yearn ABI
  • support adapters like Cow settlements, intents, other aggregators

@socket-security

socket-security Bot commented Aug 12, 2026 •

Copy link
Copy Markdown

Caution

Review the following alerts detected in dependencies.

According to your organization's Security Policy, you must resolve all "Block" alerts before proceeding. It is recommended to resolve "Warn" alerts too. Learn more about Socket for GitHub.

Priority Alert  (click "▶" to expand/collapse) Action
Critical priority
Critical CVE: pypi certifi bundles emSign root CAs with compromised intermediate CA keys

CVE: GHSA-6q48-6c7w-9gw2 certifi bundles emSign root CAs with compromised intermediate CA keys (CRITICAL)

Affected versions: >= 2019.03.09 < 2026.10.18

Patched version: 2026.10.18

From: requirements.lock → pypi/certifi@2026.6.17

ℹ Read more on: This package | This alert | What is a critical CVE?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Remove or replace dependencies that include known critical CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore pypi/certifi@2026.6.17. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block
High priority
High CVE: AIOHTTP: File descriptor exhaustion in multipart requests

CVE: GHSA-9xw5-w5jj-pvcg AIOHTTP: File descriptor exhaustion in multipart requests (HIGH)

Affected versions: >= 2.0.0 < 3.14.4

Patched version: 3.14.4

From: requirements.lock → pypi/aiohttp@3.14.3

ℹ Read more on: This package | This alert | What is a CVE?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Remove or replace dependencies that include known high severity CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore pypi/aiohttp@3.14.3. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn
High priority
High CVE: pypi aiohttp server lacks an initial request/header timeout

CVE: GHSA-5wr8-gcqf-gqf3 aiohttp server lacks an initial request/header timeout (HIGH)

Affected versions: < 3.14.4

Patched version: 3.14.4

From: requirements.lock → pypi/aiohttp@3.14.3

ℹ Read more on: This package | This alert | What is a CVE?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Remove or replace dependencies that include known high severity CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore pypi/aiohttp@3.14.3. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn
High priority
High CVE: pypi aiohttp: Multiple instances of excessive or unbounded memory/CPU use

CVE: GHSA-2g87-pp6c-29x5 aiohttp: Multiple instances of excessive or unbounded memory/CPU use (HIGH)

Affected versions: < 3.14.4

Patched version: 3.14.4

From: requirements.lock → pypi/aiohttp@3.14.3

ℹ Read more on: This package | This alert | What is a CVE?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Remove or replace dependencies that include known high severity CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore pypi/aiohttp@3.14.3. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn
High priority
High CVE: AIOHTTP: Event loop stall in add_domain() wildcard matching

CVE: GHSA-jm3w-gw2p-xjfj AIOHTTP: Event loop stall in add_domain() wildcard matching (HIGH)

Affected versions: < 3.14.4

Patched version: 3.14.4

From: requirements.lock → pypi/aiohttp@3.14.3

ℹ Read more on: This package | This alert | What is a CVE?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Remove or replace dependencies that include known high severity CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore pypi/aiohttp@3.14.3. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn
High priority
High CVE: AIOHTTP: Too many URL-encoded form fields block the event loop

CVE: GHSA-xgw8-8ccx-rmqh AIOHTTP: Too many URL-encoded form fields block the event loop (HIGH)

Affected versions: < 3.14.4

Patched version: 3.14.4

From: requirements.lock → pypi/aiohttp@3.14.3

ℹ Read more on: This package | This alert | What is a CVE?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Remove or replace dependencies that include known high severity CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore pypi/aiohttp@3.14.3. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn
High priority
High CVE: AIOHTTP: Base64 multipart parts bypass client_max_size

CVE: GHSA-24c4-3p7v-29cm AIOHTTP: Base64 multipart parts bypass client_max_size (HIGH)

Affected versions: < 3.14.4

Patched version: 3.14.4

From: requirements.lock → pypi/aiohttp@3.14.3

ℹ Read more on: This package | This alert | What is a CVE?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Remove or replace dependencies that include known high severity CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore pypi/aiohttp@3.14.3. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn
High priority
High CVE: AIOHTTP: WebSocket max_msg_size bypass via integer overflow

CVE: GHSA-3rp8-rxj8-mvjw AIOHTTP: WebSocket max_msg_size bypass via integer overflow (HIGH)

Affected versions: < 3.14.4

Patched version: 3.14.4

From: requirements.lock → pypi/aiohttp@3.14.3

ℹ Read more on: This package | This alert | What is a CVE?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Remove or replace dependencies that include known high severity CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore pypi/aiohttp@3.14.3. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn
High priority
High CVE: AIOHTTP: Unbounded buffering of data received during an upgrade request

CVE: GHSA-pw86-h8fm-j323 AIOHTTP: Unbounded buffering of data received during an upgrade request (HIGH)

Affected versions: < 3.14.4

Patched version: 3.14.4

From: requirements.lock → pypi/aiohttp@3.14.3

ℹ Read more on: This package | This alert | What is a CVE?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Remove or replace dependencies that include known high severity CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore pypi/aiohttp@3.14.3. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn
High priority
High CVE: AIOHTTP: Pure-Python parser request replay and buffer growth behind a declined upgrade

CVE: GHSA-28qf-cpwq-vmc2 AIOHTTP: Pure-Python parser request replay and buffer growth behind a declined upgrade (HIGH)

Affected versions: < 3.14.4

Patched version: 3.14.4

From: requirements.lock → pypi/aiohttp@3.14.3

ℹ Read more on: This package | This alert | What is a CVE?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Remove or replace dependencies that include known high severity CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore pypi/aiohttp@3.14.3. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn
High priority
High CVE: AIOHTTP: Concatenated compressed streams cause excessive CPU use

CVE: GHSA-h4cc-hm5h-fmm9 AIOHTTP: Concatenated compressed streams cause excessive CPU use (HIGH)

Affected versions: < 3.14.4

Patched version: 3.14.4

From: requirements.lock → pypi/aiohttp@3.14.3

ℹ Read more on: This package | This alert | What is a CVE?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Remove or replace dependencies that include known high severity CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore pypi/aiohttp@3.14.3. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn
High priority
High CVE: AIOHTTP: WebSocket receive queue limits bypassed by small or compressed messages

CVE: GHSA-5rmc-48h2-hvcm AIOHTTP: WebSocket receive queue limits bypassed by small or compressed messages (HIGH)

Affected versions: < 3.14.4

Patched version: 3.14.4

From: requirements.lock → pypi/aiohttp@3.14.3

ℹ Read more on: This package | This alert | What is a CVE?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Remove or replace dependencies that include known high severity CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore pypi/aiohttp@3.14.3. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn
High priority
High CVE: pypi pymdown-extensions: exponential-backtracking ReDoS in caret, tilde, betterem, and magiclink inline processors

CVE: GHSA-gm37-52c6-37mw pymdown-extensions: exponential-backtracking ReDoS in caret, tilde, betterem, and magiclink inline processors (HIGH)

Affected versions: < 11.0.1

Patched version: 11.0.1

From: requirements.lock → pypi/pymdown-extensions@10.21.3

ℹ Read more on: This package | This alert | What is a CVE?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Remove or replace dependencies that include known high severity CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore pypi/pymdown-extensions@10.21.3. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn
High priority
High CVE: pypi urllib3: HTTPS proxy TLS configuration may be ignored or overridden

CVE: GHSA-8988-9cw3-xx77 urllib3: HTTPS proxy TLS configuration may be ignored or overridden (HIGH)

Affected versions: >= 1.26.0 < 2.8.0

Patched version: 2.8.0

From: requirements.lock → pypi/urllib3@2.7.0

ℹ Read more on: This package | This alert | What is a CVE?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Remove or replace dependencies that include known high severity CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore pypi/urllib3@2.7.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn
High priority
High CVE: pypi urllib3: HTTPResponse.stream()/read_chunked() buffers an unbounded chunk-size line into memory

CVE: GHSA-vxq7-64xx-v4gw urllib3: HTTPResponse.stream()/read_chunked() buffers an unbounded chunk-size line into memory (HIGH)

Affected versions: >= 1.10.3 < 2.8.0

Patched version: 2.8.0

From: requirements.lock → pypi/urllib3@2.7.0

ℹ Read more on: This package | This alert | What is a CVE?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Remove or replace dependencies that include known high severity CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore pypi/urllib3@2.7.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn
Low priority
Low adoption: pypi snekmate

Location: Package overview

From: requirements.in → pypi/snekmate@0.1.2

ℹ Read more on: This package | This alert | What are unpopular packages?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Unpopular packages may have less maintenance and contain other problems.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore pypi/snekmate@0.1.2. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn

View full report

romanagureev and others added 13 commits August 27, 2026 17:00
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Absolute imports, drop ignored module pragmas, reuse .vyi interfaces
(IDutchAuctionBurner, IComposableCow, IAdapterRegistry) instead of inline
ones, move Lot to auction_types, bounded AuctionTaker callback data,
clearer error/function names, trimmed comments.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BnVcosq9nSKVAZVN5rKNCr
@github-actions

github-actions Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

Gas report

Base report unavailable; head only.

Execution gas per external call, intrinsic gas excluded (vyper 0.5.0b1).

contracts/burners/DutchAuctionBurner.vy

Function Calls Mean Median Min Max
take_with_limits 3 69617 69617 69617 69619
take 14 76297 69505 44827 228651
sync_executor_approvals 29 26483 29388 2493 29388
push_target 1 28639 28639 28639 28639
recover 4 30728 28589 26339 39398
isValidSignature 20 19936 22454 4674 22454
getAmountNeeded 113 9946 10032 3236 10777
price 22 8587 9947 3221 10692
resync_target 3 7927 7927 7927 7927
available 63 6670 7044 1724 7164
isActive 4 5757 6390 3201 7050
auctions 5 2145 2436 983 2436
window 141 1997 1999 595 2595
lots 139 833 776 776 2776
auctionLength 1 471 471 471 471
start_total 4 441 441 441 441
want 3 440 440 440 440
supportsInterface 5 420 420 420 420
VERSION 1 403 403 403 403
auction_length 1 347 347 347 347
fee_collector 1 347 347 347 347
registry 1 347 347 347 347

contracts/burners/adapters/AdapterRegistry.vy

Function Calls Mean Median Min Max
set_adapter 147 64263 71504 3372 71526
activate_adapter 59 44367 44862 22984 44884
disable_adapter 14 3395 3602 3105 3624
owner 1 660 660 660 660
emergency_owner 2 638 638 638 638
get_adapters 10 1853 631 463 5748
get_adapter 147 603 576 576 4576
is_executor_active 44 664 483 483 2483
role_source 1 127 127 127 127

contracts/burners/adapters/cow/CowAdapter.vy

Function Calls Mean Median Min Max
order_for 3 12374 14734 7654 14734
ADAPTER_VERSION 1 277 277 277 277
vault_relayer 1 148 148 148 148
app_data 1 125 125 125 125
domain_separator 1 125 125 125 125
settlement 1 125 125 125 125

contracts/burners/auction/periphery/AuctionTaker.vy

Function Calls Mean Median Min Max
take_with_route 5 209367 175152 171687 331846

contracts/burners/auction/periphery/DutchAuctionResolver.vy

Function Calls Mean Median Min Max
resolve 14 14719 15360 10860 15397

This branch was successfully deployed

1 active deployment
github-pages — ac1fa40f Deployed Nov 25, 2026 by romanagureev via deploy #6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants