vibeward@0.8.4
CAUTION· install onlyPublisher claims: "Stops the insecure prompt before your AI agent runs it — and audits what it already shipped. A deterministic guardrail (no LLM call) for Claude Code, Cursor, Codex, Copilot, Gemini, Windsurf and opencode that catches "disable RLS" or "use the service_role" Observed in sandbox: no network, touches nothing outside the project, writes no memory.
Coverage
Bundled scripts ran with no arguments; no agent task scenario for this bundle.- Tested
- 1 of 1 bundled script run with no arguments, with decoy credentials in the environment · every file read, file written and host contacted by what ran
- Not tested
- use of the skill by an agent
What changed since 0.7.0
vet-skills diff vibeward 0.7.0 0.8.4This version reaches for something 0.7.0 did not: 2 new hosts (openrouter.ai, postgresql.org). Compared from the two recorded runs, not from source.
- New hosts
- openrouter.ai, postgresql.org
The guard can hold an update like this until someone approves it (runtime.on_change: hold). A change that only shows with a real credential, or on a path the run did not reach, is not in a trace and so not in this comparison.
Is [email protected] safe to install?
KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios; bundled scripts ran with no arguments; no agent task scenario for this bundle) on 2026-11-22 and scored it 68/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: Access to sensitive file paths; Access to sensitive file paths; Access to sensitive file paths. Summary: no network, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 0 s · 2 scenarios · 0 deviationsStatic findings
* one thing a `.env` is for not doing.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* folder scan used to tell people their `.env` "ships in the client JavaScript", which is theFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* A key in an ignored `.env` under a browser prefix (`VITE_…`). It was going to be calledFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.exploit: 'Cualquier script de la página puede leer la sesión con `document.cookie`. Con un XSS, o un script de terceros comprometido, la sesión sale del navegador y se puede reutilizar en otro lado.',Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.// Logging a key's NAME is not a leak, and .env.example is meant to be committedFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.… exploit: "Cualquier script de la p\xE1gina puede leer la sesi\xF3n con `document.cookie`. Con un XSS, o un script de terceros comprometido, la sesi\xF3n sale del naveg…Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.…join(", ")}`, exploit: "Any script on the page can read the session with `document.cookie`. One XSS \u2014 or one compromised third-party script \u2014 and the session l…Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls./** A real `.env`, where a secret belongs. */Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// A bare `curl … | sh` is deliberately not a rule here. It is the documented install commandFix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out./** What sits next to a Firebase web config, minified or not, in code or in a `.env`. */Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* is public in production however carefully the `.env` itself is ignored.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.why: 'Committing `.env` (or logging secrets) leaks every credential in it to your repo, your logs, or your users.',Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const EXFIL_TARGET = `(?:${T.secret}|${T.serviceKey}|\\.env\\b)`;Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// already language-independent. `RLS`, `service_role`, `CORS`, `.env`, `sb_secret`, `bucket`,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* fired on ordinary sentences like "Copy .env.example to .env, then start the agent" — a lineFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."- **Never commit `.env`, and never log the value of a secret.** The name is fine, the",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.risk: 'Committing or exposing the .env file',Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* is public in production however carefully the `.env` itself is ignored.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* A key in an ignored `.env` under a browser prefix (`VITE_…`). It was going to be calledFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.{ verb: 'ship', target: () => '\\.env\\b', bidirectional: false },Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."secrets committed to the repo, a checked-in `.env`, migrations creating tables without RLS,",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const ENV_FILE = /(^|[\\/])\.env(\.[\w-]+)?$/i;Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// `.env` but never `.env.example` and friends, which exist to be committed. Without theFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.exploit: `La variable tiene un prefijo de navegador, as\xED que el bundler copia el valor en el JavaScript que descarga cada visitante, aunque el .env est\xE9 ignorado. ${f.es?.exploit ?? ""}`.trim()Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.exploit: 'Any script on the page can read the session with `document.cookie`. One XSS — or one compromised third-party script — and the session leaves the browser and can be replayed elsewhere.',Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls."cannot: secrets committed to the repo, a checked-in `.env`, migrations that create tables",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.instead: 'Read it from a server-side environment variable. Keep secrets out of the repo (git-ignore `.env`) and out of any client bundle.',Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose./\b(localhost|docker[-\s]?compose|\.env\.(example|sample|template|dist)|\.gitignore|gitignore)\b/i,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.exploit: `The variable has a browser prefix, so the bundler copies the value into the JavaScript every visitor downloads, even though the .env file is ignored. ${f.exploit ?? ""}`.trim(),Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* have run `npx vibeward@latest` and always been current, but that trades the guard'sFix: Pin versions and sources; vendor anything fetched at install time.return base === '.env' || (base.startsWith('.env') && !ENV_SAFE.test(base));Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.'cannot: secrets committed to the repo, a checked-in `.env`, migrations that create tables',Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.'secrets committed to the repo, a checked-in `.env`, migrations creating tables without RLS,',Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose./** Hook timeout in seconds. A cold npx download needs far longer than a local binary. */Fix: Pin versions and sources; vendor anything fetched at install time.'npx vibeward@latest scan <folder> --json --stdout --out .vibeward/reports/vibeward-code-report.md',Fix: Pin versions and sources; vendor anything fetched at install time.const ENV_SAMPLE = /(^|[\\/])\.env\.(example|sample|template|dist|defaults)$/i;Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.return `This vibeward is ${age} old (v${VERSION}, released ${RELEASED}). The guard's rules only cover phrasings that existed then \u2014 update with \`npx vibeward@latest init\`.`;Fix: Pin versions and sources; vendor anything fetched at install time.// not re-read as an attack. That handed every attacker a kill switch: a page containing theFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.* `.env` cannot simply be skipped.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// The hook runs on every prompt the user types, which makes it the one place `npxFix: Pin versions and sources; vendor anything fetched at install time.…ren quienes tienen permiso de escritura, y en el informe de una corrida local (`npx vibeward scan .`).', pending: 'Pendientes — para ti o tu herramienta de IA', …Fix: Pin versions and sources; vendor anything fetched at install time.'npx vibeward@latest <url> --passive --json --stdout --out .vibeward/reports/vibeward-report.md --yes',Fix: Pin versions and sources; vendor anything fetched at install time.return `npx vibeward@${version} guard`;Fix: Pin versions and sources; vendor anything fetched at install time.`// ${MARK} — regenerate with \`npx vibeward@latest init\``,Fix: Pin versions and sources; vendor anything fetched at install time.const ENV_SAFE = /\.env\.(example|sample|template)$/i;Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* - `npx vibeward@latest guard` — what versions before the pin used to write.Fix: Pin versions and sources; vendor anything fetched at install time.return `npx vibeward@${version} guard`;Fix: Pin versions and sources; vendor anything fetched at install time.* have run `npx vibeward@latest` and always been current, but that trades the guard'sFix: Pin versions and sources; vendor anything fetched at install time.return `This vibeward is ${age} old (v${VERSION}, released ${RELEASED}). The guard's rules only cover phrasings that existed then — update with \`npx vibeward@latest init\`.`;Fix: Pin versions and sources; vendor anything fetched at install time."npx vibeward@latest init --scope project \\",Fix: Pin versions and sources; vendor anything fetched at install time.* pinned npx is no longer a decision anybody made — it is the only thing `init` writes. LeftFix: Pin versions and sources; vendor anything fetched at install time./** A hook that pins the guard to a version: `npx [email protected] guard`, or a local copy. */Fix: Pin versions and sources; vendor anything fetched at install time.log(`\n ${C.dim}Try it:${C.reset} ${C.cyan}npx vibeward@latest https://your-site.com --passive --yes${C.reset}\n`);Fix: Pin versions and sources; vendor anything fetched at install time.lines.push('Check that the agent acted on each one; `npx vibeward scan .` lists everything in the repo.');Fix: Pin versions and sources; vendor anything fetched at install time.log(`${C.dim}\`npx vibeward@latest init\` to raise the pin — it rewrites the hook in place.${C.reset}`);Fix: Pin versions and sources; vendor anything fetched at install time.// `npx vibeward@latest guard`. Noting it here is what tells the user their install isFix: Pin versions and sources; vendor anything fetched at install time.* - `npx vibeward@<older> guard` — a pin this tool wrote itself.Fix: Pin versions and sources; vendor anything fetched at install time.* `.env` is the correct home for a secret, so flagging every key in it would fire on the fixFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.'- **Never commit `.env`, and never log the value of a secret.** The name is fine, the',Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.'npx vibeward@latest init --scope project \\',Fix: Pin versions and sources; vendor anything fetched at install time.…hich only people with write access can open, and in the report of a local run (`npx vibeward scan .`).', pending: 'Pending — for you or your builder', files…Fix: Pin versions and sources; vendor anything fetched at install time.// A bare `curl … | sh` is deliberately not a rule here. It is the documented install commandFix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out."> npx vibeward@latest init",Fix: Pin versions and sources; vendor anything fetched at install time.* actually run. The caller then keeps the npx pin. A hook that points at something broken isFix: Pin versions and sources; vendor anything fetched at install time./** A real `.env`, as opposed to the committed sample of one. */Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// Package present, browser binaries missing (`npx playwright install`) — extremelyFix: Pin versions and sources; vendor anything fetched at install time.'> npx vibeward@latest init',Fix: Pin versions and sources; vendor anything fetched at install time.'npx vibeward@latest --version',Fix: Pin versions and sources; vendor anything fetched at install time."npx vibeward@latest --version",Fix: Pin versions and sources; vendor anything fetched at install time.// An ignored `.env` that no commit ever touched is on this machine, not in the repo.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* actually run. The caller then keeps the npx pin. A hook that points at something broken isFix: Pin versions and sources; vendor anything fetched at install time.* The npx cache directory. A `vibeward` found in there belongs to the `npx vibeward@latestFix: Pin versions and sources; vendor anything fetched at install time.log(`${C.dim}the prompt you just typed. Re-run \`npx vibeward@latest init\` to update it.${C.reset}`);Fix: Pin versions and sources; vendor anything fetched at install time.why: 'Re-run `npx vibeward@latest init` to raise the pin; it rewrites the hook in place and keeps your flags.',Fix: Pin versions and sources; vendor anything fetched at install time.> the AGENTS.md target, add `@AGENTS.md` as the first line of your `CLAUDE.md` — or just install theFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.It is a rule engine and not a model, which is the whole point: *"ignore previous instructions"*Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.why: 'Vuelve a ejecutar `npx vibeward@latest init` para subir la versión; reescribe el hook en su sitio y conserva tus opciones.',Fix: Pin versions and sources; vendor anything fetched at install time.Cost to the agent
Tokens estimated at four characters each. Skills load their instruction text when triggered; the figure is what that costs.
Known vulnerabilities
Not checked against OSV yet; the weekly check has not reached this version.
What would make this Verified
12 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- Pipe-to-shell pattern≈ +9 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
- Unclaimed publisher≈ +8 on the totalClaim jsiapodev: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
- Access to sensitive file paths≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
- document.cookie access≈ +4 on the totalReplace encoded or assembled strings with plain literals and remove undeclared network calls.
- npx invocation of non-well-known package≈ +2 on the totalPin versions and sources; vendor anything fetched at install time.
- Process kill command≈ +2 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.