MigraSutra AI · Upgrade with Evidence
Audit Report
Generated 2026-11-16T17:40:27.992Z · schema migrasutra.audit/v1
Verdict NO_GO
High4
Medium4
Low0
Files read4
App tests executed0
MigraSutra is offline, static and read-only. It never runs target-application tests, so the verdict is a review signal, never a deploy approval.
Inventory
- containers:
Dockerfile - sql:
migrations/001_unsafe.sql - npm:
package.json - python:
requirements.txt
Findings (8)
| Severity | Rule | Location | Description | Evidence |
|---|---|---|---|---|
| HIGH | SQL_DROP_TABLE | migrations/001_unsafe.sql:2 | Potentially destructive DROP TABLE statement | MS-53da2c153a38 |
| HIGH | SQL_DROP_COLUMN | migrations/001_unsafe.sql:3 | Potentially destructive column removal | MS-d783e3230f1b |
| HIGH | SQL_TRUNCATE | migrations/001_unsafe.sql:4 | Potentially destructive TRUNCATE statement | MS-b8fe4c423f13 |
| HIGH | SQL_DELETE_UNSCOPED | migrations/001_unsafe.sql:5 | DELETE statement without WHERE detected by heuristic; manual SQL review required | MS-6b2281bbf108 |
| MEDIUM | DOCKER_UNPINNED_BASE | Dockerfile:1 | Docker base image is not digest pinned; review repeatability | MS-a63ace9671fc |
| MEDIUM | NPM_NO_LOCKFILE | package.json:1 | Dependency manifest has packages but no recognized root lockfile; reproducibility needs review | MS-64aeb08bf170 |
| MEDIUM | NPM_NONREPRODUCIBLE | package.json:1 | Dependency source/version may be unstable or nonregistry; verify reproducibility | MS-a1821bcfc924 |
| MEDIUM | PYTHON_UNPINNED | requirements.txt:1 | Python dependency is not pinned to an exact version by the basic static rule | MS-5477fb6a81ef |
Not performed
- No dependency versions were resolved online
- No test commands, scripts, codemods, or database migrations were executed
- Static SQL patterns are heuristics, not dialect-complete parsing
- Static analysis cannot prove runtime compatibility or rollback safety
Plan
node-engine engine → 22 · decision REVIEW_REQUIRED
package.jsonengines.node: (unset) → 22
Prerequisites
- Check vendor-supported upgrade path and version release notes
- Confirm supported runtime and dependency graph
- Preserve verified source-control commit and backups
- Run applicable tests in a reviewed isolated environment
- Approve rollback and forward-fix playbook
Static rehearsal
STATIC_CHANGE_VERIFIED tests: NOT_RUN · rollback: DOCUMENTED_NOT_TESTED · source repo written: false
Release gate
NO_GO · human approval required
- High-severity static findings remain; separate remediation and review needed
- Required build, unit, integration and migration-specific tests have not been executed by MigraSutra
- Rollback strategy has not been independently rehearsed