What Twinrope really does, and what it does not.
Answers to what IT, security teams and RPA centres of excellence ask before letting a tool near Orchestrator. Where there is a limit, it is written down.
Does every operation go through UiPath's public API?
Yes. Twinrope only calls endpoints that UiPath documents publicly: Orchestrator's OData API and the identity server. No private calls, no reading Orchestrator's database, no driving the web interface, nothing to install on Orchestrator.
The possible writes, module by module:
| Module | Call | Effect |
|---|---|---|
| Triggers | POST odata/ProcessSchedules/…SetEnabled | Suspend, resume, restore a snapshot |
| Jobs | POST odata/Jobs/…StopJobs | Graceful (SoftStop) or forced (Kill) stop |
| Queues | POST odata/QueueItems/…DeleteBulk, else DELETE odata/QueueItems(Id) | Delete items, in batches of 100 |
| Accounts | POST odata/Users(Id)/…SetActive | Deactivate, reactivate |
| Attended and Dev licenses | PATCH odata/Users(Id) | Remove or give back the right to run (MayHaveRobotSession, LicenseType) |
| Server licenses | POST odata/LicensesRuntime('…')/…ToggleEnabled | Disable or re-enable a runtime line |
| PRODvsQUAL (Enterprise) | POST and PUT on ProcessSchedules, QueueDefinitions, Buckets; POST odata/Releases; UploadPackage | Create or align a trigger, a queue, a bucket; promote a process |
Everything else is read-only (GET): folders, the operator's permissions, jobs, logs, queues, triggers, accounts, licenses, processes, packages, libraries and buckets. The pilot edition contains none of these write calls: the code is not compiled into the executable, and the build checks it for every release.
How are differences between Orchestrator versions handled?
Twinrope targets on-premises Orchestrator, Automation Suite and Automation Cloud. It does not read a version number to pick a behaviour: it starts with the documented call, and when Orchestrator refuses it in a known way, it falls back to a variant and says so.
| Difference met | What Twinrope does |
|---|---|
| Field, filter, $select or $expand refused in a read | Reads again without that field or filter |
| Bulk deletion of queue items missing (404, 405, 501) | Deletes one by one, for that environment, until it closes |
| $top refused on runtime lines | Reads in a single call |
| Runtime line toggle shaped differently, or a 200 response with no effect | Tries the known shapes, then reads back to check |
| No next-page link on jobs | Pages with $skip until a short page |
| Empty permission list for a user with folder roles only | Treats permissions as unknown and lets Orchestrator decide |
| Fields named differently (a job's machine, a bucket file's size) | Takes the first filled field among the known names |
How are objects that depend on each other handled?
The question mostly arises for PRODvsQUAL fixes, which create or align objects in the other environment. Twinrope never creates a dependency for you: it looks for it, and blocks the line when it is missing.
- Trigger: the process is looked up by name in the target folder. If it is missing, the line is blocked and nothing is sent: “the process must be deployed in the target folder before this trigger can be created or changed”. A created trigger is always created disabled.
- Queue with an SLA: Orchestrator requires an associated process. Twinrope finds the source's process by name in the target; if it is missing or ambiguous, the line is refused before sending, with two suggested ways forward.
- Promoted process: the package version must be in the QA feed. If it is not, and only if copying is allowed, Twinrope copies it from PROD after checking that every package dependency exists in QA (official UiPath package, tenant library or feed package). A missing dependency blocks the promotion: the process would be there but unable to run.
- Bucket: files are copied from one storage to the other through signed addresses, without touching the workstation's disk, then the presence of every file is checked.
- Read before writing: the target is always read again just before the write, and so is the source. If the source changed since the diagnostic, the line is refused.
In the action modules, dependencies are Orchestrator's own: a queue item being processed is usually refused for deletion, and a trigger deleted in the meantime makes its own restore fail. Twinrope reports it line by line.
What happens when a bulk operation fails halfway?
Orchestrator's API has no transactions: an operation on 200 items is not atomic, and Twinrope does not pretend it is. It makes sure you know exactly where each item stands.
- The snapshot of the previous state is written in full before the first request. If it cannot be (full disk, rights), nothing is sent.
- An error or a timeout on one item puts that item in failure, and the batch carries on. When a grouped call fails for a folder, Twinrope retries that folder item by item, so that only the item at fault stays failed.
- A refused session (401), a cancellation or closing the window stops the batch at the next step. Closing waits for the log and the snapshot to be written.
At the end, every item has one of these four statuses, written to the workstation's log even when the batch was interrupted:
| Status | Meaning | Stays in the snapshot |
|---|---|---|
| OK | Written, and confirmed by a read-back when the API can answer without changing anything | Yes |
| FAILED | Refused, or accepted with no visible effect, with Orchestrator's reason | Yes: the change may have been applied despite the error |
| INTERRUPTED (unknown state) | The request had left when the batch stopped | Yes |
| NOT ATTEMPTED | The batch stopped before it: nothing was sent | No |
Does restoring really bring back the initial state, in every case?
No, not in every case. It brings back what the action changed, for the actions announced as reversible:
| Action | What the snapshot puts back |
|---|---|
| Suspend triggers | The enabled state of the suspended triggers |
| Deactivate accounts | The active state of the deactivated accounts |
| Remove Attended or Dev licenses | The right to run and the previous license type |
| Disable Server runtime lines | The enabled state of each line, on each Orchestrator |
| PRODvsQUAL fixes | The previous state of the changed object, or the deletion of the created object |
What cannot be restored, and is announced as such before confirming with the word CONFIRM:
- A stopped or killed job does not restart: the interrupted work is lost.
- Deleted queue items do not come back.
- The “final” variants (suspend, deactivate or remove without a snapshot) keep none.
And the edge cases, which the application handles without ever forcing:
- The snapshot only puts back the field the action changed. The rest of the object (a trigger's schedule, an account's roles) is neither saved nor rewritten.
- An object deleted or renamed in Orchestrator in the meantime fails on restore, with the reason; it stays in the snapshot.
- A snapshot taken on another Orchestrator or tenant than the one targeted is refused.
- For PRODvsQUAL, the undo history lives in memory: it is lost when the application closes. A change made by someone else in the meantime is never overwritten: only the fields the tool changed are put back. A created queue or bucket is only deleted while still empty. A package copied into the QA feed stays there.
How does Twinrope exchange with Orchestrator?
Twinrope is a standalone Windows application, with no service, no agent and no server in between. It talks to Orchestrator directly, over HTTPS, from the operator's workstation and with the operator's account.
| Destination | Why |
|---|---|
| Your Orchestrator (PROD and QA) | Every read and write, through the OData API |
| Its identity server | Sign-in, token renewal and revocation |
| http://localhost:port/ on the workstation | The browser's return after sign-in (ports registered on the external application) |
| Signed addresses of bucket storage | Bucket file copies, PRODvsQUAL only, with no token and no tenant name |
| Twinrope's publisher | Never: no telemetry, no online license or update check |
- Every call carries the operator's token (Authorization: Bearer) and the tenant name, sent only to the configured Orchestrator addresses. The folder header goes with calls aimed at a folder.
- No cookie is kept and no redirect is followed: the token never leaves for another address.
- Reads are paged by 1,000, with an adjustable pause between pages (100 ms by default) to spare Orchestrator; at most four folders are read in parallel. Writes stay folder by folder.
- Request timeout: 5 minutes in the action modules, 100 seconds in PRODvsQUAL.
- Certificates: the workstation's trusted roots, then the internal authority supplied in the settings. A host name that does not match is never accepted.
A write barrier is the last link before the network. Without a confirmed action, it only lets GET requests through; towards the identity server, only three exact calls (token, revocation, password sign-in). After a typed confirmation, a ticket opens only the endpoints of that action, for the confirmed objects only. Any other request is refused before it leaves, and logged.
Exactly which OAuth permissions does Twinrope request?
Twinrope signs in as a public external application (no secret), with the authorization code flow and PKCE (S256). Authentication happens in the workstation's browser: SSO, directory and multi-factor stay yours. Scopes requested by default:
OR.Execution OR.Folders OR.Jobs OR.Users OR.Machines OR.License OR.Queues OR.Settings OR.Robots OR.Monitoring OR.Administration- OR.Administration is optional: it is only used for the Buckets type of PRODvsQUAL. A deployment option removes it; the Buckets type is then unavailable, and the screen says why.
- Optional: openid profile email (the display name then comes from the ID token) and offline_access (so the operator does not sign in at every start).
- The list is set by the administrator in the signed settings, never by the operator. It can be narrowed, for instance to the read variants (.Read) for the pilot: Orchestrator will then refuse the calls that need more.
- Every requested scope must be allowed on the external application, otherwise Orchestrator refuses the whole sign-in, and Twinrope says which one is missing.
A scope grants no rights: it lets the application act on the user's behalf, within their Orchestrator roles. A read-only operator stays read-only in Twinrope. Before acting, the application reads their permissions (GetCurrentPermissions) at tenant level then for each folder, and disables the actions they lack.
How are tokens and sessions handled?
- The access token stays in memory, never on disk. It is treated as expired 5 minutes before it actually expires.
- The refresh token (only with offline_access) is encrypted by Windows (DPAPI) for the workstation user: only that account, on that workstation, can read it. It is single-use: a failed renewal erases it and asks for sign-in again. If the configured scopes change, it is erased.
- On sign-out, the session is removed from the workstation at once, then both tokens are revoked at the identity server (RFC 7009). A failed revocation is logged and never keeps the operator signed in.
- A 401 response closes that environment's session; the action runs again after signing back in.
- No token or password ever appears in a log, an export or a snapshot.
- PKCE, an unpredictable state and a nonce are drawn for each attempt. The ID token is checked (nonce, audience, issuer, expiry).
How do we verify the executable's signature?
Every Twinrope.exe delivered is Authenticode-signed (SHA-256) and timestamped (RFC 3161), and its download page, served through a personal, time-limited link, shows its SHA-256 fingerprint. Two checks, in PowerShell:
Get-AuthenticodeSignature .\Twinrope.exe | Format-List Status, SignerCertificate, TimeStamperCertificate
Get-FileHash .\Twinrope.exe -Algorithm SHA256The status must be Valid, the signer the one named in our legal notice, and the fingerprint identical to the download page's. In File Explorer: Properties, Digital Signatures tab. The timestamp keeps the signature valid after the certificate expires.
The settings file (twinrope.settings.json) is signed separately, with ECDSA P-256, by a key that stays on the publisher's workstation. Twinrope refuses a file changed by a single character, signed by another key, or with an Orchestrator address outside the license.
How do updates and license revocation work?
The license is part of the signed settings file: edition (pilot, Team, Enterprise), end date, and the addresses of the Orchestrators covered. It is checked offline, at start, on the workstation. Twinrope never contacts the publisher.
- License end: environments become “not configured”, with the reason shown. Nothing is deleted, and Orchestrator is not touched. Logs and snapshots stay readable on the workstation.
- Renewal: the renewal quote goes out 60 days before the end date; once it is paid, the new signed file arrives by email. Put it next to the executable, no reinstall needed.
- Updates: no automatic update and no online check. A new release is announced by email, with a personal, time-limited link, its SHA-256 fingerprint and its notes. You choose when to roll it out; your settings file stays valid.
- Security fix: announced the same way, with what it fixes and the recommended urgency.
Has the application been audited?
A source code security audit was carried out in November 2026 on the Windows application and on the website with its back-office: module-by-module code review, attack attempts on a copy of the back-office (SQL injection, XSS, CSRF, authentication bypass, path traversal…), third-party dependency checks and a search for secrets across the whole history.
- No critical or high-severity vulnerability.
- 30 findings: 7 medium, 11 low, 12 informational. In the default configuration, none lets an outside attacker with no prior access write to an Orchestrator.
- No secret in the code or its history, no third-party dependency with a known flaw at the date of the audit.
- Half of the findings are fixed to date; the others follow the report's plan, release after release.
- A second review followed in December 2026, extended to what was added since: self-service pilot, sales and customer area.
The full report, with the status of each fix, is available on request, under a non-disclosure agreement.
A question not covered here, a security questionnaire to fill in? Write to contact@twinrope.com. See also the Security page.
Check it on your Orchestrator.
The pilot is read-only: it contains no write code. It is the safest way to answer these questions on your own environment.