Works with the AI Agents you already use

    TrustMe - Security Kit for AI Agents

    by Khang Chu Gia

    1

    Scan a skill before you install it (skillscan), catch quiet edits to your agent's files after (signed baseline, sandbox detonate, auto-restore), and re-sign only with a code shown on your PC screen.

    Free

    Security scanned
    TrustMe - Security Kit for AI Agents

    TrustMe - Security Kit for AI Agents

    Example session with this skill installed

    I downloaded a new skill with a script called evil.js. Run it through file-guard detonate before I trust it, and tell me if my agent is protected.

    • Read your context and instructions
    • Compiled the trustme - security

    I ran the script in file-guard's sandbox (no network, read-only container, decoy secrets). Real output:

    HIGH RISK   evil.js  (node, exit 1)  [read-sensitive, network, network-dns, read-env, spawn]
          read-sensitive: /home/sandbox/.ssh/id_rsa
          network: "evil.example"
          network-dns: evil.example
          read-env: OPENAI_API_KEY
          spawn: echo hi
    

    Verdict

    BehaviourSeenMeaning
    Read a private key fileyes (decoy)tries to steal credentials
    Connect to evil.exampleyestries to send data out (blocked: no network)
    Read API key variablesyes (decoy)harvests secrets
    Spawned a programyesruns commands

    A harmless script (print 1+1) gives: no risky behaviour seen.

    Health check of your agent (doctor):

    [OK]   Baseline signed: your core files are watched.
    [OK]   Key fingerprint is pinned.
    [OK]   Encrypted backup is recent.
    [OK]   Log anchor sent recently.
    [OK]   Independent watchdog is scheduled.
    [OK]   Container runtime found: detonate can test new scripts safely.
    [OK]   Audit log chain is intact.
    

    Next steps

    1. Do NOT install evil.js.
    2. For skills you do trust, run node scripts/file-guard.mjs rebaseline --dir <workspace> --reason "approved skill X".
    3. Remember: one clean run is evidence, not proof.

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

    About this skill

    New in v3.6.2: fewer false alarms in skillscan. On Anthropic's official skills repo the verdict went from BLOCK (12 HIGH) to REVIEW (0 HIGH); planted malware is still blocked. Large documentation-heavy repos can still raise false alarms: read each finding.

    v3.6.1: now free (source also on GitHub: github.com/cgk28/file-guard); fixed a false alarm in the new yara-lite rules.

    v3.6: the re-sign approval code is shown only on your PC screen and never sent to Telegram, so whoever controls your Telegram cannot approve (3-minute code). skillscan gains a structure scan (JS/Python), yara-lite signatures and dependency checks (typosquats, git/URL deps, OSV.dev with --online), and every report lists what was NOT checked. README has a threat model: malware with Administrator/SYSTEM on the same PC is still not stopped.

    v3.5: skillscan reads a skill folder, zip or GitHub link before you install it and answers CLEAN / REVIEW / BLOCK with plain reasons. On Windows the optional SYSTEM signer keeps the signing key where your own account cannot read it.

    Your agent obeys SOUL.md, AGENTS.md, memory, skills, hooks and config. If anything (or a prompt injection) quietly edits them, the agent follows the new instructions and you never know. file-guard is the wall around those files.

    What you get

    • Signed baseline (Ed25519) of core files, skills, hooks, MCP and config, including config outside the workspace. The agent can check it but cannot quietly rewrite it.
    • Scan that sees through tricks: invisible Unicode, instruction-override phrases, secret exfiltration, encoded commands, also after deobfuscation (shell tricks like c${u}rl, UTF-16 files, base64 payloads, files up to 4 MB).
    • Detonate: run a new or changed script inside a throw-away container (no network, read-only, capped) with decoy secrets and see what it TRIES to read, connect to or run. Needs podman or docker.
    • Exact diff + auto-restore: shows the changed lines, restores the signed copy, keeps the tampered file as evidence.
    • Tamper-evident log with daily external anchor: deleting or rewriting history is detected.
    • Independent watchdog (Windows scheduled task, cron on Linux) that checks even when the agent is off and alerts once per problem on your own channel.
    • Encrypted backups (AES-256-GCM) with a restore drill.
    • doctor: plain-language green/red health report with the command to fix each red line.
    • One-command install, zero dependencies (Node 18+).

    Honest limits

    Tested on Windows and Linux (Debian container); macOS code paths are written but NOT tested. Default mode seals the signing secret with the OS, which stops tampering by anything except an agent that is already fully hijacked; the optional owner-held mode covers that. The content scan is heuristic and detonate is one run with default arguments: "nothing seen" is evidence, not proof. It detects and restores; it does not stop reads.

    Why automatic scanners may flag it

    A tool that protects secrets has to name them (decoy values are marked FG-CANARY, none are real). Nothing leaves the machine except through an optional notifier script you provide. The two .mjs files are short and readable.

    Install

    node scripts/file-guard.mjs install --dir <agent workspace> then node scripts/file-guard.mjs doctor --dir <agent workspace>

    Heuristic content scanning may miss novel injections. Tier 0 is vulnerable to hijacked agents with OS access. node_modules and .git are not covered. Requires Docker/Podman for detonate mode.

    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

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 11 days ago

    • Free with an Agensi account

    Software
    Node.js 18+Python

    Permissions

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

    What's inside

    Frequently Asked Questions

    A prompt is only a request to the model, and an injection can override it. file-guard is code that runs outside the model: it hashes your core files against a baseline signed with a key the agent cannot quietly rewrite, shows the exact changed lines, scans them, and can restore the signed copy (check --restore 1), keeping the tampered file as evidence.

    Node.js 18+ is required. Windows is fully tested including the scheduled watchdog; Linux is tested in a Debian container; macOS code paths are written but NOT tested yet, so treat macOS as unverified.

    On the next check the new files show up as NEW with a content scan (invisible Unicode, override phrases, encoded commands, obfuscation). Before you approve them, run detonate on any script: it executes it in a network-less container with decoy secrets and reports what it tries to read, connect to or run. After you approve, rebaseline signs them in. One run with default arguments is evidence, not proof.

    You get the file-guard skill: scripts (file-guard.mjs, detonate.mjs, detonate-rules.json, setup.ps1, watch.ps1), the SKILL.md and README. One command installs it; doctor gives a plain-language health report. The scheduled watchdog script is for Windows; on Linux/macOS you add a cron or launchd job.

    It detects and restores; it does not stop the agent from reading files. In default mode the signing secret is sealed by the OS, which does not defend against an agent that is already fully hijacked. For that, use the optional owner-held mode (setup.ps1 -Auto): you hold the passphrase and keep the key file off the machine. The content scan is heuristic and can miss novel attacks.

    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.

    Free