File write

This executable can write data to local files.
  1. CommentContent is leaked as error messages and written to file. The file extension must be one of the supported ones, e.g., .ts, .tsx, etc.
    This function can be performed by any unprivileged user.
    tsc /path/to/input-file.ts --outFile /path/to/output-file
    This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
    RemarksIf there are environment variables involved, they must be passed via sudo VAR=value ... or exported then sudo -E ....
    tsc /path/to/input-file.ts --outFile /path/to/output-file
    RemarksThe content is corrupted or otherwise altered by the process, thus it might not be suitable for handling arbitrary binary data.

File read

This executable can read data from local files.
  1. CommentContent is leaked as error messages. The file extension must be one of the supported ones, e.g., .ts, .tsx, etc.
    This function can be performed by any unprivileged user.
    tsc /path/to/input-file.ts
    This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
    RemarksIf there are environment variables involved, they must be passed via sudo VAR=value ... or exported then sudo -E ....
    tsc /path/to/input-file.ts
    RemarksThe content is corrupted or otherwise altered by the process, thus it might not be suitable for handling arbitrary binary data.