فینورا پرو - سامانه جامع حسابداری و صدور فاکتور
docs(holoo): confirm six public procedures contain persistent DML
Davood Mehraban committed
Nov 22, 2026 at 22:24 UTC
e4f48b10e91aa48585ac7481cae6eb972432463c
2 files changed
+34
docs/holoo-lab-public-execute-body-review.md
new
+24
@@ -0,0 +1,24 @@
1
+# LAB public EXECUTE: body-level review — 2026-11-22
2
+
3
+Status: **NO-GO**. Evidence gathered by read-only `SELECT` from `sys.objects` and `sys.sql_modules` on `ARAM\TNC` / `HolooBackup_050808_LAB_20261110`. No procedure was invoked.
4
+
5
+## Direct mutations found in procedure bodies
6
+
7
+- `dbo.dt_adduserobject`: `INSERT dbo.dtproperties`, `UPDATE dbo.dtproperties`.
8
+- `dbo.dt_adduserobject_vcs`: `INSERT dbo.dtproperties`, `UPDATE dbo.dtproperties`.
9
+- `dbo.dt_droppropertiesbyid`: `DELETE FROM dbo.dtproperties`.
10
+- `dbo.dt_dropuserobjectbyid`: `DELETE FROM dbo.dtproperties`.
11
+- `dbo.dt_setpropertybyid`: `UPDATE dbo.dtproperties`, `INSERT dbo.dtproperties`.
12
+- `dbo.dt_setpropertybyid_u`: `UPDATE dbo.dtproperties`, `INSERT dbo.dtproperties`; also calls `dbo.dt_generateansiname`.
13
+
14
+## External or indirect operations requiring manual review
15
+
16
+- `dbo.dt_checkoutobject`: references `master.dbo.sp_OACreate`, `sp_OAMethod`, `sp_OAGetProperty`; invokes `dbo.dt_getpropertiesbyid_vcs`; creates a temporary table. Potential external COM operations; no successful execution has been demonstrated.
17
+- `dbo.dt_isundersourcecontrol`: references the same `sp_OA*` family and `dbo.dt_getpropertiesbyid_vcs`; inserts into a temporary table. This is not evidence of direct persistent-table mutation by this procedure, but is an additional external-call security review item.
18
+
19
+## Interpretation and next gate
20
+
21
+- Six of the eight prioritized public-EXECUTE procedures contain **confirmed persistent-table DML statements** in their definitions. This is a stronger finding than a keyword scan, but does not establish that a future limited account can successfully execute them.
22
+- Existing `public` INSERT/UPDATE/DELETE grants on `dbo.dtproperties` are a separate direct-permission risk.
23
+- Do not declare the proposed identity database-wide read-only or enable production writes. Require an approved isolated principal test, full effective-permission assessment, and review of remaining public EXECUTE procedures and nested calls.
24
+- No SQL data, login, permission, or service changes were performed.
tests/holoo-lab-public-execute-body-review.test.mjs
new
+10
@@ -0,0 +1,10 @@
1
+import test from 'node:test';
2
+import assert from 'node:assert/strict';
3
+import {readFileSync} from 'node:fs';
4
+import {fileURLToPath} from 'node:url';
5
+const file=fileURLToPath(new URL('../docs/holoo-lab-public-execute-body-review.md',import.meta.url));
6
+test('body review records six persistent DML procedures and two external-call cases',()=>{
7
+ const s=readFileSync(file,'utf8');
8
+ for(const n of ['dt_adduserobject','dt_adduserobject_vcs','dt_droppropertiesbyid','dt_dropuserobjectbyid','dt_setpropertybyid','dt_setpropertybyid_u','dt_checkoutobject','dt_isundersourcecontrol','sp_OACreate','NO-GO']) assert.ok(s.includes(n),n);
9
+ assert.match(s,/No procedure was invoked/);
10
+});