SN Code Guardian - ServiceNow
Overview
Real-time code quality analysis for ServiceNow. Detects anti-patterns, security issues, and performance problems.
SN Code Guardian by Kiran Chitrada scans your ServiceNow scripts in real-time and flags anti-patterns, security vulnerabilities, performance issues, and JavaScript code quality problems before they reach production. 95 built-in checks across five categories: Performance (21), Security (14), Code Quality (15), Governance (10), and JavaScript Best Practices (35). Detects critical issues like current.update() in Business Rules, eval() injection risks, getRowCount() on large tables, synchronous AJAX calls, hardcoded sys_ids, hardcoded passwords/tokens/API keys, GlideRecord in client scripts, missing isLoading guards, nested N+1 queries, full table scans without filters, unfiltered updateMultiple(), and more. New in v1.2.0: expanded ServiceNow API conformance checks including chooseWindow() without setNoCount, GlideRecordSecure in Scripted REST, gs.include() deprecation, direct field assignment detection, and the setLimit()+deleteMultiple() trap. 35 JavaScript best practices checks including strict equality (=== vs ==), let/const instead of var, implicit globals, unreachable code, ES6+ compatibility in ES5 mode, Promise/async/await on server-side, deeply nested code, duplicate object keys, and more. Works on 20+ ServiceNow script types including Business Rules, Client Scripts, Script Includes, ACLs, Transform Maps, Portal Widgets, and Scripted REST APIs. Checks conform with official ServiceNow API documentation standards. Features: sidebar panel with categorized findings, export reports as JSON/CSV, configurable severity filters and 5 category toggles.
0 out of 5No ratings
Details
- Version3.0.0
- UpdatedMay 27, 2026
- Size429KiB
- LanguagesEnglish
- Developer
Email
kchitrada@gmail.com - Non-traderThis developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.
Privacy
This developer declares that your data is
- Not being sold to third parties, outside of the approved use cases
- Not being used or transferred for purposes that are unrelated to the item's core functionality
- Not being used or transferred to determine creditworthiness or for lending purposes