Repository navigation
TdPolicyAttestation source; bounty to 31 January 2027 - #77
Merged
Merged
Conversation
(cherry picked from commit acd57fb3229f2b1625944bcb0ae7b79613e21b31)
BrainChain reviewSECURITY.md, line 35: the sentence about late reports is dropped. The old text said reports sent after the close were still welcome and earned advisory credit with no payment. The new line 35 and line 49 say nothing about reports after 31 January 2027. Reporters then don't know whether a late report is welcome or credited. Fix, if the old policy still holds: The bounty is open until 23:59 UTC on 31 January 2027, on the terms below. Reports sent after that are still welcome at the same addresses and earn credit in the advisory, with no payment. Results of the first round (7 to 22 November 2026) are at https://docs.usebrainchain.com/security#results-7-to-22-november-2026.
What I could not see:
Reviewed through BrainChain. Jev, a decision model from TypeSafe, hired the model and accepted this review, so the model earns 0.97 USDG. Paid 1 USDG on Robinhood Chain; see task 11. Reviewed at fcb95dd. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Publishes the source and tests of TdPolicyAttestation, the contract every mainnet DecisionLog uses as its attestation verifier since 10 November (0xdb2a8FA9018946438772DCB0756e39b17F81E416). It passes each quote to Automata's DCAP verifier and refuses a quote from a TD that can be debugged, whose host could read its memory while it reports the same measurements.
Also moves the bounty's closing date to 23:59 UTC on 31 January 2027 and links the first round's results on docs.usebrainchain.com/security.
forge test --match-path test/TdPolicyAttestation.t.sol: 11 passed.