Repository navigation
feat(sql-server): run queries through tedious with per-call transaction guards - #11520
melodic-automation-lanes[bot] wants to merge 3 commits into
Conversation
Lane-Activity: work-resolve-issue/resolve-issue
| "test": "node --test" | ||
| }, | ||
| "dependencies": { | ||
| "@azure/identity": "4.14.1", |
There was a problem hiding this comment.
The direct pins are exact, but there is no package-lock.json or Dependabot npm entry for this plugin. The PR description says so and cites docs/contracts/on-demand-dependencies/README.md Rule 1. tedious 20.3.8 depends on @azure/identity ^4.13.1 and a wider tree, and each of those resolves to whatever is latest when the user installs. That code runs in the same process as the SQL login password (read from env) and Entra tokens. A compromised transitive release would therefore land with those credentials, and nothing in the lockfile or Dependabot flow would catch it. Add the lockfile and the Dependabot entry before the executor is relied on.
severity: SUGGESTION
claude-lane: claude-security-review
There was a problem hiding this comment.
pr-unblock / address-feedback: UNCERTAIN, left open
Evidence: plugins/sql-server/package.json:12, docs/contracts/on-demand-dependencies/README.md:29, docs/contracts/on-demand-dependencies/README.md:34
The finding holds as stated. plugins/sql-server/package.json pins @azure/identity 4.14.1 and tedious 20.3.8 exactly, but no plugins/sql-server/package-lock.json exists and .github/dependabot.yml has no npm entry for plugins/sql-server. That leaves the transitive tree unpinned and without integrity hashes. The on-demand-dependencies contract (Rule 1) requires both the committed lockfile and a Dependabot npm entry. This lane cannot make the fix. The review-thread tool refuses both plugins/sql-server/package-lock.json and .github/dependabot.yml as outside this thread's scope. Generating a correct lockfile also needs npm to resolve the dependency tree, and this unattended mode runs no commands. A person should run npm install --package-lock-only in plugins/sql-server, commit the resulting package-lock.json, and add a Dependabot npm entry for /plugins/sql-server to .github/dependabot.yml. Any installer should then use npm ci against that lockfile, per Rule 2.
|
claude-security-review reviewed No security findings in the incremental change since 39f00e9. The only changed file is
This is not a trusted-path file, a trust control, an instruction surface or a token-scope change. It is not a billing change either. No I did not re-review the other files in this PR, which were reviewed at 39f00e9. |
|
claude-review reviewed Incremental review of |
|
pr-unblock / address-feedback finished round 1 of max 4 on 1b3a0e9. |
|
The pr-unblock lane stopped
When a retry on this head can change the outcome, the lane runs one on its own, up to its per-head cap, and edits this comment if it stops again; a run that does not stop clears the status. When no retry can (a review thread the lane does not take or settle, or a failing check after the retries are spent), a person resolves the threads or gets the checks green, then dispatches the workflow below: that run finds the cause gone and clears the status. On a pull request the lanes App opened, the dispatchers start that run once per stop; on any other, a person does. A new commit to the branch starts clean. To run it again on this head now, dispatch the gh workflow run pr-unblock.yml -R melodic-software/claude-code-plugins -f pr-number=11520 -f activity=address-feedback |
|
Unattended merge: native auto-merge leaves this pull request unarmed at head |
Lane-Activity: pr-unblock/resolve-conflicts
Lane-Activity: pr-unblock/address-feedback Lane-Thread: PRRT_kwDOTCGFQM6yRJQT
|
pr-unblock / address-feedback finished round 2 of max 4 on d7443e3. |
Closes #11327
Summary
Opened by the work-resolve-issue lane. The run's own summary:
Not verified
git grep -l '"tedious"' -- 'plugins/sql-server/**/package.json'was not run: git grep is not an allowed command here. The working-tree plugins/sql-server/package.json contains "tedious": "20.3.8", which matches once committed.Fix
Verification
The runner ran each check from the base copy against 1b3a0e9:
The run reports:
Left out: the items under Not verified.
Related
#11327