A ServiceNow Code Analysis, Best Practice, and AI-Powered Developer Intelligence Application.
Security, performance, and code quality are increasingly important to ServiceNow® developers and product owners. CodeWorks.ai is a powerful static code analysis tool that detects bugs, vulnerabilities, and code smells across 256 rules and 30 artifact types using a custom-built linting engine, enhanced with Now Assist-powered AI capabilities that take remediation and insight to the next level.
CodeWorks.ai scans your applications and update sets against a comprehensive list of ServiceNow® and JavaScript best practices and coding rules. It grades every issue by impact so you can focus on urgent issues first and stop problems before they reach production. Bulk scanning lets you scan several applications in one run, and a built-in scan queue manages concurrent scans for you. Vulnerable JavaScript libraries are identified with their affected version, CVE identifier, and severity, so supply chain risk surfaces alongside your own code. AI Scan Summary analyses your scan results and produces a structured quality report, complete with executive-ready commentary and PDF export, giving stakeholders an accurate, actionable picture of application health without needing to interpret raw data.
The CW AI Insight Assistant lets you ask questions about your scan results in plain language. Ask for a digest of an entire scan, drill into a specific category or severity, or get the full picture on a single artifact. The assistant answers from your actual findings, not generic advice.
The focus has always been on fixing issues, not just finding them. CodeWorks.ai gives you the actual fix code to resolve issues, and pairs it with AI Fix Suggestions: inline, context-aware remediation guidance generated at the point of development. The inline script scanner tracks violations live as you edit, so developers confirm each fix the moment they make it, without leaving the platform.
End result? A more performant instance, a measurable reduction in technical debt, and a development workflow accelerated by AI. You always have an accurate picture of your ServiceNow® instance health, and now the intelligence to act on it faster.
Key Features
AI Scan Summary - Analyse scan results with Now Assist to produce a structured quality report with a severity breakdown, the most frequently triggered rules and a prioritised remediation plan, exportable as PDF. Batch update set summaries cover every child update set, and clean scans get an instant summary with no assists consumed.
AI Insight Assistant - Ask about any scan in plain language from the CodeWorks AI portal chat. Get a whole-scan summary, findings filtered by severity, category, rule or artifact type, or a walk through a single artifact, answered only from the scan’s validated findings.
AI Fix Suggestions - Every script saved on the platform is scanned inline, with each violation flagged on the record alongside a contextual fix suggestion, so developers correct issues before they move on.
Full Static Code Analysis - Detect bugs, vulnerabilities and code smells across 256 rules and 15 artifact types using a powerful custom linting engine.
Best Practice Scan - Validate scripts against defined ServiceNow best practice rules.
Security Configuration Checks - 29 rules review how the instance itself is configured, from Remember Me, embedded HTML and file upload restrictions to security plugins, knowledge base visibility, UI page ACLs, report sharing and cross-scope privileges, and name the value each setting should have.
Vulnerable Library Detection - Identify JavaScript libraries with known published vulnerabilities across 78 tracked libraries, reporting the affected version, CVE identifier and severity.
Bulk Scanning - Scan several applications at once. Scans run in parallel up to a configurable limit and the rest queue and start automatically, keeping the instance responsive.
Continuous - On-save and scheduled scanning give developers real-time feedback, reducing the cost of defects by finding problematic code early in your development lifecycle.
Reportable - Track every issue through Open, Confirmed, Won’t Fix, False Positive and Fixed, and auto-detect when issues are resolved on the next scan.
Actionable - Pinpoint the affected line, the rule behind it and the fix, so issues are resolved faster.
Reduce Technical Debt - Unused, customised and poorly written code increases technical debt and support cost. Estimate remediation effort and cost from configurable fix times and hourly rates, and cut those costs by finding issues sooner.
In-platform - Scan your code and partner code in your instance without sending data to third party systems.
Developer Tools - Visualise code changes over time using TimeMachine, and use the CodeWorks IDE, where violations re-evaluate live as you edit, to fix issues and perform code reviews.
Update Set Scanning - Scan an update set before it moves to the next environment, with results kept separate from application scans and Won’t Fix decisions carried to the matching application findings. Batch update sets are scanned as one run, with every child update set linked and a single completion notification.
Quality Gates - Configure optional gates that enforce a quality policy in your organisation, preventing developers from updating non-compliant scripts or records.
Product and Team Dashboards - See a breakdown of the issues on your ServiceNow instance by ServiceNow product family, and compare code quality across teams and developers.
Full View - See the latest completed scan for every application and update set in one list. Sort by any column, switch between severity and category breakdowns, and filter by application type.
Clone Preservation - Scan history, findings, status decisions, rules and configuration on a sub-production instance are kept when it is cloned from production, so teams pick up where they left off.
Initial Release: CodeWorks AI is now available on the ServiceNow Store. Key features include full static code analysis, best practice scanning, real-time on-save scanning, automated issue tracking and resolution detection, AI-powered scan summaries with PDF export, AI-driven inline fix suggestions, technical debt estimation, fully in-platform scanning with no third-party data transfer, TimeMachine and the CodeWorks IDE, update set scanning, configurable quality gates, and product and team dashboards.
Version 1.0.2: CodeWorks AI expands vulnerable JavaScript library detection to 78 tracked libraries with CVE and severity reporting, adds in-platform scan completion notifications with a direct route into the results, and brings the Installation Guide and Release Notes into the product. The CodeWorks IDE now tracks violations live as you edit, marking resolved issues and badging new ones. Scans now always close with rule failures logged, and parallel scans of the same application are prevented to protect instance performance.
Version 1.0.3: CodeWorks AI adds bulk scanning, running several application scans in parallel up to a configurable limit and queuing the rest to start automatically. This release adds support for the ServiceNow Brazil family release, updates PrismJS to 1.30.0, and aligns issue counts, filters, pagination and exports so the numbers shown always match the issues listed.
Version 1.0.4: CodeWorks AI adds 29 security configuration rules that check how the instance itself is set up, from Remember Me and file upload restrictions to security plugins, knowledge base visibility and cross-scope privileges, bringing the rule library to 256 rules. The new AI Insight Assistant answers questions about any scan in chat, using only the scan's validated findings, and Full View lists the latest scan for every application and update set in one sortable view. Scan history and findings are now kept when a sub-production instance is cloned, batch update sets are scanned as one run with every child update set linked, and Global scans on instances with large script includes now run to completion.
CodeWorks AI requires the following plugins to be active on your ServiceNow instance prior to installation:
- AI Skill Kit (sn_skill_builder) - 10.0.6
- ServiceNow Otto AI Agents (sn_aia) - 9.0.14
- ServiceNow PDF Generation Utilities (com.snc.apppdfgenerator) - 1.0.0
- AI Search (com.glide.ais) - 1.0.0
There is a Global Update Set Required as part of the application for a few artifacts created on the Global tables which are required for the application's functionality. The update set is available in the application under Installation Guide sub-module.