workstation-security

workstation-security is a skill for Claude Code, Codex from navikt/copilot. It costs 41 tokens per session (3,640 once invoked), scanned D, original, MIT.

A security audit for macOS computers used for development. It checks system protections, SSH, Git, secrets, network settings, and Nav platform tools.

In plain words
What is it for?
Use it to review firewall, stealth mode, FileVault, System Integrity Protection, Gatekeeper, software updates, and other listed developer-machine safeguards. It produces a findings report and summary table.
Why use it?
It brings risky or missing workstation settings into one review instead of requiring separate checks. Each finding includes a severity and a suggested fix.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument; $skill-name invocation.

Good fit Use it to review firewall, stealth mode, FileVault, System Integrity Protection, Gatekeeper, software updates, and other listed developer-machine safeguards. It produces a findings report and summary table.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/navikt/copilot/workstation-security
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.

Any agent
npx skills add navikt/copilot --skill workstation-security
Clone the repo
git clone --depth 1 https://github.com/navikt/copilot

Made for: Claude Code, Codex.

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 workstation-security

README.md
[![agentmods](https://agentmods.dev/badge/skills/navikt/copilot/workstation-security/github.svg)](https://agentmods.dev/skills/navikt/copilot/workstation-security)
Your own site
<a href="https://agentmods.dev/skills/navikt/copilot/workstation-security"><img src="https://agentmods.dev/badge/skills/navikt/copilot/workstation-security/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 workstation-security

Your own site · 80×15
<a href="https://agentmods.dev/skills/navikt/copilot/workstation-security"><img src="https://agentmods.dev/badge/skills/navikt/copilot/workstation-security.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,640 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 5 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.00041 $0.03640
Opus 5.5 $0.00016 $0.01456
Sonnet 5.5 $0.00008 $0.00728
Haiku 4.5 $0.00004 $0.00364

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

Security

Grade D, and why

workstation-security scanned grade D with 5 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 2mo 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.

Enumerates the file system for secretsmediumData exfiltration

Searching home directories for .env, .ssh, .aws or credential files is reconnaissance for credential theft.

find ~/.config/gcloud ~/.aws ~/.azure -name "*.json" -o -name "credentials" 2>/dev/null | \

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Asks for rootlowPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

| Stealth mode | on | `sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setstealthmode on` | MEDIUM |

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Reaches for credential filesmediumPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

~/.config/gh/hosts.yml ~/.aws/credentials ~/.azure/accessTokens.json \

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Downloads and executes remote codemediumSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

4. Remote code execution patterns — `curl | bash` in profiles (**MEDIUM**):

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

4. Remote code execution patterns — `curl | bash` in profiles (**MEDIUM**):
skills/workstation-security/SKILL.md · 328 lines

How it starts

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

Workstation Security Audit

Run these checks with run_in_terminal or bash. Report every finding with a severity (CRITICAL / HIGH / MEDIUM / INFO / PASS) and a concrete fix. Summarize results in a table at the end.

1. macOS System Security

/usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate 2>/dev/null
/usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode 2>/dev/null
fdesetup status 2>/dev/null
csrutil status 2>/dev/null
spctl --status 2>/dev/null
Check Expected If failing Severity
Firewall enabled System Settings → Network → Firewall HIGH
Stealth mode on sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setstealthmode on MEDIUM
FileVault On System Settings → Privacy & Security → FileVault CRITICAL
SIP enabled Boot Recovery → csrutil enable CRITICAL
Gatekeeper assessments enabled System Settings → Privacy & Security → Allow apps from App Store and identified developers HIGH

Additional OS Hardening

  1. Automatic security updates — must be enabled:

    softwareupdate --schedule 2>/dev/null
    defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticallyInstallMacOSUpdates 2>/dev/null
    defaults read /Library/Preferences/com.apple.SoftwareUpdate CriticalUpdateInstall 2>/dev/null
    defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticDownload 2>/dev/null
    

    CriticalUpdateInstall and AutomaticDownload should return 1. If not → MEDIUM. Fix: System Settings → General → Software Update → Automatic Updates.

  2. Screen lock — must require password immediately:

    sysadminctl -screenLock status 2>/dev/null
    

    If not immediate → MEDIUM. Fix: System Settings → Lock Screen → Require password immediately.

  3. Remote Login (SSH server) — should be off unless needed (requires admin):

    sudo systemsetup -getremotelogin 2>/dev/null || echo "Requires admin — check System Settings → General → Sharing → Remote Login"
    

    If "On" → MEDIUM. Fix: System Settings → General → Sharing → disable Remote Login.

Read the full file on GitHub · 328 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago Changed · +4 lines b302aa86a0e3
  2. 2mo ago Changed 56f5848884ca
  3. 3mo ago First seen · 324 lines · 41 tokens per session scan D f3cd4b414201

Subscribe to this mod's changes

workstation-security is a skill published in the GitHub repository navikt/copilot (65 stars, last pushed today), licensed MIT. It adds 41 tokens to every session and 3,640 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it D with 5 findings (enumerates the file system for secrets, asks for root, reaches for credential files). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

workstation-security compared with skills from other repositories

workstation-security next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
workstation-securitynavikt/copilotSkill65todayMITD41Claude Code, Codex
skill-guideAndyElessar/skillsSkill27d agononeA102Claude Code
plugin-creatorAndyElessar/skillsSkill27d agononeA181Claude Code
csharp-source-generatorAndyElessar/skillsSkill27d agononeA112Claude Code
prose-guideAndyElessar/skillsSkill27d agononeA162Claude Code
agents-creatorAndyElessar/skillsSkill27d agononeC150Claude Code
cf-clicloudflare/skillsSkill3.5k5d agoApache-2.0A78Claude Code