Skip to content

docs(security): update SECURITY_AUDIT init front-running status and residual risk - #145

Merged
Busiii-adetiba merged 1 commit into
SynapsVault:mainfrom
adenueltech:docs/issue-104-init-front-running
Oct 17, 2026
Merged

Busiii-adetiba merged 1 commit into
SynapsVault:mainfrom
adenueltech:docs/issue-104-init-front-running

Conversation

@adenueltech

Copy link
Copy Markdown
Contributor

Closes #104

Context

#104 asks to update the SECURITY_AUDIT residual risk on init front-running "once #11 is fixed". "#11" is review item 11, tracked as issue #43 ([access-lease] init does not require admin auth…).

While checking the current code I found the audit is out of sync:

What changed (SECURITY_AUDIT.md)

  • Status line: all High/Medium findings are resolved except SV-12.
  • SV-12: scope widened to all three contracts. The history is recorded (fixed in c7eda2e, regressed in eee2a5d) along with the required fix, and the status is set to Open (regressed).
  • Access-control matrix: the init row now says no signer is required and that the test was removed. It previously cited a test that no longer exists.
  • §4 Residual risk: new Initialisation front-running entry explaining the exposure and the mitigations until the fix is restored: deploy and init back to back, verify admin() immediately, and redeploy if it's wrong, since a hijacked admin can't be recovered. It notes that SV-12 can go back to Resolved once the check returns.

Docs only. Restoring admin.require_auth() in each init (plus tests) is a small code follow-up I'm happy to open separately. Note that CI on main has been failing since Oct 16 for unrelated compile errors, so CI on this PR will fail for the same reason.

🤖 Generated with Claude Code

…ynapsVault#104)

The init front-running fix for access-lease (SynapsVault#43, review item 11) was
recorded as SV-12 "Resolved", but the admin.require_auth() check and its
test were dropped when PR SynapsVault#141 was merged, and subscription and
vault-registry never had it. Mark SV-12 as open/regressed across all three
contracts, correct the status line and access-control matrix, and add the
init front-running residual risk with operational mitigations until the
check is restored.

Closes SynapsVault#104

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@drips-wave

drips-wave Bot commented Oct 17, 2026

Copy link
Copy Markdown

@adenueltech Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Busiii-adetiba
Busiii-adetiba merged commit 73259be into SynapsVault:main Oct 17, 2026
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.

[cross-cutting] SECURITY_AUDIT residual risk on init front-running should be updated once #11 is fixed

2 participants