Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
A client for the Copenhagen University LDAP service.
Add this line to your application's Gemfile:
gem 'ku-ldap'
And then execute:
$ bundle
Or install it yourself as:
$ gem install ku-ldap
Find a user by ID:
KU::LDAP.user 'abc123'
Search for users with an attribute matching a given string:
KU::LDAP.users :givenname, 'foo'
The matcher is an optional argument (default :contains
):
KU::LDAP.users :givenname, 'oo', :ends
Available matchers:
:begins, :contains, :ends, :eq
Find and authenticate a user by ID and password:
KU::LDAP.authenticate 'abc123', 'password'
User metadata:
user = KU::LDAP.user 'abc123'
user.id
user.first_name
user.last_name
user.full_name
user.title
user.primary_institution
user.department
user.email
user.primary_group
user.groups
user.group_ids
Find a group by name:
KU::LDAP.group 'foo'
Search for groups with an attribute containing a given string:
KU::LDAP.groups :description, 'foo'
Or, with an alternate matcher:
KU::LDAP.groups :description, 'foo', :begins
Group metadata:
group = KU::LDAP.group 'foo'
group.id
group.description
group.primary_institution
group.members
Group membership:
group.member? 'abc123'
git checkout -b my-new-feature
)git commit -am 'Added some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that ku-ldap demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.