Skip to content

Add a security policy - #7

Merged
zeevmoney merged 1 commit into
mainfrom
security-policy
Oct 13, 2026
Merged

zeevmoney merged 1 commit into
mainfrom
security-policy

Conversation

@zeevmoney

Copy link
Copy Markdown
Member

Adds SECURITY.md, which turns on the repository's Security policy entry. It points reporters to GitHub's private vulnerability reporting (Security → Report a vulnerability) and says what is in scope for an examples repository.

Private vulnerability reporting has to be enabled in the repository's security settings for that link to work.

🤖 Generated with Claude Code

https://claude.ai/code/session_01ARnk1jhjwpyA9h4PmTsabQ

Points reporters to GitHub's private vulnerability reporting and says
what is in scope for an examples repository.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ARnk1jhjwpyA9h4PmTsabQ
@zeevmoney
zeevmoney merged commit 1d0fdd8 into main Oct 13, 2026
6 checks passed
@zeevmoney
zeevmoney deleted the security-policy branch October 13, 2026 01:28
zeevmoney added a commit that referenced this pull request Oct 13, 2026
* Update portal demo dependencies from Dependabot

Brings in Dependabot PRs #1 to #4:
- lucide-react 1.51.0 → 1.52.0
- @types/supertest 6.0.3 → 7.2.1
- vite 7.3.6 → 8.3.1 and @vitejs/plugin-react 5.2.0 → 6.1.1, which
  needs vite 8. Vite 8 builds with Rolldown, so the vendor chunk moves
  from rollupOptions' manualChunks to rolldownOptions' codeSplitting
  groups. The output is the same.

Leaves @types/node on 24.x instead of PR #5's 26.x: the demo runs on
Node 24, and dependabot.yml now ignores its major versions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ARnk1jhjwpyA9h4PmTsabQ

* Fix the CodeQL alerts in the portal demo

- #7, #8, #9 (js/missing-rate-limiting): the portal limits each client
  address to 3,000 requests a minute with express-rate-limit 8.7.1,
  mounted first in createApp so it covers every route and the SPA
  fallback. The limit leaves about three times the demo's own peak
  traffic (panel polling, page refreshes, scenario runners). trust
  proxy stays off, so a client can't choose its own key. Two tests
  check the RateLimit-Policy header and the 429 answer.
- #1 to #5 (js/bad-tag-filter): the tests that extract inline scripts
  match <script> case-insensitively.
- #6 (js/incomplete-multi-character-sanitization): the test helper
  that reads button labels captures the text after the icon instead
  of stripping tags with replace.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ARnk1jhjwpyA9h4PmTsabQ

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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.

1 participant