Skip to content

Add security headers and remove dead code#16

Merged
iamspathan merged 2 commits intomainfrom
OKTA-1092873
Jan 29, 2026
Merged

Add security headers and remove dead code#16
iamspathan merged 2 commits intomainfrom
OKTA-1092873

Conversation

@iamspathan
Copy link
Copy Markdown
Collaborator

@iamspathan iamspathan commented Jan 29, 2026

Summary

  • Add security response headers via helmet middleware
  • Remove unused dependencies and dead code
  • Fix node_modules exposure vulnerability

Changes

  • Add helmet for security headers (CSP, HSTS, X-Frame-Options, etc.)
  • Remove 6 unused dependencies from agent0, 4 from todo0
  • Remove dead @mcp-ui code and node_modules static serving
  • Fix unused imports/variables in TypeScript files

Test plan

  • Build passes
  • Login/logout flow works
  • Todo operations work
  • Chat interface works

@iamspathan iamspathan merged commit 9dc2718 into main Jan 29, 2026
2 checks passed
@iamspathan iamspathan deleted the OKTA-1092873 branch January 29, 2026 18:30
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