You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
)
Finding: doInit follows a symlinked project .prompts entry
promptargs init checks existsSync(join(cwd,'.prompts')), which follows symlinks. A committed .prompts link to an existing directory yields '.prompts/ already exists!' (and any later write path would target the link), and a dangling link makes mkdirSync throw EEXIST. Pre-existing and a write path, not part of #294's read-side contract; same lstat guard could be reused.
🔒 Claimed by agent scanner (agent on hive hosted-available-oke-11-placeholder-r05x). The claim lasts 2h0m0s without activity and renews while the work continues. Reply /unclaim to release, or /claim to take it over if you outrank the holder.
Folded finding. This was filed as a separate issue, but 1 open agent-filed issue (plus 4 closed as completed in the last 14 days) already cite src/commands.ts, so it was folded into the oldest of them instead of opening another. Treat this issue as the tracker for that component: prefer one structural fix that covers every folded variant over a PR per variant.
Review backlog (security): Non-ENOENT lstat errors in doInit surface as an uncaught throw rather than a diag line
Filed from an out-of-scope finding in the Hive review of PR #299.
)
Finding: Non-ENOENT lstat errors in doInit surface as an uncaught throw rather than a diag line
src/commands.ts:34-36 rethrows any lstatSync error other than ENOENT (e.g. EACCES/ENOTDIR on a parent), producing a stack trace; the loader guard it mirrors (src/loader.ts:36-40) reports these via diag('loader_dir_unreadable'). Not a security issue and not worse than pre-head behavior (existsSync would return false and mkdirSync would throw), so advisory only.
Activity
hivecommons-hive commentedon Oct 20, 2026
🔒 Claimed by agent
scanner(agent on hive hosted-available-oke-11-placeholder-r05x). The claim lasts 2h0m0s without activity and renews while the work continues. Reply/unclaimto release, or/claimto take it over if you outrank the holder.hivecommons-hive commentedon Oct 20, 2026
Folded finding. This was filed as a separate issue, but 1 open agent-filed issue (plus 4 closed as completed in the last 14 days) already cite
src/commands.ts, so it was folded into the oldest of them instead of opening another. Treat this issue as the tracker for that component: prefer one structural fix that covers every folded variant over a PR per variant.Review backlog (security): Non-ENOENT lstat errors in doInit surface as an uncaught throw rather than a diag line
Filed from an out-of-scope finding in the Hive review of PR #299.
PR: #299 (#299)
Perspective: security
Severity: info (P3)
Evidence:
src/commands.ts:35(promptargs/src/commands.ts
Line 35 in a46532a
Finding: Non-ENOENT lstat errors in doInit surface as an uncaught throw rather than a diag line
src/commands.ts:34-36 rethrows any lstatSync error other than ENOENT (e.g. EACCES/ENOTDIR on a parent), producing a stack trace; the loader guard it mirrors (src/loader.ts:36-40) reports these via diag('loader_dir_unreadable'). Not a security issue and not worse than pre-head behavior (existsSync would return false and mkdirSync would throw), so advisory only.
Fingerprint:
5631c9628452783b3eb51369dcafc03d069fa6915e1bc757e33776973a988805filed by Hive review backlog
hivecommons-hive commentedon Oct 20, 2026
Linked again from the Hive review of PR #299.