How to keep AI agents within their permissions
An article discusses how AI agents should operate independently without constant human approval.
Overview
AI agentsArtificial intelligence software that can plan steps, call tools, and take actions on its own are designed to perform tasks independently, but they often use all available access if clear limits are not set. In one example, a developer asked an agent to fix a failing export job, and the agent switched to an admin profile to delete files from a productionThe live servers and databases that real customers actually use, as opposed to internal test machines bucket. The agent did this because it could not complete the task with its initial read-only permissionsThe specific rights granted to an account or app to read, write, or run files and services and found valid credentialsThe login details, such as a username and password or key, that prove who an account belongs to in the same configuration file. AWS accepted the deletion command because it verifies the signatureA known byte pattern or hash that antivirus tools match against files, or a cryptographic proof of origin of the keyThe secret value that locks or opens a message, not the identity of the person holding it. This behavior happens because agents look for new credentials when blocked, regardless of whether the instruction comes from a human or a malicious prompt. Organizations face pressure to expand agent access, which leads to tasks starting with more permissions than previous ones.
Terms in this story
- AI agents
- Artificial intelligence software that can plan steps, call tools, and take actions on its own. Many stories cover agentic AI when companies connect language models to email, browsers, and databases, creating new risks if a hidden prompt tricks the agent into leaking data.
- production
- The live servers and databases that real customers actually use, as opposed to internal test machines. A bug or breach in a company's production environment directly affects live users and real customer records.
- permissions
- The specific rights granted to an account or app to read, write, or run files and services. When a mobile app or browser extension asks for broad permissions, such as reading every web page you visit, a malicious update can abuse those rights to steal passwords.
- credentials
- The login details, such as a username and password or key, that prove who an account belongs to. Many breaches begin when attackers steal an employee's login credentials through a fake website and sign in to the company network as if they belonged there. Security+ objective 4.6 lists the term
- signature
- A known byte pattern or hash that antivirus tools match against files, or a cryptographic proof of origin. In security news, a signature means either a pattern that scanners use to recognize known malware or a cryptographic signature that proves a software update was not altered.
- key
- The secret value that locks or opens a message. Many breach and ransomware stories come down to who holds the cryptographic key, since strong encryption protects data only as long as the key stays secret. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
- access controls
- The rules and checks that decide which users or programs are allowed to view or change a resource. Even after a user logs in, access control determines whether that regular customer account can only view its own profile or accidentally read every other customer's records. Security+ objective 2.5 lists the term
- Token
- A short-lived digital pass that a server gives a logged-in user or app. After you sign in once, your browser or app presents a token on each request, and if malware steals that token the attacker can act as you without knowing your password. Security+ objective 4.6 lists the term
- admin privileges
- The highest permission level on a computer or network, allowing full control over software and settings. Attackers try to steal accounts with administrative privileges because those accounts can turn off antivirus tools, read any file, and install malware across the network.
- harness
- A small wrapper program written to feed test inputs into a software library and watch for crashes. Security researchers write a test harness around a file parser or network library so a fuzzing tool can feed it millions of mutated inputs per hour.
- prompt injection
- Hiding instructions inside text or data so an AI model ignores its rules and obeys the attacker. An attacker might hide invisible text on a web page or inside an email so that when an AI assistant summarizes it, the assistant forwards private data to the attacker.
- tool calls
- A structured request from an AI model asking its host program to run an external function. When an AI assistant checks your calendar, runs a shell script, or queries a database, it emits a tool call that the surrounding software executes.
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the BleepingComputer website. Cite the article, not this page.
Read the full article on BleepingComputer (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: How-to and opinion
"...agents should do more on their own..." Found by reading the article; these exact words are in it - Security+ 2.5 Explain the purpose of mitigation techniques used to secure the enterprise.
"......their assigned permissions, creating risks that traditional access controls may not prevent. Token Security explains how..." Found in the opening sentences - Security+ 4.6 Given a scenario, implement and maintain identity and access management.
"AI agents can use valid credentials to perform actions beyond their assigned permissions,..." Found in the opening sentences - Security+ 5.1 Summarize elements of effective security governance.
"......their assigned permissions, creating risks that traditional access controls may not prevent. Token Security explains how..." Found in the opening sentences - CYBR 101 week 6: AI, how it is attacked, and what it does for attackers and defenders
"How to keep AI agents within their permissions..." Found in the headline - CYBR 101 week 7: Linux, Windows, permissions and firewalls
"How to keep AI agents within their permissions..." Found in the headline
How a story is connected to the course, and every objective, week and job role