
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
github.com/datasektionen/ldap-proxy
Proxies lookups to KTH's ldap server allowing us to access it from servers not physically located at KTH and translates it to a nice(?) REST api returning JSON. Not exposed to the internet.
Also does a few sanity checks and logs warnings when data is not as expected.
Send a GET request to /user
including either kthid
or ug_kthid
in the query string.
Unless there are any errors, the response will have Content-Type
set to
application/json
. Example response body:
{"kthid":"turetek","ug_kthid":"u1jwkms6","first_name":"Ture","family_name":"Teknokrat"}
If there is an error Content-Type
will not be set. An error message will be
sent in the body as text. If no user is found the status code will be 404
. If
the request is invalid the status code will be 400
. If something else goes
wrong the sttus code will be 500
.
ssh -L3389:ldap.kth.se:389 mjukglass -N
LISTEN_ADDRESS=:3000 LDAP_URL="ldap://localhost:3389" go run .
FAQs
Unknown package
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
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.