()
| 181 | // Commands run with the credentials of the proxy process, which are fixed when |
| 182 | // it starts |
| 183 | const credentials = (): string => { |
| 184 | const process = globalThis.process |
| 185 | return [ |
| 186 | process.getuid?.(), |
| 187 | process.geteuid?.(), |
| 188 | process.getgid?.(), |
| 189 | process.getegid?.(), |
| 190 | process.getgroups?.().join(",") |
| 191 | ].join(":") |
| 192 | } |
| 193 | |
| 194 | /** @internal */ |
| 195 | export interface Options { |