Skip to content
@jguard-io

jguard-io

jGuard

Capability-Based Security Framework for the JVM

Build Status Maven Central Gradle Plugin Documentation License


jGuard enables JVM applications to execute untrusted code (e.g., plugins, extensions, and embedded automation) with explicit, least-privilege access controls.

Built for JDK 21+ in the post-SecurityManager era.

Example Policy

security module com.example.myapp {
    entitle com.example.myapp.http.. to network.outbound;
    entitle com.example.myapp.io..   to fs.read(data, "**");
    entitle com.example.myapp..      to threads.create;
}

Quick Start

plugins {
    id "io.jguard.policy" version "0.2.0"
}
./gradlew runWithAgent

Resources

Documentation Getting started, policy reference, tutorials
GitHub Source code and issues
Maven Central Released artifacts
Gradle Plugin Build integration

Community

We welcome contributions! Please read our community guidelines:

License

Apache 2.0

Pinned Loading

  1. jguard jguard Public

    Sandbox untrusted plugins with declarative security policies - capability-based security for post-SecurityManager Java

    Java 2

Repositories

Showing 3 of 3 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…