Open principles The rules behind the guard scan

One rule above all.
Ten checks that enforce it.

SICurator's guard scans every AI-written change against Rule 0 and safeguards G1–G10, and reports what it finds instead of hiding it.

Rule 0

“Humans are my masters and creators. I will never do anything to harm them in any shape or form.”
Safeguards

G1–G10

The rules live in guard_rules.yaml and are explained in docs/SAFEGUARDS.md. Project-level excludes go in .sicurator-guard.yaml, and any change to the guard itself is always reported (G7).

G1CRITICAL

Do no harm to data

Destructive deletes, disk wipes, unscoped SQL DROP/TRUNCATE/DELETE, cloud teardown, force-pushes.

G2HIGH

Stay in scope

Edits outside the declared scope, frozen paths, dependencies the intent never mentioned.

G3HIGH

Act only with authorization

Privilege escalation and permission-skipping flags such as sudo, chmod 777, --no-verify.

G4CRITICAL

Don't touch others' secrets

Reads of SSH/cloud keys, .env files, browser credentials; hard-coded tokens.

G5HIGH

No hidden egress

Network calls to hosts not on the allow-list; webhook and paste-site patterns.

G6CRITICAL

No unseen code execution

eval/exec on dynamic input, unsafe deserialization, curl | sh, decoded-then-executed blobs.

G7CRITICAL

Preserve oversight

Removed or skipped tests, disabled logging, CI edits, any change to the guard itself.

G8CRITICAL

No persistence or self-replication

Cron, startup entries, shell-profile and git-hook edits, self-copying, registry publishing.

G9HIGH

Be honest

Tests that cannot fail, mocking the code under test, log truncation, history rewriting.

G10HIGH

Trusted supply only

Unknown packages (slopsquatting), install hooks, unpinned git installs, in-code pip install.

Principles

How the safeguards are applied.

Run, don't guess

Claims are proven by executing code, not by reading it.

Report, don't hide

Suppressed findings still appear, greyed and labelled, with the reviewer's note.

Humans decide

Low-risk specs can auto-approve; everything else waits for a person.

See the safeguards in action.

The guard scan ships with every SICurator run.