Urgent.News

What's breaking now, across thousands of outlets.

Tech

Your security policy is a PDF. Your AI agent can't read PDFs.

Most companies I've seen have a security or data-handling policy that lives in a document. It gets written, reviewed, approved, filed away. It's very clear about what an employee may and may not do. Then the company gives an AI agent access to production tools, and the agent has read exactly none of it. The agent doesn't know that customer records shouldn't be exported to personal drives. It…

Many organizations create a security or data-handling policy, writing, reviewing, and approving it before storing it away. Employees are then given access to production tools, yet they have no knowledge of this policy. They are unaware of guidelines such as not exporting customer records to personal drives, or the need for double approval for refunds exceeding a certain amount.

The gap between policy and actual enforcement is significant. There is an attempt at a solution where the policy is pasted into the system prompt, but this still leaves the model with just words to respect, susceptible to prompt injection attacks. More effective would be turning the policy into checks that the agent must pass, rather than merely remembering text.

Instead of simply stating "refunds over $500 require a manager," it would become a function that the agent must call before executing a refund. Customer data being confined to the EU region would be a validation on the tool's arguments. AgentPolicy is a tool that converts company policy text into agent-callable policy checks and a compliance checklist, aligning them with EU AI Act obligations.

This generates exportable rules that can be wired into the agent's tool layer for enforcement, rather than relying on context alone. It's important to note that AgentPolicy is not legal advice; the generated checks are a starting point for review, not a finalized control set. The policy-to-rules conversion can only be as effective as the policy text provided.

A test to determine the effectiveness of such a system would involve selecting a policy sentence that the team clearly follows and asking if an AI agent, with the necessary credentials, could technically violate it. If the answer is that someone would notice in the audit logs, then it is a detection, not a prevention, and the gap between policy and enforcement should be closed before an agent can exploit it.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Permission Filters and pgvector: Why Your Most Restricted Users Get the Fewest Answers

If you build AI search over documents that not everyone may read, you filter by permission. In PostgreSQL with pgvector, that usually means a WHERE clause on the caller's groups and an ORDER BY on…

  • Iterative index scans increase query time but provide more results for limited permission users.
  • Exact index on permission column gives narrow permissions a direct path for efficient retrieval.

Cutting PR review time is an orchestration problem, not a reviewer problem

The usual answer to "how do we reduce PR review time" is to make the reviewer faster. Vendor pages recommend an AI reviewer that reads a diff in seconds and posts comments, so the bottleneck moves.

  • AI-assisted tools do not reduce PR review times significantly.
  • 15-day study in C++ codebase reveals commit saturation as bottleneck.
  • Orchestration of commits, CI jobs, and review process identified as key issues.

More from Saturday 26 September →