feat(audit): add application security audit — H1, H7, M8 (2026-06-02)#9
Merged
Conversation
Manual source-code audit of examples/gno.land/r/ and p/ identified open bugs with no existing issues or PRs at the time of discovery. 3 new e2e audit scripts (KNOWN_VULNERABLE until fixes land on test-13): - audit_blog_revocation.sh — H1: BPTree.Set(false) vs Remove, revoked moderator retains full rights indefinitely - audit_profile_realm_spoof.sh — H7: missing IsUserCall() guard, any realm can write a profile under its own realm address - audit_profile_arbitrary_field.sh — M8: SetStringField accepts arbitrary field names not in the stringFields allowlist Also adds: - AUDIT_SECURITY_2026-06-02.md: full audit report (7 HIGH, 11 MEDIUM) translated to English - README.md: complete rewrite with table of contents, dated script inventory, and documentation of the audit methodology
…ted findings Audit scripts for H1, H7, M8 now exit 1 when the vulnerability is detected, so they appear as [NEW] in the summary instead of [PASS]. run_tests.sh gains a NEW_NOTE argument and [NEW] counter to distinguish unreported vulnerabilities from tracked ones ([KNOWN] with issue refs).
Reflect the [NEW] status added for unreported vulnerabilities and fix the incorrect exit-0 description for [KNOWN_VULNERABLE] in the table.
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.
Manual source-code audit of examples/gno.land/r/ and p/ identified open bugs with no existing issues or PRs at the time of discovery.
3 new e2e audit scripts (KNOWN_VULNERABLE until fixes land on test-13):
Also adds: