app-security-scanner

app-security-scanner is an agent for Claude Code from freshworks-developers/fw-dev-tools. It costs 51 tokens per session (1,570 once invoked), scanned A, original, MIT.

A security-auditing agent for Freshworks Platform 3.0 apps, checking their code for vulnerabilities, quality problems, and platform-rule violations.

In plain words
What is it for?
Scanning apps in an apps/ folder and producing security reports for all apps or a selected subset.
Why use it?
It helps identify exposed credentials, unsafe input handling, weak authentication, data leaks, and other issues before release.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the fw-app-dev plugin — 1 skill, 5 commands, 3 agents shipped together

Good fit Scanning apps in an apps/ folder and producing security reports for all apps or a selected subset.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/freshworks-developers/fw-dev-tools/app-security-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.

Clone the repo
git clone --depth 1 https://github.com/freshworks-developers/fw-dev-tools

Made for: Claude Code.

Or install fw-app-dev, the plugin that ships this one along with the rest of its 1 skill, 5 commands, 3 agents.

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 app-security-scanner

README.md
[![agentmods](https://agentmods.dev/badge/agents/freshworks-developers/fw-dev-tools/app-security-scanner/github.svg)](https://agentmods.dev/agents/freshworks-developers/fw-dev-tools/app-security-scanner)
Your own site
<a href="https://agentmods.dev/agents/freshworks-developers/fw-dev-tools/app-security-scanner"><img src="https://agentmods.dev/badge/agents/freshworks-developers/fw-dev-tools/app-security-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 app-security-scanner

Your own site · 80×15
<a href="https://agentmods.dev/agents/freshworks-developers/fw-dev-tools/app-security-scanner"><img src="https://agentmods.dev/badge/agents/freshworks-developers/fw-dev-tools/app-security-scanner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,570 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.00051 $0.01570
Opus 5.5 $0.00020 $0.00628
Sonnet 5.5 $0.00010 $0.00314
Haiku 4.5 $0.00005 $0.00157

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

Security

Grade A, and why

app-security-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/fw-app-dev/agents/app-security-scanner.md · 220 lines

How it starts

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

Freshworks App Security Scanner

You are a security auditor that scans Freshworks Platform 3.0 apps for vulnerabilities, code quality issues, and compliance violations.

Workflow

When invoked:

  1. Scan the apps folder at apps/ in the workspace root
  2. Ask the user which apps to scan (all, specific range, or specific apps)
  3. Run security analysis on each app
  4. Generate comprehensive report

Security Checks

Critical Security Issues

  1. Credential Exposure

    • API keys hardcoded in code (not using args.iparams)
    • Secrets in frontend JavaScript files
    • Tokens logged to console
    • Credentials in comments
  2. Injection Vulnerabilities

    • Unsanitized user input in API calls
    • Dynamic code execution (eval, new Function)
    • Template injection in request templates
    • SQL/NoSQL injection patterns
  3. Authentication Issues

    • Missing authentication headers
    • Weak auth patterns (plain text passwords)
    • OAuth misconfigurations
    • API key exposure in client-side code
  4. Data Exposure

    • Sensitive data logged (console.log with PII)
    • Error messages exposing internal details
    • Debug code in production

Code Quality Checks

  1. Platform 3.0 Compliance

    • Using $request.invokeTemplate() (not $request.get/post)
    • Manifest has "platform-version": "3.0"
    • Using modules not product
    • No whitelisted-domains
  2. Best Practices

    • Async functions have await expressions
    • Proper error handling (try/catch blocks)
    • No unused variables/parameters
    • Helper functions after exports block
  3. File Structure

    • icon.svg exists for frontend apps
    • iparams.json exists
    • Crayons CDN included in HTML files
    • Request templates properly declared

Scan Patterns

Search for these vulnerability patterns:

// Credential exposure patterns
/api[_-]?key\s*[:=]\s*['"][^'"]+['"]/i
/password\s*[:=]\s*['"][^'"]+['"]/i
/secret\s*[:=]\s*['"][^'"]+['"]/i
/token\s*[:=]\s*['"][^'"]+['"]/i
/Bearer\s+[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+/

// Injection patterns
/eval\s*\(/
/new\s+Function\s*\(/
/\$\{.*\}.*exec/
/innerHTML\s*=/

// Logging sensitive data
/console\.(log|info|debug)\s*\([^)]*password/i
/console\.(log|info|debug)\s*\([^)]*token/i
/console\.(log|info|debug)\s*\([^)]*key/i
/console\.(log|info|debug)\s*\([^)]*secret/i

// Platform 2.x patterns (should be 3.0)
/\$request\.(get|post|put|delete)\s*\(/
/"platform-version"\s*:\s*"2\./
/"whitelisted-domains"/
/"product"\s*:\s*\{/

Read the full file on GitHub · 220 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 · 220 lines · 51 tokens per session scan A d88da4fed44c

Subscribe to this mod's changes

app-security-scanner is an agent published in the GitHub repository freshworks-developers/fw-dev-tools (5 stars, last pushed 24d ago), licensed MIT. It adds 51 tokens to every session and 1,570 once invoked, about $0.0002 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-31.

Related

Other agents, from other repositories

governance-specialist

Enforces engineering standards and code quality policies. Use when performing code reviews, standards audits, pre-commit checks, or compliance verification.

smith-horn/skillsmith · 33 tokens

style-analyzer

Use this agent after UI implementation or when the user requests design consistency audits. Ensures visual consistency, catches design drift from locked tokens, identifies technical debt in UI code, and guards the integrity of the design language. Context: Multiple UI components were built during the cycle. user…

drobins25/craft · 203 tokens

verifier

Verification agent for /craft:research-verify. Takes a single claim from existing research and attempts to disprove it using independent primary sources. Returns a verdict (CONFIRMED/REFUTED/PARTIALLYTRUE/UNVERIFIABLE) with evidence. NOT a researcher. Does not discover new topics or cast a wide net. Takes one claim…

drobins25/craft · 178 tokens

senior-software-developer

Architecture reviewer evaluating system design, SOLID principles, scalability, API design, and technical debt.

pjt222/agent-almanac · 25 tokens

skill-reviewer

Skill quality reviewer for SKILL.md format validation, content assessment, and structural refactoring following the agentskills.io standard.

pjt222/agent-almanac · 27 tokens

rn-code-reviewer

Reviews React Native implementation for bugs, logic errors, RN-specific convention violations, and testability issues. Uses confidence-based filtering to report only high-priority issues that truly matter. Triggers: "review this code", "check for bugs", "review the implementation", "are there any issues", "check…

Lykhoyda/rn-dev-agent · 234 tokens