Skip to content

Adamthompson33/moltshield

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

23 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

MoltShield Scanner

Free AI agent security scanner. Part of the MoltCops defense ecosystem.

Quick Start

# Install dependencies
npm install

# Run development server
npm run dev

# Open http://localhost:3000

Deploy to Vercel

Deploy with Vercel

Or manually:

npm install -g vercel
vercel

Features

  • πŸ” Free Scanner β€” 20-rule security engine, runs client-side
  • πŸ›‘οΈ Badge Application β€” Founding Operative NFT application flow
  • 🎫 Waitlist β€” $MCOP token waitlist with referral mechanics

Structure

scanner-app/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ app/
β”‚   β”‚   β”œβ”€β”€ layout.tsx      # Root layout + metadata
β”‚   β”‚   β”œβ”€β”€ page.tsx        # Main page (tabs)
β”‚   β”‚   └── globals.css     # Global styles
β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”œβ”€β”€ Scanner.tsx     # MoltShield scanner
β”‚   β”‚   β”œβ”€β”€ BadgeApplication.tsx  # Founding Operative form
β”‚   β”‚   └── Waitlist.tsx    # Token waitlist + referral
β”‚   └── lib/
β”‚       └── scan-engine.ts  # 20-rule detection engine
β”œβ”€β”€ package.json
└── next.config.js

GitHub Action

Add MoltCops to your CI pipeline β€” scans every PR for agent vulnerabilities:

# .github/workflows/moltcops-scan.yml
name: MoltCops Security Scan
on:
  pull_request:
    paths: ['**/*.ts', '**/*.js', '**/*.py', '**/*.md']

permissions:
  contents: read
  pull-requests: write

jobs:
  scan:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: Adamthompson33/moltshield@main
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}
          # api-key: ${{ secrets.MOLTCOPS_PRO_KEY }}  # Optional: Pro tier
          # fail-on: CRITICAL  # Optional: block PRs with critical findings

Free tier: 10 rules β€” catches drains, sleepers, prompt injection, code injection, exfil. Pro tier: 20 rules β€” adds jailbreak, encoding tricks, context poisoning, sandbox escape, and more.

Scanner Rules

Free Tier (10 rules)

  • CRITICAL β€” Key export, drain patterns, unlimited approvals, sleeper triggers
  • HIGH β€” Prompt injection, safety removal
  • MEDIUM β€” Data exfil, stealth operations, code injection
  • LOW β€” Hardcoded addresses

Pro Tier (+10 rules)

  • CRITICAL β€” MAX_UINT256 detection
  • HIGH β€” Identity spoofing, authority bypass, jailbreaks, encoding tricks, false authority
  • MEDIUM β€” Context poisoning, sandbox escape, time/count triggers, config exposure

Pro tier available via API key ($5/month).

Links


To Protect and Serve (Humanity) 🚨

About

πŸ›‘οΈ Security scanner for AI agent skills β€” 68% contain vulnerabilities

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors