Skip to content

Commit 3882a13

Browse files
committed
link to github docs in security
1 parent 3d107cb commit 3882a13

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

docs/security.md

+20
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,26 @@ meticulously isolated virtual machines that are created on demand. This approach
88
any potential persistent compromise of the environment or unauthorized access beyond the
99
information initially placed during the bootstrap process.
1010

11+
You can read more about self-hosted runner security on Github docs [here](
12+
https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#self-hosted-runner-security).
13+
14+
As per GitHub docs on runners with public repositories.
15+
16+
*"We recommend that you only use self-hosted runners with private repositories. This is because
17+
forks of your public repository can potentially run dangerous code on your self-hosted runner
18+
machine by creating a pull request that executes the code in a workflow."*
19+
20+
21+
*"This is not an issue with GitHub-hosted runners because each GitHub-hosted runner is always a
22+
clean isolated virtual machine, and it is destroyed at the end of the job execution."*
23+
24+
:::info
25+
26+
This is true for VMs created by cirun as well as they are always a clean isolated virtual machine,
27+
which makes them as secure as GitHub hosted runners.
28+
29+
:::
30+
1131
## Access to code
1232

1333
We do not store any code or secrets on our servers. The runners are ephemeral in nature and are

0 commit comments

Comments
 (0)