SafeAI Code Scanner

SafeAI Code Scanner is a skill for Claude Code, Codex from datht-work/safeai-global-agent. It costs 28 tokens per session (1,626 once invoked), scanned A, original, MIT.

A security and compliance checker for code produced with AI, sometimes called vibe coding. It looks for vulnerabilities, missing safeguards, fake dependencies, exposed secrets, and overly broad permissions.

In plain words
What is it for?
Use it to inspect AI-written code before release and check areas such as dependencies, secrets, encryption, logging, web security, and access permissions.
Why use it?
AI-generated code can appear to work while containing unsafe defaults, invented packages, hardcoded secrets, or missing required controls.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to inspect AI-written code before release and check areas such as dependencies, secrets, encryption, logging, web security, and access permissions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/datht-work/safeai-global-agent/safeai-code-scanner
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.

Any agent
npx skills add datht-work/safeai-global-agent --skill safeai-code-scanner
Clone the repo
git clone --depth 1 https://github.com/datht-work/safeai-global-agent

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 SafeAI Code Scanner

README.md
[![agentmods](https://agentmods.dev/badge/skills/datht-work/safeai-global-agent/safeai-code-scanner/github.svg)](https://agentmods.dev/skills/datht-work/safeai-global-agent/safeai-code-scanner)
Your own site
<a href="https://agentmods.dev/skills/datht-work/safeai-global-agent/safeai-code-scanner"><img src="https://agentmods.dev/badge/skills/datht-work/safeai-global-agent/safeai-code-scanner/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for SafeAI Code Scanner

Your own site · 80×15
<a href="https://agentmods.dev/skills/datht-work/safeai-global-agent/safeai-code-scanner"><img src="https://agentmods.dev/badge/skills/datht-work/safeai-global-agent/safeai-code-scanner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,626 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original 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.1 $0.00028 $0.01626
Opus 5.5 $0.00011 $0.00650
Sonnet 5.5 $0.00006 $0.00325
Haiku 4.5 $0.00003 $0.00163

Measured 1mo ago against content hash d9fc604b6803, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

SafeAI Code Scanner scanned grade A with 0 findings 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 1mo ago.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/safeai-code-scanner/SKILL.md · 156 lines

How it starts

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

SafeAI Code Scanner — System Instructions

You are a Senior Security Engineer at SafeAI-Global, specialized in auditing AI-generated code (Vibe Coding). Your mission is to identify security vulnerabilities, compliance gaps, and AI hallucinations in source code before it reaches production.


🛡️ Vibe Coding Safety Layer

"Vibe Coding" often prioritizes speed and functionality over security. You must audit code against these specific AI-induced risks:

Risk Category What to Look For Mitigation Action
Ghost Dependencies Usage of non-existent or "dummy" packages (hallucinations). Verify package existence; suggest trusted alternatives.
Template Secrets Hardcoded API keys, YOUR_SECRET_HERE, placeholders. Identify and flag for environment variable extraction.
Insecure Defaults allow_all CORS, disabled SSL, weak hashing (md5). Suggest "SafeAI-Hardened" configurations.
Compliance Drift Missing PRD-mandated controls (e.g., encryption, logging). Map code logic back to knowledge/ regulations.
Permission Bloat IAM policies with * or Admin access. Recommend Principle of Least Privilege (PoLP).

Agile Delivery: /safeai export jira & /safeai export confluence (v4.0.0)

Turn any generated PRD into actionable engineering tickets or Confluence wiki pages.

Command Syntax:

  • /safeai export jira: Converts the current PRD into structured Jira Epics, Tasks, and User Stories. Includes BDD/Gherkin syntax (Given/When/Then) for Acceptance Criteria.
  • /safeai export confluence: Formats the PRD into a corporate Wiki-friendly layout with structured tables, info-panels, and expand/collapse sections.

Behavior: When these commands are invoked, do not regenerate the entire PRD. Output only the specific requested format, ensuring all compliance and security constraints from the PRD are strictly preserved in the tickets or wiki structure.


DevSecOps Infrastructure: /safeai export opa & /safeai export terraform (v4.1.0)

Read the full file on GitHub · 156 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. 1mo ago First seen · 156 lines · 28 tokens per session scan A d9fc604b6803

Subscribe to this mod's changes

SafeAI Code Scanner is a skill published in the GitHub repository datht-work/safeai-global-agent (16 stars, last pushed 2mo ago), licensed MIT. It adds 28 tokens to every session and 1,626 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

integrating-sast-into-github-actions-pipeline

This skill covers integrating Static Application Security Testing (SAST) tools—CodeQL and Semgrep—into GitHub Actions CI/CD pipelines. It addresses configuring automated code scanning on pull requests and pushes, tuning rules to reduce false positives, uploading SARIF results to GitHub Advanced Security, and…

adriannoes/awesome-agentic-ai · 84 tokens

performing-sca-dependency-scanning-with-snyk

This skill covers implementing Software Composition Analysis (SCA) using Snyk to detect vulnerable open-source dependencies in CI/CD pipelines. It addresses scanning package manifests and lockfiles, automated fix pull request generation, license compliance checking, continuous monitoring of deployed applications, and…

adriannoes/awesome-agentic-ai · 77 tokens

performing-soc2-type2-audit-preparation

Automates SOC 2 Type II audit preparation including gap assessment against AICPA Trust Services Criteria (CC1-CC9), evidence collection from cloud providers and identity systems, control testing validation, remediation tracking, and continuous compliance monitoring. Covers all five TSC categories (Security…

adriannoes/awesome-agentic-ai · 112 tokens

securing-github-actions-workflows

This skill covers hardening GitHub Actions workflows against supply chain attacks, credential theft, and privilege escalation. It addresses pinning actions to SHA digests, minimizing GITHUBTOKEN permissions, protecting secrets from exfiltration, preventing script injection in workflow expressions, and implementing…

adriannoes/awesome-agentic-ai · 68 tokens

implementing-code-signing-for-artifacts

This skill covers implementing code signing for build artifacts to ensure integrity and authenticity throughout the software supply chain. It addresses signing binaries, packages, and containers using GPG, Sigstore, and platform-specific signing tools, establishing trust chains, and verifying signatures in deployment…

adriannoes/awesome-agentic-ai · 62 tokens

integrating-dast-with-owasp-zap-in-pipeline

This skill covers integrating OWASP ZAP (Zed Attack Proxy) for Dynamic Application Security Testing in CI/CD pipelines. It addresses configuring baseline, full, and API scans against running applications, interpreting ZAP findings, tuning scan policies, and establishing DAST quality gates in GitHub Actions and GitLab…

adriannoes/awesome-agentic-ai · 76 tokens