
Netsuite Owasp Secure Coding
You need this when you're writing or reviewing SuiteScript and want to catch security issues before they ship. It covers the full OWASP Top 10 with actual code patterns, not just principles. You get 48 cataloged security pitfalls with bad and good examples, five-context output encoding templates, CSP header construction, file upload validation pipelines, and RESTlet hardening patterns. It's built for implementation depth, meaning you can use it during code review or when you're stuck on how to properly sanitize user input in a specific context. The auto-activation triggers are smart enough to kick in when you mention injection, XSS, auth patterns, or even when your code includes RESTlet decorators or SuiteQL queries.
- skills.sh installs
- 838
- GitHub stars
- 374
- last updated
- Aug 21, 2026
Install
$ npx -y skills add oracle/netsuite-suitecloud-sdk --skill netsuite-owasp-secure-coding --agent claude-codeInstalls into .claude/skills of the current project.
Files
OWASP Secure Coding Practices
1. Description
This skill provides implementation-depth OWASP secure coding coverage for JavaScript and SuiteScript 2.1 development. It is the primary security reference for writing, reviewing, and auditing code.
What This Skill Covers:
- Complete OWASP Top 10 (2021) mapping with code-level mitigation patterns
- 48 cataloged security pitfalls (OSCP-001 through OSCP-048) with BAD/GOOD code examples
- Platform-agnostic JavaScript security patterns applicable beyond NetSuite
- SuiteScript-specific security patterns for RESTlets, Suitelets, Client Scripts, and more
- Output encoding for five HTML contexts (body, attribute, JavaScript, URL, CSS)
- CSP header construction and deployment
- File upload/download validation pipelines
- API and RESTlet hardening patterns
- AI agent security considerations for tool-assisted development
- DRY security architecture: shared validation modules, centralized encoding, single-source configs
- A mandatory security review checklist for every code review
Relationship to Existing Security Content:
Sponsors
Details
- Repository
- github.com/oracle/netsuite-suitecloud-sdk
- Categories
- Backend & APIs, Security, AI & Agent Building
- First seen
- Jun 3, 2026