PraisonAI dynamic-context артефакт құралдары артефакт сақтау орнынан тыс ерікті хост файлдарын оқиды
Қысқаша
PraisonAI, көп агентті командалар жүйесі, өзінің Dynamic Context Discovery артефакт құралдары (artifact_head, artifact_tail, artifact_grep және artifact_chunk) арқылы зардап шегеді. Бұл құралдар файл жолдарын белгіленген артефакт сақтау орнымен шектемейді, сондықтан олардың кірістеріне әсер ете алатын кез келген адам PraisonAI процесі қол жеткізе алатын ерікті файлдарды, мысалы, тіркелгі деректерін, орта файлдарын және бастапқы кодты оқи алады.
Түйіндемені дереккөздер негізінде ЖИ жасаған және ол автоматты түрде аударылған.
Түзету
Түзетілген нұсқалар: 4.6.59
Зардап шегетін нұсқалар
| PraisonAI | бастап 3.8.1 → түзетілді 4.6.59 |
| praisonaiPyPI | бастап 3.8.1 → түзетілді 4.6.59 |
| praisonaiPyPI | бастап 3.8.1 → түзетілді 4.6.59 |
Түпнұсқа сипаттама (EN)
Түпнұсқа тақырып: PraisonAI dynamic-context artifact tools read arbitrary host files outside artifact storage
PraisonAI is a multi-agent teams system. From version 3.8.1 to before version 4.6.59, PraisonAI's Dynamic Context Discovery feature exposes artifact helper tools through ctx.get_tools(). The implemented artifact tools do not enforce that the supplied artifact_path is an artifact created by the configured store or that it lives under the configured artifact base directory. Instead, artifact_head, artifact_tail, artifact_grep, and artifact_chunk wrap the caller-supplied path directly into an ArtifactRef and then read it from the host filesystem. As a result, any prompt/user/tool-caller that can influence those tool arguments can read files readable by the PraisonAI process, such as project .env files, cloud credentials, SSH keys, source files, or other local data. This issue has been patched in version 4.6.59.