NapCatQQ/packages
Makoto 2d3f4e696b
Some checks are pending
Build NapCat Artifacts / Build-Framework (push) Waiting to run
Build NapCat Artifacts / Build-Shell (push) Waiting to run
feat: Add OB11GroupGrayTipEvent for detecting forged gray tip attacks (#1492)
* feat: Add OB11GroupGrayTipEvent for detecting forged gray tip attacks

- Add new OB11GroupGrayTipEvent class to report unknown gray tip messages
- Modify parseOtherJsonEvent to detect forged gray tips by checking senderUin
- Real system gray tips have senderUin='0', forged ones expose attacker's QQ
- Include message_id in event for downstream recall capability
- Add try/catch for JSON.parse to handle malformed content
- Use Number() for consistent type conversion

* fix: simplify logWarn to match upstream style

* fix: remove extra closing brace that broke class structure

* fix: add validation for malformed title gray tip events
2026-01-02 20:55:24 +08:00
..
napcat-common Remove leading 'v' from latest tag in getLatestTag 2025-11-25 23:09:53 +08:00
napcat-core fix: close #1435 (#1485) 2026-01-01 21:41:01 +08:00
napcat-develop Use environment variables for secret keys in dev and backend 2025-11-15 17:00:52 +08:00
napcat-framework feat: 支持免配置调试 2025-12-22 16:27:06 +08:00
napcat-image-size Refactor TypeScript configs to use shared base 2025-11-15 14:00:27 +08:00
napcat-napi-loader refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
napcat-native Update ffmpeg addon binary for Darwin ARM64 2025-11-18 20:16:03 +08:00
napcat-onebot feat: Add OB11GroupGrayTipEvent for detecting forged gray tip attacks (#1492) 2026-01-02 20:55:24 +08:00
napcat-plugin Add support for version 9.9.26-44175 and fix import type 2026-01-01 10:32:59 +08:00
napcat-protobuf Add ESLint config and update code style 2025-11-15 16:21:59 +08:00
napcat-pty Add backend and frontend support for NapCat auto-update 2025-11-19 21:05:08 +08:00
napcat-qrcode Remove unused dependencies from package.json 2025-11-16 11:02:21 +08:00
napcat-shell Add sw_template.js to build and improve service worker loading 2025-12-24 18:20:51 +08:00
napcat-shell-loader fix: close #1488 2026-01-02 17:07:39 +08:00
napcat-test Add ESLint config and update code style 2025-11-15 16:21:59 +08:00
napcat-universal Refactor TypeScript configs to use shared base 2025-11-15 14:00:27 +08:00
napcat-vite Fix version tag formatting and error handling 2025-11-25 23:03:55 +08:00
napcat-webui-backend fix: 修复用户ID类型转换错误并移除不必要的标签渲染 2026-01-02 20:50:13 +08:00
napcat-webui-frontend fix: 修复用户ID类型转换错误并移除不必要的标签渲染 2026-01-02 20:50:13 +08:00