Analyzing Security logo

Analyzing Security

Community
telagod
analyzing-security

Scans code for security vulnerabilities, detects dangerous patterns, and ensures security decisions are documented. Use when running security scans, auditing code, or checking for OWASP issues, injection risks, or sensitive data leaks. Automatically triggered on new modules, security-related changes, or post-refactor.

Overview

Publishertelagod
Repositorycode-abyss
Skill nameanalyzing-security
Stars
242
Forks
33
Bundled files
3
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 3 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by telagod on GitHub. Read the source before you install it.

Installation

Install the Analyzing Security AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/telagod/code-abyss/tree/main/skills/analyzing-security
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/telagod/code-abyss.git /tmp/code-abyss
mkdir -p .claude/skills
cp -r /tmp/code-abyss/skills/analyzing-security .claude/skills/analyzing-security
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Analyzing Security in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Analyzing Security on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Analyzing Security is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

安全校验关卡

判断先于执行:决定「是否做 / 选什么 / 如何取舍」(栈、方案、架构、权衡)前,先读领域判断内核 skills/_kernel/security/SKILL.md——它管 judgment,本秘典管 execution;冲突时以内核判断为准。

自动化扫描捕捉模式,但严重度判定与处置取决于上下文——sink、信任边界、补偿控制。

何时使用

场景必跑理由
新模块落地✅引入新攻击面
安全相关变更✅直接触及威胁面
重构完成✅防止重构引入退化
提交前(含敏感数据/外部输入处理)✅最后一道闸
攻防任务交付✅验收前自检
仅文档/样式改动❌无攻击面变化

何时不使用

  • 依赖更新(用 SCA 工具如 npm audit、pip-audit,不是模式扫描)
  • 运行时漏洞(用 DAST,不是静态扫描)
  • 配置审计(用 CIS Benchmark 或专用工具)

解读输出

严重度(critical / high / medium / low)+ 类别(注入 / 敏感信息 / XSS / 反序列化 / 路径遍历 / SSRF / 弱加密 / 不安全随机 / 调试残留)。

必修

  • Critical(SQL 注入、命令注入、硬编码密钥、AWS Key、私钥)→ 阻断交付,无例外。
  • High(XSS、反序列化、路径遍历、SSRF)→ 修复或显式接受风险(需 DESIGN.md 留痕 + 补偿控制)。

上下文降级条件

  • Medium/Low 可在 DESIGN.md 标注「已知/已评估」后保留。判据:
    • 弱加密 MD5/SHA1 用于非安全场景(如 hash bucket)→ 可接受
    • random 用于非安全场景(如 jitter)→ 可接受
    • 调试残留在 dev-only 构建 → 可接受,prod 构建必须剔除

假阳处理

每条规则均有 excludePattern,若仍误报:

  1. 检查命中文本是否真为 sink(看上下文,不只是模式)
  2. 若确认假阳,在 DESIGN.md 记录 + 行内注释(// nosec: <规则 ID> <理由>)

与其他 skill 联动

  • 命中 critical/high → 同步触发 securing-systems 路由的对应秘典(如 SQL 注入查 pentest.md)
  • 新模块场景 → 与 verifying-modules 串行,先扫安全再校验文档
  • 变更场景 → 与 analyzing-changes 串行,先看变更范围再决定扫描深度

使用

bash
node scripts/security_scanner.js <路径>            # 默认全扫
node scripts/security_scanner.js <路径> -v         # 详细,含命中代码片段
node scripts/security_scanner.js <路径> --json     # 机读格式,供 CI
node scripts/security_scanner.js <路径> --exclude vendor,dist

完整规则矩阵、危险模式速查、误报豁免清单详见 references/rules.md。

收口

Critical/High 必修后方可交付。安全决策须于 DESIGN.md 记录:威胁模型、信任边界、已知风险、补偿控制。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Analyzing Security AI skill do?

Scans code for security vulnerabilities, detects dangerous patterns, and ensures security decisions are documented. Use when running security scans, auditing code, or checking for OWASP issues, injection risks, or sensitive data leaks. Automatically triggered on new modules, security-related changes, or post-refactor.

Why use Analyzing Security on TypingMind?

Because you install it once and use it with any model. Analyzing Security is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Analyzing Security in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/telagod/code-abyss/tree/main/skills/analyzing-security. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Analyzing Security?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Analyzing Security?

As many as you like. As long as a model supports skills, you can use Analyzing Security with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Analyzing Security AI skill free?

Yes. It is published on GitHub by telagod under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇