Skip to content

fix: upgrade vulnerable dependencies#3

Open
clen1 wants to merge 2 commits intoTimeCyber:mainfrom
clen1:upgrade-deps-audit-fix
Open

fix: upgrade vulnerable dependencies#3
clen1 wants to merge 2 commits intoTimeCyber:mainfrom
clen1:upgrade-deps-audit-fix

Conversation

@clen1
Copy link
Copy Markdown

@clen1 clen1 commented May 7, 2026

Summary

This PR upgrades vulnerable dependencies and removes an unused dependency so npm audit reports zero known vulnerabilities.

Changes

  • Upgrade @modelcontextprotocol/sdk from ^0.6.0 to ^1.29.0
  • Upgrade nodemailer from ^6.9.7 to ^8.0.7
  • Upgrade mailparser from ^3.7.3 to ^3.9.8
  • Upgrade dotenv from ^16.3.1 to ^17.4.2
  • Pin imap to ^0.8.17 to avoid the vulnerable utf7 -> semver chain
  • Remove unused axios
  • Add overrides.minimist = ^1.2.8 to fix the poplib -> optimist -> minimist chain
  • Add English and Chinese security upgrade notes

Verification

  • npm audit: found 0 vulnerabilities
  • node --check index.js: passed
  • npm run publish-check: passed
  • MCP tools/list smoke test: passed
  • QQ SMTP/IMAP connection test: passed
  • QQ send mail test: passed
  • UTF-8 Chinese email body test: passed

Notes

@modelcontextprotocol/sdk is upgraded from 0.6.x to 1.x, so maintainers may want to review MCP client compatibility before release. Local stdio MCP smoke testing passed.

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