fix-finding

fix-finding is a skill for Claude Code, Codex from NOMARJ/sigil. It costs 17 tokens per session (651 once invoked), scanned A, original, Apache-2.0.

Analyze a Sigil scan finding and propose a code fix with explanation.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/nomarj/sigil/fix-finding
Any agent
npx skills add NOMARJ/sigil --skill fix-finding
Clone the repo
git clone --depth 1 https://github.com/NOMARJ/sigil

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for fix-finding

README.md
[![agentmods](https://agentmods.dev/badge/skills/nomarj/sigil/fix-finding.svg)](https://agentmods.dev/skills/nomarj/sigil/fix-finding)
Your own site
<a href="https://agentmods.dev/skills/nomarj/sigil/fix-finding"><img src="https://agentmods.dev/badge/skills/nomarj/sigil/fix-finding.svg" alt="Measured on agentmods" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 651 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00017 $0.00651
Opus 5 $0.00009 $0.00326
Sonnet 5 $0.00003 $0.00130
Haiku 4.5 $0.00002 $0.00065

Measured today against content hash 02bd165ab1bd, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

fix-finding scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

- Replace `os.system()` with `subprocess.run()` with explicit args (no shell=True)
plugins/claude-code/skills/fix-finding/SKILL.md · 73 lines

How it starts

The opening of the file, as written. The whole thing — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Fix Security Finding

You are a security remediation assistant for Sigil findings. Given a scan finding, analyze the vulnerable code and propose a safe fix.

Input

The user will provide one of:

  • A finding from sigil scan output (phase, rule, file, line, snippet)
  • A file path and line number from a Sigil report
  • A description of the security issue

Process

  1. Locate the finding — Read the file at the specified line
  2. Understand the context — Read surrounding code to understand intent
  3. Classify the fix type based on the finding phase:

Phase 1: Install Hooks

  • Remove or audit postinstall/preinstall scripts in package.json
  • Replace cmdclass overrides in setup.py with standard setuptools
  • Flag for manual review if the hook has legitimate build logic

Phase 2: Code Patterns

  • Replace eval() with ast.literal_eval() for data parsing
  • Replace exec() with explicit function calls
  • Replace pickle.loads() with json.loads() where possible
  • Replace os.system() with subprocess.run() with explicit args (no shell=True)
  • Replace child_process.exec() with child_process.execFile() with explicit args

Phase 3: Network/Exfiltration

  • Add URL allowlisting for outbound HTTP calls
  • Replace raw socket usage with high-level HTTP libraries
  • Flag webhook URLs for review — suggest environment variable configuration

Phase 4: Credentials

  • Move hardcoded credentials to environment variables
  • Replace direct os.environ access with a configuration module
  • Remove embedded API keys and replace with config references

Phase 5: Obfuscation

  • Decode obfuscated strings and replace with plaintext equivalents
  • Replace String.fromCharCode() chains with string literals
  • Flag nested base64 for manual investigation — likely malicious

Phase 7: Prompt Injection

  • Sanitize user input before including in prompts
  • Add input validation for prompt template variables
  • Separate system instructions from user-controllable content

Read the full file on GitHub · 73 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 73 lines · 17 tokens per session scan A 02bd165ab1bd

Subscribe to this mod's changes

fix-finding is a skill published in the GitHub repository NOMARJ/sigil (5 stars, last pushed today), licensed Apache-2.0. It adds 17 tokens to every session and 651 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.

Related

Other skills, from other repositories

sftp-cc

通用 SFTP 上传工具,通过自然语言触发,将本地项目文件上传到远程服务器。支持增量上传、私钥自动绑定与权限修正。.

toohamster/sftp-cc · 41 tokens

devtools-event-client

Create typed EventClient for a library. Define event maps with typed payloads, pluginId auto-prepend namespacing, emit()/on()/onAll()/onAllPluginEvents() API. Connection lifecycle (5 retries, 300ms), event queuing, enabled/disabled state, SSR fallbacks, singleton pattern. Unique pluginId requirement to avoid event…

TanStack/devtools · 79 tokens

genbench

Run Vendo's buy-vs-build generation benchmark — generation time + accuracy of the real Vendo pipeline vs raw-Claude baselines (diy, claude-code) on JSON-defined worlds. Use when asked to benchmark generation, compare Vendo vs raw models, measure generation speed/cost, or add genbench worlds/cases.

runvendo/vendo · 70 tokens

jk

Jenkins CLI for controllers. Use when users need to manage jobs, pipelines, config.xml, runs, logs, artifacts, credentials, nodes, or queues in Jenkins. Triggers include "jenkins", "jk", "pipeline", "build", "job create", "job config", "config.xml", "run logs", "jenkins credentials", "jenkins node".

avivsinai/jenkins-cli · 78 tokens

blame

Show which regent step last modified each line of a file. Use when investigating file provenance or debugging.

regent-vcs/re_gent · 22 tokens

assess-patch-risk

Assess an immutable patch artifact's program impact, regression risk, and auto-merge eligibility. Use for generated patch files, provider pull-request diffs, or commit ranges when reviewers need evidence about affected runtime paths, contracts, tests, and recoverability. This skill is read-only and does not generate…

bex-co/bex-security · 77 tokens