🇰🇷 한글 설명
PraisonAI의 GitHub Actions 워크플로우가 ArtiPACKED 공격에 취약하여, actions/checkout에서 persist-credentials: false 설정 부재 시 GITHUB_TOKEN이 .git/config에 저장되고 artifact 업로드 시 유출됩니다. 공개 저장소의 artifact를 다운로드한 공격자가 토큰을 추출하여 악성 코드 배포, 패키지 포이즌, 공급망 손상을 야기할 수 있습니다.
💡 쉬운 설명
PraisonAI의 자동 빌드 시스템이 보안 토큰을 누구나 다운로드 가능한 결과 파일에 실수로 포함시킵니다. 공격자가 이 토큰으로 악성 코드를 배포하거나 모든 사용자를 공격할 수 있습니다.
🇺🇸 원문 (English)
PraisonAI is a multi-agent teams system. In versions 4.5.139 and below, the GitHub Actions workflows are vulnerable to ArtiPACKED attack, a known credential leakage vector caused by using actions/checkout without setting persist-credentials: false. By default, actions/checkout writes the GITHUB_TOKEN (and sometimes ACTIONS_RUNTIME_TOKEN) into the .git/config file for persistence, and if any subsequent workflow step uploads artifacts (build outputs, logs, test results, etc.), these tokens can be inadvertently included. Since PraisonAI is a public repository, any user with read access can download these artifacts and extract the leaked tokens, potentially enabling an attacker to push malicious code, poison releases and PyPI/Docker packages, steal repository secrets, and execute a full supply chain compromise affecting all downstream users. The issue spans numerous workflow and action files across .github/workflows/ and .github/actions/. This issue has been fixed in version 4.5.140.
📍 영향받는 시스템
PraisonAI version 4.5.139 and below
⚔️ 공격 벡터
Public artifact download → token extraction from .git/config → unauthorized repository and package access
🛡️ 대응 방법
Upgrade to version 4.5.140 or add persist-credentials: false to all GitHub Actions checkout steps
🔧 검증 코드
4.5.140 이상이면 안전, 4.5.139 이하면 취약
pip show praisonai 2>/dev/null | grep Version | awk '{print $2}'