Ultra Lab
← Blog

npm

4 articles about "npm".

DependabotnpmGitHubsupply chain securityAutomationopen source

Dependabot alerts across 49 repos in one night: inventory, batch fixes, verification

49 repos, 1,230 Dependabot alerts, one night: inventory and batch fixes, with critical and high confirmed at zero on GitHub for 5 public repos after merging. gh api inventory, 403 means scanning is off, baseline before fixing, no --force, overrides instead of downgrades, re-check after merge. Scripts included.

· 11 min read
GitWindowsNode.jsnpmAutomation

git worktree plus a junctioned node_modules: how we broke our shared dependencies, and how we stop it now

On Windows, if a git worktree's node_modules is a mklink /J junction back to the main checkout, git worktree remove follows the junction and empties the main copy. We hit this four times between early September and mid October. Retesting this week: it happens without --force too, and running npm ci inside the junction also empties the main copy. Includes our cleanup order and a check script.

· 12 min read
AI SecurityPrompt InjectionOpen SourcenpmDiscord

One Line to Block 92% of Prompt Injection Attacks

Our Discord AI assistant gets attacked every few days. After scanning 1,646 system prompts leaked online, we built a one-liner defense tool.

· 6 min read
AI SecurityOpen SourcePrompt InjectionLLMOWASPnpm

We Open-Sourced Our Prompt Defense Scanner: 200 Lines of Regex That Replace an LLM

Most AI security tools use LLMs to check LLMs. We built a deterministic prompt defense scanner: pure regex, under 1ms, zero cost (12 defense vectors at launch, 17 today). Here's why regex beats AI for this job, and how you can use it today.

· 11 min read

ULTRA LAB WEEKLY

Every Monday: GitHub's top 10 AI tools, plus one thing we learned

Each tool is labelled with who it suits and whether the licence allows commercial use. Stuck? Ask in our Discord.

Only used for this weekly email, never shared, one-click unsubscribe. Issues are written in Traditional Chinese.

Join Discord