Skill Safety Pre-Scanner — Read It Before It Reads You

    by 程向阳

    1

    Your agent installs skills the way you install apps — except skills are raw code plus raw instructions, with your shell, your files, and your API keys in reach.

    $19

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Skill Safety Pre-Scanner — Read It Before It Reads You

    Example session with this skill installed

    Scan the downloaded skill-package.zip located in my Downloads folder and give me a summary of any high-risk findings.

    • Read your context and instructions
    • Compiled the safety pre-scanner

    Scanned the package against 45 rules in 6 categories and returned the verdict (SAFE, CAUTION or DANGEROUS) with every finding listed by rule, file and line number in report.md, plus summary.json for machines.

    every finding listed by rule, file and line number in report.md

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Your agent installs skills the way you install apps — except skills are raw code plus raw instructions, with your shell, your files, and your API keys in reach. The malicious ones are not subtle once somebody reads them: a curl | bash in the setup script, a quiet read of your .env, an SSH key posted to a "telemetry" endpoint, a line in the SKILL.md telling the agent not to tell you. Nobody reads them. That's the gap this tool closes.

    Skill Safety Pre-Scanner statically scans a skill package — a directory, or a .zip parsed in memory and never extracted or executed — against 45 published rules in 6 categories:

    • Dangerous commands — pipe-to-shell downloads, broad rm -rf, disk destruction, PowerShell download-and-execute, fork bombs, history wiping, npm install hooks that run before you've seen a single file.
    • Credential access — .env reads, ~/.ssh and private keys, AWS/git/npm credential stores, browser login databases, secrets pasted into URL query strings — and the combo that matters most: one file that touches credentials and talks to the network.
    • Network egress — raw-IP endpoints, webhook and bot exfil channels, plain-http calls, hosts nobody's heard of.
    • Obfuscation — eval, Function constructors, base64 blobs, escape-sequence soup: the places static review can't see into, flagged instead of forgiven.
    • Persistence & privilege — cron, systemd, scheduled tasks, registry Run keys, LaunchAgents, shell-rc appends, sudo, chmod 777, setuid.
    • Prompt injection — the package's own prose, in English and Chinese: "ignore previous instructions", "do not tell the user", system-prompt extraction, bypass-the-review wording.

    The output is evidence, not a vibe. report.md opens with the verdict — SAFE, CAUTION, or DANGEROUS — then lists every finding with its rule, file, line number, and the offending text. summary.json carries the same for machines. The exit code mirrors the verdict (0/1/2), so an install script can refuse a DANGEROUS package automatically.

    Prove it on the fixtures before you trust it. The package ships three samples: a clean CSV tool (verdict: SAFE, zero findings), a grey price checker with one raw-IP call (CAUTION, exactly one finding), and a deliberately malicious "productivity booster" that pipes curl into bash, reads .env and an SSH key, and posts them out (DANGEROUS — every plant caught by name). Run all three in demo mode, free, no key.

    Fully offline, zero dependencies. One Node.js program (Node 22+, standard library only). The target is never executed, never extracted, never phoned home about. Demo mode scans the bundled samples; a license key unlocks any directory or zip.

    Honest limits: static rules can be phrased around, and SAFE means "no rule fired", not "proven safe". This is a triage instrument that turns an hour of cold reading into five minutes of checking flagged lines — which is the difference between reading the skill and not reading it.

    Scans text files up to 1 MiB only. Static analysis cannot detect runtime-loaded code or follow highly complex obfuscation. Verdicts signify rule-matches, not mathematical proof of safety.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 9 days ago

    Software
    Node.jssecurityscannerskill-safetysupply-chainprompt-injectionstatic-analysisagent-safetyofflineaudit

    Permissions

    Terminal / Shell
    Network Access
    Read Files
    Write Files
    Environment Variables
    Listed9 days ago

    What's inside

    Creator

    程向阳

    程向阳

    9 skills on Agensi

    Frequently Asked Questions

    This scanner acts as a security gate that performs static analysis on third-party code before you run or install it, protecting your filesystem, environment variables, and private credentials from malicious intent.

    The scanner is framework-agnostic and works with any AI agent skill written in text-based formats (like JavaScript, Python, or YAML) as long as you have Node.js 22+ installed to run the utility.

    You will receive the full source code for the scanner utility, a suite of 45 deterministic security rules, and documentation for integrating the tool into your terminal or CI/CD pipelines.

    No, the scanner uses in-memory parsing and static analysis, meaning it examines the code structure without ever executing the script or extracting the zip file onto your active filesystem.

    The scanner is designed to be lightweight and fast; it typically generates a full 'report.md' and provides an exit code (0 for safe, 2 for dangerous) in under a few seconds for standard skill packages.

    While it detects common obfuscation patterns and malicious command strings, it cannot follow dynamically loaded remote code; we recommend using it as a primary defense layer alongside standard security best practices.

    New in Security

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.