instance-security
Skill by serac-labs
Instance Security is an agent skill for hardening a ServiceNow instance. It covers password checks, session and MFA helpers, input sanitization, security properties, audit logging and health checks. It is for ServiceNow developers and administrators.
Install instance-security
Built from the published package, never by AI.
git clone --depth 1 https://github.com/serac-labs/serac /tmp/serac && mkdir -p ~/.claude/skills && cp -r /tmp/serac/packages/skills/instance-security ~/.claude/skills/instance-securityRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/serac-labs/serac /tmp/serac && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/serac/packages/skills/instance-security ~/.gemini/antigravity-cli/skills/instance-securityAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Instance Security is an agent skill for hardening a ServiceNow instance. It gives guidance and ES5 code samples for authentication, authorization, session management, MFA, input validation, security properties and audit logging. Topics include password complexity checks, a session timeout check, an MFA challenge helper, and XSS and injection prevention.
The skill lists key tables such as sys_user, sys_security_acl and sysevent_log. It includes a securityHealthCheck function that flags issues such as a default admin password, a long session timeout and a short minimum password length. The skill names three MCP tools for reading properties, running scripts and querying tables. It is aimed at ServiceNow developers and administrators who want to review or tighten security settings. The source is licensed under Apache-2.0.
Written from the project's SKILL.md and checked against it.
What it can do
- snow_property_manageGets security properties, such as the session timeout, using action=get.
- snow_execute_scriptRuns security scripts, such as the health check, to test them.
- snow_query_tableReviews access control rules in the sys_security_acl table.
- Password strength checkValidates length and uppercase, lowercase, number and special character rules.
- Session and MFA checksChecks session age, IP changes and whether MFA is active for a user.
- Input sanitizationEncodes HTML characters and blocks script tags and event handlers in input.
- Security health checkReports issues such as a default admin password or secure cookies not enforced.
- Security event loggingWrites security events to the syslog table and queues them for monitoring.
What you need
- A ServiceNow instance
- Designed for Serac and ServiceNow development
Try asking
- Run a security health check on my ServiceNow instance.
- Check the session timeout property on this instance.
- Review active ACLs that have admin overrides enabled.
Good to know
- Code samples are marked ES5 only, with no modern JavaScript syntax.
- Table query output can be truncated unless truncate_output is set to false.
- Reading one ACL script in full requires snow_get_by_sysid, which the source points to.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: packages/skills/instance-security/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to instance-security
All alternatives →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
Compare with function_health, windows-privilege-escalation or github-actions-advanced
instance-security: common questions
Which tools does Instance Security use?
It names snow_property_manage, snow_execute_script and snow_query_table. It also mentions snow_get_by_sysid for reading one ACL script in full.
What JavaScript version does the code use?
The code samples are marked ES5 only. The best practices say to avoid modern JavaScript syntax.
What does the health check look for?
It flags a default admin password, a session timeout of 0 or over 60, a minimum password length under 12, and secure cookies not being enforced.
How do I install instance-security?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is instance-security free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is instance-security safe to use?
It scores 52 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to instance-security?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
