PraisonAI LinearBot LINEAR_WEBHOOK_SECRET жоқ болғанда қолтаңбаланбаған вебхуктарды өңдейді
Қысқаша
PraisonAI LinearBot вебхук тыңдаушысы LINEAR_WEBHOOK_SECRET орта айнымалысы орнатылмаған кезде қолтаңбасыз сұрауларды қабылдайды, сондықтан соңғы нүктеге қол жеткізе алатын кез келген адам бот өңдейтін және конфигурацияланған бот токенін пайдаланып Linear-да жауап беретін жалған агент сеанс оқиғаларын енгізе алады.
Түйіндемені дереккөздер негізінде ЖИ жасаған және ол автоматты түрде аударылған.
Түзету
Түзетілген нұсқалар: 4.6.59
Зардап шегетін нұсқалар
| PraisonAI | бастап 4.6.56 → түзетілді 4.6.59 |
| praisonaiPyPI | бастап 4.6.56 → түзетілді 4.6.59 |
| praisonaiPyPI | бастап 4.6.56 → түзетілді 4.6.59 |
Түпнұсқа сипаттама (EN)
Түпнұсқа тақырып: PraisonAI LinearBot processes unsigned webhooks when LINEAR_WEBHOOK_SECRET is missing
PraisonAI is a multi-agent teams system. From version 4.6.56 to before version 4.6.59, PraisonAI's LinearBot starts a public webhook listener on 0.0.0.0 and treats LINEAR_WEBHOOK_SECRET as optional. When the secret is absent, startup only logs a warning and _handle_webhook() skips Linear-Signature verification entirely. An unauthenticated network caller who can reach the webhook endpoint can submit a forged Linear-Event: AgentSession request. The forged request is parsed, scheduled for background processing, dispatched to _handle_agent_session(), and passed into BotSessionManager.chat(). The bot then attempts to post the agent response back to Linear under the configured bot token. The PoV is offline and deterministic. It does not contact Linear. It calls the webhook handler directly, monkey-patches the outbound Linear comment path, and proves both sides of the boundary. This issue has been patched in version 4.6.59.