sc-lang-typescript

Detect TypeScript and JavaScript security anti-patterns with remediation guidance.

7|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/fatihkan/badi --skill sc-lang-typescript-fatihkan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sc-lang-typescript
Source: https://github.com/fatihkan/badi/tree/main/.claude/skills/security-check/sc-lang-typescript
Command: npx skills add https://github.com/fatihkan/badi --skill sc-lang-typescript-fatihkan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Detects TypeScript/JavaScript-specific security anti-patterns and language-idiomatic attack vectors across both browser and Node.js environments. This skill covers frontend frameworks (React, Next.js, Angular, Vue), backend frameworks (Express, Fastify, Koa, Nest), ORMs (Prisma, Drizzle, TypeORM, Sequelize), and the broader npm ecosystem.

Core Features & Use Cases

  • Comprehensive checks for prototype pollution, insecure eval/setTimeout usage, DOM-based XSS, server-side request forgery (SSRF), insecure dynamic imports, and JWT handling.
  • Automatic TS/JS security scanning across codebases with actionable remediation guidance and safe-code examples.
  • Use Case: Run this skill against a mixed frontend/backend repository to surface high-severity vulnerabilities and suggested fixes.

Quick Start

Analyze a sample TS/JS project to identify top security issues and generate a remediation plan.

Frequently Asked Questions about sc-lang-typescript

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scan a TypeScript project for security vulnerabilities?

Scanning a TypeScript project for security vulnerabilities involves running static analysis to detect anti-patterns and insecure coding practices. This skill automatically reviews TS/JS files across your codebase, providing actionable findings and safe-code examples for remediation.

What are common JavaScript security anti-patterns in frameworks like React and Express?

Common JavaScript security anti-patterns include prototype pollution, DOM-based XSS, and insecure JWT handling. The skill detects these vulnerabilities alongside SSRF and insecure dynamic imports across frontend frameworks like React and backend frameworks like Express.

Does static analysis work with both frontend and backend JavaScript ecosystems?

Yes, static analysis works with both frontend and backend JavaScript ecosystems. The skill applies to TypeScript and JavaScript projects across React, Next.js, Angular, Vue, Express, Fastify, Koa, Nest, and ORMs like Prisma and TypeORM.

How do I check my Prisma and TypeORM codebase for insecure coding practices?

To check your Prisma and TypeORM codebase for insecure coding practices, apply a comprehensive security checklist via static analysis. This surfaces language-idiomatic attack vectors and provides actionable findings for your ORM and broader npm ecosystem dependencies.

What is the best way to detect DOM-based XSS and prototype pollution in a Next.js app?

The best way to detect DOM-based XSS and prototype pollution in a Next.js app is using static analysis to scan for specific TypeScript and JavaScript anti-patterns. The skill enforces a comprehensive checklist to identify these high-severity vulnerabilities and suggest fixes.

Can I scan my Node.js backend for insecure eval and setTimeout usage?

Yes, you can scan your Node.js backend for insecure eval and setTimeout usage. The skill detects these specific insecure coding practices across browser and Node.js environments, providing actionable remediation guidance to fix the identified vulnerabilities.