AGENTS tweak

This commit is contained in:
Alex Gleason committed 2026-05-04 09:15:29 -05:00
1 parent 4e910ed1f0
commit 551928849a
1 file changed
+2 -2
+2 -2
View File
@@ -90,9 +90,9 @@ Beyond XSS, Nostr is permissionless — signatures prove authorship, not trustwo
```ts
// ❌ Anyone can spoof this event
nostr.query([{ kinds: [30078], '#d': ['pathos-organizers'], limit: 1 }]);
nostr.query([{ kinds: [30078], '#d': ['app-organizers'], limit: 1 }]);
// ✅ Only trust admin authors
nostr.query([{ kinds: [30078], authors: ADMIN_PUBKEYS, '#d': ['pathos-organizers'], limit: 1 }]);
nostr.query([{ kinds: [30078], authors: ADMIN_PUBKEYS, '#d': ['app-organizers'], limit: 1 }]);
```
For the full threat model — CSP walkthrough, `sanitizeUrl` / `sanitizeCssString` implementations, NIP-72 community moderation, and the pre-merge checklist — load the **`nostr-security`** skill.