YARA rule 'agent_skill_remote_bootstrap_execution': Remote script or code download followed by execution/bootstrap installation [agent_skills]
- Category
- YARA Match
- Confidence
- 87% confidence
- Finding
The installation command retrieves and installs executable Python code from a mutable GitHub repository without pinning an audited revision or verifying an artifact. If that repository or its maintainer account is compromised, installation build hooks or subsequent tool execution could run attacker-controlled code with the agent's permissions. Installing a tool is relevant to this skill's purpose and is not evidence of malicious intent, but the scanner's claimed offline, static operation does not protect the installation step.
- Content
epository's
.github/workflowsfiles against the things those commands name: package.json scripts, Makefile targets, justfile recipes, Taskfile tasks, script files on disk, and repo-localpython -mmodules. It reports each reference that does not resolve, with the file and line, what was expected, and where it looked. It never executes anything from the scanned repository.Install
bash pip install git+https://github.com/RakTikoo/ci-command-truthThis provides the
ci-command-truthcommand (one file, standard library only).Run
Scan the repository you are working in:
bash ci-command-truth .Scan another checkout, with a machine-readable report:
bash ci-command-truth path/to/repo --jsonOther output modes:
--sarifwrites a SARIF 2.1.0 report, and--github-annotationsadds PR annotation lines to the text output.--jsonand--sarifcannot be combined.Reading the results
The exit code is the verdict:
0— every checked command reso
