<?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>Forem: Nithin D J</title>
    <description>The latest articles on Forem by Nithin D J (@nithindj192).</description>
    <link>https://forem.com/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>Forem: Nithin D J</title>
      <link>https://forem.com/nithindj192</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/nithindj192"/>
    <language>en</language>
    <item>
      <title>guard-install now scans GitHub repos before you run them</title>
      <dc:creator>Nithin D J</dc:creator>
      <pubDate>Mon, 04 May 2026 04:20:34 +0000</pubDate>
      <link>https://forem.com/nithindj192/guard-install-now-scans-github-repos-before-you-run-them-21me</link>
      <guid>https://forem.com/nithindj192/guard-install-now-scans-github-repos-before-you-run-them-21me</guid>
      <description>&lt;p&gt;Hey everyone,&lt;/p&gt;

&lt;p&gt;I shared this earlier as a CLI to analyse npm packages before installing.&lt;/p&gt;

&lt;p&gt;Since then, I’ve added something I think is even more useful:&lt;/p&gt;

&lt;p&gt;👉 &lt;strong&gt;You can now scan GitHub repos before cloning or running them&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx guard-install &lt;span class="nt"&gt;--repo&lt;/span&gt; https://github.com/user/repo
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  Why this matters
&lt;/h3&gt;

&lt;p&gt;There’s a growing pattern (especially in crypto interviews / side projects):&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“Clone this repo and run it locally”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Some of these repos:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;access environment variables&lt;/li&gt;
&lt;li&gt;interact with wallets / keys&lt;/li&gt;
&lt;li&gt;make outbound network calls&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You don’t always notice what’s happening before you run the code.&lt;/p&gt;




&lt;h3&gt;
  
  
  What the repo scan does
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Scans files (without executing anything)&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Detects:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;sensitive data patterns (PRIVATE_KEY, MNEMONIC)&lt;/li&gt;
&lt;li&gt;crypto/wallet usage&lt;/li&gt;
&lt;li&gt;network calls&lt;/li&gt;
&lt;li&gt;shell execution&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;&lt;p&gt;Combines signals → gives a &lt;strong&gt;risk level (LOW / MEDIUM / HIGH)&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;&lt;p&gt;Explains &lt;em&gt;why&lt;/em&gt; something might need review&lt;/p&gt;&lt;/li&gt;

&lt;/ul&gt;




&lt;h3&gt;
  
  
  Example
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;🔐 Sensitive data patterns found
💰 Cryptocurrency functionality
🌐 Network activity detected

Risk: MEDIUM — Sensitive domain with multiple relevant signals
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  Links
&lt;/h3&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;br&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;br&gt;
DEV.to: &lt;a href="https://dev.to/nithindj192/npm-installs-packages-blindly-i-built-a-cli-to-fix-that-1dd"&gt;https://dev.to/nithindj192/npm-installs-packages-blindly-i-built-a-cli-to-fix-that-1dd&lt;/a&gt; &lt;/p&gt;




&lt;p&gt;Still early, but getting more practical now.&lt;/p&gt;

&lt;p&gt;Would love feedback on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Are these signals useful or noisy?&lt;/li&gt;
&lt;li&gt;What would make you trust a HIGH risk warning?&lt;/li&gt;
&lt;li&gt;Would you use this before running unknown repos?&lt;/li&gt;
&lt;/ul&gt;

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

</description>
      <category>npm</category>
      <category>node</category>
      <category>riskanalysis</category>
    </item>
    <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://forem.com/nithindj192/npm-installs-packages-blindly-i-built-a-cli-to-fix-that-1dd</link>
      <guid>https://forem.com/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>
