Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
@chapeaux/cpx-target
Advanced tools
= Chapeaux User Component
== Events
user-ready
- fires when the .user
object data is populateduser-update
- fires when the .user
object is updated== Usage
User data is always stored on the .user
property once it is
available.
=== Server-side or on-page
=== JSON Web Token
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=== Keycloak
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 IDAvailable component methods:
login()
: 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 outAvailable component properties:
token
: the Keycloak object for authenticated users=== Scripts
FAQs
Chapeaux Target Component
We found that @chapeaux/cpx-target 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.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.