node-proxy-agents 0~2026111722+~cs16.2.13-1
Package Information
| Description | Node.js wrapper around http.Agent class node-agent-base provides an abstract class that must define a connect() function which is responsible for creating the underlying socket that the HTTP client requests will use. |
|---|---|
| Maintainer | Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org> |
| Changed By | Xavier Guimard <yadd@debian.org> |
| Sponsor | yadd@debian.org |
| Distribution | unstable |
| Architecture | all |
| VCS | git: https://salsa.debian.org/js-team/node-proxy-agents.git (browse) |
| Closes | #1155829 |
| Popcon Installs | 20679 |
| Binary NEW | Yes (new binary packages of a source already in sid) |
| Tracker | https://tracker.debian.org/pkg/node-proxy-agents |
| Uploaded | 1 hour ago |
New Package Report
.changes
| Version | 0~2026111722+~cs16.2.13-1 |
|---|---|
| Changed-By | Xavier Guimard <yadd@debian.org> |
| Architecture | source all |
| Distribution | unstable |
| Date | Mon, 30 Nov 2026 17:39:32 +0100 |
| Source | node-proxy-agents |
Changelog
node-proxy-agents (0~2026111722+~cs16.2.13-1) unstable; urgency=medium
.
* Team upload
* New upstream version 0~2026111722+~cs16.2.13: basic-ftp 6.2.6
(Closes: #1155829, CVE-2026-126345, CVE-2026-126346)
* Port the QuickJS usage to node-quickjs-emscripten
* Add the new proxy-agent-negotiate component
* Run the jest tests against the ES module sources
* Refresh patches
* node-https-proxy-agent Breaks node-axios (<< 1.21.0-2~)
* Make the proxy fallback test deterministic
* Update debian/copyright
* Fix the DEP-3 header of fix-test.patch
* Strip the shebang from the generated proxy.d.ts
* Extend node-args description.dsc
| Section | javascript |
|---|---|
| Priority | optional |
| Component | main |
| Package-List | node-agent-base deb javascript optional arch=all node-args deb javascript optional arch=all node-basic-ftp deb javascript optional arch=all node-data-uri-to-buffer deb javascript optional arch=all node-degenerator deb javascript optional arch=all node-get-uri deb javascript optional arch=all node-http-proxy-agent deb javascript optional arch=all node-https-proxy-agent deb javascript optional arch=all node-pac-proxy-agent deb javascript optional arch=all node-pac-resolver deb javascript optional arch=all node-proxy deb javascript optional arch=all node-proxy-agent deb javascript optional arch=all node-proxy-agent-negotiate deb javascript optional arch=all node-socks-proxy-agent deb javascript optional arch=all |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: proxy-agent
Upstream-Contact: https://github.com/TooTallNate/proxy-agents/issues
Source: https://github.com/TooTallNate/proxy-agents
https://registry.npmjs.org/@types/proxy-from-env
https://github.com/patrickjuchli/basic-ftp/tags
https://github.com/leo/args/tags
https://registry.npmjs.org/@types/args
Files: *
Copyright: 2013-2014 Nathan Rajlich <nathan@tootallnate.net> (http://n8.io/)
License: Expat
Files: args/*
Copyright: 2022 Leonard Lamprecht
License: Expat
Files: basic-ftp/*
Copyright: 2019 Patrick Juchli
License: Expat
Files: basic-ftp/src/parseListDOS.ts
basic-ftp/src/parseListUnix.ts
Copyright: 2001-2019 The Apache Software Foundation
License: Apache-2.0
Comment: derived from the Apache Commons Net FTP directory listing parsers.
The Apache Commons Net notice is shipped as basic-ftp/NOTICE.txt and
installed as /usr/share/doc/node-basic-ftp/NOTICE.txt.
Files: debian/*
Copyright: 2022 Israel Galadima <izzygaladima@gmail.com>
2023-2026 Yadd <yadd@debian.org>
License: Expat
Files: debian/tests/test_modules/async-listen/*
debian/tests/test_modules/async-retry/*
Copyright: Vercel, Inc.
License: Expat
Files: debian/tests/test_modules/ipv6/*
Copyright: 2011 Beau Gunderson
License: Expat
Files: debian/tests/test_modules/ipv6/lib/node/bigint.js
Copyright: 2003-2005 Tom Wu
License: Expat
Comment: copped from https://github.com/joyent/node/blob/master/deps/v8/benchmarks/crypto.js
Files: debian/tests/test_modules/sprintf/*
Copyright: Alexandru Marasteanu <alexaholic@gmail.com>
License: BSD-3-Clause
Files: debian/tests/test_modules/socksv5/*
Copyright: 2014 Brian White
License: Expat
Files: debian/tests/test_modules/socksv5/lib/Agents.js
Copyright: Joyent, Inc. and other Node contributors
License: Expat
Files: packages/pac-resolver/test/fixtures/gfw_whitelist.pac
Copyright: 2014 breakwa11
2006-2014 Eyeo GmbH
License: Expat and GPL-3
Comment: this file contains 2 parts:
* first: copyright 2014 breakwa11, Expat license
* second: copyright 2006-2014 Eyeo GmbH, GPL-3 license
Files: types-args/*
debian/tests/test_modules/@types/*
Copyright: Microsoft Corporation
License: Expat
License: Apache-2.0
On Debian systems, the complete text of the Apache License, version 2.0
can be found in "/usr/share/common-licenses/Apache-2.0".
License: BSD-3-Clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of sprintf() for JavaScript nor the
names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.
.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL Alexandru Marasteanu BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
License: Expat
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation files
(the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge,
publish, distribute, sublicense, and/or sell copies of the Software,
and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
.
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
License: GPL-3
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License version 3 as published by the Free
Software Foundation.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
DFSG Assistant LLM REVIEW 0 blocker, 2 important, 3 minor
This is an LLM based review using a Debian Inference based workflow. It was not written by a member of the DFSG team and has not been checked by one. It is not a decision on the package: it may be wrong, and it may have missed things.
Reviewed 0 hours ago.
Report
DFSG NEW review for node-proxy-agents version 0~2026111722+~cs16.2.13-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: Yes - Packaging is of good quality: No
- Issues: 0 blocker, 2 important, 3 minor
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: 1 found
Licensing
debian/copyright is DEP-5 and matches the tree: each component ships its own LICENSE/NOTICE, the two Apache Commons Net derived parsers are split into an Apache-2.0 stanza and basic-ftp/NOTICE.txt is installed to /usr/share/doc/node-basic-ftp/, the vendored autopkgtest modules and the breakwa11/Eyeo PAC fixture have their own stanzas, and the Expat/BSD-3-Clause texts are included inline. No non-free terms, no file without a licence, and the licences combined in the trees are compatible.
Packaging
The pkg-js build machinery, patches, autopkgtest and per-component versioning follow current practice, but two binary packages are missing runtime dependencies they import (node-netmask for node-pac-resolver, node-debug for node-proxy), so each is unusable when installed on its own; node-get-uri carries a dependency upstream removed, and debian/rules clean omits a directory that the build populates.
Issues
important packaging 1. node-pac-resolver does not depend on node-netmask although it imports it ◂
- Files:
debian/control:144-147,packages/pac-resolver/src/isInNet.ts:1,debian/control:134 - Basis: checked, in the package or with a reference tool
- Evidence:
Package: node-pac-resolver/Depends: ${misc:Depends}/, node-degeneratoragainstimport { Netmask } from 'netmask';in isInNet.ts, which index.ts imports at load time. - Problem: Policy 3.5 requires a package to depend on everything it needs to work. Loading the module evaluates isInNet.ts, so
require('pac-resolver')throws MODULE_NOT_FOUND unless node-netmask happens to be installed; nothing in node-pac-resolver's dependency chain pulls it in (node-degenerator depends only on node-ast-types, node-escodegen, node-esprima). The dependency is instead declared for node-pac-proxy-agent (debian/control:134), which does not import netmask at all. - Fix: Move
node-netmaskfrom the Depends of node-pac-proxy-agent to the Depends of node-pac-resolver.
important packaging 2. node-proxy does not depend on node-debug although it imports it ◂
- Files:
debian/control:154-159,packages/proxy/src/proxy.ts:7,packages/proxy/src/bin/proxy.ts:3 - Basis: checked, in the package or with a reference tool
- Evidence:
Depends: ${misc:Depends}/, node-args/, nodejs:anyagainstimport createDebug from 'debug';in proxy.ts and bin/proxy.ts. - Problem: Policy 3.5. Both dist/proxy.js and dist/bin/proxy.js import debug unconditionally; node-args pulls only camelcase, chalk, leven and mri, so a minimal install of node-proxy fails with MODULE_NOT_FOUND for 'debug'. Unlike the other proxy-* packages it does not get node-debug transitively through node-agent-base.
- Fix: Add node-debug to node-proxy's Depends.
minor packaging 3. node-get-uri depends on node-fs-extra, which get-uri no longer uses ◂
- Files:
debian/control:82-89,debian/control:14,debian/nodejs/extlinks_/_@types/fs-extra,packages/get-uri/CHANGELOG.md:49 - Basis: checked, in the package or with a reference tool
- Evidence:
, node-fs-extrain node-get-uri's Depends (andnode-fs-extrain Build-Depends); packages/get-uri/CHANGELOG.md:Removed fs-extra dependency and implemented its features using native Node.js functionality. - Problem: The get-uri sources import only fs/promises, stream, crypto, debug, data-uri-to-buffer and basic-ftp, so the dependency is dead weight in both Depends and Build-Depends (and @types/fs-extra in debian/nodejs/extlinks is equally unused).
- Fix: Drop node-fs-extra from Build-Depends and from node-get-uri's Depends, and @types/fs-extra from debian/nodejs/extlinks.
minor packaging 4. debian/rules clean lists https-proxy-agent twice and omits http-proxy-agent, leaving generated test certificates ◂
- Files:
debian/rules:27-31 - Basis: inferred from what was read, not seen directly
- Evidence: Clean:
for P in agent-base https-proxy-agent https-proxy-agent pac-proxy-agent proxy-agent socks-proxy-agent; do; generate-cert:for P in agent-base http-proxy-agent https-proxy-agent pac-proxy-agent proxy-agent socks-proxy-agent get-uri; do. - Problem: generate-cert writes ssl-cert-snakeoil.key and .pem into each listed
packages/*/test/, but override_dh_auto_clean removes them only from the directories it names. With https-proxy-agent repeated, the key and certificate created in packages/http-proxy-agent/test/ survivedebian/rules clean, so the tree is not clean for a second build or for a source-only upload. get-uri, whose test/server.key and test/server.crt the 0001 patch deletes, is missing from the clean loop as well. - Fix: Change the second https-proxy-agent to http-proxy-agent, add get-uri, and remove the files generate-cert copies into packages/get-uri/; or list the paths in debian/clean.
minor packaging 5. node-https-proxy-agent's long description describes node-http-proxy-agent ◂
- Files:
debian/control:108-122 - Basis: checked, in the package or with a reference tool
- Evidence:
Description: HTTP(s) proxy http.Agent implementation for HTTPSfollowed bynode-http-proxy-agent provides an http.Agent implementation that connects to a specified HTTP or HTTPS proxy server, and can be used with the built-in https module. - Problem: Policy 3.4 requires the description to describe the package; here the first paragraph of node-https-proxy-agent's extended description names a different binary package built from this same source, so the user is told about the wrong module.
- Fix: Replace
node-http-proxy-agentbynode-https-proxy-agentin the first paragraph of the extended description.
Verified ◂
- basic-ftp/src/parseListUnix.ts: the flagged wording is the doc comment enumerating the characters of an
ls -lpermission string (r, w, x, -, L, s, S, t, T, e, @), not licence wording; the file's only licence is the package Expat licence covered by thebasic-ftp/*stanza. - dfsg-author-check: every copyright holder it found is named in debian/copyright; I read the LICENSE/NOTICE files of basic-ftp, args, types-args, every packages/* component, and of all vendored modules under debian/tests/test_modules (including @types/async-retry).
- debian/copyright: DEP-5 with the canonical Format line; the last-matching
Files:rule maps the tree correctly; Apache-2.0 and GPL-3 refer to /usr/share/common-licenses, Expat and BSD-3-Clause are reproduced inline, and the stand-alone License paragraphs are present for every short name used. - basic-ftp/NOTICE.txt (Apache Commons Net) does reach the binary: dh_nodejs_autodocs' DOCFILES regex includes
notice(\.txt)?and, run asauto_dispatchfrom override_dh_installdocs, installs it to /usr/share/doc/node-basic-ftp/, as the copyright Comment says. - packages/pac-resolver/test/fixtures/gfw_whitelist.pac: two parts,
Copyright (C) 2014 breakwa11(no licence text in the file) andCopyright (C) 2006-2014 Eyeo GmbHunder GPL-3 (Adblock Plus); the stanza names both holders and both licences, and the file is a test fixture that is not installed. - No built, minified or binary artifacts in the upstream tree; packages/*/dist, basic-ftp/dist and node_modules are generated by the build and removed by debian/clean.
- All nine patches carry DEP-3 headers (Description, Author, Forwarded, Last-Update) and debian/patches/series lists them in dependency order; the QuickJS port matches packages/*/package.json, which already requires quickjs-emscripten, so degenerator and pac-resolver import it only as a type and need no runtime dependency.
- debian/control: Standards-Version 4.7.4 against Policy 4.7.4.1 (current enough), debhelper-compat 13 (supported), and every Build-Depends/Depends name resolves in the archive; node-types-node is a versioned virtual package provided by nodejs 24.
- debian/tests/control is valid (comma/white-space separated fields); the jest test is restricted to amd64/arm64/armhf and skippable, as the changelog records, and its Depends name existing packages.
- debian/rules uses dh correctly for compat 13, sets per-component binary versions in override_dh_gencontrol (components_list excludes the main proxy-agent, which the override adds explicitly), and defers tests to autopkgtest.
- Multi-Arch: foreign is set on the library packages; the vendored autopkgtest helpers (async-listen, async-retry, ipv6, socksv5, sprintf) are test-only and are not installed, so they are not embedded copies of anything Debian ships in a binary.
- uscan found the packaged version as the newest upstream release (upstream
0~2026111722+~cs16.2.13, packaged0~2026111722+~cs16.2.13). - Every pointer of
debian/copyrightto /usr/share/common-licenses names a file that is there (Apache-2.0,GPL-3).
Not confirmed ◂
- I could not verify that generate-cert's backslash-continued lines work as intended:
(set -e ; cd packages/$$P/test/ && ...) \beforedoneandcd packages/get-uri/ \before the twocps read, under make's and the shell's handling of a continued recipe line, as a singlecdwith extra operands and aforbody with no separator beforedone. A build would show it; if they do not work, packages/get-uri/server.key and server.crt are never regenerated after 0001 removes them. - The breakwa11 part of packages/pac-resolver/test/fixtures/gfw_whitelist.pac contains no licence text; its Expat grant rests only on the statement in debian/copyright and could not be checked against the upstream project offline.
Proposed changes ◂
None.
Uploader's response to the LLM review
Are you a maintainer or uploader of this package? Log in with Salsa to comment on the review.