Language: Java
Label: safe
CWE: CWE-284 \u2014 Improper Access Control
The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.

Code:
	public TValue executeReturnFunction(TContext context, TMemory memory, LineLocation location, List<TValue> values,
			Map<String, TValue> named) throws EaterException, EaterExceptionLocated {
		// ::comment when __CORE__
		final String path = values.get(0).toString();
		return TValue.fromBoolean(new SFile(path).exists());
		// ::done

		// ::uncomment when __CORE__
		// return TValue.fromBoolean(false);
		// ::done
	}