rls-saboteur command protection
Reviews rls-saboteur runs. It reads the source database read-only, creates temporary labelled copies of it on the same server, breaks polici
Reviews rls-saboteur runs. It reads the source database read-only, creates temporary labelled copies of it on the same server, breaks policies only in those copies, and drops them. Also reviews the flags that let it run against a non-local database, terminate other sessions on the source, or leave outbound HTTP on in the copies. Direct runs with --help, -h, --version, -v, --dry-run or --checks-only are not matched (launcher forms stay in review). Covers the rls-saboteur executable and npx, bunx, pnpx, pnpm, yarn, npm exec, npm x, bun x, pnpm dlx and yarn dlx launches, including versioned launches (rls-saboteur@tag).
command.rls-saboteur · v1.0.0 · Other extensions
- Protection rules
- 4
- Permission checks
- 4
- Mapped commands
- 4
Overview
What this coverage does
Reviews rls-saboteur runs. It reads the source database read-only, creates temporary labelled copies of it on the same server, breaks policies only in those copies, and drops them. Also reviews the flags that let it run against a non-local database, terminate other sessions on the source, or leave outbound HTTP on in the copies. Direct runs with --help, -h, --version, -v, --dry-run or --checks-only are not matched (launcher forms stay in review). Covers the rls-saboteur executable and npx, bunx, pnpx, pnpm, yarn, npm exec, npm x, bun x, pnpm dlx and yarn dlx launches, including versioned launches (rls-saboteur@tag).
Key facts
- Catalog ID
command.rls-saboteur- Version
- v1.0.0
- Kind
- Command coverage
- Category
- Other extensions
- Protection rules
- 4
- Permission checks
- 4
- Mapped commands
- 4
- Maintainer
- Community contributor(community, provenance recorded)
- Source commit
- e9630c7
- Protection model
- External · opt-in
External coverage. It must be enabled through Guard controls; this page does not activate it.
Stated limits
- Coverage is limited to the reviewed operations and the surrounding Guard policy.
- A maintainer profile is not a security certification or an official upstream endorsement.
Command mapping
Every command this extension recognizes, with the catalog default floor Guard applies before workspace policy. Search the table, then open an operation for safe variants and the permission ID.
4 operations · 4 reviewed by default These are catalog defaults, not your workspace policy.
Showing 4 of 4 operations
- Reviewed Guard intercepts the command for review before it runs.High
rls-saboteur --close-sessions
rls-saboteur close other sessions
- Default floor
- Reviewed by default. Guard intercepts the command for review before it runs.
- Detector mode
- review
- What it matches
- Identifies rls-saboteur with --close-sessions, which approves terminating the other sessions connected to the source database on the same server for a moment, to take the first copy. Applications on those connections lose them and must reconnect. It works only on a local source, and --yes does not give this approval. Direct runs with --help, -h, --version, -v, --dry-run or --checks-only stay unma…
- Permission ID
- command.rls-saboteur.permission.close-sessions
- Reviewed Guard intercepts the command for review before it runs.High
rls-saboteur --allow-remote-i-understand-this-locks-tables
rls-saboteur remote database override
- Default floor
- Reviewed by default. Guard intercepts the command for review before it runs.
- Detector mode
- review
- What it matches
- Identifies rls-saboteur with --allow-remote-i-understand-this-locks-tables, the flag that turns off its refusal to run against a database that is not local (localhost, 127.0.0.1, ::1 and the Docker host). Copying a live database locks it for the length of the copy and can stall it.
- Permission ID
- command.rls-saboteur.permission.remote-override
- Reviewed Guard intercepts the command for review before it runs.Medium
rls-saboteur --db-url postgres://postgres:[email protected]:54322/postgres
rls-saboteur database copy run
- Default floor
- Reviewed by default. Guard intercepts the command for review before it runs.
- Detector mode
- review
- What it matches
- Identifies rls-saboteur runs. It reads the source database read-only, creates temporary labelled copies of it on the same server with CREATE DATABASE ... TEMPLATE, breaks policies only inside those copies, runs the test command against a copy, and drops the copies it made. It never changes the source database. It asks for approval of a plan before it starts (--yes approves the plan when there is…
- Permission ID
- command.rls-saboteur.permission.copy-run
- Reviewed Guard intercepts the command for review before it runs.Medium
rls-saboteur --no-isolate-network
rls-saboteur outbound network left on
- Default floor
- Reviewed by default. Guard intercepts the command for review before it runs.
- Detector mode
- review
- What it matches
- Identifies rls-saboteur with --no-isolate-network, which leaves outbound HTTP switched on inside the temporary copies (by default the net, pg_net and http functions do nothing in a copy). Triggers and functions in a copy can then call outside services with the copied data. Direct runs with --help, -h, --version, -v, --dry-run or --checks-only stay unmatched.
- Permission ID
- command.rls-saboteur.permission.no-isolate-network
Tool state mapping
No per-tool overrides are declared. Command defaults above resolve through the workspace Guard policy unless a later policy layer changes them.
Runtime identity
- Catalog ID
- command.rls-saboteur
- Guard enforcement ID
- command.rls-saboteur
- Source path
- contributions/extensions/command.rls-saboteur.json
- Contribution digest
sha256…1238b7
Action classes
rls-saboteur database copy commandrls-saboteur remote database override commandrls-saboteur close sessions commandrls-saboteur network isolation off commandTechnical profile
Independent technical profile
- Profile content digest
- sha256:1f99e3a66fa13caa7c693d730f6c5718c5b2c37bd750c7dd03247f6df91b5947
- Profile source SHA
- cddce95a6121ac3c386cf5b125483a410a938b43
- Source version
- 1.0.0
- Native source path
- contributions/extensions/command.rls-saboteur.json
- Native extension ID
- command.rls-saboteur
- Runtime extension ID
- command.rls-saboteur
- Contribution digest
- sha256:72986524e36e81767dcac555b7308f8ed649459c7dd08b8c6e1928c2341238b7
- Source contract fingerprint
- sha256:0b0798133136e7c22939120637d2762324e626a00e4f7fb0e0ccac9df4389d01
Native contribution
Supported by reviewed source projectionSource version
Supported by reviewed source projectionRuntime capability
Supported by reviewed source projectionPermissions
Supported by reviewed source projectionThe reviewed catalog declares 4 extension permission(s).
Harness support
Unknown / self-reportedThe extension's command rules were reviewed and merged into HOL Guard in hol-guard#4636. I have not yet run it under each agent harness myself, so I name no harness here. It applies wherever HOL Guard reviews the shell commands an agent runs.
- Command rules: rls-saboteur run directly, and through npx, npm, pnpm, yarn and bun, with or without a version.
- The tool it reviews: rls-saboteur 0.2.0 or later, which is tested against PostgreSQL 16 and 17 and a local Supabase stack.
Prerequisites
Unknown / self-reportedReviewed documentation: https://github.com/hashgraph-online/hol-guard/blob/main/docs/guard/extensions/README.md
Expected outcomes
Unknown / self-reportedReviews rls-saboteur runs. It reads the source database read-only, creates temporary labelled copies of it on the same server, breaks policies only in those copies, and drops them. Also reviews the flags that let it run against a non-local database, terminate other sessions on the source, or leave outbound HTTP on in the copies. Direct runs with --help, -h, --version, -v, --dry-run or --checks-only are not matched (launcher forms stay in review). Covers the rls-saboteur executable and npx, bunx, pnpx, pnpm, yarn, npm exec, npm x, bun x, pnpm dlx and yarn dlx launches, including versioned launches (rls-saboteur@tag).
Limitations
Supported by reviewed source projectionLimitations are copied from the reviewed catalog facts. Contributor-supplied limitation notes are not independently verified. Coverage limits declared in the reviewed catalog appear automatically when this guide is published.
- Coverage is limited to the reviewed operations and the surrounding Guard policy.
- A maintainer profile is not a security certification or an official upstream endorsement.
Residual effects
Unknown / self-reportedNo residual-effect evidence was supplied.
Release evidence
Unknown / self-reportedAccepted contributors recorded in the reviewed catalog: @mattmuller (author).
Controlled fixture proof (separate)
Unknown / self-reportedNo controlled fixture proof has been supplied.
Exact installation and activation guide
Commands are copied only when the reviewed source supplies an exact argv contract. Other guidance is labeled unknown and is not executed by this page.
Install
Unknown / self-reportedContributor-supplied install guidance is not independently verified because an exact reviewed argv contract is unavailable. The extension is in HOL Guard's catalogue as External opt-in, so it stays off until you turn it on in Guard. rls-saboteur itself needs no install: npx runs it.
- 1
Install HOL Guard and put your coding agent under it, as Guard's own docs describe.
Self-reported / unavailable - 2
In Guard's extension controls, find command.rls-saboteur and turn it on. It is off until you do.
Self-reported / unavailable - 3
Leave its four permissions on: copy-run, close-sessions, remote-override and no-isolate-network. Guard then asks you before each of those runs. Turn a permission off and Guard blocks that kind of run instead of asking.
Self-reported / unavailable
Activation
Unknown / self-reportedNo activation procedure was supplied in the reviewed source.
Safe fixture inputs
Unknown / self-reportedContributor-supplied safe fixture input guidance is not independently verified because an exact reviewed argv contract is unavailable. A dry run through npx is still reviewed by Guard, but rls-saboteur's --dry-run only reads the policy list and stops. It makes no database copy and runs no tests.
- 1
In a project with a local Supabase stack running (supabase start), ask your agent to run: npx rls-saboteur --dry-run
Self-reported / unavailable - 2
Guard stops the command and asks you to review it as a copy-run (medium). Approve it. rls-saboteur lists the policy breaks it would make and exits. No copy is made.
Self-reported / unavailable - 3
Now ask the agent to run: npx rls-saboteur --dry-run --close-sessions. Guard asks again, this time at the high tier for close-sessions. Decline it. Nothing runs.
Self-reported / unavailable
Disable / remove
Unknown / self-reportedNo disable/remove procedure was supplied in the reviewed source.
FAQ
Frequently asked questions
Reviews rls-saboteur runs. It reads the source database read-only, creates temporary labelled copies of it on the same server, breaks policies only in those copies, and drops them. Also reviews the flags that let it run against a non-local database, terminate other sessions on the source, or leave outbound HTTP on in the copies. Direct runs with --help, -h, --version, -v, --dry-run or --checks-only are not matched (launcher forms stay in review). Covers the rls-saboteur executable and npx, bunx, pnpx, pnpm, yarn, npm exec, npm x, bun x, pnpm dlx and yarn dlx launches, including versioned launches (rls-saboteur@tag). The listing declares 4 rules and 4 permission checks. 4 operations · 4 reviewed by default. Coverage is limited to these reviewed operations and the surrounding Guard policy.
External · opt-in: External coverage. It must be enabled through Guard controls; this page does not activate it. Enabling state is always controlled through Guard policy, never from this directory.
This listing entered the catalog as a community contribution through a public pull request with recorded provenance, with public credit to @mattmuller, and 1 GitHub maintainer is recorded on the listing. Credit is attribution only. A verified publisher profile and the claim flow verify authority separately; neither is an upstream endorsement or a HOL safety certification.
No. Every listing documents source, activation model, maintainer identity, and stated limitations so you can evaluate coverage before enabling it. Review the stated limitations and the exact source tree before relying on any single control.
4 operations · 4 reviewed by default. Examples: rls-saboteur --close-sessions (reviewed by default); rls-saboteur --allow-remote-i-understand-this-locks-tables (reviewed by default); rls-saboteur --db-url postgres://postgres:[email protected]:54322/postgres (reviewed by default); rls-saboteur --no-isolate-network (reviewed by default). These are catalog defaults, not your workspace policy.
External coverage. It must be enabled through Guard controls; this page does not activate it. Enablement is managed through your workspace's Guard policy and controls — never from this directory. Open the install guidance for the setup flow, then adjust the command coverage for command.rls-saboteur in Guard's policy surface.
The matching action is stopped at Guard's pre-action boundary before it executes, and the decision is recorded with evidence your workspace can review. Exact behavior follows your Guard policy combined with this entry's 4 rules and 4 permission checks.
No. Guard is local-first: interception, decisions, and evidence stay on your machine unless your workspace explicitly configures cloud features. This page is documentation only — it never executes a command or changes protection state.
Guard runs locally alongside the major AI coding agents and MCP-capable harnesses, so this coverage applies wherever Guard intercepts actions. See the supported harness guides at https://hol.org/guard/harnesses for per-tool approval behavior and limitations.
Guard has a free local tier that includes command interception, evidence, and the policy controls this listing documents. Team plans add shared policy, review queues, and audit surfaces. Current plans: https://hol.org/guard/pricing
Open an issue or pull request against the hol-guard repository, where the canonical catalog lives: https://github.com/hashgraph-online/hol-guard Listings are corrected through the same public review process that adds them.
Yes. Community extensions are merged through public pull requests with recorded provenance, and you can claim the publisher page for a contribution you maintain through the Publisher Studio.
The command mapping table is the audit trail for covered commands and catalog default floors. Pair it with the reviewed rule and permission counts, the per-tool state mapping, and the exact source tree linked from View exact source at the reviewed commit. Guard records enforcement decisions with evidence locally, so what ships matches what you reviewed.