PkgRadar

PyPI · pypi.org

agentsociety2

Py Runtime Dynamic Dangerous Import: Dynamic __import__('sys') — reflection bypass for static checks.

Why PkgRadar flagged 2.5.4

SeveritySignalEvidence
highPy Runtime Dynamic Dangerous ImportDynamic __import__('sys') — reflection bypass for static checks. · agentsociety2-2.5.4/agentsociety2/society/workspace.py

Scanned versions

VersionVerdictScoreScanned (UTC)
2.5.4High risk302026-06-09
2.5.3High risk302026-05-30
2.5.2High risk302026-05-30

Block this in CI

PkgRadar gates agentsociety2 (and every other dependency) before it merges. One line in your pipeline:

pkgradar gate --ecosystem pypi agentsociety2==2.5.4