
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@chapeaux/cpx-keycloak
Advanced tools
token-ready
- fires when the .user
object data is populateduser-update
- fires when the .user
object is updatedUser data is always stored on the .user
property once it is available.
```html
<cpx-user>
<script type="data">
{
"name": "Test User",
"email": "test123@test123.com"
}
</script>
</cpx-user>
```
Requires that jwt_decode
library be available globally.
Available component properties:
jwt-cookie
: sets the cookie to parse for JWT datajwt-token
: sets the JWT token to parse for data```html
<cpx-user jwt-cookie="SOME_JWT_COOKIE_NAME"></cpx-user>
```
```html
<cpx-user jwt-token="SOMEJWTENCODEDSTRING"></cpx-user>
```
Requires keycloak.js
to be available, and the following attributes to be set
with the appropriate values:
kc-url
- the Keycloak server urlkc-realm
- the Keycloak realmkc-client-id
- the Keycloak client IDlogin()
: log in using the Keycloak configlogout()
: log out using the Keycloak configregister()
: send user to registration screen based on Keycloak configaccount()
: send user to account management screen based on Keycloak configtoken.createLoginUrl()
: creates URL to direct user to login screentoken.createLogoutUrl()
: creates URL to log user outtoken
: the Keycloak object for authenticated users```html
<cpx-user kc-url="https://test123.com/auth" kc-realm="your-realm" kc-client-id="your-client-id"></cpx-user>
```
FAQs
Chapeaux Keycloak Component
We found that @chapeaux/cpx-keycloak demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.