A library for bypassing all of Java’s security mechanisms
Narcissus is a JNI native code library that provides a small subset of the Java reflection API, while bypassing all of Java’s access/visibility checks, security manager restrictions, and module strong encapsulation enforcement, by calling methods and accessing fields through the JNI API. This allows code that relies on reflective access to non-public classes, fields, and methods to keep working even now that strong encapsulation is being enforced in JDK 16+.
Narcissus works on JDK 7+, however it is most useful for suppressing reflective access warnings in JDK 9-15, and for circumventing strong encapsulation for JDK 16+, in order to keep legacy software running (for example, when legacy software depends upon setAccessible to access a needed private field of a class in some library).
-
1
derived packages
- Links to remote Java:packages / toolfactory-narcissus
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:fstrba:maven/toolfactory-narcissus && cd $_
- Create Badge
Source Files (show merged sources derived from linked package)
Filename | Size | Changed |
---|---|---|
_link | 0000000121 121 Bytes | |
narcissus-1.0.7.tar.gz | 0001088833 1.04 MB | |
narcissus-module-info.patch | 0000001349 1.32 KB | |
toolfactory-narcissus.changes | 0000000802 802 Bytes | |
toolfactory-narcissus.spec | 0000003235 3.16 KB |
Comments 0