cookieguard 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 CookieGuard AI
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: cookieguard
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: CookieGuard authentication-cookie security checks for AI browser agents (installs cookieguard-browser-use)
|
|
5
|
+
Project-URL: Homepage, https://github.com/aiscihub/cookieguard-ai
|
|
6
|
+
Project-URL: Documentation, https://github.com/aiscihub/cookieguard-ai/tree/main/integrations/browser-use
|
|
7
|
+
Project-URL: Repository, https://github.com/aiscihub/cookieguard-ai
|
|
8
|
+
Project-URL: Issues, https://github.com/aiscihub/cookieguard-ai/issues
|
|
9
|
+
Author: aiscihub
|
|
10
|
+
License-Expression: MIT
|
|
11
|
+
License-File: LICENSE
|
|
12
|
+
Keywords: ai-agents,authentication,browser-use,cookieguard,cookies,httponly,samesite,security,security-testing,session-cookie
|
|
13
|
+
Classifier: Development Status :: 4 - Beta
|
|
14
|
+
Classifier: Intended Audience :: Developers
|
|
15
|
+
Classifier: Operating System :: MacOS
|
|
16
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
17
|
+
Classifier: Programming Language :: Python :: 3
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
21
|
+
Classifier: Topic :: Security
|
|
22
|
+
Classifier: Topic :: Software Development :: Testing
|
|
23
|
+
Classifier: Typing :: Typed
|
|
24
|
+
Requires-Python: >=3.11
|
|
25
|
+
Requires-Dist: cookieguard-browser-use<0.2,>=0.1.0
|
|
26
|
+
Description-Content-Type: text/markdown
|
|
27
|
+
|
|
28
|
+
# cookieguard
|
|
29
|
+
|
|
30
|
+
`pip install cookieguard` installs
|
|
31
|
+
[`cookieguard-browser-use`](https://pypi.org/project/cookieguard-browser-use/), CookieGuard's
|
|
32
|
+
authentication-cookie policy checks for [Browser Use](https://github.com/browser-use/browser-use)
|
|
33
|
+
agents, and makes its API importable as `cookieguard`:
|
|
34
|
+
|
|
35
|
+
```python
|
|
36
|
+
from cookieguard import CookieGuardAudit # same object as cookieguard_browser_use.CookieGuardAudit
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
CookieGuard checks how your application configures its session cookies (HttpOnly, Secure,
|
|
40
|
+
SameSite, Domain scope, lifetime, and `__Host-`/`__Secure-` prefixes) during an authorized
|
|
41
|
+
browser workflow. It returns PASS, FAIL, or INCOMPLETE with exit codes 0/1/2 and never
|
|
42
|
+
outputs cookie values. Requires Python 3.11+, Node.js 24+, and Chrome or Chromium.
|
|
43
|
+
|
|
44
|
+
- Documentation and examples: [Browser Use integration](https://github.com/aiscihub/cookieguard-ai/tree/main/integrations/browser-use)
|
|
45
|
+
- CLI, Playwright, GitHub Action, and MCP server: [CookieGuard on GitHub](https://github.com/aiscihub/cookieguard-ai)
|
|
46
|
+
|
|
47
|
+
On npm, the official packages are `cookieguard-ci`, `@aiscihub/cookieguard-core`,
|
|
48
|
+
`@aiscihub/cookieguard-playwright`, and `@aiscihub/cookieguard-mcp`. The npm package named
|
|
49
|
+
`cookieguard` is an unrelated project.
|
|
50
|
+
|
|
51
|
+
## Releasing
|
|
52
|
+
|
|
53
|
+
Publish with the `Publish cookieguard alias` workflow (`.github/workflows/publish-cookieguard.yml`)
|
|
54
|
+
through PyPI Trusted Publishing. Widen the `cookieguard-browser-use` range in `pyproject.toml`
|
|
55
|
+
and bump this version when a new `cookieguard-browser-use` minor version is released.
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# cookieguard
|
|
2
|
+
|
|
3
|
+
`pip install cookieguard` installs
|
|
4
|
+
[`cookieguard-browser-use`](https://pypi.org/project/cookieguard-browser-use/), CookieGuard's
|
|
5
|
+
authentication-cookie policy checks for [Browser Use](https://github.com/browser-use/browser-use)
|
|
6
|
+
agents, and makes its API importable as `cookieguard`:
|
|
7
|
+
|
|
8
|
+
```python
|
|
9
|
+
from cookieguard import CookieGuardAudit # same object as cookieguard_browser_use.CookieGuardAudit
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
CookieGuard checks how your application configures its session cookies (HttpOnly, Secure,
|
|
13
|
+
SameSite, Domain scope, lifetime, and `__Host-`/`__Secure-` prefixes) during an authorized
|
|
14
|
+
browser workflow. It returns PASS, FAIL, or INCOMPLETE with exit codes 0/1/2 and never
|
|
15
|
+
outputs cookie values. Requires Python 3.11+, Node.js 24+, and Chrome or Chromium.
|
|
16
|
+
|
|
17
|
+
- Documentation and examples: [Browser Use integration](https://github.com/aiscihub/cookieguard-ai/tree/main/integrations/browser-use)
|
|
18
|
+
- CLI, Playwright, GitHub Action, and MCP server: [CookieGuard on GitHub](https://github.com/aiscihub/cookieguard-ai)
|
|
19
|
+
|
|
20
|
+
On npm, the official packages are `cookieguard-ci`, `@aiscihub/cookieguard-core`,
|
|
21
|
+
`@aiscihub/cookieguard-playwright`, and `@aiscihub/cookieguard-mcp`. The npm package named
|
|
22
|
+
`cookieguard` is an unrelated project.
|
|
23
|
+
|
|
24
|
+
## Releasing
|
|
25
|
+
|
|
26
|
+
Publish with the `Publish cookieguard alias` workflow (`.github/workflows/publish-cookieguard.yml`)
|
|
27
|
+
through PyPI Trusted Publishing. Widen the `cookieguard-browser-use` range in `pyproject.toml`
|
|
28
|
+
and bump this version when a new `cookieguard-browser-use` minor version is released.
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["hatchling>=1.27"]
|
|
3
|
+
build-backend = "hatchling.build"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "cookieguard"
|
|
7
|
+
version = "0.1.0"
|
|
8
|
+
description = "CookieGuard authentication-cookie security checks for AI browser agents (installs cookieguard-browser-use)"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
license = "MIT"
|
|
11
|
+
license-files = ["LICENSE"]
|
|
12
|
+
requires-python = ">=3.11"
|
|
13
|
+
authors = [{ name = "aiscihub" }]
|
|
14
|
+
keywords = ["cookieguard", "browser-use", "ai-agents", "session-cookie", "cookies", "authentication", "security", "security-testing", "httponly", "samesite"]
|
|
15
|
+
classifiers = [
|
|
16
|
+
"Development Status :: 4 - Beta",
|
|
17
|
+
"Intended Audience :: Developers",
|
|
18
|
+
"Operating System :: MacOS",
|
|
19
|
+
"Operating System :: POSIX :: Linux",
|
|
20
|
+
"Programming Language :: Python :: 3",
|
|
21
|
+
"Programming Language :: Python :: 3.11",
|
|
22
|
+
"Programming Language :: Python :: 3.12",
|
|
23
|
+
"Programming Language :: Python :: 3.13",
|
|
24
|
+
"Topic :: Security",
|
|
25
|
+
"Topic :: Software Development :: Testing",
|
|
26
|
+
"Typing :: Typed",
|
|
27
|
+
]
|
|
28
|
+
# The real implementation. Keep this range in step with cookieguard-browser-use releases.
|
|
29
|
+
dependencies = ["cookieguard-browser-use>=0.1.0,<0.2"]
|
|
30
|
+
|
|
31
|
+
[project.urls]
|
|
32
|
+
Homepage = "https://github.com/aiscihub/cookieguard-ai"
|
|
33
|
+
Documentation = "https://github.com/aiscihub/cookieguard-ai/tree/main/integrations/browser-use"
|
|
34
|
+
Repository = "https://github.com/aiscihub/cookieguard-ai"
|
|
35
|
+
Issues = "https://github.com/aiscihub/cookieguard-ai/issues"
|
|
36
|
+
|
|
37
|
+
[tool.hatch.build.targets.wheel]
|
|
38
|
+
packages = ["src/cookieguard"]
|
|
39
|
+
|
|
40
|
+
[tool.hatch.build.targets.sdist]
|
|
41
|
+
include = ["src", "README.md", "LICENSE", "pyproject.toml"]
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"""CookieGuard authentication-cookie policy checks.
|
|
2
|
+
|
|
3
|
+
This distribution installs ``cookieguard-browser-use`` and re-exports its public
|
|
4
|
+
API: ``from cookieguard import CookieGuardAudit`` is the same object as
|
|
5
|
+
``from cookieguard_browser_use import CookieGuardAudit``. See
|
|
6
|
+
https://github.com/aiscihub/cookieguard-ai/tree/main/integrations/browser-use
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
from cookieguard_browser_use import (
|
|
10
|
+
ACTION_DESCRIPTION,
|
|
11
|
+
DEFAULT_ACTION_NAME,
|
|
12
|
+
AuditResult,
|
|
13
|
+
CookieGuardAudit,
|
|
14
|
+
CookieGuardError,
|
|
15
|
+
CookiePolicyError,
|
|
16
|
+
Finding,
|
|
17
|
+
)
|
|
18
|
+
from cookieguard_browser_use import __version__ as integration_version
|
|
19
|
+
|
|
20
|
+
__version__ = '0.1.0'
|
|
21
|
+
__all__ = [
|
|
22
|
+
'ACTION_DESCRIPTION',
|
|
23
|
+
'AuditResult',
|
|
24
|
+
'CookieGuardAudit',
|
|
25
|
+
'CookieGuardError',
|
|
26
|
+
'CookiePolicyError',
|
|
27
|
+
'DEFAULT_ACTION_NAME',
|
|
28
|
+
'Finding',
|
|
29
|
+
'__version__',
|
|
30
|
+
'integration_version',
|
|
31
|
+
]
|
|
File without changes
|