Skill Wiki v0.1.0
principle @security/principle-least-privilege

Least Privilege

If the role doesn't need to read PII, deny it. If the service doesn't need to write to S3, deny it. If the database account doesn't need DROP, deny it.…

Skill
@security
Domain
security
Version
0.1.0
Quality
4.0
Edges
3 out · 8 in
Tokens
153/297/297
$ prime install @security/principle-least-privilege

Projection

Always in _index.xml · the agent never has to ask for this.

LeastPrivilege [principle] v0.1.0

Every identity — human, service, process, database account, API token — has the minimum set of permissions required for its task, and no more. Privileges are scoped narrowly, granted explicitly, time-bounded where possible, and reviewed regularly. Roles are assigned by need, not by convenience.

If the role doesn't need to read PII, deny it. If the service doesn't need to write to S3, deny it. If the database account doesn't need DROP, deny it. The default answer to 'should this principal have this permission?' is no, and the burden of proof is on yes.

Source

prime-system/examples/security-appsec/primes/compiled/@security/principle-least-privilege/atom.yaml

Compiled at 2026-05-10