YARA rule 'agent_skill_remote_bootstrap_execution': Remote script or code download followed by execution/bootstrap installation [agent_skills]
- Category
- YARA Match
- Confidence
- 85% confidence
- Finding
The installation command retrieves an unpinned GitHub revision, and pip installation can execute repository-controlled build code with the installing user's privileges. This is a supply-chain weakness rather than evidence of malicious bootstrap behavior: a compromised upstream repository could execute arbitrary code or install a tool that silently manipulates trial allocations. Installation is legitimate in this context, but the clinical-trial use increases the importance of software integrity, and the documented self-check does not independently establish trust.
- Content
o, block sizes, strata and a seed, it writes the full allocation list, a sealed enrolment list, per-stratum files, an audit log and a methods paragraph. Balance is exact at every completed block's end, and the same seed and parameters regenerate the lists byte-for-byte. Without a seed it refuses: an unseeded list cannot be reproduced (ICH E9 requires a reproducible schedule).
Install
bash pip install git+https://github.com/RakTikoo/blockrandomThis provides the
blockrandomcommand; verify an install withblockrandom check(block balance and byte-for-byte regeneration, PASS/FAIL).Run
bash blockrandom generate --trial-name "Example trial" --arms Treatment,Control --ratio 1:1 --blocks 4,6,8 --n-per-stratum 40 --strata "site=North,South" --seed-file seed.txt --out-dir trial-lists--arms(at least two, all different),--ratio(one whole number per arm;2:1and three-arm ratios work),--blocksand--n-per-stratumare required and never guessed. Ev
