<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Nithin D J</title>
    <description>The latest articles on DEV Community by Nithin D J (@nithindj192).</description>
    <link>https://dev.to/nithindj192</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3907446%2F99acb37d-6962-4f7a-ae01-25fea33e3d13.png</url>
      <title>DEV Community: Nithin D J</title>
      <link>https://dev.to/nithindj192</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/nithindj192"/>
    <language>en</language>
    <item>
      <title>npm installs packages blindly — I built a CLI to fix that</title>
      <dc:creator>Nithin D J</dc:creator>
      <pubDate>Sat, 02 May 2026 03:20:27 +0000</pubDate>
      <link>https://dev.to/nithindj192/npm-installs-packages-blindly-i-built-a-cli-to-fix-that-1dd</link>
      <guid>https://dev.to/nithindj192/npm-installs-packages-blindly-i-built-a-cli-to-fix-that-1dd</guid>
      <description>&lt;p&gt;Hey everyone,&lt;/p&gt;

&lt;p&gt;I recently built a small CLI tool called &lt;strong&gt;guard-install&lt;/strong&gt; that analyzes npm packages for potential risks &lt;em&gt;before&lt;/em&gt; installing them.&lt;/p&gt;

&lt;p&gt;👉 Try it:&lt;/p&gt;

&lt;p&gt;npx guard-install axios&lt;/p&gt;

&lt;p&gt;The idea came from noticing how npm installs packages blindly, even though supply chain attacks and malicious packages are becoming more common.&lt;/p&gt;

&lt;p&gt;What it does:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Checks package metadata (publish recency, maintainers, downloads)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Detects install scripts (postinstall / preinstall)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Scans dependencies (depth-limited)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Calculates a risk score (LOW / MEDIUM / HIGH)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Explains &lt;em&gt;why&lt;/em&gt; a package might be risky&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Installs safely using &lt;code&gt;--ignore-scripts&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Example output:&lt;/p&gt;

&lt;p&gt;(you can paste a short CLI output snippet here)&lt;/p&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/dasanakudigenithin/guard-install" rel="noopener noreferrer"&gt;https://github.com/dasanakudigenithin/guard-install&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;npm: &lt;a href="https://www.npmjs.com/package/guard-install" rel="noopener noreferrer"&gt;https://www.npmjs.com/package/guard-install&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is still early (v0.1.1), so I’d really appreciate feedback:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Is this useful?&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;What signals would you trust more?&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;What would make you actually use this daily?&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Thanks!&lt;/p&gt;

</description>
      <category>cli</category>
      <category>npm</category>
      <category>security</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
