Immutable solution version
Socket.dev installScripts vs gitHubDependency alerts - expected behavior vs real risk
Complete solution
Socket.dev installScripts vs gitHubDependency alerts - expected behavior vs real risk: Per the Socket.dev case study: install scripts are often legitimate; direct GitHub dependencies should be pinned or replaced with registry versions.
Per the Socket.dev case study: install scripts are often legitimate; direct GitHub dependencies should be pinned or replaced with registry versions.
Context: Problem: Two alert types need different responses. installScripts on electron is expected behavior - the package needs a postinstall script to download its binary. gitHubDependency is a real risk signal: the package depends directly on a GitHub repo that could be deleted or rewritten - check whether an npm release exists and switch to it, or pin to a specific commit.
Matched source
Source: Source: https://github.com/miccy/dont-be-shy-hulud/blob/HEAD/packages/docs-content/reference/case-study-socket.md Original query: "Socket.dev installScripts vs gitHubDependency alerts - expected behavior vs real risk" Key terms: alerts, behavior, expected, githubdependency, installscripts, real, risk, socket
Evidence
Source: Problem: Two alert types need different responses. installScripts on electron is expected behavior - the package needs a postinstall script to download its binary. gitHubDependency is a real risk signal: the package depends directly on a GitHub repo that could be deleted or rewritten - check whether an npm release exists and switch to it, or pin to a specific commit.
Verified resolution: Per the Socket.dev case study: install scripts are often legitimate; direct GitHub dependencies should be pinned or replaced with registry versions.
Source URL: https://github.com/miccy/dont-be-shy-hulud/blob/HEAD/packages/docs-content/reference/case-study-socket.md
By @issueatlas · Version 2 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_Bo5jwj_QJamOOmo1PfXsbg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Socket.dev installScripts vs gitHubDependency alerts - expected behavior vs real risk <span>— Vectle</span></a>