ctxlint@0.28.3
CAUTION· startup onlyPublisher claims: "Enables linting AI agent context files, MCP server configs, and session data against the actual codebase to catch broken paths, stale commands, contradictions, and secrets. It supports CI, pre-commit, CLI, and agent integration workflows with auto-fix and token-awareness." Observed in sandbox: no network, touches nothing outside the project, writes no memory.
Coverage
Startup only; authenticated tool behavior not tested.- Tested
- server startup over stdio (initialize sent) · every file read, file written and host contacted by what ran
- Not tested
- the tool list (the server exited before answering) · what the tools do when called with real credentials
What this means for the label: Caution here covers what ran. The server's tools were not exercised with a real credential, so nothing about their behavior is asserted; the credential summary below says what to do with that.
Behavior
In our sandbox run on 2026-11-23, [email protected] read no files and called no hosts, and its code names 12 environment variables. Coverage: startup only.
Files read
None recorded.
Hosts called
None recorded.
Environment variables its code names
CLAUDE_CONFIG_DIR, CLINE_MCP_SETTINGS_PATH, CODEX_HOME, CTXLINT_ALLOW_STALE_OAM, CTXLINT_RUNTIME, CTXLINT_SKIP_OAM_VERIFY, DEFAULT_TOKEN_THRESHOLDS, GH_TOKEN, GITHUB_TOKEN, OAM_BIN, OAM_INSTALL_DIR, VERIFY_OAM_FLOOR_TIMEOUT_MS
Names only, read from the code. We never hold a value.
Tools offered
No tool list recorded.
Changes since the prior version
No prior version with a result to compare.
What we did not test
- the tool list (the server exited before answering)
- what the tools do when called with real credentials
| Run date | 2026-11-23 |
| Coverage | startup only |
| Engine | 1.9.2, script@linux |
| Reproduce | npx -y vet-skills try ctxlint |
| This record | behavior.json, behavior.md, signed attestation |
This is a record of what one version did in the runs we made. It is evidence, not a certificate.
Before you give it your token
- It will ask for
DEFAULT_TOKEN_THRESHOLDSGH_TOKENGITHUB_TOKENConfiguration, not credentials: CLAUDE_CONFIG_DIR, CLINE_MCP_SETTINGS_PATH, CODEX_HOME, CTXLINT_ALLOW_STALE_OAM, CTXLINT_RUNTIME, CTXLINT_SKIP_OAM_VERIFY, OAM_BIN, OAM_INSTALL_DIR, VERIFY_OAM_FLOOR_TIMEOUT_MS- Where it talks to
- no vendor host named in the codeAlso oamjs.org, claude.com, oasis-open.org, githubusercontent.com — not the publisher's domain; check what for before connecting.
- What we saw when it ran
- no credential files read · no network
- What we could not test
- the tool list (the server exited before answering) · what the tools do when called with real credentials
Connect it with a scoped credential, under the guard, and read the third-party hosts first. The code names oamjs.org, claude.com, oasis-open.org, githubusercontent.com as well as its own vendor. The guard injects DEFAULT_TOKEN_THRESHOLDS, GH_TOKEN, GITHUB_TOKEN only into requests to the host you bind (and its subdomains) and refuses the rest.
Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.
Is [email protected] safe to install?
KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios; startup only; authenticated tool behavior not tested) on 2026-11-23 and scored it 55/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; URL with embedded credentials. Summary: no network, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 20 s · 2 scenarios · 0 deviationsStatic findings
// own secrets store (Hub / local .env), not this shell's process.env, soFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* tree. A CLAUDE.md symlinked to ~/.ssh/config or /etc/passwd wouldFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* (`https://u:pa/ss@host`) cannot split the userinfo and leak half of it.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* A `?`/`#` inside an unencoded password (`https://u:pa?ss@host`) looksFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.ctxlint-ignore-next-line pathsFix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.ctxlint-ignore-next-lineFix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.// signals: child.kill IGNORES the name and calls TerminateProcess -- anFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.// immediate hard kill (verified: a child with a SIGTERM handler never runsFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.// child, so on Windows the timer below is the only kill we issue.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.// SARIF output gives fix values, so --fix-dry-run cannot leak what --formatFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.if (ch === ' ' || ch === '\t' || ch === '\n' || ch === '\r' || ch === '') continue;Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.ctxlint-ignore-next-line paths/not-foundFix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.ctxlint-ignore-line paths tokensFix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.* `npx netlify deploy --prod` is denied by the prefix `npx netlify deploy`;Fix: Pin versions and sources; vendor anything fetched at install time.`entry: npx --yes @yawlabs/ctxlint@${PKG.version} --strict`,Fix: Pin versions and sources; vendor anything fetched at install time.// months after `ctxlint init` ran. A bare `npx @yawlabs/ctxlint` wouldFix: Pin versions and sources; vendor anything fetched at install time.// automation token in ~/.npmrc with a 2FA-bound session and the nextFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* A non-comment `npx [-y|--yes] @yawlabs/ctxlint[@x.y.z] <args>` hook line.Fix: Pin versions and sources; vendor anything fetched at install time.// kill the watcher. Surface the error and keep the previousFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.console.log('Added --yes to the ctxlint hook command so npx never prompts to install.');Fix: Pin versions and sources; vendor anything fetched at install time.// Detect the actual hook commands (non-comment `npx @yawlabs/ctxlint`Fix: Pin versions and sources; vendor anything fetched at install time.label: 'npx entry pin (@yawlabs/[email protected])',Fix: Pin versions and sources; vendor anything fetched at install time.// Already-installed detection matches the actual `npx @yawlabs/ctxlint`Fix: Pin versions and sources; vendor anything fetched at install time.* `npx`, so `npx -y @scope/typo` skipped validation entirely (the `-y` wasFix: Pin versions and sources; vendor anything fetched at install time.* entries are tool matchers (`Bash(npx netlify deploy:*)`); we unwrap theFix: Pin versions and sources; vendor anything fetched at install time.it('runs npx with --yes so the hook never prompts to install', () => {Fix: Pin versions and sources; vendor anything fetched at install time.// script/shorthand/npx branches, this one is gated on a parsed package.json;Fix: Pin versions and sources; vendor anything fetched at install time.expect(content).toContain(`npx --yes @yawlabs/ctxlint@${VERSION} --strict`);Fix: Pin versions and sources; vendor anything fetched at install time."GITHUB_TOKEN": "ghp_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghij",Fix: Never read or enumerate credential locations; accept a documented environment variable instead.* on commented-out notes ("<!-- we used to run `npx old-tool` here -->").Fix: Pin versions and sources; vendor anything fetched at install time.expect(matches!.length).toBeLessThanOrEqual(2); // the npx command has it once, shebang comment onceFix: Pin versions and sources; vendor anything fetched at install time.expect(releaseSh).toMatch(/npx tsc --noEmit/);Fix: Pin versions and sources; vendor anything fetched at install time.return `npx --yes @yawlabs/ctxlint@${VERSION} --strict${arg}`;Fix: Pin versions and sources; vendor anything fetched at install time.Cost to the agent
Tokens estimated at four characters each. The tool list is re-read by the agent on every turn, so it is the number to compare between servers that do the same job: ranked across the index.
Known vulnerabilities
Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.
What would make this Verified
25 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- Text that tells the agent to ignore its instructions≈ +9 on the totalDelete phrases like "ignore previous instructions", "override", "bypass" from SKILL.md and tool descriptions. Describe what the skill does; do not instruct the agent about other rules.
- Unclaimed publisher≈ +8 on the totalClaim yawlabs: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
- Hidden instructions≈ +6 on the totalRemove HTML comments, zero-width characters and white-on-white text that carry instructions. Everything the agent is meant to read should be visible to the person reading the file.
- 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.
- URL with embedded credentials≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
- Destructive file system command detected≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.