Security, Privacy and Legal

This is engineering documentation, not legal advice. Have counsel review before commercial redistribution.

Threat model

ThreatMitigationTest
Path traversalwithin() check and root resolutionsafeRead rejects parent directory
Symlink escapeEvery path segment is lstat-checkedsafeRead rejects symlink (skips where symlinks are not permitted)
Oversized input1 MiB read capsafeRead size check
Command injection in targetsStrict regex validators; no shelltarget parser refuses command injection
Credential leakage in plansCredential-bearing dependency values refusedplan refuses credential-bearing dependency version
HTML injection in reportsEscaped outputHTML escapes untrusted report strings, audit markdown and html render verdict and escape
Tampered planAction re-validated against targetrehearsal refuses tampered action version
Stale approvalsBaseline hash comparisonrehearsal with stale baseline fails
Unauthenticated server useLoopback bind, bearer token, GET onlyserver is localhost auth-only
Prompt injection in repo textRepo text is data; nothing is executedBy design: the core has no execution path

Privacy

What this product does not guarantee

It does not guarantee absence of vulnerabilities, safe migrations or compatibility. A REVIEW_REQUIRED verdict is not approval. Do not use it as the sole control before changing production data.

License and attribution

Name and trademark status

The npm name migrasutra returned 404 (unregistered) when last checked on 2026-11-11. This is an availability observation, not a trademark clearance. No trademark search has been done. The maintainer should run one before commercial branding.

Claims policy

The project does not publish unverified download counts, endorsements, compliance badges or performance numbers. Every metric in this folder links to a reproducible command.

Reporting a vulnerability

Use GitHub private vulnerability reporting on the repository, as described in SECURITY.md. Do not open a public issue for a vulnerability.