New-Generation Large Models: Cybersecurity, AI Agents, and How to Evaluate Them Rationally

    This article examines how to evaluate new-generation large models beyond chat quality or public leaderboards. It covers changes in cybersecurity performance, the dual-use nature of offensive and defensive capabilities, key dimensions for assessing AI agent autonomy, the gap between code generation and production readiness, alignment boundaries, and practical metrics enterprises should use when selecting models for real workflows.

    As large models continue to improve, the industry’s focus is shifting from “Can the model answer questions?” to “Can the model complete tasks safely, stably, and controllably in real systems?” Recently released new-generation models have generated extensive discussion. Part of that discussion is not simply about parameter scale or generation quality, but about noticeable changes in cybersecurity, autonomous agent execution, and model alignment.

    If evaluation relies only on chat experience, code completion, or public leaderboards, it is difficult to fully assess a model. For enterprises, the more important questions include: Can the model discover complex vulnerabilities? Can it generate reliable patches? Can it maintain goal consistency during multi-step tasks? Will it access data beyond its authorization? If tool calls fail or the environment changes, can it stop in time and request human intervention? These factors together determine whether a model is suitable for production systems.

    1. What Improved Cybersecurity Capability Means

    According to a publicly disclosed internal cybersecurity test, under the highest reasoning setting, the previous generation of high-reasoning models achieved an exploit-task completion rate of about 31.5%. The new generation of high-reasoning models increased this to 53.5%, while another model designed more for everyday tasks and efficiency-oriented scenarios reached 50.5%.

    These results point to at least two issues.

    First, models have made clear progress in vulnerability understanding, attack-path reasoning, code semantic analysis, and tool coordination. Traditional static rules can often identify only known patterns. Complex vulnerabilities, however, frequently involve cross-file calls, abnormal state transitions, confusion around privilege boundaries, and missing input validation. If a model can understand a complete execution chain, it may identify risks that rule-based systems struggle to cover.

    Second, cybersecurity capability is spreading from high-cost specialized reasoning models to lower-cost, easier-to-deploy general-purpose models. In the past, complex offensive or defensive tasks might have required specialists to write scripts, build test environments, and perform multiple rounds of validation. Today, general-purpose models may also take on part of code auditing, vulnerability localization, and remediation suggestions. This lowers the barrier to defensive work, but it also increases the potential risk of automated attacks.

    Therefore, saying only that “the model is stronger” is incomplete. A more accurate statement is that models are gaining stronger security research and security operation capabilities. These capabilities have both defensive value and misuse risk.

    2. Offensive and Defensive Capabilities Are Two Sides of the Same Coin

    From a defensive perspective, models can be used in the following scenarios:

    1. Code security auditing
      Models can help analyze input validation, authentication, access control, sensitive data handling, and exception branches, enabling security teams to quickly locate high-risk code.

    2. Patch generation and fix validation
      A model should not only point out problems. It should also explain the root cause of a vulnerability, provide a minimal fix, and use test cases to verify whether the fix breaks existing functionality.

    3. Configuration risk checks
      In scenarios involving servers, containers, network access controls, and identity policies, models can help identify overly open ports, excessively broad permissions, and unreasonable default configurations.

    4. Security incident analysis
      Faced with large volumes of logs and alerts, models can perform preliminary attribution, correlate timelines, extract abnormal behavior, and suggest next steps for investigation.

    From an offensive perspective, however, the same capabilities could also be used for automated vulnerability discovery, malicious code generation, phishing content creation, and attack-path planning. Therefore, the stronger the security capability, the less permission governance can lag behind.

    In practical deployment, models should not directly possess unrestricted system permissions. A more reasonable approach is layered control:

    • Use read-only permissions by default;
    • Require human approval for high-risk operations;
    • Set fine-grained access scopes for files, networks, databases, and other resources;
    • Write all tool calls into audit logs;
    • Automatically block abnormal frequency, abnormal targets, and consecutive failures;
    • Strictly isolate test environments from production environments.

    A model can propose operational suggestions, but it should not naturally possess the authority to execute dangerous operations. For actions such as deleting data, modifying permissions, releasing code, or accessing sensitive information, there must be a clear authorization chain.

    3. How to Evaluate the Autonomy of AI Agents

    The difference between an AI agent and an ordinary question-answering model is that an agent can decompose goals, call tools, read environment information, and continue acting based on results. The stronger the autonomy, the higher the potential task efficiency, but errors may also be amplified continuously.

    Evaluating an AI agent cannot rely only on asking “Can it complete the task?” The following dimensions also matter.

    1. Planning capability

    Can the model break a complex goal into reasonable steps? For example, when fixing a security issue, does it first reproduce the problem, then locate the root cause, then modify the code, and finally run tests, rather than directly modifying production files?

    2. State-keeping capability

    After multiple rounds of tool calls, can the model still accurately remember the task goal, completed steps, and unresolved issues? As the context grows longer, will the model confuse different files, different environments, or different users’ states?

    3. Failure recovery capability

    In real environments, tools often time out, return empty results, or produce permission errors. A reliable agent should be able to identify the failure type and choose to retry, adjust its strategy, or request human assistance, rather than endlessly repeating the same wrong operation.

    4. Risk awareness

    Can the model recognize high-risk actions? For example, if it discovers that a command will overwrite files, that an operation involves sensitive data, or that the scope of modification exceeds the original requirement, can it proactively pause and seek confirmation?

    5. Explainability and auditability

    Every key decision should preserve the task goal, tool parameters, execution results, and final conclusion. Without complete records, autonomous behavior is difficult to accept in enterprise environments, even if the result is correct.

    A simplified agent control framework can represent this process:

    1. Receive goal
    2. ↓
    3. Decompose task
    4. ↓
    5. Assess risk and permissions
    6. ↓
    7. Call restricted tools
    8. ↓
    9. Verify execution results
    10. ↓
    11. Continue, roll back, or request human confirmation

    The steps “Assess risk and permissions” and “Verify execution results” cannot be omitted. Many incidents do not occur because the model completely misunderstands the task, but because the model executes operations that are too broad in scope without sufficient verification.

    4. Better Code Generation Does Not Guarantee Reliable Code Quality

    New-generation models can often generate more complete code, but there is still a clear gap between “being able to write code” and “being ready for production.”

    Common problems include:

    • The code runs, but does not handle boundary inputs;
    • A surface-level error is fixed, but a new permission bypass is introduced;
    • Insecure default configurations are used;
    • Exception handling is too broad, causing critical errors to be hidden;
    • Tests cover only normal flows and do not cover attack paths;
    • The code logic is correct, but does not meet the existing system’s concurrency, transaction, or audit requirements.

    Therefore, in enterprise development workflows, model-generated code should enter the standard validation pipeline rather than being merged directly. At minimum, this should include:

    1. Static checks;
    2. Unit tests;
    3. Integration tests;
    4. Security tests;
    5. Human code review;
    6. Change impact assessment;
    7. Canary release and rapid rollback when necessary.

    For security patches, it is especially important to verify two aspects: whether the fix is effective and whether business functionality is damaged. Looking only at vulnerability scan results may miss functional regressions. Looking only at business tests may also miss newly introduced security defects.

    5. Alignment Should Be Judged by Boundaries, Not Just Refusal

    Model alignment is not equivalent to simply refusing dangerous questions. A truly reliable alignment mechanism should allow a model to remain efficient in legal, beneficial, and low-risk tasks, while accurately identifying boundaries in high-risk scenarios.

    The following aspects can be observed:

    • Can it distinguish security research from actual attack requests?
    • Can it bypass existing safety constraints when a user forcibly rewrites instructions?
    • Can it leak system prompts, sensitive context, or other users’ data?
    • Can it recognize indirect instruction injection?
    • Will it treat uncertain content as fact?
    • Will it proactively state uncertainty when evidence is lacking?

    For tool-using agents, indirect instruction injection deserves special attention. For example, when a model reads a webpage, document, code comment, or ticket content, that content may contain malicious text designed to induce the model to change its goal. The model must treat external content as untrusted input, not automatically as higher-priority instructions.

    6. Enterprise Selection Should Not Focus Only on the Highest Score

    Public test scores can show a model’s capability ceiling, but they do not mean the model will perform equally well in every business scenario. When evaluating models, enterprises should build test sets that are close to their own scenarios and cover normal tasks, abnormal tasks, and adversarial tasks.

    At minimum, the following metrics should be recorded:

    • Task success rate;
    • Result accuracy;
    • High-risk misoperation rate;
    • Number of tool calls;
    • Average response latency;
    • Cost per task;
    • Human review ratio;
    • Recovery time after failure;
    • Sensitive data leakage risk;
    • Explainability of outputs.

    At the same time, the “worst case” should be included in evaluation. For example, if the model occasionally performs one serious unauthorized action, is that enough to cause unacceptable loss? If the answer is yes, then the decision to deploy should not be based only on average success rate.

    7. Conclusion: The Real Competition Is Controllable Productivity

    The progress of new-generation large models in cybersecurity and AI agents is indeed significant. They may help enterprises discover vulnerabilities faster, write remediation code, analyze security incidents, and make complex technical tasks more accessible.

    However, improved capability does not automatically mean improved safety. The more capable a model becomes, the more important permission isolation, operation auditing, human confirmation, data protection, and emergency rollback become. For developers and enterprise users, the most rational evaluation approach is not to chase a single leaderboard, but to place the model into real workflows and observe whether it can complete tasks stably within clear boundaries.

    The future evaluation system for large models should shift from “What can the model do?” to “Under what conditions can the model safely do it?” Only when capability, reliability, and controllability are present at the same time can AI agents truly become infrastructure in production systems, rather than high-scoring tools in demonstration environments.