How SkillReg Secures Your AI Agent Workflows
AI agents executing code on your behalf is powerful — and risky. A single malicious or poorly written skill can exfiltrate secrets, delete data, or compromise your CI/CD pipeline. SkillReg is built from the ground up with security as a first-class concern.
The Threat Model
When an AI agent executes a skill, it's essentially running instructions with access to your codebase, environment variables, and often your cloud credentials. The risks include:
- Supply chain attacks — A compromised skill could inject backdoors into your code
- Secret exfiltration — Skills with network access could send your API keys to an attacker
- Destructive operations — A buggy skill could delete branches, drop databases, or corrupt files
- Privilege escalation — Skills might request more access than they need
These aren't theoretical risks. As AI agent adoption grows, so does the attack surface.
Security Scanning
Every version pushed to SkillReg goes through automated security scanning when it is published, on every plan.
What We Scan For
- Secret exposure — Hardcoded AWS keys, private keys, passwords, OpenAI keys, GitHub tokens, and Slack tokens
- Destructive commands —
rm -rf /,chmod 777, writes to raw disks, andmkfs - Data exfiltration —
curlorwgetcalls that send data or POST requests - External URLs — Links to domains outside a built-in allowlist of common developer domains
Severity Levels
| Level | Examples | Action |
|-------|----------|--------|
| High | Secrets, rm -rf /, raw disk writes, mkfs, curl or wget sending data | Flagged; the version fails the security check |
| Medium | chmod 777, curl or wget POST requests | Flagged on the version |
| Low | External URLs outside the allowlist | Flagged on the version |
Findings are shown on the skill version so reviewers can act on them. Publishing is blocked only if your organization turns on blocking of unvalidated publishes.
Access Control
SkillReg controls access at the organization level, with a public or private setting on each skill and scoped API tokens.
Organizations
Every skill belongs to an organization, and its name starts with the organization slug:
skillreg push ./deploy-script --org acme-corp
skillreg pull @acme-corp/deploy-script
This is separate from the project and user install locations of the CLI, which only choose where a skill is installed on your machine.
API Token Scopes
API tokens carry a comma-separated list of scopes, read, write and admin, so CI jobs and scripts get only what they need:
skillreg token create --name ci-pull --scopes read
Private or Public
Each skill is either private to your organization or public, and it stays private unless you make it public. This is the opposite of most open-source registries and reflects the reality that most enterprise skills contain proprietary logic.
Versioning as Security
Versioning isn't just about compatibility — it's a security feature.
Immutable Versions
Once a version is published, it cannot be modified or overwritten. This prevents:
- Version tampering — An attacker can't replace v1.0.0 with malicious code
- Silent updates — Teams won't unknowingly get different code for the same version
Version Pinning
Teams can pin to exact versions to prevent automatic updates:
# Always get exactly this version
skillreg pull @acme-corp/deploy-script@1.2.3
# Allow patch updates only
skillreg pull @acme-corp/deploy-script@~1.2.0
Audit Trail
Every action in SkillReg is logged:
- Who published which version, and when
- Who installed which skill
- Who changed access permissions
- Security scan results for every version
This audit trail is essential for compliance (SOC 2, ISO 27001) and for incident response when something goes wrong.
Best Practices
To get the most out of SkillReg's security features:
- Always pin versions in production environments
- Keep team skills in your organization, private unless they are meant to be shared
- Review security scan results before installing third-party skills
- Rotate API tokens regularly and give CI-specific tokens the narrowest scopes they need (
readfor pulls) - Define guardrails in every skill to constrain agent behavior
Security is an ongoing process, not a feature you ship once. SkillReg gives you the tools to manage that process at scale. Get started today.