<?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: Mohammad SHEIKHI</title>
    <description>The latest articles on DEV Community by Mohammad SHEIKHI (@mohammad1sh).</description>
    <link>https://dev.to/mohammad1sh</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4075132%2Faef75dff-643c-45d6-8ced-0456820a5a5c.png</url>
      <title>DEV Community: Mohammad SHEIKHI</title>
      <link>https://dev.to/mohammad1sh</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mohammad1sh"/>
    <language>en</language>
    <item>
      <title>I scanned 4,078 AI agent packages on my own machine. Here's what I found.</title>
      <dc:creator>Mohammad SHEIKHI</dc:creator>
      <pubDate>Wed, 12 Aug 2026 17:46:54 +0000</pubDate>
      <link>https://dev.to/mohammad1sh/i-scanned-4078-ai-agent-packages-on-my-own-machine-heres-what-i-found-2ajh</link>
      <guid>https://dev.to/mohammad1sh/i-scanned-4078-ai-agent-packages-on-my-own-machine-heres-what-i-found-2ajh</guid>
      <description>&lt;p&gt;AI coding agents don't just read config — the skills, MCP servers, and rules files you install are instructions and code that run with your agent's privileges: your shell, your files, your tokens.&lt;/p&gt;

&lt;p&gt;I kept installing community skills without reading them. So I built &lt;strong&gt;agentscan&lt;/strong&gt; — think &lt;code&gt;npm audit&lt;/code&gt;, but for the stuff you install &lt;em&gt;into your coding agent&lt;/em&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 @meedo01/agentscan ./some-skill
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What it looks for
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Prompt injection&lt;/strong&gt; — "ignore previous instructions", hidden/bidi Unicode, "don't tell the user"&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Data exfiltration&lt;/strong&gt; — credential reads combined with network sends within a few lines&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dangerous commands&lt;/strong&gt; — &lt;code&gt;curl | bash&lt;/code&gt;, unscoped &lt;code&gt;rm -rf&lt;/code&gt;, reverse shells, shell-startup persistence&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;MCP tool-poisoning&lt;/strong&gt; — hidden directives in tool descriptions, exec tools on auto-approve&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Over-broad permissions&lt;/strong&gt; — &lt;code&gt;--dangerously-skip-permissions&lt;/code&gt;, wildcard tool grants&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hardcoded secrets&lt;/strong&gt; — AWS/OpenAI/GitHub/Slack keys&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Zero runtime dependencies, fully offline, runs in milliseconds. Nothing you scan leaves your machine.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I found on my own machine
&lt;/h2&gt;

&lt;p&gt;Running it over my home directory found &lt;strong&gt;4,078 agent packages&lt;/strong&gt; (skills, plugins, marketplaces):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The overwhelming majority graded &lt;strong&gt;A/A+&lt;/strong&gt; — clean.&lt;/li&gt;
&lt;li&gt;A handful had &lt;strong&gt;dozens of critical findings&lt;/strong&gt;: real &lt;code&gt;rm -rf&lt;/code&gt; and &lt;code&gt;curl | bash&lt;/code&gt; in shipped scripts, permission-bypass flags, SSH-key access. Not necessarily malicious — but exactly what you'd want to know before an agent executes them.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The hard part: false positives
&lt;/h2&gt;

&lt;p&gt;The first version flagged ~2,000 "high/critical" findings on my machine. Almost all noise. Three releases of tuning later it's ~80, and the lessons were interesting:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Documentation is not code.&lt;/strong&gt; A &lt;code&gt;curl | bash&lt;/code&gt; in a README is an example; in a shipped script it's critical. agentscan demotes danger patterns in prose to INFO.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Test fixtures are not instructions.&lt;/strong&gt; Security tools' own test files are full of scary strings.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Auth is not exfiltration.&lt;/strong&gt; Sending a Bearer token to the API it belongs to is normal; reading &lt;code&gt;~/.ssh/id_rsa&lt;/code&gt; and POSTing it to webhook.site is not. The rule now only pairs local credential-file reads with network sends.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Grade per package.&lt;/strong&gt; One risky skill shouldn't tar 4,000 clean ones with an aggregate F — &lt;code&gt;--by-package&lt;/code&gt; grades each skill/plugin separately, worst first.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx @meedo01/agentscan ~/.claude &lt;span class="nt"&gt;--by-package&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;MIT licensed: &lt;a href="https://github.com/Mohammad1sh/agentscan" rel="noopener noreferrer"&gt;https://github.com/Mohammad1sh/agentscan&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It's heuristic static analysis: treat findings as "look here", not proof — and a clean report as "no known-bad patterns", not a guarantee. Rule ideas and false-positive reports are very welcome.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>security</category>
      <category>opensource</category>
      <category>node</category>
    </item>
  </channel>
</rss>
