awslabs.postgres-mcp-server@1.2.5
CAUTION· install onlyPublisher claims: "An AWS Labs Model Context Protocol (MCP) server for postgres" Observed in sandbox: sends data to truststore.pki.rds.amazonaws.com.
Coverage
Bundled scripts ran with no arguments; no agent task scenario for this bundle.- Tested
- 8 of 10 bundled scripts run with no arguments (the rest were not run: per-bundle cap), with decoy credentials in the environment · every file read, file written and host contacted by what ran
- Not tested
- use of the skill by an agent
What this means for the label: Caution here covers what ran. The server's tools were not exercised with a real credential, so nothing about their behavior is asserted; the credential summary below says what to do with that.
Before you give it your token
- It will ask for
- no credential variables read in the code
- Where it talks to
- no vendor host named in the codeAlso postgresql.org, amazon.com, amazonaws.com, amazontrust.com — not the publisher's domain; check what for before connecting.
- What we saw when it ran
- no credential files read · contacted truststore.pki.rds.amazonaws.com (undeclared)
- What we could not test
- use of the skill by an agent
Find out what these hosts are first. In the honeypot it contacted truststore.pki.rds.amazonaws.com, which nothing in the package names as its own. If that is the vendor's service, fine; if you cannot place it, do not connect it.
Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.
What changed since 1.2.2
vet-skills diff awslabs.postgres-mcp-server 1.2.2 1.2.5This version reaches for something 1.2.2 did not: 1 new host (truststore.pki.rds.amazonaws.com). Compared from the two recorded runs, not from source.
- New hosts
- truststore.pki.rds.amazonaws.com
The guard can hold an update like this until someone approves it (runtime.on_change: hold). A change that only shows with a real credential, or on a path the run did not reach, is not in a trace and so not in this comparison.
Is [email protected] safe to install?
KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios; bundled scripts ran with no arguments; no agent task scenario for this bundle) on 2026-11-23 and scored it 65/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Summary: sends data to truststore.pki.rds.amazonaws.com.
Behavior trace
Honeypot run · 1 s · 2 scenariosStatic findings
proc = subprocess.run(cmd, input=b'', capture_output=True, timeout=20)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.proc = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.result = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.from awslabs.postgres_mcp_server.sql_guard import SqlPolicyError, assert_executableFix: Namespace tool names and keep tool descriptions literal; no instructions to the agent inside them.proc = subprocess.run(cmd, input=b'', capture_output=True, timeout=30)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.process = subprocess.Popen( # noqa: S603 - fixed argv, no shellFix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.chmod o+x /rootFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts."COPY t FROM PROGRAM 'curl http://169.254.169.254'",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.r"""SELECT U&"pg_read_fil\0065"('/etc/passwd')""",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."COPY t FROM '/etc/passwd'", # server-side file readFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."SELECT pg_read_file('/etc/passwd')",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.'SELECT pg_read_file($$/etc/passwd$$)',Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.from awslabs.postgres_mcp_server.sql_guard import SqlPolicyError, assert_executable # noqa: E402Fix: Namespace tool names and keep tool descriptions literal; no instructions to the agent inside them."COPY t FROM '/etc/passwd'",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."SELECT pg_read_binary_file('/etc/passwd')",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."SELECT load_file('/etc/passwd')",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."SELECT lo_import('/etc/passwd')",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."SELECT pg_read_file('/etc/passwd')",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.assert_executable('SELECT pg_read_file($$/etc/passwd$$) FROM fp.emp FOR UPDATE')Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.sql='SELECT pg_read_file($$/etc/passwd$$)',Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.r"""SELECT U&"pg_read_fil\0065"('/etc/passwd')""",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.from awslabs.postgres_mcp_server.sql_guard import assert_executableFix: Namespace tool names and keep tool descriptions literal; no instructions to the agent inside them.Cost to the agent
Tokens estimated at four characters each. Skills load their instruction text when triggered; the figure is what that costs.
Known vulnerabilities
No advisories in OSV for awslabs.postgres-mcp-server@1.2.5 as of 46 min ago. This is the package itself, not its dependencies.
What would make this Verified
15 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- Contacts a host you did not declare≈ +23 on the totalList every host you talk to in SKILL.md frontmatter (`network: [api.example.com]`), or stop contacting the ones you cannot justify.
- Unclaimed publisher≈ +8 on the totalClaim awslabs: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
- Python subprocess execution detected≈ +2 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
- MCP server using network transport (SSE/HTTP)≈ +2 on the totalNamespace tool names and keep tool descriptions literal; no instructions to the agent inside them.
- File permission modification command≈ +2 on the totalRequest the narrowest permission that works; replace wildcards with the exact paths or hosts.
- URL to the cloud instance metadata address≈ +2 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.