Browse / Agent tools

adamtheturtle/hackerrank

Python library for the HackerRank for Work API

    Needs keys or hardware.Tested on 2026-11-07. From the README alone, on Linux with Haiku.

    For maintainers

    Fix your README for agents

    Paste this prompt into Claude Code, Codex, or your coding agent to fix the exact setup issue Coldpass recorded.

    Improve the README and setup experience of adamtheturtle/hackerrank so a small coding agent can install and verify it from scratch on a fresh Linux machine (Python 3, Node 22, standard tools).
    Latest Coldpass Linux status: Needs keys or hardware (an account or key, tested 2026-11-07).
    Please:
    1. List all required environment variables, keys, logins, or hardware clearly at the top of the README (and add a .env.example if env vars are needed).
    2. If possible, add a keyless local dry-run, mock, or fixture mode documented in the README so developers and agents can verify installation without live credentials.
    3. Keep install and first-use commands copy-pasteable with pinned dependencies.
    Also review the recorded check notes (known vulnerabilities) and address any unintended dependency advisories or committed sample tokens.

    Shareable status badge

    Add a live Coldpass Linux verification badge to your README.

    Coldpass status for adamtheturtle/hackerrank
    [![Coldpass status](https://coldpass.dev/badge/adamtheturtle--hackerrank.svg)](https://coldpass.dev/repo/adamtheturtle--hackerrank/)

    What we checked

    Is it safe?Review first. Found: known vulnerabilities.Each check
    • Malware: none found in the 18 Python and npm packages installed during our run (OSV malware advisories). Its declared dependencies were not checked: OSV found no pinned versions to look up.
    • Secrets in its files: none found by gitleaks.
    • Known vulnerabilities in its dependencies: 12 OSV advisories: pip 24.0 (GHSA-4xh5-x5gv-qwph); pip 24.0 (GHSA-58qw-9mgm-455v); pip 24.0 (GHSA-6vgw-5pg2-w6jp); pip 24.0 (GHSA-jp4c-xjxw-mgf9); pip 24.0 (GHSA-qwm4-qh6w-59xr); pip 24.0 (GHSA-wf93-45jw-7689); pip 24.0 (PYSEC-2026-1795); pip 24.0 (PYSEC-2026-1796); pip 24.0 (PYSEC-2026-196); pip 24.0 (PYSEC-2026-2875); pip 24.0 (PYSEC-2026-2876); pip 24.0 (PYSEC-2026-3721).
    • Lines that download and run a program: none found in its source.
    • Planted fake secret files: repo code opened none.
    • Planted fake credential: not seen in unencrypted outgoing traffic. Encrypted traffic can't be read.
    • Hosts the repo's own code contacted: www.hackerrank.com. Reached past our sandbox (answered or refused), from any program on our test machine, not only the repo: www.hackerrank.com. No reply seen, or stopped by our sandbox: none.

    From our newest run of each setup (Nov 22, 2026). A quiet run is not a safety guarantee.

    Can a small agent set it up?Not tested (Haiku, an account or key)The run

    Stuck at: Getting Started: create HackerRank(api_key=<secret>) and call the live API

    What failed: No HackerRank for Work API token supplied; live API calls cannot be verified

    Suggested fix: Provide a HackerRank for Work API token (as a guest-scoped key via the documented env/config) to replay the Getting Started and update_internal_notes claims; alternatively add a documented offline CLI or JSON-returning entry point for api_operations so its claim is replayable.

    Test history

    • Nov 7, 2026 · 4d1eac672af3 · linux / Haiku 5.5 · needs a key or login we did not have · run JSON
    Does it do what the README says?0 of 4 claims held up. A claim is one README promise we ran and checked.Evidence

    No claim held up.

    Which checks were skipped?5 checks skipped.Reasons

    Skipped checks count as neither passes nor failures.

    • api_operations() lists the documented v3 and SCIM operations: No documented CLI or JSON-serializable python_api entry point: api_operations() returns APIOperation dataclasses, which the checker cannot compare as JSON. Manual observation: it returned 76 operations (dict) in this VM; completeness was not checked against openapi.json.
    • Creating a client needs an API token: <secret> a HackerRank for Work API token; none was supplied and it must not be obtained. Observed: HackerRank() without api_key raises TypeError naming api_key; empty api_key raises httpx LocalProtocolError 'Illegal header value b'Bearer ''.
    • Note updates read current required fields and write notes: Requires a live HackerRank API token and network writes to a real question; no credentials available.
    • Update raises ValueError when required fields are absent: Requires a live HackerRank API token to read the question before the update; no credentials available.
    • Getting Started example lists tests and creates an interview: Prerequisite missing: requires a HackerRank for Work API token, which was not supplied and must not be obtained. The README snippet is a library example with no CLI argv; it was not run. Ran instead: the operation/install/credentials_error checks in probe.json.
    Needs keys, a login or a browser?Yes.Details

    credentials

    Local or hosted?Local: runs on your machineHow we tell

    From the README and the endpoint we tested.

    Is the README accurate?Yes.Deviations

    No step differed.

    What did it do when we ran it?During our run, it tried to contact 1 outside address.What we saw

    Linux / Haiku

    • During our run, python tried to contact 1 address on port 443: 23.64.245.154 (www.hackerrank.com).
    • While installing, git-remote-https looked up github.com.
    • While installing, pip, uv looked up files.pythonhosted.org, pypi.org.
    • While installing, uv looked up releases.astral.sh.
    • During our run, python looked up www.hackerrank.com.
    • We found no known-malicious packages among the 20 Python and npm packages we observed (checked against OSV malicious-package advisories).

    Linux / Luna

    • Nothing unexpected in the trace for this setup.
    • While installing, git-remote-https looked up github.com.
    • While installing, http looked up _http._tcp.archive.ubuntu.com, archive.ubuntu.com, security.ubuntu.com, a name on our local network.
    • While installing, uv looked up files.pythonhosted.org, pypi.org, releases.astral.sh.
    • We found no known-malicious packages among the 18 Python and npm packages we observed (checked against OSV malicious-package advisories).

    We found no compiled programs in its files.

    What we checked: OSV vulnerability and malware advisories for pinned dependencies, OSV malicious-package advisories for observed Python and npm packages, secret-pattern scanning (gitleaks), compiled files shipped in the repo, and the connection attempts, host name lookups, file writes and credential-file reads we traced from repo processes while we installed and ran it. Expected package-manager and cache activity is left out. Where a setup's record is missing, capped or cut short, it says so above, and these checks may not have run for it.

    What we didn't check: host names looked up by programs with their own resolver, such as Go programs; which program made a connection that got through; other UDP traffic; environment variables it read; minified JavaScript; programs packed inside archives or Git LFS; packages beyond the Python and npm inventory; or what the code is meant to do.

    A quiet run is not a safety guarantee.

    Is it maintained?MaintainedActivity

    actively maintained: last commit 0 days ago; 621 commits and 221 merged PRs in 90 days; 0 open issues, 0 open PRs; latest release 2026-11-07

    AboutStars: 0 · Forks: 0 · Contributors: 5 · Owner account since May 19, 2011Source

    Recorded GitHub repository and owner account metadata.

    LicenseSPDX: MIT · commercial use: yesSource

    From GitHub’s license detection. The repository’s license text gives the terms.

    Cost to runNeeds a key or login (name not captured)Details

    Peak guest RAM: not captured

    Guest disk change: not captured

    GPU need: not captured

    Paid service: not captured