Finding a potential security problem is only the beginning.
We also need to understand the evidence, determine whether our defensive controls work and verify that remediation addresses the original problem.
In the previous articles, I introduced Tarosec and explained its architecture.
This time, I want to explore its practical workflows using controlled local examples.
All examples in this article use authorized local artifacts or synthetic data. We will not perform active scanning against external systems.
Use case 1 - Reviewing application authorization
Imagine that we are developing an invoice management application.
The application allows customers to view invoices and authorized staff to process refunds.
The security requirements are straightforward:
- Customers can only access their own invoices.
- Refund operations require appropriate permissions.
- Unauthorized requests must not change application state.
We can ask Tarosec Audit to review the implementation:
$tarosec ./projectFor a more focused review:
Use Tarosec Audit to review invoice authorization.
Trace the request from the API route to the service
and repository layers.
Review the effective authorization checks and tests.
Separate confirmed findings from suspected issues.
Include evidence references and coverage limitations.
Do not modify the source code.The agent should not assume that authorization is missing simply because it cannot see a check inside the route handler.
It needs to review the effective execution path and compare the implementation with the intended business policy.
Tarosec includes an invoice authorization evaluation fixture for this type of review.
The interesting part is not whether the agent can recognize the term IDOR, or insecure direct object reference.
The interesting part is whether it can distinguish a protected resource from an unprotected resource using the actual implementation and tests.
Use case 2 - Investigating suspicious telemetry
Imagine that a security monitoring system generates an alert about unusual activity.
The alert may indicate a compromised account, an unexpected automated task or a legitimate administrative operation.
An alert alone does not tell us which explanation is correct.
Tarosec Blue can investigate supplied telemetry:
$tarosec blue ./logsWe can provide additional instructions:
Investigate the supplied authentication and activity logs.
Build a timeline of relevant observations.
Compare the alert with approved changes and
recorded job executions.
Identify alternative explanations.
Explain which additional evidence would change
the conclusion.This workflow helps distinguish suspicious activity from confirmed incidents.
It also encourages the agent to consider missing telemetry and incomplete context instead of treating every alert as a true positive.
Tarosec includes a false-positive evaluation fixture that tests this type of reasoning.
Use case 3 - Generating synthetic security evidence
Detection engineering often requires controlled datasets.
However, generating test data and proving that a detection system works are different activities.
Tarosec Simulate provides a way to generate benign synthetic event records locally.
From a Tarosec checkout, run:
python3 -B \
skills/tarosec-simulate/scripts/simulate.py \
synthetic suspicious-login \
--output ./login-reportUse a fresh output directory for the generated artifacts.
In the documented example, the simulation produces five event records.
The result is classified as Inconclusive because independent observations from a detection rule are unavailable.

This is an important distinction.
Generating suspicious-looking events does not establish that a real security control recognized those events.
A detector must produce an independently recorded observation before we can evaluate its behavior.
Synthetic fixtures are useful for testing analysis workflows, record formats and reporting logic. They are not substitutes for verified production telemetry.
Use case 4 - Validating a detection rule
Tarosec Purple focuses on defensive validation.
It compares what a security exercise expects to observe with what the supplied records actually contain.
Tarosec includes a documented synthetic example involving a process-event marker and an expected alert.
The exercise defines a 30-second detection budget.
In the baseline record, the event marker is observed, but the expected detection rule does not fire.
The classifier returns:
Detection gapThe fixture then describes a correction to the detection rule.
In the retest record, the same expected rule fires on the expected host after 12 seconds.
The classifier returns:
Detected
You can reproduce the classification from the repository:
python3 -B \
skills/tarosec-purple/scripts/classify_exercise.py \
examples/exercise.example.json \
--jsonThen classify the supplied retest:
python3 -B \
skills/tarosec-purple/scripts/classify_exercise.py \
examples/exercise.retest.json \
--jsonBoth inputs contain synthetic records.
The example demonstrates how the classification workflow distinguishes a detection gap from a successful retest. It does not establish that a deployed production detector has been tested.
Why incomplete evidence matters
Consider several possible outcomes from a defensive security exercise.
| Observation | Interpretation |
|---|---|
| The event is observed and a matching alert arrives within the expected time | Evidence supports successful detection |
| The event is observed and the rule is explicitly recorded as not firing | Evidence supports a detection gap |
| An alert appears on an unrelated host | Attribution remains uncertain |
| The exercise fails to execute | Detection effectiveness has not been established |
| The telemetry source is unhealthy | The observation pipeline cannot be trusted |
| A matching alert arrives after the time budget | Detection occurred, but the timing requirement was not met |
These situations require different engineering actions.
A detection gap may require a rule correction.
An unhealthy telemetry source may require repairing the collection pipeline.
An incomplete exercise may require a new authorized test.
Without understanding the underlying evidence, it is easy to apply the wrong remediation.
Use case 5 - Preparing a security report
Security findings are useful only when other people can understand and act on them.
Tarosec Report consolidates supplied findings, evidence, cases, exercises and simulation results.
For example:
$tarosec report ./casesA focused reporting request could be:
Prepare a technical security assessment report.
Reconcile the supplied findings and evidence IDs.
Separate confirmed findings, unsupported claims,
remediated findings and remaining gaps.
Preserve uncertainty and verification status.
Do not publish the report or expose sensitive data.
A security report should make the following information understandable:
- What was assessed.
- Which artifacts support the findings.
- What the potential impact is.
- Which remediation actions are recommended.
- Which fixes have been verified.
- What remains outside the assessment coverage.
Raw security evidence should remain in its authorized storage location.
A report intended for external publication should be reviewed separately to avoid exposing credentials, internal infrastructure details, personal information or other sensitive evidence.
Measuring whether a security skill actually helps
I do not want to evaluate Tarosec only by how professional its reports look.
A convincing report can still contain incorrect findings.
A better evaluation would compare an AI agent using Tarosec with the same agent working without the skill.
Both configurations should receive identical assessment tasks and evidence.
For each case, we can examine finding correctness, false positives, missed findings, evidence accuracy, authorization compliance and whether the agent correctly recognizes uncertainty.
Repeated runs are also useful because AI-generated results may vary between executions.
These evaluations can help identify weak instructions, unclear workflow boundaries and missing validation rules.
The goal is to improve the actual security assessment process, not simply the appearance of its output.
What Tarosec does not do
The current Tarosec release focuses on local assessment, supplied security artifacts, benign simulation and defensive validation.
It does not perform live exploitation, active network scanning or automated production security exercises.
It also does not guarantee that every vulnerability will be discovered.
Security coverage depends on the available artifacts, the agent's capabilities, the selected workflow and the quality of independent verification.
These limitations should be visible rather than hidden behind a confident report.
Conclusion
Security engineering is not a single activity.
We assess systems, investigate observations, validate defensive controls, apply improvements and verify the results.
Tarosec explores how AI coding agents can participate in that process using structured workflows and evidence-driven conclusions.
The project is still evolving, but its central principle remains simple:
A security conclusion should never be stronger than the evidence that supports it.
If you want to experiment with these workflows, Tarosec is available on GitHub and Agensi.


