FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
We Shipped Our Passwords to npm (And Built a System So It Never Happens Again)
How-ToDevOps

We Shipped Our Passwords to npm (And Built a System So It Never Happens Again)

via Dev.to DevOpsArthur Palyan9h ago

We build The Nervous System - an MCP server that enforces behavioral guardrails on LLM agents. It has security audit tools built in. It scans for exposed secrets, hardcoded paths, and misconfigurations. Then we published it to npm with our passwords in the source code. How It Happened The Nervous System has 18 tools. One of them is security_audit - it scans project files for leaked credentials, open ports, and config mistakes. It works great. But it scans the user's files. It never scans itself . During development on our VPS, internal references to family data directories, hardcoded /root/ paths, and personal naming conventions crept into the codebase. The security audit caught none of it because we never pointed it at its own source. The Fix: pre_publish_audit We wrote a tool that scans the Nervous System's own source before every npm publish . Here's the actual implementation: function runPrePublishAudit ( sourceFile ) { const findings = []; const file = sourceFile || __filename ; c

Continue reading on Dev.to DevOps

Opens in a new tab

Read Full Article
2 views

Related Articles

Concurrency vs. Parallelism, Processes vs. Threads, Building Thread-Safe Systems
How-To

Concurrency vs. Parallelism, Processes vs. Threads, Building Thread-Safe Systems

Medium Programming • 8h ago

Prompt Caching Economics: When 90% Savings Becomes a Trap
How-To

Prompt Caching Economics: When 90% Savings Becomes a Trap

Medium Programming • 9h ago

How Claude Code’s new voice mode makes you more productive as a developer
How-To

How Claude Code’s new voice mode makes you more productive as a developer

Medium Programming • 10h ago

I Built a Visual Pathfinding Tool to Understand Uninformed Search Algorithms. Here’s What I Learned
How-To

I Built a Visual Pathfinding Tool to Understand Uninformed Search Algorithms. Here’s What I Learned

Medium Programming • 12h ago

Stop Writing Go Like It’s 2017: 15 Modern Patterns You Should Be Using
How-To

Stop Writing Go Like It’s 2017: 15 Modern Patterns You Should Be Using

Medium Programming • 12h ago

Discover More Articles