
Assess. Defend. Validate. Improve.
I built Tarosec because I wanted AI coding agents to approach cybersecurity tasks more systematically.
Today, AI coding agents can write application code, refactor existing systems, generate tests and review pull requests. But when we ask them to perform a security review, the quality of the result often depends on how we write the prompt.
Sometimes the agent finds a real vulnerability. Sometimes it reports a suspicious pattern without understanding the surrounding implementation. Sometimes it gives us a confident conclusion without enough evidence.
That made me interested in a different question:
Instead of teaching an AI agent more cybersecurity knowledge, can we teach it a better cybersecurity workflow?
Tarosec is my attempt to explore that idea.
Security review is more than vulnerability scanning
Imagine that you are reviewing a backend application.
The application contains authentication middleware, database queries, file uploads, API endpoints, background workers and third-party integrations.
You ask an AI coding agent:
Review this application and identify security vulnerabilities.
The agent might return a list of potential problems:
- Broken access control.
- SQL injection.
- Insecure configuration.
- Sensitive information exposure.
- Missing input validation.
These are useful starting points. However, identifying a potential problem is not the same as confirming a vulnerability.
For example, an endpoint might appear to be missing authorization. But the authorization check could exist in middleware, a service layer or a centralized policy.
Without tracing the actual execution path, the agent could report a false positive.

A useful security review should answer more than what looks suspicious.
It should explain where the problem exists, what evidence supports the finding, under which conditions it matters and how the proposed remediation can be verified.
This distinction is important because security findings can influence engineering priorities, release decisions and production changes.
What is Tarosec?
Tarosec is an offline cybersecurity skill suite for developers, security reviewers and detection engineers who use AI coding agents.
It helps agents transform source code, configuration files, assessment records, logs and telemetry into findings supported by evidence.
Tarosec is not a standalone security scanner or a new AI model. It provides structured instructions, reusable security workflows, record schemas, references and local Python helpers.
It uses the SKILL.md format, which allows compatible coding agents to discover and follow its workflows.
The project is open source under the MIT license.
Six different security workflows
Cybersecurity is a broad discipline. A source code review requires a different process from investigating suspicious logs or validating a detection rule.
Instead of combining everything into one large prompt, Tarosec separates these responsibilities into six specialist skills.

| Skill | Responsibility |
|---|---|
| Tarosec Audit | Review source code, dependencies, configuration, CI/CD and agent integrations |
| Tarosec Red | Review authorized scope, asset inventories and supplied assessment results |
| Tarosec Blue | Investigate supplied telemetry and review detection logic |
| Tarosec Purple | Validate recorded security exercises against expected observations |
| Tarosec Simulate | Generate benign synthetic fixtures or replay sanitized evidence |
| Tarosec Report | Consolidate findings, evidence, limitations and remediation status |
These skills are independently installable.
An application developer might only need Audit. A detection engineer might primarily use Blue, Purple and Simulate.
The main Tarosec skill provides a common entry point for selecting the appropriate workflow.
Why an offline-first approach?
Security assessment often involves sensitive information.
A developer may need to review private source code, internal configuration, infrastructure details, incident records or authentication logs.
Unnecessary network activity can increase the risk of exposing that information.
Tarosec therefore focuses on supplied artifacts and local processing. Its bundled assessment helpers do not make network requests.
The current release does not perform active network scanning, exploitation or production security exercises.
This does not mean that every AI agent using Tarosec operates entirely offline. A cloud-based model may still receive source code or other context through its host application.
A fully isolated environment requires additional controls, including a local model, restricted filesystem access, controlled tool permissions and network isolation.
Tarosec provides workflow guidance. The execution environment remains responsible for enforcing those boundaries.
Why not just use existing security tools?
We already have many useful tools for application security.
Semgrep can identify suspicious source code patterns. Gitleaks can detect exposed secrets. Trivy can identify security issues in dependencies, containers and configuration.
These tools solve important problems and Tarosec is not intended to replace them.
The interesting problem appears after the tools produce their results.
Someone still needs to determine whether a finding is relevant, whether the affected code is reachable, which business processes are involved and whether the issue has been fixed.
Tarosec can help an AI agent review supplied scanner reports alongside application context and supporting evidence.
Think of the scanner as a source of observations and Tarosec as a structured workflow for understanding those observations.
Getting started
You can install Tarosec using the Skills CLI:
npx skills add refactorroom/tarosecTo list the available skills:
npx skills add refactorroom/tarosec --listAfter installation, start a new session in your coding agent and request:
$tarosec ./projectFor a local project without an explicitly selected mode, Tarosec defaults to a read-only audit.
You can also ask the agent to investigate supplied logs:
$tarosec blue ./logsOr generate a controlled synthetic security fixture:
$tarosec simulate suspicious-loginThese are requests to your coding agent, not standalone terminal commands.
The deterministic Python helpers require Python 3.10 or later.
What I want to explore next
I am interested in how AI agents can become more reliable engineering assistants through structured workflows.
For cybersecurity, reliability means more than producing a technically convincing answer.
It means respecting authorization, understanding the available evidence, recognizing uncertainty, documenting limitations and separating observations from conclusions.
Tarosec is an experiment in applying these principles to AI-assisted security engineering.
It is still an early-stage project. It does not replace experienced security engineers, established security scanners or independent validation.
But it provides a foundation for exploring how AI agents can participate in security work more responsibly and consistently.
If you are interested in application security, detection engineering or AI agent skills, feel free to explore the repository and try it on your own authorized projects.


