
Security News
Nx npm Packages Compromised in Supply Chain Attack Leveraging AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
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.
Security News
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.