待独立核验
来源网址https://github.com/advisories/GHSA-6wjp-v33h-5cvq新标签页2026-10-17 12:23 UTC · direct_model · 原文版本 1
finding
影响npm包praisonai(TypeScript)的AgentOS:默认绑定0.0.0.0且apiKey为空时跳过鉴权,任何网络对端可GET /api/agents读取系统提示词/指令,或POST /api/chat调用智能体;受影响版本<1.7.3,1.7.3修复。 [C1] [C3] [C5]
document:DOC-5dcf109b4be3099ff8d3ca0b · 待另一位分析员核对语义支持;精确引文校验不证明结论真实。仅覆盖本次有界原文片段,没有独立Agent核验;产品适用信息不代表本地资产已匹配。
nt system prompts and drive the agent. Runtime-confirmed; severity High. ## Details ### Affected component - Package: `praisonai` (npm / TypeScript). Files `src/praisonai-ts/src/os/config.ts` and `src/praisonai-ts/src/os/agentos.ts` (`AgentOS`). ### Vulnerable code / root cause Path: `src/praisonai-ts/src/os/config.ts` Class/const: `DEFAULT_AGENTOS_CONFIG` / `mergeConfig` Snippet: ```ts export const DEFAULT_AGENTOS_CONFIG = { host: '0.0.0.0', corsOrigins: ['*'], apiKey: '', // ... }; // mergeConfig: apiKey = userConfig?.apiKey ?? process.env.PRAISONAI_AGENTOS_API_KEY ?? ''; ``` I来源网址https://github.com/advisories/GHSA-6wjp-v33h-5cvq新标签页 核对原文位置 529–1129
ss-Control-Allow-Credentials: true` with a wildcard origin. ### Attack flow 1. Developer deploys AgentOS via the quickstart without setting `apiKey`/`PRAISONAI_AGENTOS_API_KEY`. 2. Any network peer calls `GET /api/agents` → receives agent instructions/system prompts. 3. Any network peer calls `POST /api/chat` → invokes the agent. ### Why existing protection is bypassed There is no protection in the default config — the auth gate is skipped when `apiKey` is empty (the default), and the server binds all interfaces. ### Security boundary Unauthenticated network access to agent metadata + invoc来源网址https://github.com/advisories/GHSA-6wjp-v33h-5cvq新标签页 核对原文位置 1972–2572
redentials. ## Suggested remediation - Default `host` to `127.0.0.1`; require `apiKey` (fail closed) when binding non-loopback. - Do not default `corsOrigins` to `['*']`, especially with `Access-Control-Allow-Credentials: true`. - Do not return full `instructions` on an unauthenticated endpoint. affected_products: {"ecosystem": "npm", "name": "praisonai"} affected_versions: {"package": {"ecosystem": "npm", "name": "praisonai"}, "range": "< 1.7.3"} fixed_versions: {"package": {"ecosystem": "npm", "name": "praisonai"}, "version": "1.7.3"} cvss: {"score": 8.6, "vector": "CVSS:3.1/AV:N/AC:L/PR:N/来源网址https://github.com/advisories/GHSA-6wjp-v33h-5cvq新标签页 核对原文位置 4937–5537
finding
来源报告的后果包括:未授权泄露智能体配置与系统提示、未授权调用智能体、LLM费用滥用、依配置工具可能被滥用,以及通配CORS叠加Allow-Credentials带来的跨域凭据风险;来源给出CVSS 8.6(AV:N/AC:L/PR:N/...,向量被截断),未提供EPSS或利用成功率。 [C3] [C4] [C5]
document:DOC-5dcf109b4be3099ff8d3ca0b · 待另一位分析员核对语义支持;精确引文校验不证明结论真实。仅覆盖本次有界原文片段,没有独立Agent核验;产品适用信息不代表本地资产已匹配。
ss-Control-Allow-Credentials: true` with a wildcard origin. ### Attack flow 1. Developer deploys AgentOS via the quickstart without setting `apiKey`/`PRAISONAI_AGENTOS_API_KEY`. 2. Any network peer calls `GET /api/agents` → receives agent instructions/system prompts. 3. Any network peer calls `POST /api/chat` → invokes the agent. ### Why existing protection is bypassed There is no protection in the default config — the auth gate is skipped when `apiKey` is empty (the default), and the server binds all interfaces. ### Security boundary Unauthenticated network access to agent metadata + invoc来源网址https://github.com/advisories/GHSA-6wjp-v33h-5cvq新标签页 核对原文位置 1972–2572
df8f56-b8d8-498b-87bd-44834f39998c" /> ### Reproduction assets The attached archive contains the local Docker runtime used to reproduce the issue with controlled canary values only. It does not contain real secrets, third-party API keys, or production credentials. [PraisonAI-Runtime-Repro.zip](https://github.com/user-attachments/files/29143421/PraisonAI-Runtime-Repro.zip) ## Impact Unauthenticated disclosure of agent configuration/system prompts; unauthenticated agent invocation; LLM cost abuse; possible tool abuse depending on the configured agent's tools; permissive CORS-with-credentials来源网址https://github.com/advisories/GHSA-6wjp-v33h-5cvq新标签页 核对原文位置 4347–4947
redentials. ## Suggested remediation - Default `host` to `127.0.0.1`; require `apiKey` (fail closed) when binding non-loopback. - Do not default `corsOrigins` to `['*']`, especially with `Access-Control-Allow-Credentials: true`. - Do not return full `instructions` on an unauthenticated endpoint. affected_products: {"ecosystem": "npm", "name": "praisonai"} affected_versions: {"package": {"ecosystem": "npm", "name": "praisonai"}, "range": "< 1.7.3"} fixed_versions: {"package": {"ecosystem": "npm", "name": "praisonai"}, "version": "1.7.3"} cvss: {"score": 8.6, "vector": "CVSS:3.1/AV:N/AC:L/PR:N/来源网址https://github.com/advisories/GHSA-6wjp-v33h-5cvq新标签页 核对原文位置 4937–5537
finding
根因定位在src/praisonai-ts/src/os/config.ts的DEFAULT_AGENTOS_CONFIG与mergeConfig:host默认0.0.0.0、corsOrigins默认['*']、apiKey默认空字符串并回退环境变量;涉及AgentOS(agentos.ts)。来源为GitHub安全公告(GHSA-6wjp-v33h-5cvq),未引用其他相关工作。 [C1] [C3] [C5]
document:DOC-5dcf109b4be3099ff8d3ca0b · 待另一位分析员核对语义支持;精确引文校验不证明结论真实。仅覆盖本次有界原文片段,没有独立Agent核验;产品适用信息不代表本地资产已匹配。
nt system prompts and drive the agent. Runtime-confirmed; severity High. ## Details ### Affected component - Package: `praisonai` (npm / TypeScript). Files `src/praisonai-ts/src/os/config.ts` and `src/praisonai-ts/src/os/agentos.ts` (`AgentOS`). ### Vulnerable code / root cause Path: `src/praisonai-ts/src/os/config.ts` Class/const: `DEFAULT_AGENTOS_CONFIG` / `mergeConfig` Snippet: ```ts export const DEFAULT_AGENTOS_CONFIG = { host: '0.0.0.0', corsOrigins: ['*'], apiKey: '', // ... }; // mergeConfig: apiKey = userConfig?.apiKey ?? process.env.PRAISONAI_AGENTOS_API_KEY ?? ''; ``` I来源网址https://github.com/advisories/GHSA-6wjp-v33h-5cvq新标签页 核对原文位置 529–1129
ss-Control-Allow-Credentials: true` with a wildcard origin. ### Attack flow 1. Developer deploys AgentOS via the quickstart without setting `apiKey`/`PRAISONAI_AGENTOS_API_KEY`. 2. Any network peer calls `GET /api/agents` → receives agent instructions/system prompts. 3. Any network peer calls `POST /api/chat` → invokes the agent. ### Why existing protection is bypassed There is no protection in the default config — the auth gate is skipped when `apiKey` is empty (the default), and the server binds all interfaces. ### Security boundary Unauthenticated network access to agent metadata + invoc来源网址https://github.com/advisories/GHSA-6wjp-v33h-5cvq新标签页 核对原文位置 1972–2572
redentials. ## Suggested remediation - Default `host` to `127.0.0.1`; require `apiKey` (fail closed) when binding non-loopback. - Do not default `corsOrigins` to `['*']`, especially with `Access-Control-Allow-Credentials: true`. - Do not return full `instructions` on an unauthenticated endpoint. affected_products: {"ecosystem": "npm", "name": "praisonai"} affected_versions: {"package": {"ecosystem": "npm", "name": "praisonai"}, "range": "< 1.7.3"} fixed_versions: {"package": {"ecosystem": "npm", "name": "praisonai"}, "version": "1.7.3"} cvss: {"score": 8.6, "vector": "CVSS:3.1/AV:N/AC:L/PR:N/来源网址https://github.com/advisories/GHSA-6wjp-v33h-5cvq新标签页 核对原文位置 4937–5537
finding
来源报告(非独立复现)称已在本地Docker运行时复现:GET /api/agents无鉴权返回200并泄露含canary的instructions,POST /api/chat无鉴权可调用;附带PraisonAI-Runtime-Repro.zip(含docker-compose.agentos.yml),声明仅含受控canary、无真实密钥。 [C2] [C4]
document:DOC-5dcf109b4be3099ff8d3ca0b · 待另一位分析员核对语义支持;精确引文校验不证明结论真实。仅覆盖本次有界原文片段,没有独立Agent核验;产品适用信息不代表本地资产已匹配。
s: `PraisonAI-Runtime-Repro\runtime-files\` (`docker-compose.agentos.yml`). ### Steps to reproduce 1. `PRAI-01-01-AgentOS-Agents-NoAuth`: `GET /api/agents` (no Authorization) → `127.0.0.1:18000`. 2. `PRAI-01-02-AgentOS-Chat-NoAuth`: `POST /api/chat {"message":"hello from attacker"}` (no Authorization). ### Expected result Non-loopback exposure should require authentication; agent instructions should not be disclosed unauthenticated. ### Actual result - `GET /api/agents` → `200`, leaks `"instructions":"SYSTEM PROMPT SECRET ... PRAISONAI_INTERNAL_SECRET_CANARY_7f3a91"`; response header `Acces来源网址https://github.com/advisories/GHSA-6wjp-v33h-5cvq新标签页 核对原文位置 2877–3477
df8f56-b8d8-498b-87bd-44834f39998c" /> ### Reproduction assets The attached archive contains the local Docker runtime used to reproduce the issue with controlled canary values only. It does not contain real secrets, third-party API keys, or production credentials. [PraisonAI-Runtime-Repro.zip](https://github.com/user-attachments/files/29143421/PraisonAI-Runtime-Repro.zip) ## Impact Unauthenticated disclosure of agent configuration/system prompts; unauthenticated agent invocation; LLM cost abuse; possible tool abuse depending on the configured agent's tools; permissive CORS-with-credentials来源网址https://github.com/advisories/GHSA-6wjp-v33h-5cvq新标签页 核对原文位置 4347–4947
finding
来源提及的产品/部署条件:npm生态的praisonai包(<1.7.3受影响,1.7.3修复),通过quickstart部署的AgentOS、未设置apiKey/PRAISONAI_AGENTOS_API_KEY、绑定非回环地址;本地资产清单未提供,无法断言本地存在匹配资产。 [C1] [C3] [C5]
document:DOC-5dcf109b4be3099ff8d3ca0b · 待另一位分析员核对语义支持;精确引文校验不证明结论真实。仅覆盖本次有界原文片段,没有独立Agent核验;产品适用信息不代表本地资产已匹配。
nt system prompts and drive the agent. Runtime-confirmed; severity High. ## Details ### Affected component - Package: `praisonai` (npm / TypeScript). Files `src/praisonai-ts/src/os/config.ts` and `src/praisonai-ts/src/os/agentos.ts` (`AgentOS`). ### Vulnerable code / root cause Path: `src/praisonai-ts/src/os/config.ts` Class/const: `DEFAULT_AGENTOS_CONFIG` / `mergeConfig` Snippet: ```ts export const DEFAULT_AGENTOS_CONFIG = { host: '0.0.0.0', corsOrigins: ['*'], apiKey: '', // ... }; // mergeConfig: apiKey = userConfig?.apiKey ?? process.env.PRAISONAI_AGENTOS_API_KEY ?? ''; ``` I来源网址https://github.com/advisories/GHSA-6wjp-v33h-5cvq新标签页 核对原文位置 529–1129
ss-Control-Allow-Credentials: true` with a wildcard origin. ### Attack flow 1. Developer deploys AgentOS via the quickstart without setting `apiKey`/`PRAISONAI_AGENTOS_API_KEY`. 2. Any network peer calls `GET /api/agents` → receives agent instructions/system prompts. 3. Any network peer calls `POST /api/chat` → invokes the agent. ### Why existing protection is bypassed There is no protection in the default config — the auth gate is skipped when `apiKey` is empty (the default), and the server binds all interfaces. ### Security boundary Unauthenticated network access to agent metadata + invoc来源网址https://github.com/advisories/GHSA-6wjp-v33h-5cvq新标签页 核对原文位置 1972–2572
redentials. ## Suggested remediation - Default `host` to `127.0.0.1`; require `apiKey` (fail closed) when binding non-loopback. - Do not default `corsOrigins` to `['*']`, especially with `Access-Control-Allow-Credentials: true`. - Do not return full `instructions` on an unauthenticated endpoint. affected_products: {"ecosystem": "npm", "name": "praisonai"} affected_versions: {"package": {"ecosystem": "npm", "name": "praisonai"}, "range": "< 1.7.3"} fixed_versions: {"package": {"ecosystem": "npm", "name": "praisonai"}, "version": "1.7.3"} cvss: {"score": 8.6, "vector": "CVSS:3.1/AV:N/AC:L/PR:N/来源网址https://github.com/advisories/GHSA-6wjp-v33h-5cvq新标签页 核对原文位置 4937–5537
finding
来源建议:host默认改为127.0.0.1;绑定非回环时强制要求apiKey(fail closed);不要默认corsOrigins为['*']尤其配合Allow-Credentials;未鉴权端点不得返回完整instructions;升级至praisonai 1.7.3。 [C5]
document:DOC-5dcf109b4be3099ff8d3ca0b · 待另一位分析员核对语义支持;精确引文校验不证明结论真实。仅覆盖本次有界原文片段,没有独立Agent核验;产品适用信息不代表本地资产已匹配。
redentials. ## Suggested remediation - Default `host` to `127.0.0.1`; require `apiKey` (fail closed) when binding non-loopback. - Do not default `corsOrigins` to `['*']`, especially with `Access-Control-Allow-Credentials: true`. - Do not return full `instructions` on an unauthenticated endpoint. affected_products: {"ecosystem": "npm", "name": "praisonai"} affected_versions: {"package": {"ecosystem": "npm", "name": "praisonai"}, "range": "< 1.7.3"} fixed_versions: {"package": {"ecosystem": "npm", "name": "praisonai"}, "version": "1.7.3"} cvss: {"score": 8.6, "vector": "CVSS:3.1/AV:N/AC:L/PR:N/来源网址https://github.com/advisories/GHSA-6wjp-v33h-5cvq新标签页 核对原文位置 4937–5537
请另一位分析员核验。
查看交接版本
{
"content_hash": "2a1738842b98585fdac9965a5b234af346761881494531bc1bce21ab868181fe",
"created_at": "2026-10-17T12:23:56.424643+00:00",
"current": true,
"document_id": "DOC-5dcf109b4be3099ff8d3ca0b",
"effective_state": "review_required",
"id": "DRV-61c849a1071e436599764f4035425d8a",
"items": [
{
"entity_id": "document:DOC-5dcf109b4be3099ff8d3ca0b",
"evidence": [
{
"content_hash": "2a1738842b98585fdac9965a5b234af346761881494531bc1bce21ab868181fe",
"document_id": "DOC-5dcf109b4be3099ff8d3ca0b",
"end_offset": 1129,
"quote": "nt system prompts and drive the agent. Runtime-confirmed; severity High.\n\n## Details\n\n### Affected component\n- Package: `praisonai` (npm / TypeScript). Files `src/praisonai-ts/src/os/config.ts` and `src/praisonai-ts/src/os/agentos.ts` (`AgentOS`).\n\n### Vulnerable code / root cause\n\nPath:\n`src/praisonai-ts/src/os/config.ts`\n\nClass/const:\n`DEFAULT_AGENTOS_CONFIG` / `mergeConfig`\n\nSnippet:\n```ts\nexport const DEFAULT_AGENTOS_CONFIG = {\n host: \u00270.0.0.0\u0027,\n corsOrigins: [\u0027*\u0027],\n apiKey: \u0027\u0027,\n // ...\n};\n// mergeConfig: apiKey = userConfig?.apiKey ?? process.env.PRAISONAI_AGENTOS_API_KEY ?? \u0027\u0027;\n```\nI",
"start_offset": 529,
"version": 1
},
{
"content_hash": "2a1738842b98585fdac9965a5b234af346761881494531bc1bce21ab868181fe",
"document_id": "DOC-5dcf109b4be3099ff8d3ca0b",
"end_offset": 2572,
"quote": "ss-Control-Allow-Credentials: true` with a wildcard origin.\n\n### Attack flow\n1. Developer deploys AgentOS via the quickstart without setting `apiKey`/`PRAISONAI_AGENTOS_API_KEY`.\n2. Any network peer calls `GET /api/agents` \u2192 receives agent instructions/system prompts.\n3. Any network peer calls `POST /api/chat` \u2192 invokes the agent.\n\n### Why existing protection is bypassed\nThere is no protection in the default config \u2014 the auth gate is skipped when `apiKey` is empty (the default), and the server binds all interfaces.\n\n### Security boundary\nUnauthenticated network access to agent metadata + invoc",
"start_offset": 1972,
"version": 1
},
{
"content_hash": "2a1738842b98585fdac9965a5b234af346761881494531bc1bce21ab868181fe",
"document_id": "DOC-5dcf109b4be3099ff8d3ca0b",
"end_offset": 5537,
"quote": "redentials.\n\n## Suggested remediation\n- Default `host` to `127.0.0.1`; require `apiKey` (fail closed) when binding non-loopback.\n- Do not default `corsOrigins` to `[\u0027*\u0027]`, especially with `Access-Control-Allow-Credentials: true`.\n- Do not return full `instructions` on an unauthenticated endpoint.\naffected_products: {\"ecosystem\": \"npm\", \"name\": \"praisonai\"}\naffected_versions: {\"package\": {\"ecosystem\": \"npm\", \"name\": \"praisonai\"}, \"range\": \"\u003c 1.7.3\"}\nfixed_versions: {\"package\": {\"ecosystem\": \"npm\", \"name\": \"praisonai\"}, \"version\": \"1.7.3\"}\ncvss: {\"score\": 8.6, \"vector\": \"CVSS:3.1/AV:N/AC:L/PR:N/",
"start_offset": 4937,
"version": 1
}
],
"field": "finding",
"limitations": "\u5f85\u53e6\u4e00\u4f4d\u5206\u6790\u5458\u6838\u5bf9\u8bed\u4e49\u652f\u6301\uff1b\u7cbe\u786e\u5f15\u6587\u6821\u9a8c\u4e0d\u8bc1\u660e\u7ed3\u8bba\u771f\u5b9e\u3002\u4ec5\u8986\u76d6\u672c\u6b21\u6709\u754c\u539f\u6587\u7247\u6bb5\uff0c\u6ca1\u6709\u72ec\u7acbAgent\u6838\u9a8c\uff1b\u4ea7\u54c1\u9002\u7528\u4fe1\u606f\u4e0d\u4ee3\u8868\u672c\u5730\u8d44\u4ea7\u5df2\u5339\u914d\u3002",
"scope": {
"assessment_schema_version": "ict.assessment.model.v1",
"assessment_section": "impact",
"generation_mode": "direct_model",
"model": "mimo-v2.6-pro",
"pipeline_run_id": "ENR-bc2e84ef35f24aebb584464a4526bb98",
"provider": "mimo"
},
"value": "\u5f71\u54cdnpm\u5305praisonai\uff08TypeScript\uff09\u7684AgentOS\uff1a\u9ed8\u8ba4\u7ed1\u5b9a0.0.0.0\u4e14apiKey\u4e3a\u7a7a\u65f6\u8df3\u8fc7\u9274\u6743\uff0c\u4efb\u4f55\u7f51\u7edc\u5bf9\u7aef\u53efGET /api/agents\u8bfb\u53d6\u7cfb\u7edf\u63d0\u793a\u8bcd/\u6307\u4ee4\uff0c\u6216POST /api/chat\u8c03\u7528\u667a\u80fd\u4f53\uff1b\u53d7\u5f71\u54cd\u7248\u672c\u003c1.7.3\uff0c1.7.3\u4fee\u590d\u3002 [C1] [C3] [C5]"
},
{
"entity_id": "document:DOC-5dcf109b4be3099ff8d3ca0b",
"evidence": [
{
"content_hash": "2a1738842b98585fdac9965a5b234af346761881494531bc1bce21ab868181fe",
"document_id": "DOC-5dcf109b4be3099ff8d3ca0b",
"end_offset": 2572,
"quote": "ss-Control-Allow-Credentials: true` with a wildcard origin.\n\n### Attack flow\n1. Developer deploys AgentOS via the quickstart without setting `apiKey`/`PRAISONAI_AGENTOS_API_KEY`.\n2. Any network peer calls `GET /api/agents` \u2192 receives agent instructions/system prompts.\n3. Any network peer calls `POST /api/chat` \u2192 invokes the agent.\n\n### Why existing protection is bypassed\nThere is no protection in the default config \u2014 the auth gate is skipped when `apiKey` is empty (the default), and the server binds all interfaces.\n\n### Security boundary\nUnauthenticated network access to agent metadata + invoc",
"start_offset": 1972,
"version": 1
},
{
"content_hash": "2a1738842b98585fdac9965a5b234af346761881494531bc1bce21ab868181fe",
"document_id": "DOC-5dcf109b4be3099ff8d3ca0b",
"end_offset": 4947,
"quote": "df8f56-b8d8-498b-87bd-44834f39998c\" /\u003e\n\n### Reproduction assets\n\nThe attached archive contains the local Docker runtime used to reproduce the issue with controlled canary values only. It does not contain real secrets, third-party API keys, or production credentials.\n\n[PraisonAI-Runtime-Repro.zip](https://github.com/user-attachments/files/29143421/PraisonAI-Runtime-Repro.zip)\n\n## Impact\nUnauthenticated disclosure of agent configuration/system prompts; unauthenticated agent invocation; LLM cost abuse; possible tool abuse depending on the configured agent\u0027s tools; permissive CORS-with-credentials",
"start_offset": 4347,
"version": 1
},
{
"content_hash": "2a1738842b98585fdac9965a5b234af346761881494531bc1bce21ab868181fe",
"document_id": "DOC-5dcf109b4be3099ff8d3ca0b",
"end_offset": 5537,
"quote": "redentials.\n\n## Suggested remediation\n- Default `host` to `127.0.0.1`; require `apiKey` (fail closed) when binding non-loopback.\n- Do not default `corsOrigins` to `[\u0027*\u0027]`, especially with `Access-Control-Allow-Credentials: true`.\n- Do not return full `instructions` on an unauthenticated endpoint.\naffected_products: {\"ecosystem\": \"npm\", \"name\": \"praisonai\"}\naffected_versions: {\"package\": {\"ecosystem\": \"npm\", \"name\": \"praisonai\"}, \"range\": \"\u003c 1.7.3\"}\nfixed_versions: {\"package\": {\"ecosystem\": \"npm\", \"name\": \"praisonai\"}, \"version\": \"1.7.3\"}\ncvss: {\"score\": 8.6, \"vector\": \"CVSS:3.1/AV:N/AC:L/PR:N/",
"start_offset": 4937,
"version": 1
}
],
"field": "finding",
"limitations": "\u5f85\u53e6\u4e00\u4f4d\u5206\u6790\u5458\u6838\u5bf9\u8bed\u4e49\u652f\u6301\uff1b\u7cbe\u786e\u5f15\u6587\u6821\u9a8c\u4e0d\u8bc1\u660e\u7ed3\u8bba\u771f\u5b9e\u3002\u4ec5\u8986\u76d6\u672c\u6b21\u6709\u754c\u539f\u6587\u7247\u6bb5\uff0c\u6ca1\u6709\u72ec\u7acbAgent\u6838\u9a8c\uff1b\u4ea7\u54c1\u9002\u7528\u4fe1\u606f\u4e0d\u4ee3\u8868\u672c\u5730\u8d44\u4ea7\u5df2\u5339\u914d\u3002",
"scope": {
"assessment_schema_version": "ict.assessment.model.v1",
"assessment_section": "risk",
"generation_mode": "direct_model",
"model": "mimo-v2.6-pro",
"pipeline_run_id": "ENR-bc2e84ef35f24aebb584464a4526bb98",
"provider": "mimo"
},
"value": "\u6765\u6e90\u62a5\u544a\u7684\u540e\u679c\u5305\u62ec\uff1a\u672a\u6388\u6743\u6cc4\u9732\u667a\u80fd\u4f53\u914d\u7f6e\u4e0e\u7cfb\u7edf\u63d0\u793a\u3001\u672a\u6388\u6743\u8c03\u7528\u667a\u80fd\u4f53\u3001LLM\u8d39\u7528\u6ee5\u7528\u3001\u4f9d\u914d\u7f6e\u5de5\u5177\u53ef\u80fd\u88ab\u6ee5\u7528\uff0c\u4ee5\u53ca\u901a\u914dCORS\u53e0\u52a0Allow-Credentials\u5e26\u6765\u7684\u8de8\u57df\u51ed\u636e\u98ce\u9669\uff1b\u6765\u6e90\u7ed9\u51faCVSS 8.6\uff08AV:N/AC:L/PR:N/...\uff0c\u5411\u91cf\u88ab\u622a\u65ad\uff09\uff0c\u672a\u63d0\u4f9bEPSS\u6216\u5229\u7528\u6210\u529f\u7387\u3002 [C3] [C4] [C5]"
},
{
"entity_id": "document:DOC-5dcf109b4be3099ff8d3ca0b",
"evidence": [
{
"content_hash": "2a1738842b98585fdac9965a5b234af346761881494531bc1bce21ab868181fe",
"document_id": "DOC-5dcf109b4be3099ff8d3ca0b",
"end_offset": 1129,
"quote": "nt system prompts and drive the agent. Runtime-confirmed; severity High.\n\n## Details\n\n### Affected component\n- Package: `praisonai` (npm / TypeScript). Files `src/praisonai-ts/src/os/config.ts` and `src/praisonai-ts/src/os/agentos.ts` (`AgentOS`).\n\n### Vulnerable code / root cause\n\nPath:\n`src/praisonai-ts/src/os/config.ts`\n\nClass/const:\n`DEFAULT_AGENTOS_CONFIG` / `mergeConfig`\n\nSnippet:\n```ts\nexport const DEFAULT_AGENTOS_CONFIG = {\n host: \u00270.0.0.0\u0027,\n corsOrigins: [\u0027*\u0027],\n apiKey: \u0027\u0027,\n // ...\n};\n// mergeConfig: apiKey = userConfig?.apiKey ?? process.env.PRAISONAI_AGENTOS_API_KEY ?? \u0027\u0027;\n```\nI",
"start_offset": 529,
"version": 1
},
{
"content_hash": "2a1738842b98585fdac9965a5b234af346761881494531bc1bce21ab868181fe",
"document_id": "DOC-5dcf109b4be3099ff8d3ca0b",
"end_offset": 2572,
"quote": "ss-Control-Allow-Credentials: true` with a wildcard origin.\n\n### Attack flow\n1. Developer deploys AgentOS via the quickstart without setting `apiKey`/`PRAISONAI_AGENTOS_API_KEY`.\n2. Any network peer calls `GET /api/agents` \u2192 receives agent instructions/system prompts.\n3. Any network peer calls `POST /api/chat` \u2192 invokes the agent.\n\n### Why existing protection is bypassed\nThere is no protection in the default config \u2014 the auth gate is skipped when `apiKey` is empty (the default), and the server binds all interfaces.\n\n### Security boundary\nUnauthenticated network access to agent metadata + invoc",
"start_offset": 1972,
"version": 1
},
{
"content_hash": "2a1738842b98585fdac9965a5b234af346761881494531bc1bce21ab868181fe",
"document_id": "DOC-5dcf109b4be3099ff8d3ca0b",
"end_offset": 5537,
"quote": "redentials.\n\n## Suggested remediation\n- Default `host` to `127.0.0.1`; require `apiKey` (fail closed) when binding non-loopback.\n- Do not default `corsOrigins` to `[\u0027*\u0027]`, especially with `Access-Control-Allow-Credentials: true`.\n- Do not return full `instructions` on an unauthenticated endpoint.\naffected_products: {\"ecosystem\": \"npm\", \"name\": \"praisonai\"}\naffected_versions: {\"package\": {\"ecosystem\": \"npm\", \"name\": \"praisonai\"}, \"range\": \"\u003c 1.7.3\"}\nfixed_versions: {\"package\": {\"ecosystem\": \"npm\", \"name\": \"praisonai\"}, \"version\": \"1.7.3\"}\ncvss: {\"score\": 8.6, \"vector\": \"CVSS:3.1/AV:N/AC:L/PR:N/",
"start_offset": 4937,
"version": 1
}
],
"field": "finding",
"limitations": "\u5f85\u53e6\u4e00\u4f4d\u5206\u6790\u5458\u6838\u5bf9\u8bed\u4e49\u652f\u6301\uff1b\u7cbe\u786e\u5f15\u6587\u6821\u9a8c\u4e0d\u8bc1\u660e\u7ed3\u8bba\u771f\u5b9e\u3002\u4ec5\u8986\u76d6\u672c\u6b21\u6709\u754c\u539f\u6587\u7247\u6bb5\uff0c\u6ca1\u6709\u72ec\u7acbAgent\u6838\u9a8c\uff1b\u4ea7\u54c1\u9002\u7528\u4fe1\u606f\u4e0d\u4ee3\u8868\u672c\u5730\u8d44\u4ea7\u5df2\u5339\u914d\u3002",
"scope": {
"assessment_schema_version": "ict.assessment.model.v1",
"assessment_section": "research",
"generation_mode": "direct_model",
"model": "mimo-v2.6-pro",
"pipeline_run_id": "ENR-bc2e84ef35f24aebb584464a4526bb98",
"provider": "mimo"
},
"value": "\u6839\u56e0\u5b9a\u4f4d\u5728src/praisonai-ts/src/os/config.ts\u7684DEFAULT_AGENTOS_CONFIG\u4e0emergeConfig\uff1ahost\u9ed8\u8ba40.0.0.0\u3001corsOrigins\u9ed8\u8ba4[\u0027*\u0027]\u3001apiKey\u9ed8\u8ba4\u7a7a\u5b57\u7b26\u4e32\u5e76\u56de\u9000\u73af\u5883\u53d8\u91cf\uff1b\u6d89\u53caAgentOS\uff08agentos.ts\uff09\u3002\u6765\u6e90\u4e3aGitHub\u5b89\u5168\u516c\u544a\uff08GHSA-6wjp-v33h-5cvq\uff09\uff0c\u672a\u5f15\u7528\u5176\u4ed6\u76f8\u5173\u5de5\u4f5c\u3002 [C1] [C3] [C5]"
},
{
"entity_id": "document:DOC-5dcf109b4be3099ff8d3ca0b",
"evidence": [
{
"content_hash": "2a1738842b98585fdac9965a5b234af346761881494531bc1bce21ab868181fe",
"document_id": "DOC-5dcf109b4be3099ff8d3ca0b",
"end_offset": 3477,
"quote": "s: `PraisonAI-Runtime-Repro\\runtime-files\\` (`docker-compose.agentos.yml`).\n\n### Steps to reproduce\n1. `PRAI-01-01-AgentOS-Agents-NoAuth`: `GET /api/agents` (no Authorization) \u2192 `127.0.0.1:18000`.\n2. `PRAI-01-02-AgentOS-Chat-NoAuth`: `POST /api/chat {\"message\":\"hello from attacker\"}` (no Authorization).\n\n### Expected result\nNon-loopback exposure should require authentication; agent instructions should not be disclosed unauthenticated.\n\n### Actual result\n- `GET /api/agents` \u2192 `200`, leaks `\"instructions\":\"SYSTEM PROMPT SECRET ... PRAISONAI_INTERNAL_SECRET_CANARY_7f3a91\"`; response header `Acces",
"start_offset": 2877,
"version": 1
},
{
"content_hash": "2a1738842b98585fdac9965a5b234af346761881494531bc1bce21ab868181fe",
"document_id": "DOC-5dcf109b4be3099ff8d3ca0b",
"end_offset": 4947,
"quote": "df8f56-b8d8-498b-87bd-44834f39998c\" /\u003e\n\n### Reproduction assets\n\nThe attached archive contains the local Docker runtime used to reproduce the issue with controlled canary values only. It does not contain real secrets, third-party API keys, or production credentials.\n\n[PraisonAI-Runtime-Repro.zip](https://github.com/user-attachments/files/29143421/PraisonAI-Runtime-Repro.zip)\n\n## Impact\nUnauthenticated disclosure of agent configuration/system prompts; unauthenticated agent invocation; LLM cost abuse; possible tool abuse depending on the configured agent\u0027s tools; permissive CORS-with-credentials",
"start_offset": 4347,
"version": 1
}
],
"field": "finding",
"limitations": "\u5f85\u53e6\u4e00\u4f4d\u5206\u6790\u5458\u6838\u5bf9\u8bed\u4e49\u652f\u6301\uff1b\u7cbe\u786e\u5f15\u6587\u6821\u9a8c\u4e0d\u8bc1\u660e\u7ed3\u8bba\u771f\u5b9e\u3002\u4ec5\u8986\u76d6\u672c\u6b21\u6709\u754c\u539f\u6587\u7247\u6bb5\uff0c\u6ca1\u6709\u72ec\u7acbAgent\u6838\u9a8c\uff1b\u4ea7\u54c1\u9002\u7528\u4fe1\u606f\u4e0d\u4ee3\u8868\u672c\u5730\u8d44\u4ea7\u5df2\u5339\u914d\u3002",
"scope": {
"assessment_schema_version": "ict.assessment.model.v1",
"assessment_section": "validation",
"generation_mode": "direct_model",
"model": "mimo-v2.6-pro",
"pipeline_run_id": "ENR-bc2e84ef35f24aebb584464a4526bb98",
"provider": "mimo"
},
"value": "\u6765\u6e90\u62a5\u544a\uff08\u975e\u72ec\u7acb\u590d\u73b0\uff09\u79f0\u5df2\u5728\u672c\u5730Docker\u8fd0\u884c\u65f6\u590d\u73b0\uff1aGET /api/agents\u65e0\u9274\u6743\u8fd4\u56de200\u5e76\u6cc4\u9732\u542bcanary\u7684instructions\uff0cPOST /api/chat\u65e0\u9274\u6743\u53ef\u8c03\u7528\uff1b\u9644\u5e26PraisonAI-Runtime-Repro.zip\uff08\u542bdocker-compose.agentos.yml\uff09\uff0c\u58f0\u660e\u4ec5\u542b\u53d7\u63a7canary\u3001\u65e0\u771f\u5b9e\u5bc6\u94a5\u3002 [C2] [C4]"
},
{
"entity_id": "document:DOC-5dcf109b4be3099ff8d3ca0b",
"evidence": [
{
"content_hash": "2a1738842b98585fdac9965a5b234af346761881494531bc1bce21ab868181fe",
"document_id": "DOC-5dcf109b4be3099ff8d3ca0b",
"end_offset": 1129,
"quote": "nt system prompts and drive the agent. Runtime-confirmed; severity High.\n\n## Details\n\n### Affected component\n- Package: `praisonai` (npm / TypeScript). Files `src/praisonai-ts/src/os/config.ts` and `src/praisonai-ts/src/os/agentos.ts` (`AgentOS`).\n\n### Vulnerable code / root cause\n\nPath:\n`src/praisonai-ts/src/os/config.ts`\n\nClass/const:\n`DEFAULT_AGENTOS_CONFIG` / `mergeConfig`\n\nSnippet:\n```ts\nexport const DEFAULT_AGENTOS_CONFIG = {\n host: \u00270.0.0.0\u0027,\n corsOrigins: [\u0027*\u0027],\n apiKey: \u0027\u0027,\n // ...\n};\n// mergeConfig: apiKey = userConfig?.apiKey ?? process.env.PRAISONAI_AGENTOS_API_KEY ?? \u0027\u0027;\n```\nI",
"start_offset": 529,
"version": 1
},
{
"content_hash": "2a1738842b98585fdac9965a5b234af346761881494531bc1bce21ab868181fe",
"document_id": "DOC-5dcf109b4be3099ff8d3ca0b",
"end_offset": 2572,
"quote": "ss-Control-Allow-Credentials: true` with a wildcard origin.\n\n### Attack flow\n1. Developer deploys AgentOS via the quickstart without setting `apiKey`/`PRAISONAI_AGENTOS_API_KEY`.\n2. Any network peer calls `GET /api/agents` \u2192 receives agent instructions/system prompts.\n3. Any network peer calls `POST /api/chat` \u2192 invokes the agent.\n\n### Why existing protection is bypassed\nThere is no protection in the default config \u2014 the auth gate is skipped when `apiKey` is empty (the default), and the server binds all interfaces.\n\n### Security boundary\nUnauthenticated network access to agent metadata + invoc",
"start_offset": 1972,
"version": 1
},
{
"content_hash": "2a1738842b98585fdac9965a5b234af346761881494531bc1bce21ab868181fe",
"document_id": "DOC-5dcf109b4be3099ff8d3ca0b",
"end_offset": 5537,
"quote": "redentials.\n\n## Suggested remediation\n- Default `host` to `127.0.0.1`; require `apiKey` (fail closed) when binding non-loopback.\n- Do not default `corsOrigins` to `[\u0027*\u0027]`, especially with `Access-Control-Allow-Credentials: true`.\n- Do not return full `instructions` on an unauthenticated endpoint.\naffected_products: {\"ecosystem\": \"npm\", \"name\": \"praisonai\"}\naffected_versions: {\"package\": {\"ecosystem\": \"npm\", \"name\": \"praisonai\"}, \"range\": \"\u003c 1.7.3\"}\nfixed_versions: {\"package\": {\"ecosystem\": \"npm\", \"name\": \"praisonai\"}, \"version\": \"1.7.3\"}\ncvss: {\"score\": 8.6, \"vector\": \"CVSS:3.1/AV:N/AC:L/PR:N/",
"start_offset": 4937,
"version": 1
}
],
"field": "finding",
"limitations": "\u5f85\u53e6\u4e00\u4f4d\u5206\u6790\u5458\u6838\u5bf9\u8bed\u4e49\u652f\u6301\uff1b\u7cbe\u786e\u5f15\u6587\u6821\u9a8c\u4e0d\u8bc1\u660e\u7ed3\u8bba\u771f\u5b9e\u3002\u4ec5\u8986\u76d6\u672c\u6b21\u6709\u754c\u539f\u6587\u7247\u6bb5\uff0c\u6ca1\u6709\u72ec\u7acbAgent\u6838\u9a8c\uff1b\u4ea7\u54c1\u9002\u7528\u4fe1\u606f\u4e0d\u4ee3\u8868\u672c\u5730\u8d44\u4ea7\u5df2\u5339\u914d\u3002",
"scope": {
"assessment_schema_version": "ict.assessment.model.v1",
"assessment_section": "assets",
"generation_mode": "direct_model",
"model": "mimo-v2.6-pro",
"pipeline_run_id": "ENR-bc2e84ef35f24aebb584464a4526bb98",
"provider": "mimo"
},
"value": "\u6765\u6e90\u63d0\u53ca\u7684\u4ea7\u54c1/\u90e8\u7f72\u6761\u4ef6\uff1anpm\u751f\u6001\u7684praisonai\u5305\uff08\u003c1.7.3\u53d7\u5f71\u54cd\uff0c1.7.3\u4fee\u590d\uff09\uff0c\u901a\u8fc7quickstart\u90e8\u7f72\u7684AgentOS\u3001\u672a\u8bbe\u7f6eapiKey/PRAISONAI_AGENTOS_API_KEY\u3001\u7ed1\u5b9a\u975e\u56de\u73af\u5730\u5740\uff1b\u672c\u5730\u8d44\u4ea7\u6e05\u5355\u672a\u63d0\u4f9b\uff0c\u65e0\u6cd5\u65ad\u8a00\u672c\u5730\u5b58\u5728\u5339\u914d\u8d44\u4ea7\u3002 [C1] [C3] [C5]"
},
{
"entity_id": "document:DOC-5dcf109b4be3099ff8d3ca0b",
"evidence": [
{
"content_hash": "2a1738842b98585fdac9965a5b234af346761881494531bc1bce21ab868181fe",
"document_id": "DOC-5dcf109b4be3099ff8d3ca0b",
"end_offset": 5537,
"quote": "redentials.\n\n## Suggested remediation\n- Default `host` to `127.0.0.1`; require `apiKey` (fail closed) when binding non-loopback.\n- Do not default `corsOrigins` to `[\u0027*\u0027]`, especially with `Access-Control-Allow-Credentials: true`.\n- Do not return full `instructions` on an unauthenticated endpoint.\naffected_products: {\"ecosystem\": \"npm\", \"name\": \"praisonai\"}\naffected_versions: {\"package\": {\"ecosystem\": \"npm\", \"name\": \"praisonai\"}, \"range\": \"\u003c 1.7.3\"}\nfixed_versions: {\"package\": {\"ecosystem\": \"npm\", \"name\": \"praisonai\"}, \"version\": \"1.7.3\"}\ncvss: {\"score\": 8.6, \"vector\": \"CVSS:3.1/AV:N/AC:L/PR:N/",
"start_offset": 4937,
"version": 1
}
],
"field": "finding",
"limitations": "\u5f85\u53e6\u4e00\u4f4d\u5206\u6790\u5458\u6838\u5bf9\u8bed\u4e49\u652f\u6301\uff1b\u7cbe\u786e\u5f15\u6587\u6821\u9a8c\u4e0d\u8bc1\u660e\u7ed3\u8bba\u771f\u5b9e\u3002\u4ec5\u8986\u76d6\u672c\u6b21\u6709\u754c\u539f\u6587\u7247\u6bb5\uff0c\u6ca1\u6709\u72ec\u7acbAgent\u6838\u9a8c\uff1b\u4ea7\u54c1\u9002\u7528\u4fe1\u606f\u4e0d\u4ee3\u8868\u672c\u5730\u8d44\u4ea7\u5df2\u5339\u914d\u3002",
"scope": {
"assessment_schema_version": "ict.assessment.model.v1",
"assessment_section": "actions",
"generation_mode": "direct_model",
"model": "mimo-v2.6-pro",
"pipeline_run_id": "ENR-bc2e84ef35f24aebb584464a4526bb98",
"provider": "mimo"
},
"value": "\u6765\u6e90\u5efa\u8bae\uff1ahost\u9ed8\u8ba4\u6539\u4e3a127.0.0.1\uff1b\u7ed1\u5b9a\u975e\u56de\u73af\u65f6\u5f3a\u5236\u8981\u6c42apiKey\uff08fail closed\uff09\uff1b\u4e0d\u8981\u9ed8\u8ba4corsOrigins\u4e3a[\u0027*\u0027]\u5c24\u5176\u914d\u5408Allow-Credentials\uff1b\u672a\u9274\u6743\u7aef\u70b9\u4e0d\u5f97\u8fd4\u56de\u5b8c\u6574instructions\uff1b\u5347\u7ea7\u81f3praisonai 1.7.3\u3002 [C5]"
}
],
"owner_user_id": 1,
"payload_sha256": "d1cb5c557fdd1264dd0027de793f3f3964bd4fe4ec0b0fbf82aa13b8009e2cff",
"recipe": {
"extractor_version": "enrichment-candidates-v1",
"method": "direct_model",
"model": "mimo-v2.6-pro",
"prompt_version": "ict.assessment.model.v1",
"schema_version": "ict.enrichment.derived.v1"
},
"recipe_hash": "0060c1511cc66bc145df30b063ff02652a2276d3e7032ff317391d124e50f894",
"review_note": "",
"reviewed_at": null,
"reviewer_user_id": null,
"source_version": 1,
"state": "review_required",
"updated_at": "2026-10-17T12:23:56.424643+00:00"
}